2026-11-26 15:49 UTC

Cartesia reports learned tokenization gains from H-Nets

state: seedheat: highuncertainty: mediumrelevance: highmodel-architecture tokenization hierarchical-networksCartesia

What is this?

Cartesia’s October 2026 research post describes improved hierarchical networks (H-Nets), which learn to chunk raw bytes inside the model rather than use fixed BPE tokenization. Cartesia reports 1.28× compute efficiency on controlled validation scaling and about 2× on downstream suites; in a separate comparison, it says a 3.67B-parameter, two-stage H-Net reached SmolLM3-3B’s reported average score after roughly 1T tokens versus 11T. These are company-reported results, and Cartesia notes that matching data and compute across the models is methodologically difficult. It says the improved architecture is planned for release; work on biology and vision is presented as ongoing research, not established broad deployment.

Why it matters

H-Nets aim to replace fixed tokenizers with learned, context-sensitive chunking inside the model. If Cartesia’s results hold up, this could make language models more compute-efficient—especially on code and other data poorly served by standard tokenizers—and offer a reusable way to find structure in raw inputs across modalities. The reported gains are promising but come from company-run experiments, and the larger-model comparison has acknowledged data-matching caveats; broader applications and the improved architecture are not yet established releases.

Current assessment

Cartesia’s October 28, 2026 post introduces an improved H-Net architecture that recursively chunks raw bytes into learned, data-dependent units rather than relying on a fixed BPE tokenizer. In controlled scaling-ladder experiments, Cartesia reports 1.28× compute efficiency on validation loss and about 2× on downstream suites; gains are larger on code, including a reported 3.10× median on out-of-training-distribution programming languages. In a separate comparison with SmolLM3-3B, Cartesia says its 3.67B-parameter two-stage H-Net reached the baseline’s final average score after roughly 1T training tokens versus 11T, with compute matched per byte. These are Cartesia-reported findings, not independent validation. The post explicitly says data/compute matching is subtle because the architectures compress different data sources differently. It also describes in-context tokenization and reports early biology and vision experiments, including DNA scaling results and pixel-space image work; these should be treated as research claims, not proof of general multimodal capability. Cartesia says it plans to release improved H-Net technology over time, but the source does not announce a present model release. Follow-up priorities: the promised second post, public code or checkpoints, independent reproduction, and clarification of evaluation and data controls. If validated, learned hierarchical chunking could shift compute toward semantically useful structure and reduce dependence on hand-engineered preprocessing, with possible implications for model efficiency and architecture design.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 722h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-27 13:00⭐ origin echo-reconstructedCartesia presents H-Nets as recursively learning to chunk raw data, reports scaling results including compute-efficiency gains and a matched
Cartesia on blog (echo) · attributed from hn.story.50278253
—
10-28 18:07first on hacker news · published · +29.1hScaling Hierarchical Networks
guybedo
—
10-28 18:07amplified on hacker news 👑hn.story.50278253
guybedo
peak 92 · 14 comments · 100% of case engagement
10-28 23:22our radar first saw it · +34.4hdiscovery anchor: hn.story.50278253—
pace: p71 vs 879 stories at the 720h mark (now 722h old) — ahead of entire-git-forge-agent-human-collaboration (1.0x), behind internscience-sage-a1-5-agentic-moe-finetune (0.9x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnScaling Hierarchical Networks
Retrieved article excerpt

Open article · Retrieved 2026-10-28T23:24:05.871429+00:00

Since Richard Sutton’s [influential essay](http://www.incompleteideas.net/IncIdeas/BitterLesson.html) in 2019, the concept of the **bitter lesson** has guided much of modern progress in AI. This concept espouses general methods that leverage computation and learn with scale, as free of human-engineered priors as possible. Our interpretation is that, fundamentally, **intelligence is about learning from raw data**: autonomously finding patterns, building abstractions, and developing meaning from messy low-level inputs, ideally *end-to-end* and as data-efficiently as possible. As AI advances into complex domains such as science, robotics, and biology – where data is scarce and often difficult for humans to understand, let alone engineer for – internalizing this philosophy to develop more general learning algorithms is more important than ever.

Language models are perhaps AI’s biggest success story today, and largely embrace the bitter lesson. Their abilities are largely attributable to scaling a few simple algorithms such as the Transformer architecture, next-token prediction, reinforcement learning, and test-time computation. However, they still rely on hand-crafted encoding steps such as tokenizers, which severely hinder their ability to learn end-to-end from the underlying data. Towards unlocking another step change of scaling, **we believe that developing byte-level language models is foundational for AI progress** – not just for improving standalone LLMs, but also as a litmus test for general learning methods. If we can’t even learn language well from characters and bytes, what right do we have to make progress on the next frontier?

In 2025, we developed the concept of **hierarchical networks (H-Nets)**, which not only addressed tokenization in language models, but took a step toward even more general-purpose architectures that could learn from raw data across different modalities. We’ve since significantly improved the technology of H-Nets and are excited to share their capabilities! In this series of two posts, we’ll dig into new results and discuss the implications.

In this first post of a two-part series, we’ll explore scaling laws for H-Nets and their qualitative behaviors.

1. We produce a standard scaling ladder for tokenized Transformers, and show that carefully controlled 1-stage **H-Nets provide meaningful compute efficiency gains** (up to 3-5x) purely through **learned tokenization.**
2. We show empirical results from scaling up a more flexible 2-stage H-Net, where it **outperforms a matched open-source model** with **extreme efficiency improvements (10x less compute and data).**
3. We analyze the patterns that H-Nets learn, where they show a **rich diversity of new behaviors** previously unseen in language models, such as **in-context tokenization.**
4. We discuss how H-Nets go beyond language modeling, with ongoing research results in biology and vision, showing promise as a **general architecture across modalities.**

In the [next post](https://www.cartesia.ai/blog/from-tokens-to-bytes-part-2), we’ll do a deeper exploration of a larger range of models to understand better why H-Nets can be so much more efficient for language modeling.

Altogether, our results provide evidence that H-Nets are a foundational architecture that **truly aligns with the bitter lesson**, learning meaning directly from raw data and significantly improving efficiency and scalability. This research agenda represents a major opportunity to advance how AI can learn from all data, and we couldn’t be more excited to push the frontier!

## Hierarchical Networks (H-Nets)

We introduced hierarchical networks ([paper](https://arxiv.org/abs/2507.07955), [blog](https://goombalab.github.io/blog/2025/hnet-past/)) last year as a new end-to-end architecture that models multiple levels of abstraction in data, showing promise in language modeling and beyond. In a nutshell:

Hierarchical networks (H-Nets) compress data through a recursive, data-dependent dynamic chunking process.

The terminology was inspired by the existing concept of [chunking](https://en.wikipedia.org/wiki/Chunking_(psychology)) in cognitive psychology, which is an essential part of human intelligence. We believe it is also necessary for the frontier of artificial intelligence.

In the context of language modeling, the idea is to build new learning primitives that allow models to recursively chunk low-level data into higher-level meaning: characters into words, words into phrases, phrases into concepts.

In the context of this post, for the most part, one can think of hierarchical networks as replacing tokenization. Instead of pre-processing data from bytes into tokens (fixed chunks of bytes), H-Nets perform the chunking *dynamically* directly inside the model. Furthermore, the signature characterization of H-Nets is that they hierarchically perform this chunking *end-to-end*. In contrast, standard tokenized language models and even other alternatives (some of which we’ll see in [Post II](https://www.cartesia.ai/blog/from-tokens-to-bytes-part-2#how-much-does-end-to-end-training-help)) employ multiple stages of training, and the process of chunking / tokenizing the data is performed entirely offline.

Details: Tokenization and BPE

Language models don’t read text directly but instead take as input a sequence of tokens from a fixed vocabulary. A natural vocabulary is the 256 byte values, producing one token per UTF-8 byte. Byte-level sequences, however, are long and expensive for standard language models to process. Tokenization aims to alleviate this problem by compressing the byte sequence into frequently occurring chunks. The most common approach, Byte Pair Encoding (BPE), starts from the 256 bytes and repeatedly merges the most frequent pair of adjacent tokens on a fixed training corpus, until the vocabulary reaches a set size (e.g. 128k for Llama-3). On our data mix, each BPE token covers about 4.57 bytes, making sequences much shorter than at the byte level. However, this compression is fixed, and tokenization remains one of the last parts of the language-modeling pipeline that is designed by hand rather than learned.

We’ll see in this post series that even in the narrower context of replacing tokenization, the end-to-end property of H-Nets provides real performance gains. Beyond tokenization, H-Nets have broad utility as a foundational architecture:

- H-Nets can be nested recursively, allowing for multiple levels of abstraction to be built. The [main result](https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1#part-2-training-a-larger-h-net) of this post is a larger two-stage hierarchical network matched against an open-source baseline.
- H-Nets can operate over any type of data, not just bytes, and not just discrete data. In contrast, tokenizing continuous data is a serious challenge. In the [final part](https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1#part-4-from-tokens-to-atoms-hierarchical-networks-beyond-language) of this post, we’ll preview some future research applying H-Nets beyond text.

H-Net architecture

Two-stage byte H-Net

h

e

\_

e

n

d

\_

o

f

\_

t

o

k

e

n

s

!

Decoder

Dechunking

Main networkA recursive H-Net

Decoder

Dechunking

Main network

Chunking

Encoder

Chunking

Encoder

The\_end\_of\_tokens

**Figure 1.** The hierarchical network (H-Net) architecture. Inputs go through a series of 5 modules: (1) an encoder reads the inputs, such as bytes; (2) a learned chunking step compresses them into a few chunks; (3) the main network operates over coarse chunks (analogous to tokens); (4) the chunks are decompressed back into the input resolution and summed with a residual; (5) a decoder finishes processing the combined representations. A 1-stage H-Net performs one level of dynamic chunking; the main network itself can be an H-Net, allowing the chunking process to be recursively nested. Hover over different bytes to see how they’re routed through this 2-stage hierarchical network!

[Figure 1](https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1#fig-1) illustrates a 2-stage H-Net and defines the main components of the model: the encoder, main network, and decoder. We sometimes call the encoder/decoder together the *outer networks* and the main model the *inner network*.

Throughout this post, we show results with a much improved version of H-Nets, which we plan to release. We’ll comment more on differences from the earlier architecture [later in this post](https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1#aside-how-does-this-compare-to-the-original-h-net).

## Part 1: BPE and H-Net Scaling Ladders

Carefully controlled H-Nets - varying *only* the tokenizer - show a serious efficiency gain over tokenized language models. Expanding the H-Net design space can only improve its relative advantage.

As with many architecture papers, the original paper on hierarchical networks focused on tuning language models of particular fixed sizes and data horizons (e.g. ~1.3B-parameter models on 100B tokens from FineWeb-Edu have been very common). Although they looked very promising, a missing piece was the lack of compute-optimal scaling laws, now a standard way to measure pretraining innovations. For example, Kimi’s popular innovations on [Kimi Delta Attention (KDA)](https://arxiv.org/abs/2510.26692) and [attention residuals](https://arxiv.org/abs/2603.15031) measured compute multipliers of 1.16x and 1.25x, respectively.

In order to validate the gains of our improved H-Net architecture, we first set out to build a modern LLM scaling ladder, and then replaced its tokenization components with a carefully controlled hierarchical network.

- We set up a training mixture for comparing byte-level and BPE scaling laws on equal terms, carefully matching the processing and even re-training a BPE tokenizer for the baseline.
- We set up a scaling ladder for a baseline BPE Transformer language model according to standard practices, reproducing results from the literature.
- We then converted each rung to a byte-level H-Net as a drop-in replacement, reusing the BPE backbone architecture and hyperparameters.

This recipe directly showed stronger results on validation loss (1.3x), with gains increasing on subdomains such as code (2x), as well as improving out of distribution (2x on evaluation, and up to 5x on out-of-domain code).

### A data-controlled comparison

Since byte-level and BPE models process the same data at different granularities, extra care is needed to keep the methodology controlled.

**Data mixture**: Our training dataset consisted of 70% English, 20% code, 5% math, and 5% multilingual, measured by the number of bytes.

**Data processing**: Every sample is processed as both bytes and BPE tokens, splitting at the same boundaries; both byte- and BPE- processed datasets therefore contain exactly the same text with aligned document boundaries.

**Metric**: We use the standard bits-per-byte (bpb) metric for measuring next-token prediction loss in a way normalized between different tokenizers.

**In-corpus BPE tokenizer**: LLMs generally use off-the-shelf BPE tokenizers; an advantage of H-Nets is that they learn their chunking directly on the training distribution. To be extra careful, we also trained a BPE tokenizer on the corpus. We used this for the BPE scaling laws below, which ended up resulting in about a 1.1x compute gain on both validation loss and downstream evals (so the H-Net would have an even greater compute multiplier against a standard off-the-shelf tokenizer!).

The BPE tokenizer’s vocab size is 128k, matching the Llama-3 tokenizer that we were working off of. The in-corpus tokenizer compressed the dataset slightly more, increasing the average BPE token length from 4.45 (Llama-3 tokenizer) to 4.57. Measured in tokens of the in-corpus BPE tokenizer, the training dataset comprised 64.7% English, 23.7% code, 6.1% math, and 5.5% multilingual.

Bytes per BPE token

In-corpu
guybedo9214
🟧 echo.blog ⭐Cartesia presents H-Nets as recursively learning to chunk raw data, reports scaling results including compute-efficiency gains and a matchedCartesia——

Interpretation history

Decision trace