Distilling Token-Trained Models into Byte-Level Models
Organizations: Fuzhou University · NYU Shanghai · Fudan University · Together AI · Nous Research
Abstract
Byte Language Models (BLMs) have emerged as a promising direction for scaling language models beyond tokenization. However, existing BLMs typically require training from scratch on trillions of bytes, making them prohibitively expensive. In this paper, we propose an efficient distillation recipe that converts existing token-trained LLMs into BLMs while retaining comparable capabilities. Our recipe follows a two-stage curriculum: (1) Progressive Knowledge Distillation, which aligns byte-level representations with the embeddings of the token-trained teacher model; and (2) Byte-Level Supervised Fine-Tuning, which enables end-to-end generation entirely in the byte space. We validate our approach across multiple model families, including Llama, Qwen, and OLMo, and demonstrate that the distilled BLMs retain most of the teacher models' performance using only approximately 125B bytes.
Figures & tables
| Method | Role / Model | Bytes | Task Performance | Retention | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open | MMLU | Avg Drop | |||
| Existing Leading Baselines | |||||||||||
| BLT Distill [ 23 ] | Teacher (Llama 3.1 8B) | - | - | 80.7 | 80.7 | 83.4 | 55.2 | - | - | 66.3 | - |
| Student (Byte) | 220B | - | 76.1 | 77.4 | 66.6 | 45.8 | - | - | 63.7 | 7.34 | |
| ALM [ 18 ] | Teacher (Llama 3.2 3B) | - | - | - | 76.9 | - | 43.9 | - | - | 62.4 | - |
| Student (Byte) | - | - | - | 73.7 | - | 40.1 | - | - | 55.9 | 4.50 | |
| Model Phase | Role | LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open | MMLU |
|---|---|---|---|---|---|---|---|---|---|
| Baseline | Teacher | 65.98 | 70.40 | 75.79 | 74.03 | 45.82 | 67.64 | 36.00 | 59.68 |
| Stage 1 | Student | 49.16 | 69.09 | 75.24 | 72.01 | 43.52 | 65.98 | 36.20 | 52.52 |
| + On-Policy | Student | 55.95 | 69.44 | 76.06 | 72.52 | 45.05 | 66.93 | 36.00 | 54.64 |
| Method | LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open |
|---|---|---|---|---|---|---|---|
| Baseline | 70.1 | 73.7 | 76.8 | 74.6 | 46.0 | 67.4 | 41.4 |
| Distill | 70.7 | 73.6 | 76.2 | 74.3 | 44.9 | 69.4 | 41.2 |
| Distill w/o emb | 31.2 | 46.7 | 58.8 | 37.0 | 21.6 | 60.3 | 33.4 |
| Decoding Strategy | LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open | MMLU | GSM8K |
|---|---|---|---|---|---|---|---|---|---|
| JBP | 66.2 | 69.7 | 75.4 | 77.1 | 52.6 | 66.4 | 41.2 | 68.5 | 53.5 |
| MBP | 66.7 | 70.3 | 74.8 | 77.8 | 53.4 | 66.5 | 38.2 | 69.2 | 37.4 |
| Encoder | LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open | MMLU |
|---|---|---|---|---|---|---|---|---|
| Mamba2 | 67.8 | 73.5 | 78.2 | 77.1 | 49.7 | 69.5 | 40.0 | 70.2 |
| Transformer | 45.7 | 68.3 | 73.3 | 69.4 | 44.5 | 66.2 | 37.4 | 31.3 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Metric / Model | Qwen-3 4B | Llama-3.2 3B | ||||
|---|---|---|---|---|---|---|
| Baseline | Stage1 | Stage2 | Baseline | Stage1 | Stage2 | |
| HellaSwag Original | 73.64 | 72.47 | 69.70 | 73.76 | 72.90 | 71.20 |
| HellaSwag Noise Avg | 58.22 | 56.25 | 48.86 | 54.10 | 53.29 | 50.60 |
| Robustness Score | 68.29 | 65.83 | 53.38 | 59.68 | 59.06 | 55.41 |
| Breakdown by Perturbation Type | ||||||
| AntSpeak | 59.86 | 57.02 | 45.48 | 46.62 | 48.78 | 48.57 |
| Metric / Model | Llama | Llama Distill | Llama | Llama Space |
| (Teacher Model) | Stage 1 | Trim Data | Penalty | |
| HellaSwag Original | 73.76 | 72.90 | 72.57 | 58.50 |
| HellaSwag Noise Avg | 54.10 | 53.29 | 53.25 | 44.05 |
| Robustness Score | 59.68 | 59.06 | 59.39 | 56.85 |
| Delta ( ) | 19.66 | 19.61 | 19.32 | 14.45 |
| AntSpeak | 46.62 | 48.78 | 48.76 | 39.26 |
| Metric | Origin | Finetuned | ||||
|---|---|---|---|---|---|---|
| Token | Distill | Dechunk | Token | Distill | Dechunk | |
| HellaSwag Original | 73.76 | 72.90 | 71.38 | 71.90 | 73.58 | 70.90 |
| HellaSwag Noise Avg | 54.10 | 53.29 | 47.47 | 57.23 | 58.97 | 56.67 |
| Robustness Score | 59.68 | 59.06 | 48.46 | 68.72 | 69.93 | 69.00 |
| Delta ( ) | 19.66 | 19.61 | 23.91 | 14.67 | 14.61 | 14.23 |
| AntSpeak | 46.62 | 48.78 | 32.32 | 46.59 | 56.07 | 55.64 |
| Benchmark | Sequential | E2E | |
|---|---|---|---|
| HellaSwag | 65.4 | 43.8 | |
| PIQA | 75.7 | 66.4 | |
| ARC | 60.0 | 51.1 | |
| CSQA | 65.8 | 60.9 | |
| MMLU | 37.6 | 34.4 | |
| WinoGrande | 63.9 | 62.0 |
| Method | LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open |
|---|---|---|---|---|---|---|---|
| Baseline (Teacher) | 70.1 | 73.7 | 76.8 | 74.6 | 46.0 | 67.4 | 41.4 |
| Integrated | 69.5 | 72.9 | 76.1 | 73.6 | 43.9 | 67.2 | 41.1 |
| Split Routing | 39.1 | 68.2 | 75.3 | 70.4 | 39.9 | 62.8 | 36.4 |
| Student Model | Method | LMB | HellA | PIQA | ARC-E | ARC-C | WINO | Open | MMLU | GSM8K |
|---|---|---|---|---|---|---|---|---|---|---|
| Llama 3.2 1B | Baseline | 62.2 | 63.8 | 74.2 | 65.3 | 36.0 | 60.0 | 36.6 | 31.0 | 5.3 |
| Stage1 | 60.1 | 63.1 | 75.2 | 66.4 | 35.8 | 60.7 | 35.6 | 30.5 | - | |
| Stage1 (Teacher 3B) | 56.9 | 61.9 | 75.1 | 66.8 | 34.9 | 59.8 | 35.2 | 30.1 | - | |
| Qwen3 4B | Baseline | 69.1 | 73.6 | 77.7 | 78.9 | 51.3 | 70.4 | 40.6 | 73.0 | 84.2 |
| Stage1 | 69.7 | 73.6 | 77.8 | 78.1 | 50.9 | 70.0 | 40.4 | 71.9 | 79.6 | |
| Stage1 (Teacher 8B) | 67.1 | 72.0 | 77.9 | 80.0 | 54.8 | 68.8 | 40.4 | 71.4 | 77.4 |
| Task | Ours (Stage 1) | Ours (Stage 2) | Bolmo | H-Net (1-stage) | H-Net (2-stage) | BLT | OLMo 2 |
|---|---|---|---|---|---|---|---|
| Avg | 60.3 | 58.1 | 60.4 | 57.6 | 59.3 | 62.8 | 61.9 |
| ARC | 60.0 | 55.5 | 59.0 | 61.8 | 62.3 | 59.9 | 61.4 |
| MMLU | 37.6 | 37.6 | 37.2 | 37.5 | 38.7 | 40.6 | 40.4 |
| CSQA | 65.8 | 62.6 | 64.2 | 61.4 | 62.4 | 69.2 | 66.0 |
| HellaSwag | 65.4 | 62.5 | 67.0 | 60.2 | 63.6 | 71.0 | 68.9 |
| WinoGrande | 63.9 | 63.5 | 65.7 | 58.9 | 60.9 | 67.0 | 65.2 |
| H-Net 3B | H-Net 4B | H-Net 1B | |
| Global Model | |||
| Initialized from | Llama 3.2 3B | Qwen 3 4B | OLMo 2 1B |
| Encoder | |||
| Dimension | 1536 | 1536 | 1536 |
| Layer Type | Mamba2 + FFN | Mamba2 + FFN | Mamba2 + FFN |
| Num. Layers | 4 | 4 | 4 |
| Llama 3.2 3B | Qwen 3 4B | OLMo 2 1B | |
| Stage 1 | |||
| Total Training Bytes | 30B | 30B | 30B |
| Batch Size | 256 | 256 | 256 |
| Seq. Length. (Bytes) | 8192 | 8192 | 8192 |
| LR Schedule | Warmup + Cos Decay | Warmup + Cos Decay | Warmup + Cos Decay |
| Step 1 | |||