Manuscript Offprint

arXiv:2610.28871

How Much Gradient Does Truncated Backprop Lose in Looped Transformers?

Aur Shalev Merin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Looped transformers reuse one block of layers many times and are often trained by back-propagating through only the last k loops. We measure how much of the weight gradient this throws away, exactly and for every k from one backward pass, on nine looped language models, and report three findings. First, on a trained model this lost gradient is set near the output: once the loop count is well above k, it barely changes with the loop count (within about 0.03 from 32 to 64 loops on the three models we tested, as a pre-registered test predicted for Parcae). Where the backward signal shrinks, ρk\rho^{k}, with ρ\rho the signal's fitted shrink per loop, approximates it at moderate loop counts but overstates it at long ones, because the fitted ρ\rho drifts up as the fit takes in more loops. On Ouro the signal grows, and keeping two of four loops still loses 81% of the final output's gradient. Second, the lost gradient falls during fine-tuning, by 0.07–0.22 within 300 steps on three of four models, on held-out problems too. The fall is not just the read-out's share of the gradient; training only the layers outside the loop reproduced up to half of it, and it also falls under truncated training. So a trained model's value overstates what truncation removes later. Third, we could not show that it predicts the training cost of truncation better than rules that need no measurement: on two new models it tied Parcae's cost at the same k, in a test too small to separate them.

1 Introduction

Looped transformers reuse one block of layers many times in a row instead of stacking many different blocks. Examples are Huginn (Geiping et al., 2025), Parcae (Prairie et al., 2026) and Ouro (Zhu et al., 2025). Running the block more times lets the model compute longer without adding parameters.

Backpropagating through every loop means storing activations for every loop. So looped models are often trained by sending the learning signal back through only the last k of R loops:

• Huginn samples the number of loops at random and backpropagates through the last 8 (Geiping et al., 2025, Sec. 3.3);

• Parcae uses about the last half (Prairie et al., 2026, Sec. 4.2);

• the converted models of McLeish et al. (2026) use at most the last 8.

The choice is made by hand. Prior work has measured training cost against k (Prairie et al., 2026, App. I; Huang et al., 2026; Xiong et al., 2026), what truncation does to pretraining at fixed compute (Schwethelm et al., 2026a), how rare, very large gradient spikes appear at large k (Wang et al., 2026, App. C.1), and the agreement between truncated and full gradients at single settings (Huang et al., 2026, App. C.3 and C.8). For recurrent networks unrolled over time, Aicher et al. (2019) bound the bias of truncation geometrically and estimate its decay rate from data. For looped models, how much gradient truncation loses at each k has not been measured.

We measure it on nine looped language models (seven published, two our own conversions), follow it into fine-tuning, and ask what it says about the cost of training with truncation. The cost results come from 600-step fine-tunes of already-trained models, where truncation costs little in absolute terms (on Parcae, keeping one of 32 loops cost about 0.04 nats and the blended settings of S5 0.005–0.016 nats, against a 0.18-nat benefit of training the loop at all). So they are a narrow proxy for choosing k in pretraining. We pre-registered sixteen studies, S1–S16, listed in Appendix B (Table 4). What we find:

  1. On a trained model, the lost-gradient curve is set near the output, and ρ\rho drifts (Section 3). One full backward pass per held-out sequence gives the lost gradient for every kk. Once the loop count is well above kk it barely changes with the loop count (within about 0.03 at k≤8k \leq 8 from 32 to 64 loops; S10), as a settled forward pass predicts. Where the backward signal shrinks, ρk\rho^k was within about 20% of it at the loop counts of Table 1 (a range we observed, not a threshold set in advance). The fitted ρ\rho drifts up with the loop count, because a longer fit takes in more of the slowly fading far loops, related to the effect Aicher et al. (2019, Sec. 5.4) describe for recurrent networks; so ρk\rho^k overstates the lost gradient at longer loop counts (S10). A two-mode model gives the drift a closed form, and its pre-registered extrapolation to 96 and 128 loops held on Parcae-140m (S14), though a trend linear in log⁡(loop count)\log(\text{loop count}) would have passed too. The exception is Ouro, whose backward signal grows: keeping one or two of its four loops loses 92% or 81% of its final output's gradient, and keeping two loses 85% under its own training objective without the entropy term (S15). These are statements about the gradient: we did not train Ouro with truncation.

  2. It falls during fine-tuning (Section 4). After 300 full-backprop steps it was 0.07–0.22 lower per sequence on three of four models, and about as much on held-out GSM8K problems (Cobbe et al., 2021; S12, S13). Most of the fall remains when the gradient that gets no credit through the loop is left out (S15). A separate fine-tune that trained only the layers outside the loop, with the loop's weights fixed, reproduced about half of that loop-credited fall on two models (0.48 and 0.50) and little of it on the third (0.14; S16). That compares two runs; it does not split the full run's fall. A fine-tune through only the last 2 loops lowers it too, by 61–98% as much (S15). With the text moving it by up to 0.12 as well, the number is a property of a checkpoint and a text, not of the model.

  3. We could not show that it predicts training cost better than rules that need no measurement (Section 5). Within one model it is a relabelling of k. Across models, a pre-registered test on two new models found that a cost curve fitted on Parcae did no better than Parcae's own cost at the same k, the better of two such rules fixed in advance (S11), although those two models' costs differed by up to a factor of two. The test was small (six settings on two models) and could not have shown a modest advantage.

Appendix B keeps the study-by-study record: questions, freeze commits, verdicts, amendments and exclusions. Code, pre-registrations, results and the record of when each freeze was pushed are at https://github.com/Aur-Shalev-Merin/lost-gradient-looped-transformers.

References (56)