← All entries
Model2026#1450

From Tokens to Bytes I & II: Scaling Hierarchical Networks

Summary

Cartesia's improved hierarchical networks (H-Nets), end-to-end byte-level language models that replace fixed BPE tokenization with learned, recursive, data-dependent dynamic chunking inside the model (encoder → learned chunking → main network over coarse chunks → dechunking + residual → decoder). Part 1, controlled 1-stage scaling ladder (same Transformer backbone, outer networks FLOP/parameter-matched to embedding/unembedding; Muon optimizer, WSD schedule; data 70% English / 20% code / 5% math / 5% multilingual by bytes; in-corpus BPE retrained as baseline, itself worth ~1.1x vs off-the-shelf): H-Nets show 1.3x compute multiplier on validation loss, rising to 2x on code and up to 5x on out-of-domain code, summarized as up to 3–5x efficiency gains. Part 1, larger 2-stage H-Net vs SmolLM3-3B (HF, 11.1T tokens total across 8T/2T/1T phases, Llama-3 tokenizer): outer stages are Mamba-2 layers + sliding-window attention, main network a 40-layer Transformer with SmolLM3's per-layer shape, compression ~7.6 bytes/chunk vs ~4.5 bytes/Llama-3-token; models compute-matched within 2% FLOPs/byte (H-Net 3.67B params vs SmolLM3 3.08B; outer stages 43% of H-Net FLOPs vs 8% embedding/head for the baseline); the H-Net reaches SmolLM3's final average benchmark score after ~1T tokens vs ~11T, i.e. ~10x less data and (per-byte-matched) compute. Qualitative: learned chunks are context-dependent and semantically coherent across languages and code, including in-context tokenization — boundaries evolve during inference as concepts recur (new words, repeated formats, recurring motifs). Part 2, loss-to-loss laws: H-Net's compute advantage grows from pretraining loss to downstream (1.3x on diverse mixture → 2x downstream; 2x on code → 5x on out-of-domain languages); input encodings can produce 2–4x downstream compute effects. Pretokenization analysis (same regex lineage as #126: GPT-2, cl100k, o200k, DeepSeek): BPE without pretokenization (BPE-NP) is ~5x worse than BPE on compute-to-loss but better on loss-to-loss, and suffers the prompt-boundary/marginalization problem (canonical tokenization only, no sum over segmentations); adding pretokenization back buys 1.5x compute-to-loss and 1.3x loss-to-loss, ~1.9x combined on compute-to-downstream. Beyond language: ongoing H-Net results previewed in biology and vision as a general raw-data architecture.

Venue
Cartesia blog
Source
x
Access
free
Language
en
Added
Oct 28, 2026
Verified
Oct 28, 2026
Found via
#_albertgu

Research notes

  • License: no license terms stated (company blog series; improved architecture not released) — flag at insert

Similar entries