Patch Granularity as a Test-Time Compute Knob for Byte-Level Reasoning

Language models that read raw bytes instead of subword tokens pay a length tax. The same text becomes three to five times longer, so the network runs more steps per sentence. The Byte Latent Transformer (BLT) softens this tax. It groups bytes into variable-length "patches," cutting a patch boundary wherever a small byte model finds the next byte hard to predict, and it runs the large model only once per patch. This proposal argues that the patch boundary rule should not be fixed at training time. It can serve as a compute dial at inference. Lowering the boundary threshold in a span of text gives the large model more sequential steps on exactly those bytes, with no extra tokens in the chain of thought and no extra samples.

Today, test-time compute scaling (spending more computation at deployment to improve answers) has two main axes. One is generating longer reasoning chains. The other is sampling many candidate answers and picking the best with a verifier. Subword models have no third axis, because a word's segmentation is fixed by the tokenizer. A patch-based byte model does have one. We propose to train a byte-patch model that tolerates many granularities, to allocate fine patches only where reasoning is fragile (digits, operators, variable names), and to test whether this beats spending the same compute on more samples or longer chains.

Core Claim

A byte-patch model trained with randomized patching thresholds can be run at test time with a position-dependent threshold. The threshold is fine where predicted difficulty is high and coarse elsewhere. On symbolic reasoning tasks whose errors sit at a small number of positions, this "granularity scaling" should produce a better accuracy-versus-compute curve than Best-of-$N$ sampling or longer chain-of-thought at matched compute. On tasks without such localized fragility, it should give little benefit.

The mechanism follows the scratchpad argument of Chain-of-Thought Prompting. That paper shows a fixed-depth network gains serial computation by feeding intermediate states back into its context. Splitting one patch into three gives the large model three serial steps over the same bytes. Those are extra internal steps placed at a chosen location, without verbose text.

Concretely, BLT opens a new patch at byte $i$ when the small model's next-byte entropy $H_i$ exceeds a threshold. We replace the single threshold $\theta$ with a per-position value. The per-position threshold is

$$\theta_i = \theta_0 - \Delta \cdot g_i,$$

where $\theta_0$ is the base threshold, $\Delta \ge 0$ is the inference-time budget knob, and $g_i \in [0,1]$ is a fragility score for byte $i$. Total compute is then roughly

$$C \approx N \cdot P(\theta_0, \Delta),$$

where $N$ is the number of sampled chains and $P$ is the number of large-model steps per chain. Our comparisons hold $C$ fixed while trading $N$ against $\Delta$.

Relation to Prior Work

Prior work plays three roles here: it supplies the method, it shows the gap exists, or it constrains the design.

The architecture comes from Byte Latent Transformer. BLT introduced entropy patching and matched Llama 3 scaling with fewer inference operations. It treats the threshold as a training-time hyperparameter and never studies extended reasoning or search. Fast Byte Latent Transformer moves in the opposite direction. It drafts coarser and faster through block diffusion and self-speculation. It also reports that pure diffusion collapses on code, so autoregressive verification is required. We take that result as a constraint: precision-critical spans need finer, more sequential computation, not coarser parallel decoding. We push compute into those spans.

The Efficiency Gap in Byte Modeling motivates the choice of an autoregressive backbone. It found that autoregressive byte models reach parity with subword models around $10^{22}$ training FLOPs, while masked-diffusion byte models lag badly. That paper measures only training-compute scaling. We measure test-time scaling.

The search side builds on two papers. Scaling Test-Time Compute Without Verification or RL is Suboptimal shows verifier-guided search beats verifier-free imitation. Entropy-Regularized PRM provides step-level scoring. Both define the strongest horizontal-scaling competitor; neither has a granularity axis. The closest conceptual neighbor is (1D) Ordered Tokens Enable Efficient Test-Time Search. That work reorganizes image tokens from coarse to fine so that search can verify early. It shows that the representation's granularity structure shapes how well test-time compute pays off. It works only on images and changes token order. We work on text and change token resolution.

Latent-space methods such as ∇-Reasoner and The Geometric Reasoner also add compute inside the model. They do so on subword models, by optimizing logits or steering hidden states. We change how many steps the model takes, not where its states point.

Early-exit work, DEER and S-GRPO, shows that compute should vary along a trajectory. We extend that idea from when to stop to how finely to think at each position.

Research Program

Granularity-robust training. A BLT trained at one threshold will likely degrade when patched differently at test time, so robustness has to be trained in. During pretraining and math fine-tuning, we sample $\theta$ per sequence, and per span, from a range covering roughly two to eight bytes per patch. This is analogous to the nested-dropout trick that gives FlexTok its usable prefixes. We train BLT-style models at about 400M and 1.5B parameters on FineWeb-edu bytes, the 50B-byte corpus used by Dynamic Multi-Byte Prediction. We then fine-tune on grade-school and competition math with step-annotated solutions. We also train a subword model of matched parameters, data, and training FLOPs, following the matched protocol of the Efficiency Gap study.

Fragility scores. We compare three sources for the fragility score $g_i$:

  • the small model's own byte entropy, which is free;
  • a character-class prior (digits, operators, identifiers);
  • a learned per-byte score, trained to predict where errors appear in failed chains versus their corrected counterparts.

Allocation policies. We test two policies:

  • a static policy, where $\Delta$ is set per problem;
  • a refinement policy that is the more interesting variant. It decodes coarsely first, scores the steps with a byte-level process reward model, and re-decodes only the low-scoring steps at fine granularity. This reuses the shared-prefix trick from DEER.

Compute accounting. We report three cost measures, because Fast BLT shows that memory bandwidth, not arithmetic, dominates byte decoding:

  • large-model forward steps;
  • total FLOPs;
  • measured wall-clock and bytes moved from memory.

Granularity scaling adds serial large-model steps, so a gain in FLOPs could become a loss in wall-clock. We will report whichever outcome occurs.

Baselines

Do nothing. The naive reference point is the same granularity-robust byte model, decoded greedily at its default threshold with one chain. Every scaling curve starts here. Any method that cannot beat it at two to four times its compute has failed.

Uniform fine patching. This ablation isolates the "where" ingredient. It lowers the threshold everywhere by the same amount, matching the total large-model step count of each adaptive setting. We run a second ablation that places the same number of extra boundaries at random positions. If adaptive allocation does not beat both at equal steps, the fragility score contributes nothing and the gain is just "more compute."

Best-of-$N$ with an outcome or process verifier on the byte model. This is the strongest competitor on the core question. Verifier-guided horizontal scaling is the established best use of test-time compute, per Scaling Test-Time Compute Without Verification or RL is Suboptimal and Entropy-Regularized PRM. For fairness, it uses the same backbone, the same process reward model trained on the same step labels, and the same total large-model step budget, with $N$ swept on a log grid. Tuning budgets for its sampling temperature and our $(\theta_0, \Delta)$ are equal, chosen on a held-out split.

For reference numbers: ER-PRM reports a 1% Best-of-$N$ gain over prior PRM baselines on GSM8K, and an improvement from 77.9% to 79.7% for Mistral-7B under rejection sampling. Those figures are from 7B subword models and are not directly comparable. We found no reported result on Lacuna for Best-of-$N$ or PRM-guided search on any byte-level or BLT model. Beating this baseline means a higher accuracy-versus-compute curve over at least half the budget range, by more than seed variance across three seeds, on digit-heavy tasks.

Longer chain-of-thought with early exit. This tests sequential text-level scaling. The byte model is fine-tuned to produce longer chains and is cut off with DEER-style confidence exits. DEER reports 19.1% to 80.1% fewer generated tokens with accuracy gains of 0.3% to 5.0% on subword reasoning models. We match its budget in large-model steps.

Matched subword model with Best-of-$N$. This tests whether the byte detour is worth anything at all. It uses the matched-FLOP subword model, the same verifier recipe, and the same compute.

Why not just…?

Why not just run Best-of-$N$ on an ordinary subword model? This is the most serious threat. Subword models are cheaper per step and well optimized. Two results suggest subword search may hit a representational floor on symbolic tasks:

Neither result shows that search fails to overcome these problems. The matched-subword baseline settles the question directly. If it matches or beats our best byte curve at equal wall-clock, the proposal's practical claim fails. What would remain is the scientific finding about granularity as an axis.

Why not just lower the patch threshold everywhere? If extra steps help regardless of placement, the method reduces to a single global knob. That would still be a new test-time axis, but a less interesting one. The uniform-fine and random-boundary ablations at equal step counts test this. Our prediction is that localized fragility makes adaptive allocation win on arithmetic and lose its edge on commonsense multiple choice.

Why not just send arithmetic to a Python tool or use number embeddings? Tool use works well. a1 reaches 74.4% on AIME24 with sandbox feedback. But it needs 4K to 8K tokens before its gains accelerate, and it does not cover fragile non-numeric spans such as identifiers, units, or spelling. We therefore include a tool-augmented subword baseline on GSM8K at matched budget. We also report results separately on spans a tool cannot handle: spelling-sensitive items from CUTE, and variable-heavy word problems. If tools dominate everywhere we can measure, the method's niche is too narrow.

Why not just use the BLT entropy model with no special training? Running an off-the-shelf fixed-threshold model at a new threshold is a free baseline. If it degrades only mildly, the randomized-threshold training is unnecessary. We run this zero-training variant as part of the uniform-fine ablation.

Proposed Experiments

Main tasks. We use GSM8K and MATH-500 for multi-step math. We add a synthetic multi-digit arithmetic suite with controllable digit counts, which lets us vary how much of a problem is "fragile." We include Tents puzzles from Reasoning Effort and Problem Complexity at sizes up to 10×10, to see whether granularity delays the "frustration" collapse. For controls where we predict no gain, we use ARC-Easy, PIQA, and HellaSwag. CUTE checks that fine patching preserves BLT's reported 99.9% spelling accuracy. We also rerun the delimiter-swap protocol of the single-character paper on ARC-Challenge to see whether byte search inherits less format brittleness.

Metrics. We report accuracy, and the area under the accuracy-versus-compute curve under each of the three compute measures.

First decisive check. Plot iso-compute curves trading $N$ against $\Delta$. The idea survives if the optimal allocation puts substantial budget on $\Delta$ for arithmetic but not for the controls. A further prediction comes from the synthetic suite: the advantage should grow with digit count while total reasoning length is held fixed.

Second decisive check. Use error localization. In chains that fail coarse and pass fine, the first divergent byte should fall inside a refined span far more often than chance. That would show the extra steps fix what they were aimed at, rather than adding generic capacity.

Third decisive check. Compare wall-clock. If granularity wins in FLOPs but loses in wall-clock to Best-of-$N$, we will report it as a negative practical result. We would then test whether pairing refined spans with BLT-S self-speculation elsewhere recovers the loss.