Dynamic Multi-Byte Prediction With Hierarchical Language Models

Abraham Toluwase Owodunni, Chibuzor Okocha, Christan Grant, Tomasz Limisiewicz, Sachin KumararXiv 2026

TL;DR

Byte-level language models eliminate subword tokenization biases but suffer from slow, one-byte-at-a-time inference. This paper introduces Multi-Byte Prediction (MBP), a method that generates variable-length byte segments in parallel using a single prediction head and a novel attention mask. The result is a significant boost in inference throughput with minimal impact on model accuracy and zero additional parameters.

What Problem Does This Paper Address?

Subword tokenizers (like BPE) are standard in modern LLMs but come with well-known flaws: they overfragment rare words, introduce language-specific biases, and generalize poorly to out-of-domain text. Operating directly on raw bytes eliminates these issues, but byte sequences are substantially longer than subword sequences. This drastically increases the computational cost of Transformer attention and makes autoregressive decoding painfully slow.

While recent "hierarchical" byte models compress byte streams into shorter latent segments to save compute during training, they still decode text one byte at a time during inference. Existing Multi-Token Prediction (MTP) techniques can speed up decoding, but they typically require a fixed prediction horizon and separate prediction heads for each future token, introducing a massive parameter bottleneck.

Methods

The authors present Latent Causal Attention (LCA) to enable dynamic multi-byte prediction within hierarchical language models. Instead of predicting a fixed number of future tokens using multiple independent heads, LCA leverages the model's dynamically learned byte segments as the unit of parallel generation.

Figure 1: Overview of the MBP architecture. An input byte sequence is first processed by the model, and the MBP head uses the LCA mask (Figure 2) to predict multiple future bytes in parallel from a single head. Colored bands denote learned segment boundaries. See Appendix A for a detailed description of several parts in this figure.

Key components include:

  • Single Multi-Byte Head: Instead of scaling parameters linearly with the number of predicted tokens, LCA uses a single transformer-based head to predict all bytes within a variable-length latent segment in parallel.
  • LCA Mask: A boundary-aware attention mask where a query byte can attend to itself, earlier bytes in its own segment, and all bytes in the immediately preceding segment. Crucially, attention to future bytes or segments further in the past is blocked, preserving causality while allowing parallel generation.
Figure 2: The Latent Causal Attention (LCA) mask. Each row corresponds to a query byte and each column to a key byte. A query at position i in segment si may at- tend to itself, to earlier positions within its own segment, and to all bytes in the immediately preceding segment si−1. Attention to later positions in the same segment and to segments further in the past is masked out. Col- ored bands denote segment boundaries and match those in Figure 1. This mask preserves autoregressive causal- ity at the segment level while enabling all bytes in a group to be predicted in parallel from a single decoder head.
  • Flexible Inference Verification: The model can be deployed using a simple probability threshold to accept speculative bytes, or it can be paired with speculative decoding where a standard next-byte head verifies the parallel predictions.

Datasets

  • Pretraining: The models were pretrained on 50 billion bytes from the FineWeb-edu English dataset.
  • Fine-tuning & Evaluation: Supervised fine-tuning was performed on the Tulu-3 SFT mix for instruction following.
  • Downstream Tasks: The architecture was evaluated across four major generative benchmarks: CNN/DailyMail (summarization), CoQA (question answering), Opus-100 (Spanish-English and French-English translation), and IFEval (instruction following).

Key Insights and Ideas

  • Language Has Variable Local Structure: Fixed-horizon prediction (always predicting exactly $n$ tokens ahead) is too rigid. Aligning the prediction window with dynamically learned, variable-length segments allows the model to adapt naturally to the local difficulty of the text.
  • Contextual Dependency Matters in Speculation: Traditional MLP-based multi-token prediction heads suffer from a conditional independence assumption—they predict future tokens simultaneously without conditioning them on each other. LCA uses transformer layers to model intra-segment dependencies, leading to much higher quality, more coherent predictions.
  • A Free Throughput Knob: Under speculative decoding verification, the number of candidate bytes $n$ can be scaled up freely at inference time without retraining. This acts as a risk-free mechanism to boost speed while guaranteeing baseline quality.

Key Results

  • Pareto-Optimal Trade-offs: LCA-MBP consistently finds the best trade-off between task accuracy and generation speed, outperforming flat byte models and standard multi-token baselines across multiple tasks.
Performance vs. throughput across downstream tasks
  • 2.1x–2.3x Speedup: When used as a drop-in accelerator for speculative decoding alongside a baseline hierarchical model (FlexiTokens), LCA achieves over a 2x speedup with absolutely zero degradation in downstream task quality.
  • Coherent Block Generation: Analysis of accepted bytes shows that the model frequently accepts entire multi-byte windows at once (15% of the time), proving that it predicts coherent chunks rather than just guessing individual bytes correctly by chance.

Limitations and Future Work

  • Scale: The experiments were conducted at a single model scale of 373M parameters. Verifying that these multi-byte prediction gains persist at multi-billion parameter scales remains future work.
  • Language Diversity: Pretraining was heavily English-centric. Although the model performs well on translation tasks after fine-tuning, its performance on low-resource or morphologically rich languages hasn't been fully explored.
  • Tuning Overhead: Under the threshold acceptance strategy, the optimal number of candidate tokens $n$ is task-dependent, requiring minor tuning (though this overhead disappears when using speculative decoding).

Summary updated

BibTeX
@misc{owodunni2026dynamic,
  author = {Abraham Toluwase Owodunni and Chibuzor Okocha and Christan Grant and Tomasz Limisiewicz and Sachin Kumar},
  title = {{Dynamic Multi-Byte Prediction With Hierarchical Language Models}},
  year = {2026},
  eprint = {2608.15454},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15454},
}
Figure