Manuscript Offprint
arXiv:2610.32246Do Halting Heads Really Save Compute in Looped Language Models?
Abstract
Looped language models run each token through the same layers several times, and each run is one iteration. To save compute, an extra layer, the halting head, gives after each iteration the probability that the token stops there, so that easy tokens can stop early. Pretraining models from scratch, up to 1.3B parameters, we find two problems. First, heads trained on a mix of all iterations predict that tokens need under half the iterations, yet under the standard stopping rule tokens run almost every iteration, because this training never scores the single iteration where a token stops. Scoring every iteration instead fixes this, but in our runs it works only with a strong penalty favoring early stops. Second, savings are commonly reported as an average number of iterations per token, but when sequences are generated in batches that run until their slowest token stops, a model without a head is almost as good at that cost. The reported average can therefore overstate the saving. We recommend reporting the iterations tokens actually run, with the stopping threshold and batch size, and give a test, run before training a head, that bounds its gain.
1 Introduction
A looped language model applies one block of transformer layers to each token several times, instead of stacking many different layers (Geiping et al., 2025; Saunshi et al., 2025; Prairie et al., 2026; Zeitoun et al., 2026; Fu et al., 2026), so extra depth costs no extra parameters (Figure 1a). Each application of the block is one iteration. The number of iterations is a setting rather than part of the trained weights: a model trained with at most eight iterations, its cap, can also run with fewer. This invites adaptive depth, because a model could spend two iterations on an easy token and eight on a hard one and so save compute.
To decide when a token stops, these models add a halting head: a small extra layer that reads the
(a) Two ways to build depth eight different blocks
Transformer
one block, run up to 8 times
Looped
(b) Where a halting head stops a token
33%
stops
here (%)
iteration
total
so far (%)
average: 3.7
15
10
6
6
5
7
8
33%
48
58
64
70
75
82
100
exit rule waits for 90%: stops at 8
Figure 1: A head can predict 3.7 iterations and still run all eight. (a) A transformer stacks eight different blocks of layers; a looped model runs one block up to eight times. (b) After each iteration, a halting head gives the probability that the token stops there. Its average, the expected halting steps, is iterations. An exit rule stops the token once the running total reaches 90%, which for this illustrative token happens only at iteration 8.
token's state, its representation after each iteration, and outputs the probability that the token should stop there. The two standard designs are Adaptive Computation Time (ACT) (Graves, 2016; Dehghani et al., 2019) and PonderNet (Banino et al., 2021), and recent looped language models use variants of both (Zhu et al., 2025; Tan et al., 2023). Their savings are commonly reported as an average number of iterations per token. For example, Ouro (Zhu et al., 2025), a released looped language model, compares its halting head with stopping every token at one number of iterations chosen to match the average, and another model reports a 50% cut in computation, estimated from the iterations its rule skips rather than measured as running time (Tan et al., 2023). This practice relies on an assumption: that the average number of iterations
(a) Tokens in one batched pass

(b) Predicted, spent, and paid

Figure 2: A batched pass costs more than the average token. (a) Four tokens processed together: the pass keeps running until its deepest token stops. (b) Two 370M-parameter models: the predicted average (what the head's probabilities predict), spent (what its exit rule runs) and paid (what a batched pass over 32 sequences runs). Mixture: trained on a mixture of all iterations; per-step: every iteration scored. Thresholds as in Section 2.2.
per token is the compute the model spends. This paper shows that, for the halting heads we train, this assumption fails.
Two things stand between what a halting head predicts and the compute it saves. First, the head only outputs probabilities. When the model runs, an exit rule decides when each token actually stops: it stops the token once the running total of its stopping probabilities reaches a threshold, for example 90%. This rule stops at a percentile of the probabilities, not at their average, the expected halting steps. Figure 1b shows a token whose average is 3.7 iterations: 18% of its probability is on the last iteration, so the running total reaches 90% only there, and the token runs all eight. Second, tokens are processed in batches, and a batch keeps running until its deepest token, the one that runs the most iterations, has stopped, so every token in it pays for that one (Figure 2a). Neither effect is new on its own: an average is not a percentile, and early-exit transformers, which stop a token at one of several layers, already meet the batching problem (Del Corro et al., 2023). What has not been measured is how often trained heads behave like the token of Figure 1b and why, whether a different training loss fixes it, and, if it does, how much of the head's advantage survives batching.
To find out, we train halting heads into looped models of four sizes, from 140M to 1.3B parameters, on two text corpora with three seeds for most configurations, and count the iterations that tokens actually run, the realized steps. Heads trained on a mixture of all their iterations predict fewer than four of eight iterations on average, yet they run almost all eight under a 90% exit rule. Stopping tokens earlier costs so much quality that, once more than about one iteration is saved, a model of the same size with no halting head does better when run for the same number of iterations. This model, the sampled-depth baseline, is trained with randomly chosen numbers of iterations.
The cause is the training loss. Like ACT, these heads are trained on a mixture of the token's states from all iterations, never on the single state at which an exit rule stops the token; we call this the mixture loss. If the model reads that one state instead of the mixture, it becomes about 0.2 bits per byte worse (BPB, the language-modelling loss per byte of text; lower is better). That is most of the 0.24 BPB gap between our smallest and largest models. Scoring every iteration, as PonderNet's own per-step loss does, is not enough on its own: it works only with a strong prior, a training penalty that pushes stopping toward early iterations. Early-exit models already train every exit layer (Schuster et al., 2022; Elhoushi et al., 2024), but each layer's share of the loss is set without the head; the per-step loss makes each iteration's share the head's own stopping probability, and we trace the need for the prior to this weighting (Section 6.2).
Even then, batching removes most of the lead. Scored on whole texts at once, as in training, the per-step model beats the sampled-depth baseline run for the same number of iterations. When 32 sequences are generated together, however, a batched pass runs more iterations than the average token, and at that cost most of the lead disappears. Batching also removes most of the saving of Ouro, a released looped model with a trained halting head. Generating one sequence at a time avoids this wait but raises a different problem: a stopped token has no keys and values at the iterations it skips, although later tokens attend to them there. The lead survives only if the token's own keys and val-ues are reused at those iterations, as Geiping et al. (2025) do in their looped model. Even then, the model does not beat a specialist, a model trained to always run about three iterations.
Our contributions are as follows:
-
We show that halting heads trained with the mixture loss save almost no compute under their own exit rule, although the heads predict that tokens need under half the iterations (Section 5.2).
-
We trace this to the loss, and show that scoring every iteration, weighted by the head's own probabilities, works only with a strong prior (Section 6).
-
We show that batching removes most of the remaining lead, and that generating one sequence at a time keeps it only if stopped tokens' keys and values are reused (Section 7).
-
We give a test that bounds, before any head is trained, how much a head could gain (Section 8).
Based on these results, we recommend that looped models with a halting head report three numbers: (i) the expected halting steps, (ii) the realized steps under a stated exit rule, and (iii) the iterations a batched pass runs. We also recommend stating how the keys and values of stopped tokens are filled.
2.1 Looped models and halting heads
A looped model has three groups of layers (notation in Appendix A). A prelude of layers embeds the token once. A core of layers, the block of Section 1, then runs up to T times, the cap, with the same weights. A coda of layers reads out the result. Only the core's compute grows with the number of iterations, the model's depth.
Write for the state of token after iterations, that is, after the core has run times. A fixed-depth model passes the last state, , to the coda. A PonderNet-style halting head (Banino et al., 2021) instead outputs, after each iteration, the probability that token stops there if it is still running: , where is the logistic sigmoid and is the head's learned weight vector. So is the probability that it stops exactly at , and whatever probability is left goes to the last iteration, . Averaging the iteration number over these probabilities gives the expected halting steps, : the iteration at which the head expects the token to stop. Write for the iteration at which the token actually stops under the exit rule (Section 2.2).
Given , there are two ways to build the loss. Below, is the next token and the cross-entropy. The mixture loss forms one mixture, , and scores only the prediction that the coda decodes from it. The per-step loss, PonderNet's own (Banino et al., 2021, Eq. 3), scores every iteration, with the prediction decoded from alone:
mixture: ,
per-step: .
In both losses, is a fixed prior over stopping times that favors early iterations: a geometric distribution on , . With and , its mean is about three iterations. The Kullback–Leibler (KL) term pulls towards with weight . We say the prior is strong when is large enough to change where the head puts its stopping probability.
2.2 Two properties that drive the results
The mixture loss never scores a single iteration. An early exit, however, can only use the states computed so far: a single state , or a mixture of the states up to the exit. The loss scores neither (Appendix F.4).
Expected halting steps is not realized compute. Without an exit rule, the model runs all T iterations: the head weights the states but does not decide how many are computed. Turning into a saving needs a separate rule at inference, the exit rule. The standard rule, used by ACT and by Ouro's released code, halts token i at the first t where reaches . Larger exits earlier. is an average, but the exit rule stops at a percentile of the stopping probabilities: if more than of the probability is on the last iteration, the token runs to the cap, however small its average (Figure 1b). PonderNet instead samples each token's stopping iteration from these probabilities, which spends the average but costs the mixture-loss model about 0.2 BPB (Appendix E.7).
The three numbers. We report every threshold with three numbers. The head predicts . The exit rule spends , the realized steps: the mean, over tokens, of the iteration at which the rule actually stops each token. A batched pass runs several tokens at once until its deepest token stops, so it pays that token's iterations, written is how many times more iterations the pass runs than the average token, and it grows with the number of tokens in the pass (Appendix E.4). For the 370M per-step model, these are about 4.1, 2.8 and 4.4 iterations (Table 1).
Three ways to measure quality. Quality is measured three ways. Teacher-forced: the whole true text of the validation split goes through the model in one pass, as in training; every token keeps computing until the deepest one stops, so all keys and values exist at every iteration. This is the best case. Simulated decode: the same one-pass computation, but a token's keys and values are hidden at the iterations after it stops, which simulates generating one token at a time. A real decode checks that simulation by doing it: the model reads the true text one token at a time, as when generating, and keeps each token's keys and values in a cache, so only what was actually computed is there. Both simulated decode and real decode can instead fill a stopped token's missing entries with its last computed keys and values (Section 7.2). The main text reports each model at one threshold. The mixture-loss model, trained at , runs at , which stops a token once of its probability is used; at this threshold the model keeps its quality. The per-step model, trained at , runs at , which stops a token once of its probability is used, after about three iterations.
3 Related Work
Sharing weights across layers is not new (Dehghani et al., 2019; Lan et al., 2020); recent work treats the number of iterations as a variable (Geiping et al., 2025) and studies latent reasoning (Saunshi et al., 2025), scaling (Prairie et al., 2026), stability (Fu et al., 2026), efficient design (Zeitoun et al., 2026), retrofitting (McLeish et al., 2025) and expressivity (Giannou et al., 2023). Such sharing already makes the parameter count a misleading measure of cost (Dehghani et al., 2022); an average number of iterations per token is another.
Bae et al. (2025b) and Raposo et al. (2024) route tokens to a depth or past whole blocks, with a budget fixed at training. Zhu et al. (2025) train looped models with a halting head that decides at each iteration whether a token stops. It is the strongest positive result for a halting head we know of, but it is compared at its realized steps, which understate the cost of a batched pass (Section 7.1). Tan et al. (2023) train mixture-loss heads on formal-language tasks; they are the source of the 50% estimate in Section 1. Geiping et al. (2025) instead stop a token without a trained head, once successive iterations' predictions stop changing (a KL-divergence test), and already report realized steps. The batching cost of Section 7.1 applies to all of these. Concurrently, Liu et al. (2026) save compute without a halting head, by running every token for fewer iterations; four other concurrent papers on looped models (Mishra et al., 2026; Popescu et al., 2026; Logan, 2026; Monea et al., 2026) are compared with our results in Appendix G. Zhu et al. (2025) train the same per-step loss under a uniform prior, then train the head alone with a separate loss on realized loss improvement. They vary the prior's shape but do not cross the loss with the prior's weight, as Section 6.2 does.
| Scale | Iterations | BPB | |||||
|---|---|---|---|---|---|---|---|
| at | at | hidden | reused | ||||
| Mixture, | |||||||
| 140M | 3.81 | 7.86 | - | -0.0093 | - | - | - |
| 370M | 3.74 | 7.76 | 8.0 | -0.0063 | - | - | - |
| 770M | 7.67 | - | -0.0065 | - | - | - | |
| 1.3B | 7.61 | - | -0.0048 | - | - | - | |
| Per-step, | |||||||
| 140M | 4.33 | 3.11 | 4.71 | -0.0205 | -0.0004 | +0.043 | -0.019 |
| 370M | 4.07 | 2.83 | 4.40 | -0.0219 | -0.0010 | +0.035 | -0.020 |
| 770M | 4.00 | 2.75 | 4.37 | -0.0246 | -0.0030 | +0.028 | -0.022 |
Table 1: What the head predicts is not what a batched pass pays. The three Iterations columns are the three numbers of Section 2.2: how many iterations the head predicts a token needs (E[N]), how many a token spends under the exit rule ( ), and how many a batched pass over 32 sequences pays ( ). BPB is our model's BPB minus that of the sampled-depth baseline run for the same number of iterations, so a negative value means our model is better. That baseline runs iterations in the column at (teacher-forced) and in the column at (a batched real decode). The mixture-loss is derived from (Appendix E.1). The two decode columns simulate generating one token at a time, and differ in what a stopped token leaves at the iterations it skipped: nothing (hidden), or its keys and values from the iteration where it stopped (reused). -: not measured. Bold: beyond noise. One seed.
Outside looped models, early-exit models score each exit layer, so each is a valid exit (Elbayad et al., 2020; Schuster et al., 2022; Elhoushi et al., 2024; Zhou et al., 2020; Xin et al., 2020; Teerapittayanon et al., 2016; Kaya et al., 2019; Huang et al., 2018), and LayerDrop trains so that any depth can be kept (Fan et al., 2020). FREE (Bae et al., 2023) fills in exited tokens' keys and values by synchronized parallel decoding, and EE-LLM (Chen et al., 2024)
| Method | Training depth | What the coda reads | Loss term on depth |
|---|---|---|---|
| Dense | no sharing, layers | final layer | — |
| Sampled-depth | — | ||
| ACT (Graves, 2016) | fixed | mixture up to its halting iteration | ponder cost, weight |
| Mixture | fixed | mixture | KL to geometric , weight |
| Per-step | fixed | each , weighted by | KL to geometric , weight |
Table 2: The methods, and how each treats depth. The sampled-depth baseline follows Prairie et al. (2026). Dense has the same number of parameters as the others but runs each layer once, so it uses fewer floating-point operations. The ponder cost is ACT's penalty on the number of iterations a token runs (Appendix E.8 varies ).
recomputes them in a later pass; AdaPonderLM (Song et al., 2026) reuses halted tokens' keys and values in a looped model and reports about a tenth fewer iterations at comparable perplexity; Apparate (Dai et al., 2024) manages early exits under batched serving. What is new here is that scoring every iteration with weights set by the head itself is not enough: it works only with a strong prior.
4 Experimental Setup
4.1 Corpora, scales and measurement
We pretrain from scratch on two corpora. FineWeb-Edu (FW) (Penedo et al., 2024) is a web crawl filtered by an educational-quality classifier; the sampled-depth baseline we build on uses it. Common Corpus (CC) (Langlais et al., 2026) is curated, openly licensed text. We train four scales, from 140M to 1.3B parameters, at 76 to 79 tokens per parameter. In tables, is the standard deviation over the training seeds, and a dagger marks a cell with one seed. We report BPB on the validation split of each corpus, which training never sees: the model's cross-entropy summed over the split, in bits, divided by the split's length in bytes. Corpora, configurations, optimizer and evaluation protocol are in Appendices B.1–B.3, and downstream scores in Appendix D.1.
Measurement noise. Re-evaluating the same weights on a different GPU type moves BPB by up to 0.0045. We call this the evaluation noise floor and read differences between separate evaluations against it (Bouthillier et al., 2021). A comparison within one evaluation session avoids this shift, since both models move together; its difference is read against its standard deviation across the training seeds (seed s.d.). The per-step comparisons of Sections 6 and 7 are made this way. In tables, bold marks a difference beyond twice its noise: the seed s.d. for a comparison within one evaluation session, the evaluation noise floor otherwise.
4.2 Methods compared
Every method in Table 2 is trained at all four scales, except two trained at three: the dense model (a standard transformer with the same prelude, core and coda layers, each run once) and the per-step model. The two halting models, mixture-loss and per-step, use the PonderNet-style head of Section 2.1 and differ only in which state the coda reads; ACT stops a token once its accumulated stopping probability reaches .
The sampled-depth baseline has no halting head: it is trained with a random number of iterations (Section 1) and run for a fixed number. We report results as margins: a model's BPB minus that of the sampled-depth baseline run for the same number of iterations, written , so negative is better; a negative margin is a lead. ACT and the halting models differ from that baseline in two ways: they train at a fixed , not a sampled one, and they backpropagate through all eight iterations, not four (their gradient reach). The two halting models also add a small penalty that makes successive core states settle (Appendix B.3). A specialist is a model trained at one depth, chosen in each comparison to match the compared model's realized steps.
5 Heads Trained on a Mixture Save Almost No Compute
In this section, we show that heads trained with the mixture loss save almost no compute under their own exit rule, and that stopping their tokens earlier costs more quality than it saves. We first ask how much a head could gain at all.
5.1 How much a head could gain
A head saves compute by stopping some tokens early, so the most it can gain is set by how little quality a model loses when it runs fewer iterations. That loss is small. At 140M, a specialist trained at three iterations is only about 0.02 BPB worse than a specialist trained at the cap of eight.

Figure 3: The cost in quality of exiting early. BPB against realized steps, the average number of iterations the exit rule actually runs. Each dot is one exit threshold of a 370M model. The dotted line is the sampled-depth baseline run for that many iterations; a curve below it is a lead at that cost. The mixture-loss model is above the baseline until 7.3 steps; the per-step model is on or below it at every threshold shown.
None of our models beats this eight-iteration specialist beyond noise, even when it runs all eight. Stopping tokens early is not expected to do better than running them all. So a model whose exit rule stops tokens after about three iterations can beat the three-iteration specialist by at most about 0.02 BPB (Appendix D.2).
5.2 Under their exit rule, tokens run almost to the cap
The exit rule stops a token once the running total of its stopping probabilities reaches (Section 2.2). A token therefore runs to the cap when more than of its probability is on the last iteration, as the token of Figure 1b does. To see how often this happens, we apply the rule to every validation token and count the realized steps (Appendix E.1). At , the mixture-loss heads predict fewer than four of eight iterations, yet their tokens run 7.6 to 7.9 (Table 1). So the heads save almost no compute.
Stopping tokens earlier costs more quality than it saves. A larger stops tokens earlier. Figure 3 plots BPB at each threshold against its realized steps, next to the sampled-depth baseline run for the same number of iterations. At every scale the sampled-depth baseline overtakes the mixture-loss model within one iteration of the cap; Figure 3 marks this point as the crossover. So the mixture-loss model can save at most about one iteration before it falls behind.
6 The Training Loss Is the Cause
In this section, we show that the failure of Section 5 comes from the training loss: the mixture loss never trains the single state that an exit rule hands to the coda. We test this in three steps: whether a single iteration can be read out, whether scoring every iteration is enough, and what a strong prior adds.
| Scale | Reads mixture ↓ | Reads state at cap ↓ | Readout gap ↓ |
|---|---|---|---|
| Mixture | |||
| 140M | 1.2058 ±.0006 | 1.4091 ±.040 | +0.203 ±.040 |
| 370M | 1.0807 ±.0001 | 1.2559 ±.015 | +0.175 ±.015 |
| 770M | 1.0090 ±.0012 | 1.1767 ±.006 | +0.168 ±.007 |
| 1.3B | 0.9643 ±.0017 | 1.1535 ±.016 | +0.189 ±.015 |
| Per-step | |||
| 140M | 1.2050 ±.0010 | 1.2048 ±.0009 | -0.0002 ±.0001 |
| 370M | 1.0924 ±.0015 | 1.0914 ±.0016 | -0.0010 ±.0004 |
| 770M | 1.0138 ±.0003 | 1.0128 ±.0003 | -0.0010 <.0001 |
Table 3: Reading out one iteration costs the mixture-loss model about 0.2 BPB and the per-step model nothing. Reads mixture and Reads state at cap: BPB when the coda reads the mixture or only the state at the cap; Readout gap: the second minus the first. All eight iterations run, so only what is read out differs. Per-step: (0.1 at 770M; Appendix F.5).
6.1 The mixture loss never trains a single iteration
When the exit rule stops a token at iteration , the coda reads , or a mixture of the states up to , instead of the full mixture it was trained on. If this mismatch causes the failure, then giving the coda the state of a single iteration, instead of the mixture, should make the mixture-loss model much worse and leave the per-step model, whose loss scores every iteration, unchanged. Both hold (Table 3). Even at the cap, with no exit, giving the coda only the last state costs the mixture-loss model about 0.2 BPB, because its loss weighted that state only by the probability left for the last iteration. One objection remains. Under early exit, the mixture-loss model reads not a single state but a mixture of the states up to the exit (Section 2.2), so this shortened mixture, rather than the loss, could be the cause. It is not: with the same exit rule and prior weight, the per-step model beats the sampled-depth baseline at every scale (Section 6.3), while
| Scale | Loss | change at | ||
|---|---|---|---|---|
| BPB | 0.1 | 1.0 | ||
| 140M | Mixture | 1.813 | +0.038 | +0.052 |
| Per-step | 1.711 | -0.394 | -0.450 | |
| 370M | Mixture | 1.610 | -0.002 | +0.031 |
| Per-step | 1.430 | -0.273 | ||
Table 4: A stronger prior helps the per-step model by over 0.25 BPB and does not help the mixture-loss model. BPB on CC with every token forced to run one iteration. Bold: beyond noise. One seed (Appendix F.1).
the mixture-loss model, at two realized steps, is about 0.27 BPB behind that baseline at 140M (Appendix E.2). Since the mixture-loss model fails whether the coda is given a single state (Table 3) or the shortened mixture, the loss is the cause.
6.2 Scoring every iteration is not enough without a strong prior
Every iteration of the per-step model can be read out. Yet with a weak prior ( ), it still does not stop tokens early: even at , which stops a token once 5% of its probability is used, its tokens run over 6 of 8 iterations (Appendix F.1). We trace this to the weighting: each iteration's loss is weighted by , so training improves only the iterations the head already favors. Only the KL term pushes depth down, and at it loses: climbs during training, well past the prior's mean of about three (Section 2.1).
A strong prior makes the early iterations usable. Raising from 0.01 to 0.1 changes how quality depends on depth (Appendix F.1). At one iteration, the per-step model goes from about 0.3 BPB worse than the sampled-depth baseline to about 0.06 better, and at it is never behind. We call this depth-robustness: the model loses less quality when it runs few iterations.
Neither the loss nor the prior works alone. Table 4 crosses them at one iteration, where the per-step model trails furthest. Raising improves the per-step model by over 0.25 BPB but does not help the mixture-loss model.
6.3 With both, the model leads
Unlike the mixture-loss model, the per-step model stays ahead of the sampled-depth baseline when its exit rule stops tokens early. It spends about three iterations and beats the sampled-depth base- line run for the same number by about 0.02 BPB, well beyond the evaluation noise floor (Table 1).
| BPB ↓ | Exit rule | Shuffled |
|---|---|---|
| Per-step, 140M | 1.2202 | 1.2285 |
Table 5: Shuffling the depths the exit rule chose costs 0.008 BPB at the same compute. At and . Exit rule: each token runs the number of iterations the exit rule chose for it. Shuffled: we keep the same iteration counts but hand them to the tokens in a random order, so an easy token may get the many iterations chosen for a hard one. Bold: beyond noise.
The lead splits into depth-robustness and allocation. The lead can come from two sources. The model may lose little quality at every depth, the depth-robustness of Section 6.2. Or its exit rule may give more iterations to the tokens that need them; we call this allocation. To measure allocation, we shuffle the numbers of iterations the exit rule chose across tokens (Table 5). The model then loses about two-fifths of its lead. Allocation therefore matters, but depth-robustness is most of the lead. This split, however, depends on how the sampled-depth baseline is trained. That baseline rarely trains at three or fewer iterations, so it is weak there, and part of what looks like depth-robustness may only be this weakness. We therefore retrain that baseline to draw shallower depths. At three iterations it is then nearly as good as the specialist, and the lead shrinks to about a third. Most of what remains is allocation (Appendix D.3).
7 Batching Removes Most of the Remaining Lead
Sections 5 and 6 count iterations per token and score whole texts at once. In this section, we show what changes when text is generated.
7.1 A batched pass pays for its deepest token
A server generates many sequences at once, so the tokens they produce at the same time share one batched pass. The pass stops only when every token in it has stopped. It therefore costs iterations, not the mean. When 32 sequences are decoded together, the per-step model's tokens stop after about three iterations on average, but a pass runs 4.4 to 4.7 (Table 1). A stopped token does not leave the pass. Its prediction is still the one made at the iteration where it stopped, but it keeps running the remaining iterations with the others, so it keeps writing the keys and values that later tokens attend to. Quality therefore holds; what changes is the cost. Timed at 370M with 32 sequences decoded together, the per-step model runs about 1.6 times as fast as eight iterations. Run at a fixed depth equal to its realized steps, the same weights would run about 2.3 times as fast; the difference is the cost of waiting for the deepest token (Appendix C.1). The lead of Section 6.3 was measured against the sampled-depth baseline at three iterations. Compared at the iterations the pass actually runs, that baseline is better than at three, and most of the lead disappears: what remains grows from a tie at 140M to 0.003 BPB at 770M (Table 1). A released model shows the same pattern. Ouro's 2.6B model (Zhu et al., 2025) has a trained halting head; at the threshold where its BPB holds, its tokens skip about a tenth of its iterations, but a pass over 32 tokens skips about one percent (Appendix E.3).
Two ways around the wait. The first is to gather the still-running tokens into a smaller batch before each iteration, as Mixture-of-Depths routers do (Raposo et al., 2024); in our implementation it does not help when decoding (Appendix E.6). The second is depth-wise batching (Bae et al., 2025a,b), which gives a stopped token's place to a token from another sequence; this works because every iteration uses the same weights. We do not test it.
7.2 One sequence at a time, the lead needs the stopped tokens' keys and values
Decoding one sequence at a time has no deepest token to wait for. A stopped token, however, never computes its keys and values at the deeper iterations, although later tokens attend to them there. If they are left missing, the per-step model trails the sampled-depth baseline (Table 1). A decoder can instead fill each missing entry with the token's keys and values from the iteration where it stopped, as Geiping et al. (2025) do, which costs no measurable time. The model then keeps almost all of its lead, also in a real decode (Appendix E.6). Even then, it does not beat a specialist trained to run as many iterations as it runs on average (Appendix D.2).
8 A Test Before Training a Head
In this section, we give a test that bounds, before any head is trained, how much a head could gain.
Whether a head pays off depends on three quantities: f, the share of per-token compute inside the core; the factor R of Section 2.2; and the depth curve, the sampled-depth baseline's BPB at each fixed depth. Running t of T iterations costs of the full pass, so the architecture allows a speedup of .
A head pays off only if two conditions hold. Speedup: a pass of iterations must cost less than one of all , . Quality: with its exit rule, the model must beat the sampled-depth baseline at the same iterations, or the saving buys a worse model.
The test before training. Before any head is trained, the depth curve bounds what a head can win. A head's lead is measured against the sampled-depth baseline run for iterations. Assume that stopping a token early cannot beat running it to the cap. Then the best a head can do is the quality of a model run at the cap, so its lead is at most the gap between that baseline at iterations and a model at the cap. This gap has two parts. The first is how much the depth curve drops from to the cap. The second is the amount by which a model trained at the cap beats that baseline at the cap, which comes from how that baseline is trained (Appendix C.2). The first part needs no head, and the second can be measured on any model trained at the cap. So the bound is known before a head is trained. For batched decoding, the bound also needs R, which must then be assumed. For a head aiming at three iterations, the bound against the sampled-depth baseline is about 0.03 BPB when one sequence is decoded at a time. When 32 sequences are decoded together, passes run more iterations than the average token. The comparison then moves to that larger depth, where the curve has little left to drop, and the bound falls to about 0.01.
9 Conclusion
For the heads we trained, the average number of iterations per token is not the compute a head saves. Heads trained with the mixture loss run tokens almost to the cap; heads scored at every iteration under a strong prior stop tokens early, but a batched pass pays for its deepest token, and at that cost most of their lead disappears. Before any head is trained, the depth curve bounds this lead (Section 8).
What to report. We recommend that looped models with a halting head report three things. First, the three numbers of Section 2.2, with the exit rule's threshold and the batch size; Table 1 reports ours. Second, quality when generating: a real decode through the key-value cache, or a simulated decode, stating how early-stopped tokens' deeper keys and values are filled. Third, comparisons at iterations, not at the average, with the sampled-depth baseline and with a specialist (Section 4.2). We also recommend running the test of Section 8 before training a head.
Limitations
• The test’s verdict is for a flat depth curve. Our depth curve moves about 0.02 BPB over the depths an exit rule reaches; the three numbers hold whatever the curve’s shape, and only the test’s verdict depends on it. Choosing how many iterations to train with, Nanbeige LLM Lab (2026) likewise find that iterations beyond two add only marginal improvement. Training with a larger cap makes the curve steeper, but in our runs this is confounded with gradient reach and with how training depths are drawn; Appendix E.3 runs the test on a curve fifteen times steeper.
• Evaluation is BPB on the validation split, since the downstream aggregate cannot separate the models (Appendix D.1).
• Scale. Our largest model has 1.3B parameters and is trained on 104B tokens, and the per-step model is trained only up to 770M. Three claims do not depend on scale: the mixture loss scores no single state, an exit rule stops at a percentile, not the average, and a batched pass pays for its deepest token.
• Seed coverage. Table 4 includes single-seed cells, and its FW replication (Appendix F.2) is one seed at one scale. The baseline retrained at shallower depths (Section 6.3) is trained at 140M only.
• Gradient reach. It is controlled at 140M, 370M and 770M (Appendices C.3, C.2, F.3). Halting and ACT backpropagate through every iteration, the sampled-depth baseline through four, so this difference cannot explain why an exit rule fails to stop tokens early.
• One-token decode. Hiding and reusing stopped tokens’ keys and values are each measured in a real decode on 64 sequences. Why reuse works on our models is not established: the keys and values a stopped token would compute at deeper iterations differ from its reused ones by 13 to 26%, and on Ouro, at its earliest-exiting threshold, reuse did no better than keeping only the first token visible (Appendix E.6). Gathering is timed in one implementation, without a fused kernel, and depth-wise batching (Section 7.1) is not tested. Training with stopped tokens’ keys and values hidden, as in a one-token decode, is left to future work.
Ethical considerations
The models here are trained from scratch for research and are not deployed; the released Ouro checkpoints (Apache 2.0) are only evaluated. Appendices B.1–B.4 give the configurations, data sources and evaluation protocols of every run, and the compute budget. Both corpora are public, and we collected no personal data: CC is openly licensed text, and FW is a filtered public web crawl, released under the Open Data Commons Attribution License (ODC-By), that may contain incidental personal information. No human subjects were involved and no annotation was commissioned. Evaluation uses the validation splits of those corpora and the public DCLM CORE-extended suite (Li et al., 2024).
The work’s main cost is compute: on the order of 100,000 GPU-hours (Appendix B.4) for four scales on two corpora, with three seeds for most configurations. We report it because a paper about the true cost of a method should state its own. The test of Section 8 reduces this cost: run before training a head, it can rule out a halting head and save the runs that would otherwise establish the same thing. The reporting convention we criticize also risks provisioning deployment compute for a saving that does not arrive.
One risk is over-generalizing these results. Section 8 gives the conditions under which a halting head would pay, and the Limitations section states the scope of the evidence.
References
Sangmin Bae, Adam Fisch, Hrayr Harutyunyan, Ziwei Ji, Seungyeon Kim, and Tal Schuster. 2025a. Relaxed recursive transformers: Effective parameter sharing with layer-wise LoRA. In International Conference on Learning Representations.
Sangmin Bae, Yujin Kim, Reza Bayat, Sungnyun Kim, Jiyoun Ha, Tal Schuster, Adam Fisch, Hrayr Harutyunyan, Ziwei Ji, Aaron Courville, et al. 2025b. Mixture-of-recursions: Learning dynamic recursive depths for adaptive token-level computation. Advances in Neural Information Processing Systems, 38:96572–96617.
Sangmin Bae, Jongwoo Ko, Hwanjun Song, and Se-Young Yun. 2023. Fast and robust early-exiting framework for autoregressive language models with synchronized parallel decoding. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 5910–5924.
Andrea Banino, Jan Balaguer, and Charles Blundell. 2021. PonderNet: Learning to ponder. arXiv preprint arXiv:2107.05407.
Tamay Besiroglu, Ege Erdil, Matthew Barnett, and Josh You. 2024. Chinchilla scaling: A replication attempt. arXiv preprint arXiv:2404.10102.
Xavier Bouthillier, Pierre Delaunay, Mirko Bronzi, Assya Trofimov, Brennan Nichyporuk, Justin Szeto, Nazanin Mohammadi Sepahvand, Edward Raff, Kanika Madan, Vikram Voleti, et al. 2021. Accounting for variance in machine learning benchmarks. Proceedings of machine learning and systems, 3:747–769.
Yanxi Chen, Xuchen Pan, Yaliang Li, Bolin Ding, and Jingren Zhou. 2024. EE-LLM: Large-scale training and inference of early-exit large language models with 3D parallelism. In International Conference on Machine Learning, volume 235, pages 7163–7189. PMLR.
Yinwei Dai, Rui Pan, Anand P. Iyer, Kai Li, and Ravi Netravali. 2024. Apparate: Rethinking early exits to tame latency-throughput tensions in ML serving. In Proceedings of the ACM SIGOPS 30th Symposium on Operating Systems Principles, pages 607–623.
Jeffrey Dean and Luiz André Barroso. 2013. The tail at scale. Communications of the ACM, 56(2):74–80.
Mostafa Dehghani, Anurag Arnab, Lucas Beyer, Ashish Vaswani, and Yi Tay. 2022. The efficiency misnomer. In International Conference on Learning Representations.
Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Łukasz Kaiser. 2019. Universal transformers. In International Conference on Learning Representations.
Luciano Del Corro, Allie Del Giorno, Sahaj Agarwal, Bin Yu, Ahmed Awadallah, and Subhabrata Mukherjee. 2023. SkipDecode: Autoregressive skip decoding with batching and caching for efficient LLM inference. arXiv preprint arXiv:2307.02628.
Maha Elbayad, Jiatao Gu, Edouard Grave, and Michael Auli. 2020. Depth-adaptive transformer. In International Conference on Learning Representations.
Mostafa Elhoushi, Akshat Shrivastava, Diana Liskovich, Basil Hosmer, Bram Wasti, Liangzhen Lai, Anas Mahmoud, Bilge Acun, Saurabh Agarwal, Ahmed
Roman, et al. 2024. LayerSkip: Enabling early exit inference and self-speculative decoding. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12622–12642.
Angela Fan, Edouard Grave, and Armand Joulin. 2020. Reducing transformer depth on demand with structured dropout. In International Conference on Learning Representations.
Rao Fu, Zixuan Yang, Jiankun Zhang, Jing Ma, Hechang Chen, Yu Li, and Yi Chang. 2026. Simply stabilizing the loop via fully looped transformer. arXiv preprint arXiv:2605.18797.
Jonas Geiping, Sean McLeish, Neel Jain, John Kirchembauer, Siddharth Singh, Brian Bartoldson, Bhavya Kailkhura, Abhinav Bhatele, and Tom Goldstein. 2025. Scaling up test-time compute with latent reasoning: A recurrent depth approach. Advances in Neural Information Processing Systems, 38:41340–41391.
Angeliki Giannou, Shashank Rajput, Jy-yong Sohn, Kangwook Lee, Jason D Lee, and Dimitris Papailiopoulos. 2023. Looped transformers as programmable computers. In International Conference on Machine Learning, pages 11398–11442. PMLR.
Alex Graves. 2016. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983.
Alexander Hägele, Elie Bakouch, Atli Kosson, Loubna B Allal, Leandro Von Werra, and Martin Jaggi. 2024. Scaling laws and compute-optimal training beyond fixed training durations. Advances in Neural Information Processing Systems, 37:76232–76264.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. 2022. An empirical analysis of compute-optimal large language model training. Advances in Neural Information Processing Systems, 35.
Shengding Hu, Yuge Tu, Xu Han, Chaoqun He, Ganqu Cui, Xiang Long, Zhi Zheng, Yewei Fang, Yuxiang Huang, Weilin Zhao, et al. 2024. MiniCPM: Unveiling the potential of small language models with scalable training strategies. arXiv preprint arXiv:2404.06395.
Gao Huang, Danlu Chen, Tianhong Li, Felix Wu, Laurens van der Maaten, and Kilian Q. Weinberger. 2018. Multi-scale dense networks for resource efficient image classification. In International Conference on Learning Representations.
Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. 2024. Muon: An optimizer for hidden layers in neural networks. https://kellerjordan.github.io/posts/muon/.
Andrej Karpathy. 2025. nanochat. https://github.com/karpathy/nanochat.
Yigitcan Kaya, Sanghyun Hong, and Tudor Dumitras. 2019. Shallow-deep networks: Understanding and mitigating network overthinking. In International conference on machine learning, pages 3301–3310. PMLR.
Diederik P. Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In International Conference on Learning Representations.
Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th symposium on operating systems principles, pages 611–626.
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. ALBERT: A lite BERT for self-supervised learning of language representations. In International Conference on Learning Representations.
Pierre-Carl Langlais, Pavel Chizhov, Catherine Arnett, Carlos Rosas Hinostroza, Mattia Nee, Eliot Krzysztof Jones, Irène Girard, David Mach, Anastasia Stasenko, and Ivan P. Yamshchikov. 2026. Common Corpus: The largest collection of ethical data for LLM pretraining. In International Conference on Learning Representations.
Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Yitzhak Gadre, Hritik Bansal, et al. 2024. DataComp-LM: In search of the next generation of training sets for language models. Advances in Neural Information Processing Systems, 37.
Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, Yibo Liu, Shaowei Liu, Bohong Yin, Weiran He, Han Zhu, Yuzhi Wang, Jianzhou Wang, and 9 others. 2025. Muon is scalable for LLM training. arXiv preprint arXiv:2502.16982.
Weihao Liu, Huangjie Zheng, Tianrong Chen, Rohit Dilip, Richard He Bai, Yizhu Jiao, Yuyang Wang, and Ruixiang Zhang. 2026. Decoding looped transformers better for (almost) free. arXiv preprint arXiv:2610.02185.
Joe Logan. 2026. Per-token fixed-point convergence in depth-recurrent transformers. arXiv preprint arXiv:2607.14427.
Ilya Loshchilov and Frank Hutter. 2019. Decoupled weight decay regularization. In International Conference on Learning Representations.
Sean McLeish, Ang Li, John Kirchenbauer, Dayal Singh Kalra, Brian R Bartoldson, Bhavya Kailkhura, Avi Schwarzschild, Jonas Geiping, Tom Goldstein, and Micah Goldblum. 2025. Teaching pretrained language models to think deeper with retrofitted recurrence. arXiv preprint arXiv:2511.07384.
Aayush Mishra, Arnau Padres, Victor Conchello Vendrell, Jordi Ros Giralt, Arash Behboodi, and Fabio Valerio Massoli. 2026. Enabling dynamic computation in looped LMs. arXiv preprint arXiv:2610.09013.
Giovanni Monea, Keshav Ramji, Yousef El-Kurdi, Luis A. Lastras, Yoav Artzi, Nathan Godey, and Ramón Fernandez Astudillo. 2026. The surprising effectiveness of shared memory in looped transformers. arXiv preprint arXiv:2610.02383.
Nanbeige LLM Lab. 2026. Nanbeige4.2-3B: Unlocking agentic capabilities in a compact model. arXiv preprint arXiv:2607.22083.
Guilherme Penedo, Hynek Kydlíček, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, Thomas Wolf, et al. 2024. The fineweb datasets: Decanting the web for the finest text data at scale. Advances in Neural Information Processing Systems, 37:30811–30849.
Andrei Cristian Popescu, Haitz Sáez de Ocáriz Borde, and Pietro Liò. 2026. Adaptive depth in looped transformers: Diagnosing learned halting gates and trajectory readouts. arXiv preprint arXiv:2607.20519.
Hayden Prairie, Zachary Novack, Taylor Berg-Kirkpatrick, and Daniel Y Fu. 2026. Parcae: Scaling laws for stable looped language models. arXiv preprint arXiv:2604.12946.
David Raposo, Sam Ritter, Blake Richards, Timothy Lillicrap, Peter Conway Humphreys, and Adam Santoro. 2024. Mixture-of-depths: Dynamically allocating compute in transformer-based language models. arXiv preprint arXiv:2404.02258.
Nikhil Sardana, Jacob P. Portes, Sasha Doubov, and Jonathan Frankle. 2024. Beyond Chinchilla-optimal: Accounting for inference in language model scaling laws. In International Conference on Machine Learning, volume 235, pages 43445–43460. PMLR.
Nikunj Saunshi, Nishanth Dikkala, Zhiyuan Li, Sanjiv Kumar, and Sashank J Reddi. 2025. Reasoning with latent thoughts: On the power of looped transformers. In International Conference on Learning Representations.
Tal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani, Dara Bahri, Vinh Tran, Yi Tay, and Donald Metzler. 2022. Confident adaptive language modeling. Advances in Neural Information Processing Systems, 35:17456–17472.
Kristian Schwethelm, Daniel Rueckert, and Georgios Kaissis. 2026a. Depth-adaptive inference of looped language models via continuous depth batching. arXiv preprint arXiv:2608.09444.
Kristian Schwethelm, Daniel Rueckert, and Georgios Kaissis. 2026b. How much is one recurrence worth? Iso-Depth scaling laws for looped language models. arXiv preprint arXiv:2604.21106.
Shixiang Song, He Li, Zitong Wang, Boyi Zeng, Feichen Song, Yixuan Wang, Zhiqin John Xu, Ziwei He, and Zhouhan Lin. 2026. AdaPonderLM: Gated pondering language models with token-wise adaptive depth. arXiv preprint arXiv:2603.01914.
Shawn Tan, Yikang Shen, Zhenfang Chen, Aaron Courville, and Chuang Gan. 2023. Sparse universal transformer. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 169–179.
Surat Teerapittayanon, Bradley McDanel, and Hsiang-Tsung Kung. 2016. BranchyNet: Fast inference via early exiting from deep neural networks. In 2016 23rd international conference on pattern recognition (ICPR), pages 2464–2469. IEEE.
Shaowen Wang, Ge Zhang, Kairong Luo, Yuhao Wu, Shaofan Liu, Jiaheng Liu, Wenhao Huang, Shen Yan, and Jian Li. 2026. SMELT: Scaling laws for compute-matched MoE looped transformers. arXiv preprint arXiv:2609.01343.
Ji Xin, Raphael Tang, Jaejun Lee, Yaoliang Yu, and Jimmy Lin. 2020. DeeBERT: Dynamic early exiting for accelerating BERT inference. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 2246–2251.
Gyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soo-jeong Kim, and Byung-Gon Chun. 2022. Orca: A distributed serving system for transformer-based generative models. In 16th USENIX symposium on operating systems design and implementation (OSDI 22), pages 521–538.
Abbas Zeitoun, Lucas Torroba-Hennigen, and Yoon Kim. 2026. Hyperloop transformers. arXiv preprint arXiv:2604.21254.
Wangchunshu Zhou, Canwen Xu, Tao Ge, Julian McAuley, Ke Xu, and Furu Wei. 2020. BERT loses patience: Fast and robust inference with early exit. Advances in Neural Information Processing Systems, 33:18330–18341.
Rui-Jie Zhu, Zixuan Wang, Kai Hua, Tianyu Zhang, Ziniu Li, Haoran Que, Boyi Wei, Zixin Wen, Fan Yin, He Xing, et al. 2025. Scaling latent reasoning via looped language models. arXiv preprint arXiv:2510.25741.
A Notation
Table 6 collects the symbols, baselines and measures of the paper, each with the section that defines it.
B Setup and reproduction
B.1 Corpora
FineWeb-Edu (FW). We train on a shuffled copy of the sample-100BT split of FW (Penedo et al., 2024), released with the sampled-depth baseline (Prairie et al., 2026), and evaluate on the validation split released with it.
Common Corpus (CC). We use the Open Culture, Open Science and Semantic data collections of PleIAs/common_corpus (Langlais et al., 2026): curated, openly licensed text drawn from public-domain books, scientific writing and structured knowledge sources. We drop the other three: Open Web, which may contain Common Crawl data, and Open Government and Open Code, to keep the corpus to books, science and structured knowledge. Training uses a fixed snapshot re-chunked into 864 shards, also released with the sampled-depth baseline; the validation split (2,047,000 tokens) is kept out of it and is the same for every run.
Both corpora use the sampled-depth baseline’s tokenizer (vocabulary 32,768) and 2048-token sequences. Both are public Hugging Face datasets.
B.2 Model configurations
The four looped models differ in loss, cap and gradient reach (Table 2; gradient reach, Section 4.2); architecture, data and optimizer are shared. All use the prelude–core–coda stack of Section 2.1, with and RMSNorm throughout; Table 7 gives widths, layer counts and token budgets.
B.3 Training and evaluation protocol
Why over-train. 76–79 tokens per parameter is well past the compute-optimal point, the token count that gives the best model for a fixed training budget (about 20; Hoffmann et al., 2022; Besiroglu et al., 2024). It is the regime that inference-aware scaling favors, where a model that will be run many times is better trained longer at a smaller size (Sardana et al., 2024).
The baseline. The sampled-depth baseline uses its released recipe (Prairie et al., 2026) unchanged.
| Symbol | Where | Meaning |
|---|---|---|
| Model and depth | ||
| 2.1 | layers in the prelude, the core and the coda; only the core repeats | |
| T | 2.1 | the cap: the most iterations a token can run, set at inference |
| Tab. 7 | the cap a model was trained at; 8 unless stated | |
| t | 2.1 | an iteration, ; one run of the core |
| 2.1 | the state of token i after the core has run t times | |
| Halting head | ||
| 2.1 | the halting probability the head outputs at iteration t | |
| 2.1 | the probability that token i stops at iteration t; whatever probability is left goes to t = T | |
| 2.1 | expected halting steps, , the average the head's probabilities predict; is its mean over tokens | |
| 2.1 | the mixture , the one state the mixture loss scores | |
| mixture loss | 2.1 | scores only the mixture ; a mixture-loss model is trained with it |
| per-step loss | 2.1 | scores every ; a per-step model is trained with it |
| attractor term | B.3 | penalty, weight 0.01, on the squared change of successive core states; halting models only |
| 2.1 | geometric prior over stopping times, rate , on ; mean 3.11 at , T=8 | |
| 2.1 | the weight on KL(); a strong prior is one whose moves the halting mass | |
| Exit and cost | ||
| 2.2 | the exit threshold: a token stops once its stopping probabilities sum to | |
| E.3 | Ouro's exit threshold: a token stops once its stopping probabilities sum to it | |
| E.2 | the cutoff of a per-step gate that stops a token when | |
| 2.2 | realized steps: the iterations token i actually runs under the exit rule, and their mean | |
| 2.2 | the iterations a batched pass pays: it runs until its deepest token stops, so | |
| b | Tab. 8 | the number of sequences decoded or prefilled together in one batch |
| B | C.2 | the number of tokens in one batched pass: b times the positions each sequence contributes |
| deepest token | 1 | the token in a batched pass that runs the most iterations; the pass runs until it stops |
| depth-wise batching | 7.1 | gives a stopped token's place in the batch to another sequence's token; not tested |
| f | 8 | the share of per-token compute inside the core |
| 8 | the cost of t of T iterations relative to all T, ; speedup | |
| depth curve | 8 | the BPB of the sampled-depth baseline run at each fixed depth |
| Training | ||
| Tab. 2 | mean of the Poisson the sampled-depth baseline draws its training depth from | |
| gradient reach | 4.2 | iterations reached by gradients: all eight for ACT and halting, the last four for sampled-depth |
| Tab. 2 | ACT's ponder weight, its penalty on computation | |
| E.8 | ACT's exit threshold, applied to ACT's own halting mass | |
| value embeddings | Tab. 7 | a token embedding added to the attention values of every other layer, as in the sampled-depth baseline |
| Baselines and measurement | ||
| dense model | Tab. 2 | same size, not looped: the layers run once; trained at 140M to 770M |
| sampled-depth baseline | Tab. 2 | same size, no halting head, trained at random depths; the reference for every margin |
| specialist | 4.2 | a model trained at one fixed depth |
| shuffled depths | 6.3 | the depths the exit rule chose, reassigned to random tokens; tests allocation |
| margin, , lead | 4.2 | a model's BPB minus the sampled-depth baseline's at equal iterations; negative is better, and a negative margin is a lead |
| BPB | 1 | cross-entropy on the validation split, in bits, per byte of text; lower is better |
| validation split | 4.1 | the evaluation data of each corpus, which training never sees |
| evaluation noise floor | 4.1 | 0.0045 BPB, the largest shift from re-evaluating on another device; for separate evaluations |
| seed s.d. | 4.1 | s.d. across the three training seeds; for differences within one evaluation session |
| teacher-forced | 2.2 | every position's keys and values are present at every iteration |
| simulated decode | 2.2 | an exited position supplies no keys or values to later iterations, as in the cache of a decoder that runs one token per pass |
| real decode | 2.2 | decoding through a real key-value cache, not emulated in one pass |
Table 6: Notation, baselines and measures, with the section that defines each.
Seeds. Every configuration is trained with seeds 7, 42 and 123 unless a table marks a cell with one seed (a dagger).
The attractor term. Both halting losses add a penalty on the squared change between successive core states, at weight 0.01. The weight was cho- sen on the mixture-loss model from . At 1.0 two 140M CC seeds diverged (BPB 1.99, against 1.2052 at 0.01). Without the term, CC BPB at T=8 moves by at most 0.0016 at 370M, 770M and 1.3B (three seeds each), inside the evaluation noise floor, and at 140M two of three seeds train worse (mean 1.2295 against 1.2052).
| Scale | Params | Tokens | |||
|---|---|---|---|---|---|
| 140M | 144.3M | 768 | 3072 | 2/2/2 | 11.2B |
| 370M | 388.0M | 1024 | 4096 | 4/4/4 | 29.6B |
| 770M | 776.7M | 1280 | 5120 | 6/6/6 | 61.6B |
| 1.3B | 1.339B | 1536 | 6144 | 8/8/8 | 104B |
Table 7: Model configurations. Looped models train at unless stated (Table 2); the dense models (140M–770M) run the same layers once, without looping. Parameter counts are exact and include the sampled-depth baseline's value embeddings (Appendix A), 45–52% of parameters; output embeddings are tied. Scale names follow that baseline's. : the width of the hidden state; : the width of the MLP's hidden layer.
The ACT ponder cost. was chosen at 140M on CC by BPB at the training depth, from , three seeds each, and is used at every scale. Appendix E.8 extends the sweep to weights where ACT's depth varies across tokens.
Optimization. All runs use MuonAdamW (Jordan et al., 2024; Liu et al., 2025), which applies Muon to hidden matrices and AdamW (Kingma and Ba, 2015; Loshchilov and Hutter, 2019) to the remaining parameters. The AdamW group uses peak learning rate at 140M and 370M and at 770M and 1.3B, , and no weight decay; the Muon group uses learning rate at every scale, momentum 0.95, weight decay 0.2 and 5 Newton–Schulz iterations. The schedule is trapezoidal (Hu et al., 2024; Hägele et al., 2024) with no warmup: the learning rate is held at its peak for the first half of training and decayed linearly to zero over the second half. Gradients are clipped at 1.0 and non-finite gradients are skipped. The world batch is 256 sequences of 2048 tokens (524,288 tokens per optimizer step); the micro-batch varies from 8 to 32 with the device count, with accumulation holding the world batch fixed. Token budgets are in Table 7.
Evaluation. We report BPB on the validation split and, as a downstream aggregate, the CORE-extended score of DCLM (DataComp for Language Models; Li et al., 2024): 46 tasks, each rescaled so that random guessing scores zero, scored on the published eval bundle (Karpathy, 2025) so the task set is fixed. These values are not directly comparable to published CORE numbers centered on the revised DCLM-v2 baselines (Wang et al., 2026).
B.4 Compute budget
The project used on the order of 100,000 GPU-hours by the scheduler's accounting, on preemptible H100, H200 and B200 instances (mostly H200), including evaluation and exploratory runs. For scale, one 1.3B sampled-depth baseline run takes about five days on one node, roughly 960 GPU-hours; halting runs take longer, since they backpropagate through every iteration. In total we pretrained more than 100 models across the four scales.
C The cost model and the speedup ceiling
C.1 Wall-clock timing
This appendix measures how much faster a pass becomes when the core runs fewer iterations, and how much of that speedup the exit rule delivers. A pass at one iteration is about three times faster than at eight (Table 8); under the exit rule the speedup is smaller than at a fixed depth equal to the realized steps, mostly because a batched pass waits for its deepest token (Table 9).
Unless a block header says otherwise, all numbers here are measured on one exclusive NVIDIA H200, with the body in bfloat16 (a 16-bit number format) and the halting head in 32-bit floating point, as trained, and are medians over nine repeats. We quote ratios rather than absolute times. Prefill is one pass over 2048 positions per sequence; decode generates 64 tokens through a key-value cache after a 512-token prompt. Each row states , the number of sequences per pass.
What an exited token contributes to later tokens. A pass runs the core on every position until no position is still active: exit fixes which state a position is read from, not whether it keeps computing. In the teacher-forced evaluations, later positions therefore attend to keys and values at every depth the pass reaches, including the deeper iterations of positions that have already exited. Decoding one token per pass differs: the loop stops when that token exits, so the cache never receives its deeper keys and values, and no states are copied in their place as in Schuster et al. (2022). Later tokens then attend to fewer keys at deep iterations, but attention is only of core cost ( the context length, the width: attention takes about multiply-adds per token per layer, the projections and the MLP about ; 5.9–11.1% at our decode

Figure 4: A batched pass costs the maximum, not the mean. Measured speedup over T=8 at 370M: the exit rule (filled) beside the same weights at a fixed depth equal to their realized steps (open, interpolated). Thresholds differ between points (Table 9): compare filled with open at one x only. Per-step prefill at b=32 was not timed at 370M. The x-axis is tokens per batched pass (sequences × positions). This count, not the number of sequences, decides how deep the deepest token goes.
context), so this saves little compute. Appendix E.5 measures quality in this setting, where the missing keys and values are hidden. A decoder can instead fill them: it reuses the token's keys and values from the iteration where it stopped (Section 7.2, Appendix E.6).
The speedup ceiling. Speedup grows sublinearly as the iteration count falls (Table 8): gives , not . The prelude, coda and unembedding are a fixed cost, so the core is 73–79% of the full pass (Appendix C.2 fits this share row by row). At , about therefore bounds any scheme that varies only the core's iteration count.
What Figure 4 measures. At 370M, decoding one sequence, one token per pass, is 4–5% slower than the same weights run at a fixed depth equal to their realized steps. Prefill collapses to 1.00–1.40×, against 1.33–2.29× at that fixed depth (Table 9). Appendix C.2 solves the cost model for R from it.
Why the exit rule falls short of the fixed depth. Table 9 measures how far the deepest token's steps, , exceed the mean realized steps, , at 370M and 770M. It is the wait for the deepest token: among 2048 positions in one batched pass, some position reaches the cap even when the mean is 5.4, and that one position holds the whole pass (Dean and Barroso, 2013). Del Corro et al. (2023) make each later position run no more layers than the one before it, so no later token can make the pass wait, for exactly this reason. Continuous batching (Yu et al., 2022; Kwon et al., 2023) schedules at request granularity and does not remove that wait: the loop still runs to the deepest active token in the pass. Gathering the active positions before every iteration, as Mixture-of-Depths (Raposo et al., 2024) does, escapes it. So does depth-wise batching (Bae et al., 2025a,b), which gives a stopped token's place to a token from another sequence instead of shrinking the batch; Bae et al. (2025b) measure up to 2.06 times the throughput of a standard transformer this way, at a larger batch that their smaller key-value cache allows and not counting the time to write keys and values. We time only gathering. Timed on synthetic assignments of a depth to each position, with mean depth at 65,536 tokens per pass, at 140M and 770M, per-position gathering reaches the throughput of running every position to m, while hiding exited positions in place gains nothing ( the throughput of running every position to the deepest position's depth): the pass still costs what its deepest position does. So gathering nearly matches, but does not beat, a model run at the fixed depth m. The exit machinery adds a smaller cost of its own: at , where no token stops early, running the exit rule is slower at batch 1 than running the same depth without it, amortizing to at batch 32.
C.2 The feasibility test: fits and consistency checks
This appendix checks the cost model of Section 8 against the timings of Appendix C.1, and gives the numbers behind the test before training.
The layer-count bound. Layer counts bound without any timing: treating every layer as equal cost, , which is 0.80 for our stacks () at .
The per-row fit. With , and as in Section 8, for each row of Table 8 we fit to that row's speedup alone and predict its remaining five columns (Table 8, last two columns).
Eight one-parameter fits, one per row, give forty predictions, each within the run-to-run variation of Table 8, and the fit is the same on a second GPU type.
| Scale | Workload | Fitted | Largest error | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 140M | prefill, | 2.76 | 2.21 | 1.84 | 1.57 | 1.38 | 1.22 | 0.729 | 0.005 |
| 370M | prefill, | 3.05 | 2.36 | 1.92 | 1.62 | 1.40 | 1.24 | 0.768 | 0.005 |
| 770M | prefill, | 3.17 | 2.42 | 1.96 | 1.64 | 1.42 | 1.24 | 0.782 | 0.005 |
| 1.3B | prefill, | 3.22 | 2.45 | 1.97 | 1.65 | 1.42 | 1.25 | 0.788 | 0.005 |
| 140M | decode, | 3.16 | 2.42 | 1.95 | 1.65 | 1.41 | 1.24 | 0.781 | 0.009 |
| 370M | decode, | 3.24 | 2.43 | 1.92 | 1.61 | 1.41 | 1.24 | 0.790 | 0.056 |
| 770M | decode, | 3.26 | 2.47 | 1.95 | 1.67 | 1.44 | 1.24 | 0.792 | 0.031 |
| 1.3B | decode, | 3.24 | 2.47 | 1.99 | 1.66 | 1.38 | 1.22 | 0.790 | 0.041 |
Table 8: The architectural speedup ceiling. Forced-depth speedup against , median of nine repeats. Run-to-run variation is at most (median ). Across the four scales at one , speedups differ by under in decode, and also in prefill for . Fitted : the cost model's one parameter (Section 8), fitted to the row's speedup; Largest error: its largest error in predicting the row's to 6 speedups (Appendix C.2).
| Model | Workload | Measured | Fixed at | |||
|---|---|---|---|---|---|---|
| 370M, both models, nine repeats per cell | ||||||
| Mixture | prefill, | 0.3 | 5.44 | 8 | ||
| Mixture | prefill, | 0.6 | 2.17 | 5 | ||
| Mixture | decode, | 0.5 | 2.86 | 5 | ||
| Mixture | decode, | 0.5 | 2.90 | 5 | ||
| Per-step, | prefill, | 0.7 | 2.93 | 6 | ||
| Per-step, | decode, | 0.7 | 2.59 | 5 | ||
| Per-step, | decode, | 0.7 | 2.48 | 6 | ||
| 770M, per-step , on a B200, 15 repeats per cell | ||||||
| Per-step, | prefill, | 0.7 | 2.77 | 6 | ||
| Per-step, | prefill, | 0.7 | 3.00 | 7 | ||
| Per-step, | decode, | 0.7 | 2.20 | 5 | ||
| Per-step, | decode, | 0.7 | 2.41 | 6 | ||
Table 9: Speedup against . Measured: timed with the exit rule. Fixed at : the same weights run at a fixed depth equal to their realized steps (interpolated between integer depths). and : the mean and the largest realized steps over the timed tokens. The 370M block is timed on one H200 and the 770M block on the device named in its header; inputs are validation tokens.
Why the fits fall below the bound. The layer-count bound lies above all eight fitted values by 0.01 to 0.07. The gap is cost outside the layers (embedding, unembedding, loss head), which no layer count sees. Prefill climbs with scale while decode is flat, consistent with that cost shrinking relative to layer compute as the model widens; a single fitted at 1.3B mispredicts 140M prefill at by .
The synchrony ratio. Solving the cost model for on Table 9, with each row's 370M from Table 8, prefill or decode as the row's workload, gives against the number of tokens batched in a pass: 1.08, 1.52, 1.83 and 2.32 at and 65,536, pooled over seven rows differing in model and threshold (0.3–0.7), so describes a mix of models and thresholds, not a controlled curve in ; the per-step rows alone give 1.06, 1.66 and 2.19 at and 2048. The counted in the real decode is lower than the per-step rows' 1.66 at (1.55 at 370M, Table 24): it is taken on the full split rather than the timed tokens, and solving the cost model for from timings carries the cost model's residual (up to , Table 8).
The bound before training. At 370M the bound of Section 8 splits into the depth curve's drop from three iterations to the cap, , plus the largest lead at the cap among our models trained at the cap, (Appendix E.1, Table 17, ): about 0.03 BPB. With , counted in the real decode, a pass for a head at three iterations runs iterations; the curve there, interpolated between and 5, is 1.0930, so the drop is 0.0055 and the bound 0.012.
The speedup at equal quality. At 770M the per-step model's batched pass runs 4.37 iterations and leads the sampled-depth baseline there by 0.0030 BPB (Appendix E.5, Table 24). Near that depth the
| Scale | Steps | Mixture BPB | Baseline at the cap | Curve falls | Would have to fall |
|---|---|---|---|---|---|
| 140M | 3.020 | 1.4493 | 1.2159 | 0.0256 | 0.2334 |
| 370M | 3.017 | 1.2759 | 1.0875 | 0.0202 | 0.1884 |
| 770M | 2.885 | 1.1881 | 1.0157 | 0.0224 | 0.1724 |
| 1.3B | 2.925 | 1.1353 | 0.9693 | 0.0217 | 0.1660 |
Table 10: How far the depth curve would have to fall for the quality condition to hold: the mixture-loss model's BPB at about three iterations ( ) minus the depth curve at the cap, beside the fall the curve actually shows from the head's steps to the cap. Steps: realized steps at ; the other columns are BPB.
baseline's depth curve falls about 0.0049 BPB per iteration (1.0241 at , 1.0192 at , from the full-split evaluation session of Appendix F.3; not tabulated), so it matches the model at about 4.98 iterations. Through the cost model at the decode (Table 8; fitted at one sequence, an approximation for 32), that is : at equal quality the model's pass delivers about more throughput than the baseline's. Against the specialists it delivers none (Appendix D.2).
How steep would be enough. At the depth each head's rule reaches, the depth curve would have to fall by the head's BPB minus the cap's (Table 10): 7.6 to 9.3 times the fall our curve actually shows, at all four scales. A steeper curve alone does not pass the test: Ouro's curve falls 15.7 times as far as ours, and what decides is how much of the fall lies below the depth a batched pass runs (Appendix E.3). Retrained with gradient through all eight iterations, the 370M sampled-depth baseline's curve falls 0.0219 over to 8 (the released baseline's span is 0.0204), so it would still have to be about 8.6 times steeper.
Training at : the depth curve is steeper, not flatter. Two models at 140M on CC, 2/2/2, 11.2B tokens, two seeds each (Table 11): the sampled-depth baseline that supplies the depth curve, and a per-step companion at . Comparing the same fraction of the cap, , the span costs the sampled-depth baseline 0.0957 and 0.0812 BPB (its two seeds), against 0.0260 for the same relative span at (Table 30, 1.2415 - 1.2155), so there is more quality to buy with depth, not less. In absolute terms the deeper cap reaches 1.2087 at , 0.007 to 0.011 ahead of the baseline at its cap, for four times the core's compute. Running below the training cap costs far more: at the two seeds read 1.7466 and 1.6305, over 0.4 BPB behind a model trained at 8, consistent with a sampler that rarely draws a shallow depth. A deep cap is informative only if the run beats its own BPB there by more than the evaluation noise floor (the deep-cap check). The sampled-depth baseline passes by 0.54 and 0.42; the per-step companion fails it (0.0002), and the cap-16 control below tests the per-step model.
C.3 Gradient reach does not explain why the per-step model stops improving with depth: the cap-16 control
The comparison. The per-step model, a sampled-depth baseline, and a specialist at six iterations, about where the exit rule stops at (6.5 steps; Table 13), all exist at (Table 12). Under the deep-cap check at the baseline passes (0.0087, 0.0090) and the model fails (0.0001, 0.0002). The per-step model sends gradients through all sixteen iterations and the baseline through eight (at a cap of eight the baseline sends them through four, Table 2), so the model with the longer gradient reach is the one that stops improving: after six iterations it moves under 0.001 over the remaining ten, where the baseline moves 0.024. Against a specialist trained at six iterations (three seeds, mean 1.2072, s.d. 0.0004) the model's best forced-depth quality is worse by 0.0064 and 0.0055, both outside the evaluation noise floor. The model is ahead of its baseline by more than the evaluation noise floor at every depth up to six and behind it from twelve on, by 0.0029–0.0068 (outside the evaluation noise floor only for seed 42), which is the depth-robustness of Section 6.2 at twice the cap. reaches 5.56 and 5.52 of 16 iterations, above the prior's mean of 3.84.
The model at the depth its own rule realizes. Sweeping the exit threshold at and reading out the exit state, the state at the iteration where a token stops, alone (Table 13), the model never reaches the six-step specialist: its best exit-rule result is 1.2128 and 1.2119, +0.0056 and +0.0047 against the six-step specialist's 1.2072. Realized steps again exceed (6.5 at , against ), and at , the exit-state readout instead of the mixture changes BPB by -0.0004 and -0.0003, inside the evaluation noise floor.
| Model | Seed | forced depth t | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 6 | 8 | 12 | 16 | 24 | 32 | ||
| Sampled-depth | 42 | 7.2937 | 7.4076 | 5.0295 | 3.8793 | 2.7472 | 1.7466 | 1.3038 | 1.2311 | 1.2098 | 1.2081 |
| Sampled-depth | 7 | 5.9709 | 5.8090 | 4.6748 | 3.9846 | 2.5963 | 1.6305 | 1.2904 | 1.2285 | 1.2105 | 1.2092 |
| Per-step, β=0.1 | 42 | 1.3337 | 1.2532 | 1.2290 | 1.2206 | 1.2163 | 1.2156 | 1.2154 | 1.2154 | 1.2154 | 1.2154 |
| Per-step, β=0.1 | 7 | 1.3386 | 1.2654 | 1.2430 | 1.2352 | 1.2313 | 1.2307 | 1.2305 | 1.2305 | 1.2305 | 1.2305 |
Table 11: Forced-depth BPB at , 140M, CC, 2/2/2, 11.2B tokens, weights frozen and only the forced depth changing. Two models, two seeds each; the anchor is , at . The baseline's cells below are not a usable depth curve: its training rarely drew such depths.
| Model | Seed | forced depth t | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 8 | 12 | 16 | ||
| Sampled-depth | 42 | 1.7147 | 1.4347 | 1.3293 | 1.2763 | 1.2477 | 1.2311 | 1.2155 | 1.2078 | 1.2068 |
| Sampled-depth | 7 | 1.6856 | 1.4331 | 1.3310 | 1.2782 | 1.2496 | 1.2332 | 1.2177 | 1.2098 | 1.2087 |
| Per-step, β=0.1 | 42 | 1.3324 | 1.2519 | 1.2274 | 1.2188 | 1.2156 | 1.2144 | 1.2137 | 1.2136 | 1.2136 |
| Per-step, β=0.1 | 7 | 1.3236 | 1.2490 | 1.2257 | 1.2176 | 1.2147 | 1.2136 | 1.2129 | 1.2127 | 1.2127 |
| Specialist T=6 | 42 | — | — | — | — | — | 1.2077 | — | — | — |
| Specialist T=6 | 7 | — | — | — | — | — | 1.2070 | — | — | — |
| Specialist T=6 | 123 | — | — | — | — | — | 1.2069 | — | — | — |
| E[N], per-step | 42 | 1.00 | 1.96 | 2.81 | 3.52 | 4.07 | 4.49 | 5.04 | 5.48 | 5.56 |
| E[N], per-step | 7 | 1.00 | 1.96 | 2.80 | 3.50 | 4.05 | 4.47 | 5.00 | 5.43 | 5.52 |
Table 12: Forced-depth BPB at , 140M, CC, 2/2/2, 11.2B tokens, weights frozen and only the forced depth changing. The per-step model reaches all sixteen iterations with gradient, the sampled-depth rows eight. The specialist is shown at its trained depth. : expected halting steps with the cap set to .
| ε | Seed | Steps | BPB | Specialist | Model – specialist |
|---|---|---|---|---|---|
| 0 | 42 | 15.993 | 1.2132 | 1.2047 | +0.0085 |
| 0 | 7 | 16.000 | 1.2124 | 1.2047 | +0.0077 |
| 0.3 | 42 | 6.531 | 1.2128 | 1.2065 | +0.0063 |
| 0.3 | 7 | 6.491 | 1.2119 | 1.2066 | +0.0053 |
| 0.5 | 42 | 4.798 | 1.2139 | 1.2114 | +0.0025 |
| 0.5 | 7 | 4.755 | 1.2130 | 1.2116 | +0.0014 |
| 0.7 | 42 | 3.567 | 1.2173 | 1.2188 | -0.0015 |
| 0.7 | 7 | 3.518 | 1.2164 | 1.2193 | -0.0029 |
| 0.9 | 42 | 2.431 | 1.2292 | 1.2300 | -0.0008 |
| 0.9 | 7 | 2.371 | 1.2283 | 1.2307 | -0.0024 |
| 0.95 | 42 | 2.093 | 1.2377 | 1.2338 | +0.0039 |
| 0.95 | 7 | 2.035 | 1.2369 | 1.2345 | +0.0024 |
Table 13: Threshold early exit at , 140M, CC, two seeds, exit-state readout. Steps: realized steps, not . Specialist: the specialist's BPB at the row's realized steps, interpolated linearly between the specialists of Appendix D.2 (trained at 2 to 5 and 8 iterations) and the six-iteration specialist trained at this cap, and held at the eight-iteration value beyond eight. At matched realized steps the two are inside the evaluation noise floor for , the same no-advantage verdict as at a cap of eight.
D Quality at depth
D.1 Quality at the training depth
Table 14 reports both corpora at the training depth .
The mixture-loss model beats the sampled-depth baseline in all eight (scale, corpus) cells, by 0.005 to 0.014 BPB (the exit-sweep session, Table 17, measures the baseline separately and gives 0.005 to 0.010 at ). The baseline is trained with the released recipe: it draws a random number of iterations per step and sends gradients through only the last four, whereas the halting models send them through all eight (gradient reach, Section 4.2). A model trained at a fixed eight iterations, with gradient through all eight, closes this gap at 140M (Appendix F.3), so the gap comes from the baseline's training schedule.
On CC, looping beats a dense transformer at matched parameters, and at 140M the mixture-loss model still beats one trained with more compute. Trained on eight times the tokens (89.6B), more training compute than the looped model uses, the dense model reaches 1.2106 BPB (), better than sampled-depth (1.2193) and worse than the mixture-loss model (1.2052). The parameter-matched dense model runs three tenths of the layer
| Scale | Method | n | CC Core-Ext ↑ | BPB ↓ | n | FW Core-Ext ↑ | BPB ↓ |
|---|---|---|---|---|---|---|---|
| 140M | Dense | 2 | 0.0488 ±.0021 | 1.2576 ±.0010 | - | - | - |
| 140M | Sampled-depth | 3 | 0.0641 ±.0010 | 1.2193 ±.0026 | 3 | 0.0906 ±.0111 | 0.9054 ±.0012 |
| 140M | ACT | 3 | 0.0724 ±.0021 | 1.2027 ±.0007 | - | - | - |
| 140M | Mixture | 3 | 0.0676 ±.0037 | 1.2052 ±.0007 | 3 | 0.1014 ±.0051 | 0.8983 ±.0005 |
| 370M | Dense | 2 | 0.0765 ±.0027 | 1.1208 ±.0011 | - | - | - |
| 370M | Sampled-depth | 3/2 | 0.0851 ±.0016 | 1.0875 ±.0001 | 3 | 0.1328 ±.0008 | 0.8238 ±.0005 |
| 370M | ACT | 3 | 0.0867 ±.0031 | 1.0805 ±.0004 | - | - | - |
| 370M | Mixture | 3 | 0.0918 ±.0046 | 1.0809 ±.0003 | 3 | 0.1437 ±.0026 | 0.8171 ±.0002 |
| 770M | Dense | 2 | 0.0913 ±.0064 | 1.0423 ±.0001 | - | - | - |
| 770M | Sampled-depth | 3 | 0.0992 ±.0023 | 1.0157 ±.0003 | 3 | 0.1587 ±.0016 | 0.7788 ±.0002 |
| 770M | ACT | 3 | 0.1053 ±.0041 | 1.0090 ±.0003 | - | - | - |
| 770M | Mixture | 3 | 0.1053 ±.0024 | 1.0090 ±.0012 | 3 | 0.1581 ±.0035 | 0.7718 ±.0005 |
| 1.3B | Sampled-depth | 3 | 0.1110 ±.0062 | 0.9693 ±.0010 | 3 | 0.1768 ±.0035 | 0.7494 ±.0007 |
| 1.3B | ACT | 3 | 0.1196 ±.0076 | 0.9643 ±.0010 | - | - | - |
| 1.3B | Mixture | 3 | 0.1169 ±.0049 | 0.9644 ±.0017 | 3 | 0.1792 ±.0054 | 0.7434 ±.0009 |
Table 14: Quality at the training depth . Core-Ext is the DCLM CORE-extended aggregate; BPB is measured on the validation split of the training corpus. Mean s.d. over seeds, best per column-block in bold, with any value within 0.0005 of it. Dense models were trained on CC only, at 140M to 770M. Core-Ext differences below 0.0042 are unresolved. BPB over . The mixture-loss BPB values differ from those of Tables 3 and 17 by at most 0.0006: a different evaluation session, within the evaluation noise floor.
computations per token against .
On CC, ACT matches the mixture-loss model at the training depth from 370M to 1.3B (within 0.0004 BPB in three-seed means); at 140M ACT leads by 0.0025.
D.2 Specialists
A specialist, a model trained to always run one fixed number of iterations with gradients through all of them, is a tighter reference than the sampled-depth baseline, because it is trained for exactly the depth it is compared at.
Table 15 gives the specialists at 140M. The two depths an exit rule reaches, and , carry three seeds and ; the others are seed 42. The “about 0.02 BPB” of Section 5.1 is the specialist minus the specialist, .
The per-step model against the specialists. Per-step model ( , seed 42) minus specialist at matched depth is +0.0107, +0.0015, +0.0033, +0.0060 and +0.0107 at T=2, 3, 4, 5, 8 at 140M. At 370M and 770M all three seeds of each model were measured in one session, so the seed s.d. of the difference is the criterion (Section 4.1): and at T=3, 5 at 370M (specialists 1.0937 and 1.0857), and and at 770M (1.0196 and 1.0128; : seed s.d. of the difference).
| Model | t=2 | t=3 | t=4 | t=5 | t=8 |
|---|---|---|---|---|---|
| Specialist T=2 | 1.2349 | 1.3124 | 1.3953 | 1.4353 | 1.4779 |
| Specialist T=3 | 1.6913 | 1.2236 | 1.3212 | 1.3854 | 1.3434 |
| Specialist T=4 | 1.8764 | 1.7231 | 1.2152 | 1.3088 | 1.3838 |
| Specialist T=5 | 1.8973 | 1.8333 | 1.6849 | 1.2104 | 1.5053 |
| Specialist T=8 | 1.8785 | 1.8578 | 1.8347 | 1.7676 | 1.2047 |
| Per-step, β=0.1 | 1.2456 | 1.2251 | 1.2185 | 1.2164 | 1.2154 |
| Per-step, β=1.0 | 1.2344 | 1.2278 | 1.2261 | 1.2256 | 1.2255 |
Table 15: Specialists at 140M on CC, each trained at one number of iterations T with gradients through all of them. Bold: each specialist's lowest BPB, at its own training depth. Entries off the diagonal are depths the model never saw in training. Entries are BPB with every token forced to run t iterations; lower is better. Specialists at T=3, 4: three-seed means on the diagonal, seed 42 elsewhere; other specialists: seed 42. Per-step rows: seed 42, three-seed means.
Three 140M depths lose by more than the evaluation noise floor and none wins by more, so at 140M the model saves no compute over a model trained for the depth. At 370M and 770M the model ties the specialist at T=3 and trails it at T=5 by more than twice that s.d., a resolved trail.
Specialists at the depth a batched pass pays. Decoding 32 sequences, a pass of the per-step model runs 4.71, 4.40 and 4.37 iterations at 140M, 370M and 770M (Table 24). Splitting passes between the specialists on either side of that depth (T=4 and 5 at 140M, T=3 and 5 above) runs them for the same average depth with no deepest token to wait for, at a BPB interpolated linearly between the two: 1.2118, 1.0881 and 1.0149 (the 140M specialist is seed 42; the others are three-seed means). The per-step model at reads 1.2196, 1.0908 and 1.0171 teacher-forced (Table 19), its best case, since in a pass each position supplies keys and values only up to the depth that pass runs, not to the cap. It does not beat the specialists at any scale: it trails by 0.0078 at 140M, beyond the evaluation noise floor, and by 0.0027 and 0.0022 at 370M and 770M, inside it (the two sets were measured in different sessions). The comparison is matched on compute, not memory: splitting passes between two specialists needs two sets of weights, which is where the head keeps its advantage.
D.3 A sampled-depth baseline trained at shallower depths
The released sampled-depth baseline draws each training sequence's depth from a Poisson distribution with mean 8, so only about of its sequences run three or fewer iterations, the depths the per-step model's exit rule reaches. We retrain it at 140M on CC with the same recipe and mean 4 (about of sequences at three or fewer), and with mean 2, which under the same recipe also backpropagates through two iterations instead of four. Three seeds each; all models in Table 16 are evaluated in one session, so differences are read against the seed s.d. of the difference. At three iterations the mean-4 baseline is 1.2264, within of the specialist. Against it, the per-step model at leads, teacher-forced, by at its realized steps (3.11), against over the released baseline. The exit rule's allocation, measured against a uniform depth of equal compute, is worth 0.0048 against either (the model's own curve at uniform depth, 1.2244, against its exit state, 1.2196), so depth-robustness is 0.0157 against the released baseline and 0.0016 against the mean-4 one, inside its s.d. (about 0.0014). Shuffled depths, the measure of Section 6.3, give allocation a larger share (Appendix F.3). At one iteration the per-step model is 0.036 BPB worse than the mean-4 baseline. At the 4.71 iterations a batched pass over 32 sequences pays (teacher-forced in this session), it leads the released baseline by , beyond twice the s.d., and the mean-4 baseline by , inside it; both are teacher-forced, which favors the model (Section 2.2), and the reading of Section 7 does not change. The mean-2 baseline is worse than the mean-4 one at every depth from two on.
| t | Released | Mean 4 | Mean 2 | SpecialistT=3 | Per-step |
|---|---|---|---|---|---|
| 1 | 1.3801 ±.0015 | 1.2808 ±.0006 | 1.2574 ±.0015 | 1.8779 ±.060 | 1.3166 ±.0044 |
| 2 | 1.2779 ±.0006 | 1.2388 ±.0005 | 1.2409 ±.0008 | 1.7251 ±.038 | 1.2457 ±.0019 |
| 3 | 1.2418 ±.0007 | 1.2264 ±.0007 | 1.2375 ±.0007 | 1.2236 ±.0007 | 1.2251 ±.0012 |
| 4 | 1.2269 ±.0006 | 1.2225 ±.0008 | 1.2367 ±.0006 | 1.3167 ±.0063 | 1.2185 ±.0010 |
| 8 | 1.2160 ±.0006 | 1.2208 ±.0008 | 1.2364 ±.0006 | 1.3985 ±.103 | 1.2155 ±.0008 |
Table 16: Sampled-depth baselines trained at shallower depths. 140M, CC, three seeds each, one evaluation session. BPB with every token forced to run t iterations. Released: Poisson mean 8, the baseline of the main text. Per-step: . : seed s.d.; lower is better.
E Realized compute under an exit rule
E.1 Realized compute under early exit, all thresholds
At every scale, the mixture-loss model's full-depth lead lasts only to 7.0–7.5 realized steps.
Table 17 gives the thresholds plotted in Figure 3 (370M) and the same sweep at 140M, where the baseline has three seeds of its own, and at 770M and 1.3B.
What the prior alone implies. The prior is geometric with rate on , so the halting distribution that minimizes the divergence to it is , with mean 3.11 and running total of probability 0.848, 0.913 and 0.963 at and 7. A head that matched it exactly would therefore reach of its mass at step 6. At that threshold the learned heads run 7.6 to 7.9 steps (Table 17), so their late mass is heavier than the prior's and is not inherited from it.
What a batched pass pays at . Table 1's for the 370M mixture-loss model is derived, not timed. Its tokens realize 7.762 of 8 steps, and a token that stops early runs at most seven, so at least of tokens run all eight iterations. A pass over 32 sequences stops before the cap only if all 32 of its tokens are among the other , which, if tokens stop independently, happens with probability below . Every pass therefore runs eight iterations. Without the independence assumption, the pass still runs at least .
The crossover, below which the model is behind the baseline, falls at about 7.5 realized steps at
| Scale | ε | Steps ↓ | Mixture ↓ | Baseline ↓ | Δ ↓ |
|---|---|---|---|---|---|
| 140M | 0.0 | 8.000 | 1.2058 ±.0006 | 1.2159 | -0.0101 |
| 140M | 0.1 | 7.860 | 1.2067 ±.0011 | 1.2160 | -0.0093 |
| 140M | 0.2 | 6.993 | 1.2301 ±.0080 | 1.2169 | +0.0132 |
| 140M | 0.3 | 5.755 | 1.2855 ±.0148 | 1.2185 | +0.0670 |
| 140M | 0.5 | 3.020 | 1.4493 ±.0165 | 1.2415 | +0.2078 |
| 370M | 0.0 | 8.000 | 1.0808 | 1.0875 | -0.0067 |
| 370M | 0.1 | 7.762 | 1.0814 | 1.0877 | -0.0063 |
| 370M | 0.2 | 6.688 | 1.0971 | 1.0885 | +0.0086 |
| 370M | 0.3 | 5.466 | 1.1375 | 1.0902 | +0.0473 |
| 370M | 0.5 | 3.017 | 1.2759 | 1.1077 | +0.1682 |
| 770M | 0.0 | 8.000 | 1.0090 | 1.0157 | -0.0067 |
| 770M | 0.1 | 7.671 | 1.0094 | 1.0159 | -0.0065 |
| 770M | 0.2 | 6.492 | 1.0221 | 1.0167 | +0.0054 |
| 770M | 0.3 | 5.258 | 1.0558 | 1.0186 | +0.0372 |
| 770M | 0.5 | 2.885 | 1.1881 | 1.0381 | +0.1500 |
| 1.3B | 0.0 | 8.000 | 0.9644 | 0.9693 | -0.0049 |
| 1.3B | 0.1 | 7.611 | 0.9648 | 0.9696 | -0.0048 |
| 1.3B | 0.2 | 6.381 | 0.9784 | 0.9705 | +0.0079 |
| 1.3B | 0.3 | 5.179 | 1.0127 | 0.9727 | +0.0400 |
| 1.3B | 0.5 | 2.925 | 1.1353 | 0.9910 | +0.1443 |
Table 17: Realized compute under threshold early exit, CC. The mixture-loss column is a three-seed mean; the Baseline column uses three seeds at 770M, seed 42 at 370M, and three seeds at at 1.3B. Larger exits earlier. "Baseline" is the sampled-depth baseline at the same number of iterations, interpolated between integer on that scale's depth curve; the curve is convex, so interpolation favors the mixture-loss model. runs all eight iterations, so its is the model's margin at full depth. At 140M the baseline has three seeds of its own, the mixture-loss model uses the mixture readout, and is the seed s.d. All values are BPB; lower is better. is the mixture-loss model minus the baseline, so a negative value favors the model.
140M. The model's seed s.d. grows 27-fold, from 0.0006 at full depth to 0.0165 at .
What is read out at each threshold. The rule fixes when a token stops; the state emitted is a separate choice. The mixture readout emits the mixture of the states computed so far, each keeping its weight, with the probability not yet used placed on the state at the exit, the construction of Tan et al. (2023), and exit-state readout emits that step's state alone, as PonderNet's test-time rule does. Each model is read out as its loss trained it, the mixture-loss model with the mixture and the per-step model with the exit state, the choice that favors each model; Appendix E.7 measures both readouts for the mixture-loss model.
The per-step model read as a shortened mixture. To separate the loss from the readout, Table 18 reads the per-step model both ways, three seeds per scale, against the sampled-depth baseline. Under the shortened mixture (the mixture of the states up to the exit) the model stays ahead at every scale and threshold, within 0.0011 BPB of its exit-state margin.
| Scale | ε | Mixture | Exit state | Over own | |
|---|---|---|---|---|---|
| 140M | 0.5 | 4.08 | -0.0095 | -0.0106 | -0.0025 |
| 0.7 | 3.11 | -0.0199 | -0.0205 | -0.0048 | |
| 0.95 | 1.88 | -0.0503 | -0.0504 | -0.0143 | |
| 370M | 0.5 | 3.79 | -0.0100 | -0.0108 | -0.0025 |
| 0.7 | 2.83 | -0.0214 | -0.0219 | -0.0050 | |
| 0.95 | 1.63 | -0.0589 | -0.0590 | -0.0174 | |
| 770M | 0.5 | 3.72 | -0.0123 | -0.0131 | -0.0027 |
| 0.7 | 2.75 | -0.0241 | -0.0246 | -0.0055 | |
| 0.95 | 1.56 | -0.0623 | -0.0623 | -0.0184 |
Table 18: Per-step model, both readouts, CC. Mixture, Exit state: model minus sampled-depth baseline at . Over own: the exit-state margin minus the margin that the model's own forced-depth curve gives at the same (every token run at that depth). Each model and each baseline uses three seeds. Seed s.d. of each margin at most 0.0011, except 0.0027 at 140M, . At 140M and 370M the baseline's three seeds were measured in the same session as the model, so margins differ slightly from Table 19.
E.2 Threshold early exit on the per-step model under a strong prior
With the per-step loss and a strong prior the rule does stop tokens early, and what it wins is depth-robustness more than allocation.
Reading Table 19. The column, model minus the sampled-depth baseline at the same realized steps, is read directly. The depth-equivalent column reads the baseline's curve backwards, and near full depth that curve falls by only 0.00075–0.0013 BPB per step, so a floor-sized shift moves the result a lot. The bracketed intervals include only the evaluation noise floor, so the true uncertainty is at least this large; they are not confidence intervals. An interval open above, or a value written >, means a floor-sized improvement already puts the model below the baseline's full-depth value, so no crossing exists. Model rows' seed s.d. is at most 0.0009 BPB. At every realized-step value sits within 0.011 of an integer, so the strong prior has turned the head into the same shallow depth for every token.
The lead, split into two parts. Reading the model's own forced-depth curve at the realized steps splits each in two (Table 18, three seeds). Giving every token the same depth, equal to the realized steps, removes 21 to of the lead (0.0025 to 0.0184 BPB; about a quarter at ), so
| Model | ε | Steps ↓ | BPB ↓ | Baseline | Δ ↓ | Depth equivalent / steps [floor interval] |
|---|---|---|---|---|---|---|
| 140M; β=0.1 rows three seeds, β=1.0 rows seed 42 | ||||||
| β=0.1 | 0.0 | 7.997 | 1.2143 | 1.2155 | -0.0012 | - |
| β=0.1 | 0.5 | 4.074 | 1.2159 | 1.2261 | -0.0102 | 1.86× [1.22, open] |
| β=0.1 | 0.7 | 3.113 | 1.2196 | 1.2398 | -0.0202 | 1.67× [1.41, open] |
| β=0.1 | 0.9 | 2.160 | 1.2317 | 1.2721 | -0.0404 | 1.69× [1.56, 1.83] |
| β=0.1 | 0.95 | 1.879 | 1.2399 | 1.2905 | -0.0506 | 1.65× [1.56, 1.81] |
| β=1.0 | 0.3 | 4.003 | 1.2233 | 1.2309 | -0.0076 | 1.25× [1.10, 1.67] |
| β=1.0 | 0.5 | 2.999 | 1.2257 | 1.2478 | -0.0221 | 1.56× [1.37, 1.85] |
| β=1.0 | 0.6 | 2.011 | 1.2325 | 1.2877 | -0.0552 | 1.94× [1.81, 2.17] |
| 140M, mixture loss at β=0.1: the prior without the per-step loss, three seeds | ||||||
| Mixture, β=0.1 | 0.0 | 8.000 | 1.2062 ±.0010 | 1.2159 | -0.0097 | - |
| Mixture, β=0.1 | 0.1 | 6.813 | 1.2235 ±.0018 | 1.2170 | +0.0064 | - |
| Mixture, β=0.1 | 0.3 | 4.038 | 1.3523 ±.0120 | 1.2267 | +0.1257 | - |
| Mixture, β=0.1 | 0.5 | 2.937 | 1.4301 ±.0125 | 1.2441 | +0.1860 | - |
| Mixture, β=0.1 | 0.7 | 1.996 | 1.5485 ±.0207 | 1.2783 | +0.2702 | - |
| Mixture, β=0.1 | 0.9 | 1.000 | 1.8507 ±.0439 | 1.3801 | +0.4706 | - |
| 370M, β = 0.1, three seeds | ||||||
| β=0.1 | 0.0 | 7.997 | 1.0864 | 1.0875 | -0.0011 | - |
| β=0.1 | 0.3 | 4.977 | 1.0867 | 1.0913 | -0.0046 | >1.61× |
| β=0.1 | 0.5 | 3.788 | 1.0877 | 1.0987 | -0.0110 | 2.03× [1.27, open] |
| β=0.1 | 0.7 | 2.820 | 1.0908 | 1.1131 | -0.0223 | 1.83× [1.49, open] |
| β=0.1 | 0.95 | 1.620 | 1.1086 | 1.1689 | -0.0603 | 1.84× [1.74, 2.05] |
| 770M, β = 0.1, three seeds | ||||||
| β=0.1 | 0.0 | 7.997 | 1.0128 | 1.0157 | -0.0029 | - |
| β=0.1 | 0.3 | 4.903 | 1.0130 | 1.0197 | -0.0067 | >1.63× |
| β=0.1 | 0.5 | 3.720 | 1.0140 | 1.0271 | -0.0131 | >2.15× |
| β=0.1 | 0.7 | 2.752 | 1.0171 | 1.0417 | -0.0246 | 2.17× [1.64, open] |
| β=0.1 | 0.9 | 1.786 | 1.0276 | 1.0789 | -0.0513 | 2.06× [1.84, 2.34] |
| β=0.1 | 0.95 | 1.564 | 1.0341 | 1.0965 | -0.0624 | 1.97× [1.84, 2.22] |
Table 19: Threshold early exit on the per-step model under a strong prior, CC; larger exits earlier. “Baseline” is the sampled-depth baseline interpolated to the same realized steps. The depth equivalent is the depth that baseline needs to match the model’s BPB, so means the baseline needs 1.86 times as many iterations as the model runs. The bracketed interval recomputes it after moving the model’s BPB by the evaluation noise floor and is the figure to read; it includes only the evaluation noise floor, so the true uncertainty is at least this large. “Open” intervals have no upper end (see below the table). The mixture-loss rows are the prior without the per-step loss, against the sampled-depth baseline’s three-seed curve; is the seed s.d.
that share is what the exit rule's allocation adds, measured against a uniform depth of equal compute (shuffled depths, the measure of Section 6.3, give a larger share; Appendix F.3); the rest is depth-robustness, a property of how the model was trained and not obtainable by running the baseline shallower. At 140M, the specialists interpolated to about 2.8 iterations match the model (seed 42) at 3 realized steps (Appendix D.2).
At 770M the per-step model is also ahead at every forced depth measured. Three seeds a side, the model leads the sampled-depth baseline at forced and 8 by 0.0621, 0.0297, 0.0155, 0.0084, 0.0048, 0.0030 and 0.0018 BPB, each at least eight standard errors of the difference. At forced full depth the lead (0.0018) is about what the 770M baseline gains when it is also trained with gradient through all eight iterations (0.0017; Appendix F.3).
The per-step loss is needed: a test under an exit rule. With the prior but the mixture loss, the rule stops tokens early and quality collapses (Table 19, mixture-loss rows).
At two realized steps the mixture-loss model is 0.270 BPB worse than the sampled-depth baseline run to that depth, where the per-step model with the strong prior at 1.88 steps is 0.051 better: opposite signs at nearby depth, three seeds for each model. So the finding that both the per-step loss and the strong prior are needed rests on a sign difference, not only on the size of the differences in Table 4.
The rule and the depth curve. Every row uses the exit rule of Section 2.2; a per-step gate that stops a token when on the same weights traces the same curve to within 0.0009 BPB at matched realized steps. The Baseline col-umn is interpolated on the depth curve: at 140M seed-42 curves (Appendix F.1's for the rows, a second for the rows), at 370M a seed-42 curve (1.2214, 1.1368, 1.1079, 1.0962, 1.0912, 1.0890, 1.0875 at and 8, seeds agreeing to within 0.0004 past ), and at 770M the three-seed depth curve of the forced-depth paragraph.
E.3 Section 8's test applied to a released checkpoint
Zhu et al. (2025)'s Ouro is the only released model we know of that has a trained halting head (which Ouro calls its exit gate), an exit rule its released code implements, and loops over all of its layers (no prelude or coda). Geiping et al. (2025) train no halting head and already report realized steps; Tan et al. (2023)'s mixture-loss head is below our smallest scale.
The rule we sweep is the rule they ship. Their released modeling_ouro.py thresholds the running total of the halting probability and force-halts at the cap, Section 2.2's rule; it has no per-step gate that stops a token when . Both of Ouro's models loop the full stack (), so is close to 1 and the speedup is at most four, Ouro's cap. Their forward runs every loop step for every token and selects the exit state afterwards, so its quality figures, like our teacher-forced ones, keep every position's deeper keys and values (Appendix E.5 measures the single-token case).
What the head reports, and what a pass runs. The released gate of Ouro's 2.6B model gives of 4. Sweeping Ouro's exit threshold from 0.05 to 1.0 (a token stops once its running total of stopping probability reaches it, so a smaller value exits earlier), realized steps run from 2.444 to 4.000, but a pass over 32 tokens runs 3.61 to 4.00 iterations and a pass over 2048 tokens 3.98 or more at every setting. Where quality holds the rule barely stops tokens early: at , within 0.0005 BPB of full depth, it realizes 3.550 of 4 steps and a 32-token pass runs 3.96; at it realizes 3.998. Ouro's 1.4B model behaves the same (; 2.669 realized at , and a pass runs 3.71 with 32 tokens and 4.000 with 2048). With well below the cap, what keeps the rule from stopping tokens early is the shape of the halting distribution, not the cap. Emitting one iteration instead of the mixture costs 0.0017 BPB, against 0.17–0.20 for our mixture-loss models, as Section 6.1 predicts for a per-step loss.
| Gate chose | Share | t=1 | t=2 | t=3 | t=4 |
|---|---|---|---|---|---|
| 1 | 18.5% | 0.6665 | 0.6677 | 0.6613 | 0.6601 |
| 2 | 30.6% | 4.0175 | 2.3504 | 2.3113 | 2.3033 |
| 3 | 38.8% | 7.2121 | 4.9394 | 3.3773 | 3.3300 |
| 4 | 12.1% | 8.3433 | 7.4025 | 5.0786 | 3.9426 |
| Corpus BPB | 2.4907 | 1.7641 | 1.3296 | 1.2531 |
Table 20: Ouro 2.6B at : mean per-token loss (nats) at every fixed readout depth , bucketed by the step the gate chose (bold).
The gate allocates well. Table 20 gives per-token loss at every fixed depth, bucketed by the step the gate chose. In each bucket past one iteration, the last iteration the gate takes is worth 1.14–1.67 nats of loss per token and the first it declines under 0.05: the gate stops within one iteration of where returns collapse. Against the same mean depth assigned without regard to the token (55.5% at two iterations, 44.5% at three), the allocation is worth 0.30 BPB, seventy times the evaluation noise floor (the same comparison gives 0.28 at 1.4B).
The test on a curve over fifteen times steeper. Ouro has no sampled-depth baseline, so its depth curve is Ouro itself run at each fixed depth (Table 20, last row). It falls 0.318 BPB over the band its gate reaches (2.44 to 4.00 steps), against 0.020 over ours (t=3 to 8 at 370M). At the gate scores 1.2707 BPB at 2.444 realized steps. Read against the depth curve at the depth a pass of each width runs, it wins by 0.300 at one token per pass (1.5710 static), by 0.0124 at 32 tokens (1.2831 at 3.608), and loses by 0.0163 at 2048 (1.2544 at 3.983). So the quality condition holds at one and 32 tokens per pass, teacher-forced, and fails at 2048 tokens per pass, where the pass runs 3.98 of 4 iterations, a speedup of . Two biases favor the gate: the curve is convex, so the straight line between t=3 and 4 overstates the baseline at 3.608; and the baseline is one set of weights truncated, not a model trained for depth 3.6. The 0.0124 is an upper bound on both counts. Noise on this checkpoint is at most 0.0015 BPB.
What sets the depth curve's slope. Raising the training cap steepens it (Appendix C.2), though those runs also differ in gradient reach and in how training depths are drawn; raising the baseline's gradient reach alone moves its depth curve's drop from t=3 to 8 by 0.0015 at 370M, inside the evaluation noise floor, and by 0.0010 at 770M (Appendices C.2 and F.3). Flatness is therefore not intrinsic to the architecture.
E.4 Pricing the exit rule for a batched pass
Pricing a pass means counting the iterations it runs, (Section 2.2), instead of the average, and comparing at that depth.
Which R. Section 8's condition reads the sampled-depth baseline at , the depth a batched pass runs. For a pass over 32 sequences (one token each), a real decode counts R directly (Appendix E.5): 1.51–1.58 at and 1.74–1.93 at 0.95, where the mean falls faster than the deepest token. At the other widths R depends on the depth distribution's shape, so we take the R that Appendix C.2 recovers from the per-step rows of Table 9 at : 1.06 and 2.19 at 1 and 2048 tokens per pass. For 370M at this is the same model at the same threshold; the other blocks carry it over, as their headers state. At 770M, R is measured on its own model (1.10, 2.35 and 2.34). At 140M and 370M the 65,536-token entry borrows a mixture-loss row ( ).
What pricing leaves (Figure 5, Table 21). At one token per pass the model stays ahead at all three scales, teacher-forced. Prefill is inside the evaluation noise floor at every scale at ; at 370M and it favors the sampled-depth baseline by 0.0071 and 0.0096, and the second exceeds twice the evaluation noise floor. The exit rule waits for a percentile of the stopping probability, which limits how few iterations a token can run; a batched pass then runs every token for as long as the deepest one, which limits how little the pass can cost.
Against a baseline a deployment can run. The sampled-depth baseline at T=3 runs exactly three iterations, since in a fixed-depth pass every token runs the same depth, and needs no interpolation. At the model is 0.0008 BPB worse (1.1086 against , three seeds each), inside the floor. Counting the depth each pass runs and converting through the fitted f of the cost model (Appendix C.2), the model's speedup decays from at one token per pass (teacher-forced quality) to at 32 sequences, where the real decode counts 3.06 iterations a pass against the baseline's three, and falls further at prefill (Figure 6). In depth alone the one-token ratio would read ;
BPB (better )

Figure 5: The per-step loss with a strong prior, and what pricing the pass does to it. 370M, CC; model three seeds, baseline seed 42. Against the sampled-depth baseline read at the model wins everywhere. Read at the depth a batched pass runs, , the baseline improves as the pass widens until it straddles the model, and further left, the baseline at the widest pass is ahead outright. Legend: the baseline read at for a pass of 32 tokens (decoding 32 sequences; counted in a real decode) and of 2048 tokens (one prompt; from the timing table). Here “static” in the legend is the sampled-depth baseline. Dashed line: , the threshold used. The point at 1.1689 lies above the axis. Model BPB is teacher-forced. The band is the evaluation noise floor, either side.
the prelude and coda sit outside the core.
E.5 Simulated decode quality under exit
Hiding a stopped token’s keys and values, as a one-token decoder must, reverses the per-step model’s teacher-forced lead over the sampled-depth baseline (Table 22). Except the real decodes below, every other quality figure under exit is teacher-forced, with an exited position still supplying keys and values at the iterations it skips (Appendix C.1). Here the evaluation hides them (simulated decode). At iteration r, a position that exited before r supplies no keys or values to any other position, which is what a one-token decoder’s cache holds. The prompt can be treated three ways. Keep-first (prompt at full depth): the first position of each sequence is never hidden, as when a decoder prefills a one-token prompt at full depth. Drop (prompt also exits): the exit rule applies to the first position too. 512-token prompt: the first 512 positions are fully computed and only later predictions are scored.
| Tokens/pass | R | Sampled-depth there | Per-step - sampled-depth | Verdict | |
|---|---|---|---|---|---|
| 370M, ε=0.7, , BPB 1.0908 - same scale, model and threshold as R | |||||
| 1 (decode, b=1) | 1.06 | 2.99 | 1.1082 | -0.0174 | model ahead |
| 2048 (prefill, b=1) | 2.19 | 6.17 | 1.0889 | +0.0019 | inside floor |
| 65,536 (prefill, b=32) | 6.54 | 1.0886 | +0.0022 | inside floor | |
| 370M, ε=0.95, , BPB 1.1086 - R carried from ε=0.7 | |||||
| 1 (decode, b=1) | 1.06 | 1.72 | 1.1605 | -0.0519 | model ahead |
| 2048 (prefill, b=1) | 2.19 | 3.55 | 1.1015 | +0.0071 | inside floor |
| 65,536 (prefill, b=32) | 3.76 | 1.0990 | +0.0096 | baseline ahead | |
| 140M, ε=0.7, , BPB 1.2196 - borrows R across scale only | |||||
| 1 (decode, b=1) | 1.06 | 3.30 | 1.2370 | -0.0174 | model ahead |
| 2048 (prefill, b=1) | 2.19 | 6.81 | 1.2166 | +0.0030 | inside floor |
| 65,536 (prefill, b=32) | 7.22 | 1.2162 | +0.0034 | inside floor | |
| 770M, ε=0.7, seed 42: , BPB 1.0174 - R measured on this model at this scale | |||||
| 1 (decode, b=1) | 1.10 | 3.01 | 1.0352 | -0.0178 | model ahead |
| 2048 (prefill, b=1) | 2.35 | 6.44 | 1.0170 | +0.0004 | inside floor |
| 65,536 (prefill, b=32) | 2.34 | 6.41 | 1.0170 | +0.0004 | inside floor |
Table 21: The -priced comparison behind Figure 5, at the timed widths; the 32-sequence pass of Figure 5 is in Tables 1 and 24. Sampled-depth there is the sampled-depth baseline read at . : recovered from Table 9's per-step rows at 370M and (Appendix C.2); block headers state what they borrow. Verdict and bold: “model ahead” or “baseline ahead” if the margin exceeds twice the evaluation noise floor, “inside floor” otherwise. All margins are teacher-forced; with stopped tokens’ keys and values hidden (simulated decode) the one-token rows change sign (Appendix E.5). borrowed from a mixture-loss row.

Figure 6: The speedup is largest when one token is generated at a time and is gone in large batches. Horizontal axis: how many tokens share one batched pass; 1 and 32 are decoding one or 32 sequences at once, and 2048 and 65,536 are processing one or 32 prompts of 2048 tokens. Vertical axis: how many times faster the 370M per-step model at is than the sampled-depth baseline at , whose teacher-forced quality it matches; above 1 is faster. Iterations: the speedup if only the core cost compute (3 divided by the iterations each pass runs). Throughput: the speedup of the whole pass, as predicted by the cost model of Section 8; it is smaller because the prelude and coda run once however many iterations the core runs (at one token per pass, against ). In a real decode with reused keys and values, the per-step model is slightly worse than that baseline (Appendix E.6).
The first token under bfloat16 halting. The halting probability is stored in bfloat16, a 16-bit number format, which rounds it. A head that puts almost all its probability early then reaches a running total of exactly 1 at iteration one: the first token of each sequence exits at iteration one, and realizes 7.997 steps rather than 8; hiding that token's deeper keys and values alone costs 0.010 to 0.052 BPB. Ouro's exit arithmetic, also run in bfloat16, does the same (below). At true full depth in this evaluation, the model minus the baseline is , and BPB at 140M, 370M and 770M, inside the evaluation noise floor.
The per-step model's margin reverses in decode when stopped tokens' keys and values are hidden. Table 22 gives the result. Hiding barely moves the realized steps, so the comparison is at the same threshold, and there the model that led by 0.020–0.025 BPB teacher-forced trails the sampled-depth baseline by 0.058–0.082 at with a one-token prompt prefilled at full depth (keep-first). A decoder that applies the exit rule to that prompt as well loses its deeper keys and values too, and the loss is 1.9 to 3.4 times larger (drop); that is what a real decode measures (below). Reusing the stopped tokens' keys and values instead of hiding them keeps the lead (Appendix E.6).
Behind a 512-token prompt. Decode is timed from a 512-token prompt (Appendix C.1), so the last column of Table 22 keeps positions 0 to 511 visible as keys and scores only later predictions, for the model and the baseline alike, with realized
| Scale | ε | Steps | Model - baseline at the model's own steps | ||||
|---|---|---|---|---|---|---|---|
| teacher-forced | keep-first | teacher-forced | keep-first | drop | 512-token prompt | ||
| 140M | 0.7 | 3.113 | 3.112 | -0.0202 | +0.0824 ±.014 | +0.1542 | +0.0433 ±.0082 |
| 0.95 | 1.877 | 1.889 | -0.0506 | +0.0764 ±.015 | +0.1233 | +0.0279 ±.0087 | |
| 370M | 0.7 | 2.827 | 2.833 | -0.0221 | +0.0626 ±.004 | +0.1238 | +0.0348 ±.0002 |
| 0.95 | 1.628 | 1.651 | -0.0597 | +0.0439 ±.004 | +0.0643 | +0.0125 ±.0006 | |
| 770M | 0.7 | 2.752 | 2.767 | -0.0246 | +0.0576 ±.002 | +0.1955 | +0.0276 ±.0006 |
| 0.95 | 1.564 | 1.580 | -0.0623 | +0.0400 ±.004 | +0.1336 | +0.0060 ±.0005 | |
Table 22: The per-step model, CC, three seeds per cell (mean, and seed s.d. where shown), against the sampled-depth baseline at the model's own realized steps. The last column keeps the first 512 positions fully computed and scores both only after them. Bold (keep-first and prompt columns): over twice the evaluation noise floor. The margin is positive in every simulated decode cell and beyond twice the evaluation noise floor in all but one (770M, , 512-token prompt). Margins are in BPB; a positive margin means the model is worse than the baseline.
steps counted over the same positions. Teacher-forced margins on those positions match the full-sequence ones (within 0.0006 BPB), so the change comes from the prompt, not from which positions are scored. The longer prompt narrows the reversal, to 0.028–0.043 at and 0.006–0.028 at ; only at 770M and is it within twice the evaluation noise floor (+0.006, 1.3 times the floor). It also narrows with scale at both thresholds. The per-step model's speedup at one token per pass, the one setting where the cost of a batched pass does not apply (Appendix E.4), is therefore not available to these models when stopped tokens' keys and values are hidden. They were trained with every iteration's keys and values present, which is consistent with a train–test mismatch rather than a limit of stopping tokens early. Filling the missing entries instead of hiding them recovers it (Appendix E.6).
A real decode. The simulated decode evaluation emulates decode inside a teacher-forced pass. On the first 64 validation sequences we also run the decode itself: the prompt in one pass under the exit rule, then each later token alone through the model's cache, so a token that exits never writes its deeper keys and values (Table 23). Behind a 512-token prompt the real decode realizes the emulation's steps, with a margin 0.002–0.004 BPB harsher (s.d. over seeds 0.0007–0.0012), so the reversal holds under a real cache. With a one-token prompt it equals drop: the prompt token exits at iteration one under bfloat16, so its deeper keys and values never exist.
A batched real decode. We also decode the full split 32 sequences at a time in lockstep through one cache, behind a 512-token prompt, as a server
| Scale | Prompt | Steps | Model - baseline | |||
|---|---|---|---|---|---|---|
| real | emulated | real | emulated | drop | ||
| 140M | 512 | 3.006 | 3.006 | +0.0701 | +0.0666 | n/a |
| 1 | 2.979 | 3.005 | +0.1941 | +0.1155 | +0.1940 | |
| 370M | 512 | 2.734 | 2.734 | +0.0342 | +0.0319 | n/a |
| 1 | 2.638 | 2.746 | +0.1272 | +0.0581 | +0.1276 | |
| 770M | 512 | 2.651 | 2.650 | +0.0223 | +0.0198 | n/a |
| 1 | 2.805 | 2.685 | +0.1834 | +0.0449 | +0.1841 | |
Table 23: Real decode against the emulation with keys and values hidden: per-step model, , three seeds, first 64 validation sequences (98k scored positions behind 512 tokens, 131k behind one). Emulated: prompt keys and values kept at every depth. Drop: none kept. Margins against the sampled-depth baseline on the same positions; teacher-forced behind 512 tokens, -0.018, -0.021, -0.026. Full-split margins: Table 22. Margins are in BPB; a positive margin means the model is worse than the baseline.
running batched passes does: an exited token keeps computing, and writing keys and values, until the deepest of the 32 stops, and the depth of every pass is recorded (Table 24; the baselines scored on the same sequences). At a pass runs 4.37–4.71 iterations, . At its own steps the model keeps most of its teacher-forced lead, since the pass supplies the keys and values a one-token decode hides. Read at the depth the pass pays, the margin is -0.0004, -0.0010 and -0.0030 BPB: a tie at 140M and 370M, and a win at 770M of eighteen times its seed s.d. (0.00017; a 95% t-interval over the three seeds is 0.0026 to 0.0034, and every seed leads). Teacher-forced on the same sequences, every margin shifts 0.0022–0.0027 toward the model, since there each position keeps its keys and values to the cap, not only to the depth its pass ran. At the model loses at every scale, by 0.0019 to 0.0048.
| Scale | Pass | Model - baseline at | ||||
|---|---|---|---|---|---|---|
| depth | R | pass depth | TF | |||
| 140M | 3.13 | 4.71 | 1.51 | -0.0182 | -0.0004 ±.0013 | -0.0030 |
| 370M | 2.84 | 4.40 | 1.55 | -0.0197 | -0.0010 ±.0005 | -0.0034 |
| 770M | 2.76 | 4.37 | 1.58 | -0.0224 | -0.0030 ±.0002 | -0.0053 |
| 140M | 1.89 | 3.28 | 1.74 | -0.0473 | +0.0048 ±.0021 | +0.0021 |
| 370M | 1.63 | 3.06 | 1.87 | -0.0571 | +0.0038 ±.0006 | +0.0013 |
| 770M | 1.57 | 3.03 | 1.93 | -0.0594 | +0.0019 ±.0003 | -0.0007 |
Table 24: The per-step model under a batched real decode: the full split, 32 sequences per pass behind a 512-token prompt, three seeds. Pass depth: mean iterations per pass, measured. Margins against the sampled-depth baseline on the same sequences; TF: teacher-forced at the pass depth. : seed s.d. (at most 0.0033 at , 0.0017 for TF); bold ( and pass-depth columns): over twice it.
Ouro. Ouro's released forward runs every loop step for every token (Appendix E.3), so we run its loop again ourselves, one decoder layer at a time, hiding each exited token's deeper keys and values at every later step, using its own exit arithmetic in bfloat16. We split each evaluation document into chunks of up to 2048 tokens. On Ouro's 2.6B model the first token of a chunk exits at step one in 1,244 of 1,288 chunks at , and keep-first recovers most of the quality that drop loses; on the 1.4B model it almost never exits early and the two coincide. Two further ways of keeping an exited token visible, copy and reuse (Appendix E.6), do not protect the first token, so on the 2.6B model their comparison with keep-first is confounded by it. On the 1.4B model, copy (feeding the frozen exit state to every later layer) breaks the model (+1.56 BPB at ), while reuse (keeping the keys and values from the exit step) matches keep-first's quality (+0.077 against +0.075) at more realized steps (2.83 against 2.65).
At one token per pass, where the pass stops when its token exits and hiding the deeper keys and values is the right model, the quality condition survives on both models under keep-first (Table 25). In a batched pass, stopped tokens keep computing until the pass ends, so hiding their keys and values at every skipped depth would understate its quality. The batched figures of Appendix E.3 therefore stay teacher-forced. A quality-preserving threshold is not free at one token per pass: at keep-first costs Ouro's 2.6B model 0.017 BPB, outside the evaluation noise floor, where teacher forcing reports none.
| Model | Variant | Change vs | ||
|---|---|---|---|---|
| Steps | teacher-forced | Condition | ||
| Ouro 2.6B | teacher-forced | 2.444 | — | -0.300 |
| keep-first | 2.475 | +0.111 | -0.176 | |
| drop | 2.943 | +0.264 | +0.181 | |
| Ouro 1.4B | teacher-forced | 2.669 | — | -0.278 |
| keep-first | 2.654 | +0.075 | -0.211 | |
Table 25: Ouro at and one token per pass: the quality condition, the model minus the depth curve at the realized steps (negative: the model passes). Keep-first: the first token keeps its deeper keys and values; drop: it hides them like any exited token. On the 1.4B model drop and keep-first coincide.
E.6 Filling the skipped keys and values
A token that stops at iteration has no keys or values at the iterations after . Hiding them (Appendix E.5) is one policy; a decoder can also fill them. We tried two, in this order. Copy computes the missing keys and values at every later layer from the token's state at the end of iteration , as early-exit decoders copy a state into skipped layers (Schuster et al., 2022). No layer receives this frozen state as input in training: the first layer of each iteration reads the state after it is combined with the input embedding, and later layers read the output of the layer before. Reuse keeps, at every later iteration and layer, the keys and values the token had at that layer in iteration . The weights are the same at every iteration, so these are entries the layer itself produced, and a key-value cache gets them by pointing the missing entries at the computed ones. This is the policy of Geiping et al. (2025), following Elbayad et al. (2020). In a stack without shared weights, CALM (Confident Adaptive Language Modeling) found the opposite: copying keys and values into skipped layers hurts, while copying the hidden state does not (Schuster et al., 2022); in our looped models, copying the hidden state (our copy policy) is the one that fails. Both are scored like the 512-token-prompt column of Table 22, after a 512-token prompt.
Table 26 gives the result. Copy is worse than hiding at 370M and 770M. Reuse keeps most of the teacher-forced lead at every scale and threshold, and a real decode through the cache with reuse gives the same margins as the emulation. On the same 64 sequences the two differ by at most 0.0003 BPB; at 770M and that difference exceeds twice its seed s.d. The emulated columns of Ta-
| Scale | TF | emulated, full split | real, 64 seq. | ||
|---|---|---|---|---|---|
| hidden | copy | reuse | reuse | ||
| 140M 0.7 | -0.021 | +0.043 | +0.015 | -0.019 | -0.016 |
| 0.95 | -0.050 | +0.028 | +0.012 | -0.039 | -0.044 |
| 370M 0.7 | -0.022 | +0.035 | +0.098 | -0.020 | -0.019 |
| 0.95 | -0.059 | +0.013 | +0.209 | -0.050 | -0.050 |
| 770M 0.7 | -0.025 | +0.028 | +0.237 | -0.022 | -0.025 |
| 0.95 | -0.062 | +0.006 | +0.375 | -0.052 | -0.054 |
Table 26: Filling a stopped token's deeper keys and values: the per-step model minus the sampled-depth baseline at the model's own realized steps, after a 512-token prompt, three seeds. TF: teacher-forced. Seed s.d. at most 0.0087 (hidden), 0.098 (copy), 0.0039 (reuse). Margins are in BPB; a positive margin means the model is worse than the baseline.
ble 26 are on the full validation split and the real column on the first 64 sequences, so the two differ by as much as the subsets do. With reuse, decoding 32 sequences together gives each sequence the same BPB as decoding it alone.
Speed. Reuse adds no measurable decode time. At one sequence per pass, after a 512-token prompt and timing the same 64 generated tokens for every variant, reuse takes 1.005 to 1.021 times as long as hiding at every scale and threshold. Measured against a different reference, the sampled-depth baseline run for three iterations, at the model decodes at 0.88–0.89, 0.98–1.01 and 1.02–1.05 times the baseline's speed at 140M, 370M and 770M and is 0.016, 0.013 and 0.017 BPB better in a real decode; at it is 1.14, 1.30–1.32 and 1.35–1.36 times as fast and 0.007, 0.006 and 0.003 BPB worse. Ranges are over three seeds; each comparison is a median over 15 interleaved rounds on one GPU; across the 15 rounds a single comparison varied by 4 to 41% of its median, and we read ratios within about 5% of 1 as ties.
Gathering in decode. With reuse, a batched decode can also gather: each iteration runs only the sequences whose token is still running. Decoding 32 sequences at , this is 0.84 to 0.87 times as fast as the batched pass at 370M and 770M, and 0.61 to 0.64 times as fast as the baseline at three iterations; the batched pass matches the speed of the sampled-depth baseline run for five iterations (1.01–1.03 times), close to the 4.5 to 4.8 iterations it runs per pass on these timing tokens. An iteration over 32 tokens costs about the same however many of them run, so removing stopped ones saves little, and the gather adds work. This is one implementa- tion; a fused kernel could remove the overhead but not the iterations, so it could approach the batched pass, not the baseline at three. The full-sequence result of Appendix C.1 is a different setting (full sequences, not one token per pass) and does not carry over to decode.
Why reuse works here is open. After a token stops, its keys and values still change. We measure the change at each later iteration as the size of the difference from the token's keys (or values) at its exit iteration, divided by the size of its keys (or values) at the later iteration. On average over the later iterations, the change is 13–18% for keys and 20–26% for values; for keys it rises from 11–14% one iteration later to 35–50% six later. On Ouro at the change is about twice as large (31% and 58–61%), and reuse does no better there than keeping the first token visible (above). But per-step models trained at change as much as Ouro (32–53% and 45–73%), with or without the attractor term (Section 2.1), and reuse still recovers 91 to 102% of the hidden loss in them (140M and 370M, one seed each). The size of the change therefore does not explain when reuse works.
E.7 The mean is reachable, and that is the problem
PonderNet's test-time rule (Banino et al., 2021, Sec. 2.5), the sampled rule, draws each token's stopping iteration at random from . On the mixture-loss model it realizes and costs ten times the 0.02 BPB by which a specialist trained at three iterations trails full depth (Section 5.1).
What the average costs to realize. The mixture-loss model reaches its predicted average under this rule and pays 0.198–0.234 BPB for it (Table 27), measured against the sampled-depth baseline run to the same depth, at two scales and three seeds. Reading out the exit state rather than the mixture costs a further 0.05–0.06 (Table 27): a sampled stop lands on a state the loss never scored, as in Table 3.
Neither rule rescues the mixture-loss model. At its operating point the sampled rule is worse than the threshold rule on both axes at once — 3.83 steps against 3.02, and +0.234 against +0.208. The choice for the mixture-loss model is between a rule that realizes the average and costs 0.2 BPB and a threshold rule that preserves the model only where it barely exits. For the per-step model under a
| Model | Readout | Steps | BPB ↓ | Baseline | Δ ↓ |
|---|---|---|---|---|---|
| Sampled rule: realized steps = E[N] by construction | |||||
| 140M mixture-loss | mixture | 3.830 | 1.4633 | 1.2291 | +0.2342 |
| 140M mixture-loss | exit state | 3.830 | 1.5262 | 1.2291 | +0.2971 |
| 370M mixture-loss | mixture | 3.762 | 1.2966 | 1.0990 | +0.1976 |
| 370M mixture-loss | exit state | 3.762 | 1.3439 | 1.0990 | +0.2449 |
| 140M per-step, β=0.1 | exit state | 4.335 | 1.2198 | 1.2244 | -0.0046 |
| 770M per-step, β=0.1 | exit state | 3.993 | 1.0172 | 1.0242 | -0.0070 |
| Threshold rule at 140M, at comparable realized steps | |||||
| 140M mixture-loss (ε=0.5) | mixture | 3.020 | 1.4493 | 1.2415 | +0.2078 |
| 140M per-step (ε=0.7) | exit state | 3.113 | 1.2196 | 1.2398 | -0.0202 |
Table 27: What realizing the average costs. PonderNet's sampled rule, whose realized steps equal E[N] by construction, against the sampled-depth baseline at the same realized steps (“Baseline”); the threshold rule at 140M is included for contrast. BPB; three seeds, three random draws of the stopping iteration per seed. Variation across seeds is 0.0070–0.0149 on the mixture-loss models and 0.0003–0.0008 on the per-step models, against the mixture-loss effects of 0.198 and above in the upper block.
strong prior the sampled rule still beats the sampled-depth baseline at matched depth, by 0.0070 at 770M and 0.0046 at 140M, and it pays 1.2 more iterations than the threshold rule for the same quality (1.2198 against 1.2196 at 140M). So the negative result holds under both rules; teacher-forced, the per-step model with a strong prior beats the baseline under both.
E.8 ACT's ponder weight selects a depth, not a policy
ACT's depth varies across tokens at two of its seven ponder weights, and the sampled-depth baseline run shallower matches or overtakes it at about 6.5 iterations at both.
The ACT model reported throughout trains at . The three weights of the selection in Appendix B.3 (, three seeds each) and four further 140M models, at , and 1, take the sweep to four orders of magnitude.
Two weights vary the depth, and the baseline run shallower matches both. Table 28 gives the whole sweep. At the realized steps move from 7.35 (per seed 7.03 to 7.55) to 6.51 as the threshold rises, and the model leads the depth curve by 0.011–0.012 down to 6.98 steps, 0.009 at 6.79 and 0.002 at 6.51, inside the evaluation noise floor. At ACT also allocates per token: is 7.34 with a per-token s.d. of 1.32, against 7.99 at , and the threshold rule moves the realized steps smoothly from 7.38 to 1.01. But its quality falls off with depth. Read against the same depth curve at the same realized steps, the model leads by 0.009–0.010 down to 6.79 steps,
| Steps | BPB ↓ | Baseline | ||
|---|---|---|---|---|
| (reported) | [0, 0.5] | 7.99 | 1.2027 | 1.2159 |
| [0, 0.3] | 7.95–7.98 | 1.2032 | 1.2159 | |
| 0.5 | 7.862 | 1.2049 | 1.2160 | |
| 0 | 7.352 | 1.2048 | 1.2163 | |
| 0.1 | 7.182 | 1.2049 | 1.2164 | |
| 0.2 | 6.977 | 1.2056 | 1.2166 | |
| 0.3 | 6.787 | 1.2079 | 1.2168 | |
| 0.5 | 6.505 | 1.2154 | 1.2171 | |
| 0 | 7.379 | 1.2061 | 1.2161 | |
| 0.05 | 7.135 | 1.2063 | 1.2163 | |
| 0.1 | 6.793 | 1.2079 | 1.2166 | |
| 0.2 | 5.505 | 1.2445 | 1.2187 | |
| 0.3 | 3.005 | 1.4992 | 1.2414 | |
| 0.5 | 1.005 | 1.8068 | 1.3813 | |
| 0 | 1.900 | 1.2531 | 1.2883 | |
| [0.05, 0.5] | 1.000 | 1.2531 | 1.3818 | |
| 0 | 1.901 | 1.2546 | 1.2884 | |
| [0.05, 0.5] | 1.000 | 1.2546 | 1.3818 | |
| 1 | 0 | 1.357 | 1.2533 | 1.3447 |
| 1 | [0.05, 0.5] | 1.000 | 1.2533 | 1.3818 |
Table 28: ACT's ponder weight selects a depth, not a policy. Realized steps and BPB at 140M on CC as the ponder weight and the eval-time threshold vary; “Baseline” is the sampled-depth baseline at the same realized steps. Three seeds, Baseline from the three-seed curve; other rows one seed. A row spanning an interval moves by at most 0.03 steps and 0.0001 BPB within it.
trails by 0.026 at 5.51 and by 0.258 at 3.01: the crossover is at about 6.5 of eight iterations, so varying the depth buys about 1.5 iterations of the eight before the sampled-depth baseline run shallower overtakes it, worth at most about , the architecture's speedup limit .
At and above, from on, the head halts every token at the first iteration, and the threshold is inert: BPB is identical to four decimals across every threshold in [0.05, 0.5]. That constant costs 0.050–0.052 BPB against the reported model near the cap, about two and a half times the 0.02 by which a specialist at three iterations trails full depth (Section 5.1). So the weight passes from a constant depth near the cap ( , ), through two weights that vary it ( , ), to a constant depth of one.
F The loss, the prior, and their combination
This section varies the prior weight under both losses and shows what a strong prior changes.
F.1 Forced-depth curves under prior pressure
Under the per-step loss, raising the prior weight reshapes the curve so that the rule can stop tokens early.
Table 30 gives the forced-depth sweep at 140M as varies under the per-step loss, against the sampled-depth baseline at every depth, and Table 29 the T=1 cells under both losses. At the per-step model is worse than mixture-loss at shallow depth (1.4544 against 1.3722 at T=4, seed 42, not tabulated); at it is ahead of the baseline at every depth, resolved for .
The drift. Under the per-step model's training-time climbs from about 3.0 to 4.87, 5.09 and 5.55 at 1.5k, 4k and 9k steps, past the prior's mean of 3.11; at 370M the mixture-loss model at the same weight settles at 3.47 and the per-step model at 5.07. The 140M trajectory is seed 42. The per-step model's exit rule at still runs tokens almost to the cap: at 370M, even at the largest threshold, , the per-step model at realizes 6.23 to 6.50 of 8 steps over its three seeds (exit-state readout).
The 370M interaction. With three seeds per mixture-loss cell the T=1 response is -0.002 and +0.031 against a standard error of 0.016: mixture-loss at 370M is inert to the prior at one iteration. Differenced within a seed, the per-step model moves at and at (seed 42). Raising also tightens the per-step seed s.d. eightfold, 0.0114 to 0.0014, where mixture-loss spans 0.011–0.027. This is what one would expect if a strong prior trains the early iterations under the per-step loss only, but we did not test this. At other depths the prior does move mixture-loss: it helps by 0.019–0.032 at T = 4–6 and hurts by 0.027–0.036 at T=2. Table 31 gives the 370M curves at T = 1, 3, 5 and 8.
Differences, not levels. Each in Table 30 is taken within one evaluation, whose three baseline seeds agree to 0.0006 past one iteration. The baseline's BPB at the cap is 1.2155 in that table but in Table 14, because the two were evaluated in different sessions; so we subtract only within one table.
F.2 The loss-prior interaction on FW
The interaction replicates on a second corpus at two to four iterations, the range where an exit rule works, though not at one iteration.
Table 32 repeats the at 140M on FW, seed 42, where the evaluation noise floor is 0.0045. The interaction, per-step minus mixture-loss, is -0.344, -0.338 and -0.310 at T = 2, 3, 4 on FW against -0.315, -0.256 and -0.208 on CC (three seeds, not tabulated). On FW at T = 2–4 the prior moves the per-step model by 0.32–0.34 BPB and mixture-loss by at most 0.008. At T = 2 and 4 only per-step at beats the sampled-depth baseline, and the penalty at replicates: at per-step is worse than mixture-loss at T = 2–4. What does not replicate is T=1: on FW both losses improve by 0.37–0.40, so the asymmetry CC shows there is absent.
F.3 The specialist at the cap, and allocation
At full depth, the per-step model’s margin over the sampled-depth baseline comes from how that baseline was trained: randomized depth and four-iteration gradient reach.
Table 33 gives the per-seed comparison of the per-step model with a specialist trained at T = 8. The sampled-depth baseline randomizes its depth and backpropagates through four iterations where the halting model reaches all eight. A specialist trained at T = 8 carries neither: gradients through every iteration, no halting head and no halting loss. At , with the sign flipping across seeds, the model and the specialist are indistinguishable. ACT trains as the halting models do, at fixed T = 8 with gradients through all eight, so the halting-versus-ACT contrast is unaffected.
Gradient reach at 770M. We retrain the 770M sampled-depth baseline with gradients through the last eight iterations instead of four ( , three
| Loss | |||
|---|---|---|---|
| 140M, BPB at forced | |||
| Mixture | |||
| Per-step | |||
| 370M, BPB at forced | |||
| Mixture | |||
| Per-step | |||
| , mixture-loss / per-step | |||
Table 29: Forced-depth BPB at under both losses as the prior weight varies — the cells underlying Table 4 (Section 6.2). Parenthesized values are the change from . 140M is three seeds per cell. At 370M every printed change is the difference of the two printed means, so the change compares one seed against a three-seed base; the within-seed figure is in the text. Bold: beyond twice the seed s.d.
| Model | |||||||
|---|---|---|---|---|---|---|---|
| Sampled-depth baseline | 1.3818 | 1.2779 | 1.2415 | 1.2266 | 1.2201 | 1.2174 | 1.2155 |
| Per-step, | 1.7139 | 1.5612 | 1.5015 | 1.4544 | 1.4000 | 1.3327 | 1.2039 |
| Per-step, | 1.3169 | 1.2456 | 1.2250 | 1.2185 | 1.2164 | 1.2157 | 1.2154 |
| Per-step, | 1.2608 | 1.2344 | 1.2278 | 1.2261 | 1.2256 | 1.2255 | 1.2255 |
| , | +0.3321 | +0.2833 | +0.2600 | +0.2278 | +0.1799 | +0.1153 | -0.0116 |
| , | -0.0649 | -0.0323 | -0.0165 | -0.0081 | -0.0037 | -0.0017 | -0.0001 |
| , | -0.1210 | -0.0435 | -0.0137 | -0.0005 | +0.0055 | +0.0081 | +0.0100 |
Table 30: Forced-depth BPB at 140M on CC as the prior weight varies under the per-step loss, and the difference against the sampled-depth baseline at each depth. Weights are unchanged between columns; only the forced depth changes. Seed 42 for every row except (three-seed means) and the baseline (three-seed mean). Bold: the model ahead by more than twice the evaluation noise floor, the criterion since most rows are single-seed. The resolved band at is .
| Model | ||||
|---|---|---|---|---|
| Sampled-depth baseline | 1.2214 | 1.1079 | 1.0912 | 1.0875 |
| Per-step, | 1.4302 | 1.2505 | 1.1817 | 1.0924 |
| Per-step, | 1.1576 | 1.0935 | 1.0880 | 1.0874 |
| Per-step, | 1.1225 | 1.0955 | 1.0940 | 1.0939 |
| Mixture, | 1.6104 | 1.2765 | 1.1844 | 1.0807 |
| Mixture, | 1.6083 | 1.2764 | 1.1588 | 1.0813 |
| Mixture, | 1.6415 | 1.2749 | 1.1527 | 1.0806 |
Table 31: Forced-depth BPB at 370M under both losses and three prior weights. Model rows are three seeds, except per-step (seed 42); the baseline is seed 42.
seeds) and measure it in one session with the published baseline. On the full split its BPB is lower at every depth: by 0.0005–0.0006 at two and three iterations, where the exit rule lands (about one seed s.d.), and by 0.0017 at the cap; its depth curve's span from to 8 is against . In the batched real decode of Section 7.1, rerun in one session with both baselines, the per-step model at leads it by BPB at , against (seed s.d.) over the published baseline, which reproduces Table 1; read at in the same decode, the leads are 0.0221 and 0.0223. The lead at holds against each of the retrained baseline's three seeds (0.0017 to 0.0029).
Two references for allocation. Against a uniform depth of equal compute the exit rule adds 21 to 30% of the lead (Appendix E.2). A uniform depth does not test whether the head tracks difficulty, since a mix of depths can beat it whenever per-token loss curves differ in shape; shuffling the depths does.
Shuffled depths. Keep the depths the exit rule chose, shuffle which token gets which, and re-score. Realized steps are preserved exactly and each token keeps its byte count, so any difference is the assignment. On this model at (, ) the assignment is worth BPB, positive on all three seeds (0.0079–0.0086), varying by under 0.0001 over twenty shuffles (Table 5). Section 6.3 reads it as a share of the lead. Ouro's gate is worth 0.30 BPB over the same mean depth assigned without regard to the token (Appendix E.3).
| Model | |||||
|---|---|---|---|---|---|
| Sampled-depth | - | 0.9439 | - | 0.9122 | 0.9054 |
| Mixture 0.01 | 1.7119 | 1.1462 | 1.0577 | 1.0155 | 0.8997 |
| Mixture 0.1 | 1.3168 (-.395) | 1.1487 (+.003) | 1.0601 (+.002) | 1.0072 (-.008) | 0.8995 (-.000) |
| Per-step 0.01 | 1.3446 | 1.2675 | 1.2464 | 1.2241 | 0.8969 |
| Per-step 0.1 | 0.9766 (-.368) | 0.9263 (-.341) | 0.9108 (-.336) | 0.9057 (-.318) | 0.9035 (+.007) |
Table 32: Loss × prior weight at 140M on FW, forced-depth BPB, seed 42. Row labels give . Parenthesized values are the change from at that depth. At the changes are at most 0.007.
| Seed | Per-step | Specialist | |
|---|---|---|---|
| 42 | 1.2039 | 1.2047 | -0.0008 |
| 7 | 1.2056 | 1.2035 | +0.0021 |
| 123 | 1.2055 | 1.2065 | -0.0010 |
| Mean |
Table 33: The per-step model () against a specialist trained at , 140M, three seeds each, same data and schedule. is the model minus the specialist (negative favors the model); mean s.d. over seeds.
| Scale | Quintile of loss at the cap | |||||
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 140M | step | 2.28 | 3.08 | 3.33 | 3.40 | 3.48 |
| improvement | 0.06 | 0.29 | 0.34 | 0.24 | 0.12 | |
| 370M | step | 2.06 | 2.69 | 3.06 | 3.11 | 3.21 |
| improvement | 0.01 | 0.15 | 0.28 | 0.20 | 0.09 | |
| 770M | step | 2.03 | 2.54 | 2.98 | 3.06 | 3.16 |
| improvement | 0.01 | 0.12 | 0.26 | 0.21 | 0.09 | |
Table 34: Where the per-step model (, ) spends depth (quintile 1: easiest). Step: realized steps. Improvement: the loss drop from one iteration to the cap, in nats per token. CC; three-seed means.
Which tokens get depth. We join each token's loss at every forced depth to the step the exit rule chose. The rule gives the most depth to the highest-loss quintile (5), though depth helps the middle one (3) most (Table 34). Rare tokens get more depth than frequent ones (3.34 against 3.08 at 140M, 2.97 against 2.68 at 770M). At 140M, tokens the exit rule stops at three iterations improve by 0.028 nats per token on the third and by 0.011 over the five after it (three-seed mean). The chosen step correlates with loss at the cap (Spearman 0.48–0.56) more than with the improvement from depth (0.21–0.23).
F.4 Why the mixture scores no single iteration
Unless concentrates on one iteration, the mixture loss scores no single iteration; this follows from its form.
The one exception. Where concentrates on a single the mixture is (Section 2.2). The mixture-loss models are far from it: is 3.6–3.8 while a threshold needing 90% of the probability stops tokens only at 7.6–7.9 steps.
The mixture gap is not a usable measure. The gap would be a signed measure of how far the iterations disagree only under a linear readout, and ours is an -layer coda. Measured on the per-step models, it changes sign during training: +0.0046 nats at 42% of training at 140M, and negative at the end (-0.0023 at 140M, -0.0220 at 370M), which a linear readout rules out: cross-entropy is convex, so the mixture's loss could not exceed the average of the iterations' losses. So Appendix F.5 measures the readout penalty directly instead.
F.5 The readout penalty in full
Reading one iteration instead of the mixture costs 0.17–0.20 BPB, and the per-step loss removes it.
Table 3 is measured at , so the state read is , the last iteration, which carries whatever probability is left (Section 2.1). Every mixture-loss row is the model at its scale; the per-step rows are at 140M and 370M and at 770M, the only per-step model there, so the 770M removal changes the prior as well and the two smaller scales carry the claim. Every row is three seeds.
The state-at-cap readout is poorly determined, and the mixture is not. Across seeds the mixture moves 0.0006, 0.0001, 0.0012 and 0.0017 BPB at the four scales and the state at the cap 0.040, 0.015, 0.006 and 0.016. Nothing scores a single iteration under mixture loss, so what is read off one is whatever the seed left. The effect is five to thirty times that noise at every scale.
The prior grows the mixture-loss penalty and leaves the per-step one near zero. At 140M
(seed 42, one session), as goes the mixture-loss penalty grows BPB while the per-step penalty stays within 0.0037 of zero. Tightening the prior makes a single iteration less readable for the mixture-loss model and leaves it readable for the per-step model.
G Concurrent work
Liu et al. (2026) reduce compute without a halting head: every token runs the same, smaller number of iterations, and contrastive decoding recovers the quality that the shorter run loses. Because every token stops at the same iteration, the cost of Section 7.1 does not arise.
Schwethelm et al. (2026b) point out that tokens stopping at different iterations break batched decoding. Schwethelm et al. (2026a) remove this cost for Ouro (Zhu et al., 2025) and the model of Geiping et al. (2025) by filling the places of stopped tokens with tokens from other sequences; this does not change the iteration at which a token stops, so the saving is still bounded by the realized steps. They also report that Ouro's 1.4B model keeps its accuracy on grade-school math problems (GSM8K) down to about 2.5 of its 4 iterations; our criterion is BPB instead, and at the threshold where Ouro's 2.6B model keeps its BPB, it runs 3.55 of its 4 iterations (Appendix E.3).
Mishra et al. (2026) reuse a stopped token’s keys and values at the deeper iterations, as in Section 7.2. In agreement with Section 7.1, at a batch of 32 sequences their method is slower than running every token for a fixed four iterations. Their criterion is task accuracy rather than BPB.
Popescu et al. (2026) independently describe the mechanism behind our per-step result: when one exit distribution both decides when a token stops and weights the per-iteration losses in training, choosing the exit and shaping the iterations become entangled.
Logan (2026) stops each token once its output stops changing, without training a head. A batched pass still waits for its deepest token, as Logan (2026) also notes.
Monea et al. (2026) let later iterations read the keys and values of the first iteration, which saves memory. Every token runs the same number of iterations, so the cost of tokens stopping at different iterations does not arise.