atlas

Research map / Architectures and efficiency / Attention and transformers

Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language Models

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient language transformers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

The paper's tool call was malformed in the previous turn; this is a corrected call.

Problem

Subword tokenizers have large vocabularies, are fitted separately from the model, adapt poorly to new domains or languages, and are sensitive to spelling variations.

Approach

A generative hierarchical architecture that splits text at whitespace into words, encodes each word's characters with a small bidirectional encoder (taking the [W] token output as word embedding), runs a causal word-level backbone, and decodes the next word's characters from a predictive word embedding via a small causal character decoder, trained end-to-end without a tokenizer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use hierarchical whitespace-based processing instead of the tokenizer baseline1B language model · DCLM-Baselineword accuracy: 35.3 -> 35.5No clear effect
use hierarchical whitespace-based processing instead of the tokenizer baseline3B language model · LAMBADA (LBD)accuracy: 62.1 -> 64.2Helped
use hierarchical whitespace-based processing instead of the tokenizer baseline7B language model · DCLM-Baselineword accuracy: 39.2 -> 39.0No clear effect
replace MegaByte with the proposed hierarchical architecture while keeping the 8-byte split (ablation)1B byte-level language model · DCLM-Baselinebyte accuracy: 80.0 -> 82.6Helped
use whitespace splitting instead of fixed 8-byte splitting (ablation)Hierarchical language model · LAMBADA (LBD), 1Baccuracy: 48.1 -> 56.5Helped
replace whitespace splitting with Unicode splitting (ablation)3B hierarchical language model · DCLM-BaselineMMLU: 28.7 -> 31.0Helped
replace whitespace splitting with Unicode splitting (ablation)3B hierarchical language model · DCLM-BaselineTruthfulQA: 29.9 -> 27.8Hurt
perturb prompts by permuting, randomizing, or deleting 10% of characters per word, or changing prompts to all capsHierarchical model vs tokenizer baseline · MMLU, OpenBookQA, ARC Challenge, HellaSwag, and one additional eval taskaccuracy changeHelped
continue pretraining on German Occiglot data3B hierarchical model vs 3B tokenizer baseline · German and English evaluationsaverage accuracy: 1.9 times fasterHelped
continue pretraining on Chinese SkyPile data using the Unicode splitter3B hierarchical model vs tokenizer baseline · SkyPile held-outbits per byte: 0.94 -> 0.80Helped
switch the splitting rule from whitespace to Unicode at continued pretraining (ablation)3B hierarchical model · Chinese SkyPilebits per byte: 0.80 -> 0.80No clear effect
evaluate pretrained models on out-of-distribution text without additional trainingHierarchical model vs tokenizer baseline · OpenWebMathbits per byte: 0.81 -> 0.81No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: DCLM-Baseline Fineweb Occiglot Fineweb v0.5 German SkyPile GitHub Code OpenWebMath Pile of Law

Benchmarks: MMLU LAMBADA ARC OpenBookQA TriviaQA TruthfulQA Winogrande HellaSwag WiC WebQs PIQA BoolQ

Metrics: zero-shot accuracy word-level accuracy byte-level accuracy bits per byte change in accuracy under perturbation FLOP ratio

Baselines: Llama-style BPE tokenizer baseline (64k vocab) MegaByte Hierarchical (8-byte split) ablation

Builds on: Llama MegaByte Hierarchical byte-level BERT (Hourglass-style character-word model) flash attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy