FlyingStart: Learned Cross-Token Warm Starts for Fixed-Point Decoding in Recurrent-Depth Language Models

Authors: Runguo Li, Dezhen Lu, Zixiang Ni


Summary (Overview)

  • Novel lever for inference: FlyingStart introduces the first learned warm start for recurrent-depth language models, addressing where to start the fixed-point iteration rather than when to stop it. A closed-form linear map predicts each token's initial state from the previous token's exit state and the current input.
  • Significant compute savings: On Huginn-0125, FlyingStart matches the accuracy of the strongest training-free baseline with 14–19% fewer decoding layers, raises batched throughput by 16–18% in two serving engines, and adds a further 10–14% on top of self-speculative decoding.
  • Predictive theory: A contraction analysis (Proposition 1) provides a closed-form law for the number of loops saved, predicting 1.8 loops per token on Huginn (measured: 1.7), with predictions validated across four models—including one forecast before evaluation.
  • Minimal cost: The warm-start map costs under 5% of one loop, is fitted in closed form via ridge regression in minutes on a frozen model, and composes with any stopping rule, batching scheme, and speculative decoder.
  • Evidence that the start is the remaining lever: Three attempts to accelerate the contraction itself (Anderson acceleration, LoRA adapters, fine-tuned students) fail on Huginn, while non-token-specific starts that are merely closer on average save no loops.

Introduction and Theoretical Foundation

Background

Recurrent-depth ("looped") language models reuse one block of layers many times per token, trading parameters for test-time compute (Geiping et al., 2025; Zhu et al., 2025; McLeish et al., 2025). In models trained with a randomized number of iterations (e.g., Huginn-0125), per-token computation behaves like a fixed-point iteration:

x←F(x;context)x \leftarrow F(x; \text{context})

After enough loops the state stops changing, and the result does not depend on where the iteration started. At full depth of 32 loops, Huginn runs 132 layers for every generated token.

The Fixed-Point View of Decoding

The fixed-point perspective has shaped decoding methods:

  • Stopping rules: Exit when the state has converged (Geiping et al., 2026)
  • Scheduling: Depth-asynchronous batching (Schwethelm et al., 2026) and self-speculative decoding (Ha & Kim, 2026)

All existing methods take the iteration as given. This paper asks a complementary question: where should the iteration start?

Key Observation

Every token currently starts from random noise and contracts toward its fixed point at a rate set by the model. On Huginn, the error shrinks by a factor of about 0.745 per loop, so a token needs roughly ten loops regardless of the stopping rule. The contraction rate belongs to the trained weights—solver acceleration, adapters, and distillation all leave it unchanged. The starting point is the lever that inference can still move.

The direct warm-start approach fails: neighbouring tokens have different fixed points, and the previous token's state is no closer to the current fixed point than noise. However, the relation between neighbouring fixed points is simple—after a learned linear change of coordinates, the previous token's state predicts a large part of the next token's fixed point.

Theoretical Foundation

Under a contraction assumption, the stopping rule certifies the same error from any start:

Proposition 1. Fix the context and let the core update FF of token jj satisfy ∥F(x)−x⋆∥≤ρ∥x−x⋆∥\|F(x) - x^\star\| \leq \rho\|x - x^\star\| with ρ<1\rho < 1. Let x(k)=F(x(k−1))x^{(k)} = F(x^{(k-1)}) and d0=∥x(0)−x⋆∥d_0 = \|x^{(0)} - x^\star\|:

  • (a) Same answer: x(k)→x⋆x^{(k)} \to x^\star from every start, so the start cannot change what the model converges to.
  • (b) Fewer loops: ∥x(k)−x⋆∥≤ρkd0\|x^{(k)} - x^\star\| \leq \rho^k d_0. Lowering d0d_0 from drandd_{\text{rand}} to dinitd_{\text{init}} lowers the number of loops needed to reach any tolerance by log⁡(drand/dinit)/log⁡(1/ρ)\log(d_{\text{rand}}/d_{\text{init}})/\log(1/\rho), up to rounding.
  • (c) Same certificate: If the exit rule fires at loop kk, then ∥x(k)−x⋆∥≤ρ1−ρϵ∥x(k)∥\|x^{(k)} - x^\star\| \leq \frac{\rho}{1-\rho}\epsilon\|x^{(k)}\|, whatever the start.
  • (d) Adaptive exit needs spread: If every token starts at the same d0d_0 and contracts at the same exact rate ρ\rho, every token reaches a given tolerance at the same loop.

Consequences:

  • Safety: An inaccurate prediction costs loops and never accuracy—no verification pass needed
  • A law for the saving: Δk=log⁡(drand/dinit)log⁡(1/ρ)\Delta k = \frac{\log(d_{\text{rand}}/d_{\text{init}})}{\log(1/\rho)} (Equation 3)
  • Adaptive exit: A per-token exit rule can only beat a fixed depth when tokens differ in starting distance

Methodology

The Warm-Start Map

FlyingStart initializes the iteration of token jj with:

xj(0)=Wzj,zj=[ej;x^j−1;1](1)x_j^{(0)} = W z_j, \qquad z_j = [e_j; \hat{x}_{j-1}; 1] \tag{1}

where eje_j is the prelude output, x^j−1\hat{x}_{j-1} is the previous token's exit state, and WW is a learned linear map. The model then iterates from xj(0)x_j^{(0)} and stops by the same criterion as the baseline.

Algorithm 1: Decoding token j with FlyingStart
Require: prelude output e_j, previous exit state x̂_{j-1}, cache C_{<j}, map W, threshold ε, depth limit T

1: x^(0) ← W[e_j; x̂_{j-1}; 1]    ▷ baseline: random x^(0)
2: for t = 1, ..., T do
3:   x^(t) ← F(x^(t-1), e_j; C_{<j})
4:   if ||x^(t) - x^(t-1)|| ≤ ε||x^(t)|| then break
5: end for
6: x̂_j ← x^(t); append the last loop's KV entries to C
7: return next-token distribution coda(x̂_j)

Closed-Form Calibration

WW is the ridge-regression solution mapping zjz_j to the full-depth state xj⋆x_j^\star on a calibration set:

W=(∑jxj⋆zj⊤)(∑jzjzj⊤+λI)−1(2)W = \left(\sum_j x_j^\star z_j^\top\right)\left(\sum_j z_j z_j^\top + \lambda I\right)^{-1} \tag{2}

with λ\lambda chosen on held-out sequences. The calibration set consists of 640 text sequences of 512 tokens (480 from Wikipedia, 160 from GSM8K training split). One pass of the frozen model at full depth accumulates the sums in Equation 2—this takes minutes on one GPU with no gradient steps.

Cost Analysis

The map is one matrix–vector product per token, under 5% of the cost of one loop. It has 2h22h^2 parameters for hidden size hh (1.6% of Huginn), adds no KV memory, and leaves the model's weights untouched.


Empirical Validation / Results

Key Results on Huginn-0125

Same accuracy, fewer layers:

  • Operating point at ϵ=0.085\epsilon = 0.085: FlyingStart needs 40.1 layers/token vs. baseline's 46.8 (−14%)
  • Saving at matched accuracy: 16.6% at ϵ=0.1\epsilon = 0.1 (95% CI [14.1, 23.5]), 18.9% at ϵ=0.12\epsilon = 0.12

Same budget, higher accuracy:

  • At ~35 layers/token: FlyingStart reaches 59.70% vs. baseline's 56.37% (+3.3 points, z = 7.61)
  • At fixed depth of 10 loops: FlyingStart reaches full-depth accuracy (random start needs 12)
SettingMethodAccuracy (%)Layers
ReferenceFull depth (32 loops)61.52132.0
Same threshold
ϵ=0.07\epsilon = 0.07Baseline61.07±0.3461.07 \pm 0.3449.7
FlyingStart (ours)61.34±0.2461.34 \pm 0.2443.1 (−13%)
ϵ=0.1\epsilon = 0.1Baseline60.35±0.1360.35 \pm 0.1344.3
FlyingStart (ours)60.46±0.2360.46 \pm 0.2337.7 (−15%)
Same budget
≈35 layersBaseline (ϵ=0.2\epsilon = 0.2)56.37±0.0556.37 \pm 0.0534.5
FlyingStart (ours)59.70±0.3059.70 \pm 0.3035.1
10 loopsFixed depth59.85±0.3659.85 \pm 0.3644.0
FlyingStart (ours)60.82±0.2560.82 \pm 0.2544.0

Throughput Gains

  • Batched serving (batch size 128): Baseline needs 12 loops, FlyingStart 10 → throughput rises from 997 to 1,155 tokens/s (+16%)
  • CDB engine: 533 vs. 628 tokens/s (+18%)
  • Batch size 1: Per-token latency falls from 55.8 to 47.7 ms at fixed depth (−15%)
  • Self-speculative decoding (WaveFront): FlyingStart adds 10% at default d=4d=4 and 14% with state-change exit
DecodingdStartAcc.SpeedupGainAccept
Verification at 32 loops (lossless)
WaveFront4rand.36.392.74×0.926
WaveFront4FS36.323.02×+10%0.957
State-change exit, ϵ=0.085\epsilon = 0.085
WaveFront3rand.34.043.50×0.892
WaveFront2FS34.193.98×+14%0.912

Generalization to Faster-Converging Models

On retrofitted Llama and OLMo models (which reach full-depth accuracy within six loops):

  • Predicted saving: ~0.7 loops; measured: 0.6–0.9
  • At two loops: +3.2 points on Llama (z = 6.29), +2.1 on OLMo (z = 4.31)
  • Forecast test on TinyLlama: predicted 0.71 loops saved; measured 0.56–0.85

Start Quality Analysis

Starting point xj(0)x_j^{(0)}Huginn WikiHuginn MathLlama WikiLlama Math
Random (model default)1.171.171.001.00
Copy of previous state xj−1⋆x_{j-1}^\star1.091.091.381.39
Linear map of eje_j0.860.810.590.56
Linear map of xj−1⋆x_{j-1}^\star0.830.720.640.57
Linear map of both (ours)0.730.650.520.48

Table: Held-out relative error ∥xj(0)−xj⋆∥/∥xj⋆∥\|x_j^{(0)} - x_j^\star\|/\|x_j^\star\| (lower is closer).

Validation of the Contraction Law

  • Equation 3 predicts 1.8 loops saved on Huginn; measured: 1.7
  • Per-token validation: sorted into quintiles of predicted saving, measured savings rise from 1.05 to 2.32 loops against predicted 1.15 to 2.27 (regression slope 1.16, 95% CI [0.97, 1.38])
  • Huginn's per-loop contraction ratio: nearly constant at 0.74–0.75

Theoretical and Practical Implications

Theoretical Contributions

  1. A new degree of freedom for inference: The paper establishes that where the iteration starts is a separate, controllable lever from when it stops, with a precise theoretical account of what a better start buys.

  2. Predictive law for savings: Equation 3 (Δk=log⁡(drand/dinit)/log⁡(1/ρ)\Delta k = \log(d_{\text{rand}}/d_{\text{init}})/\log(1/\rho)) gives practitioners a closed-form way to predict, before evaluation, how many loops a warm start will save—requiring only two measurable quantities.

  3. Safety guarantee: Proposition 1(c) shows the exit rule certifies the same distance to the fixed point from any start, meaning the warm start can never hurt accuracy—only efficiency.

  4. Characterization of adaptive exit: Proposition 1(d) explains why per-token adaptive exit only beats fixed depth when starts are informative (token-specific), providing a theoretical justification for learned warm starts beyond raw speed.

Practical Implications

  1. Immediate deployment: FlyingStart can be switched on for deployed models—it requires no retraining, no verification pass, and composes with existing stopping rules, batching schemes, and speculative decoders.

  2. Cost-benefit prediction: The theory identifies which models benefit most: those that need many loops to converge (slow contraction rate ρ\rho). Fast-converging models gain little beyond tight budgets.

  3. Energy and hardware savings: 14–19% fewer decoding layers translates directly to reduced energy and hardware costs for serving.

  4. Calibration requirements: The method needs only a small amount of in-domain data (160 sequences from GSM8K training split suffice for math; code calibration improves out-of-domain code performance).

Why Other Levers Fail

  • Anderson acceleration: Worse than plain iteration or diverges—consecutive increments point in opposing directions for the first four loops
  • LoRA adapters: Improve only the first step; later steps still contract at 0.70–0.75
  • Fine-tuned students: Lose 4–5 points at the same depth
  • Closer but non-token-specific starts (mean fixed point, all-zeros, per-dimension affine): Save fewer loops than the law predicts

Conclusion

FlyingStart demonstrates that for recurrent-depth language models, where to start iterating is a separate and inexpensive lever from when to stop. A linear map of the previous token's state and the current input—calibrated in closed form within minutes—removes one to two loops per token on a frozen model, preserves the exit rule's certificate, and composes with stopping rules, batching, and self-speculative decoding.

A contraction law predicts the saving from two measurable quantities (starting distance ratio and contraction rate) and tells practitioners in advance which models benefit most: those needing many loops to converge.

Limitations

  • Prefill: Only the input-conditioned part of the map applies (positions processed in parallel); helps only when prefill is shallow
  • Model scope: Applies to models whose iteration converges to a start-independent fixed point (Huginn, retrofitted models); non-convergent models (e.g., Ouro) have no fixed point to predict
  • Domain dependence: Savings are smaller on formats outside the calibration data (zero-shot, code generation)

Future Directions

  • Token-specific starts for parallel prefill
  • Training models whose fixed points are easier to predict
  • Extending the approach to other looped model architectures

Key Mathematical Results

Warm-start initialization (Equation 1):

xj(0)=Wzj,zj=[ej;x^j−1;1]x_j^{(0)} = W z_j, \qquad z_j = [e_j; \hat{x}_{j-1}; 1]

Ridge-regression calibration (Equation 2):

W=(∑jxj⋆zj⊤)(∑jzjzj⊤+λI)−1W = \left(\sum_j x_j^\star z_j^\top\right)\left(\sum_j z_j z_j^\top + \lambda I\right)^{-1}

Loop-saving law (Equation 3):

Δk=log⁡(drand/dinit)log⁡(1/ρ)\Delta k = \frac{\log(d_{\text{rand}}/d_{\text{init}})}{\log(1/\rho)}

Certificate bound (Proposition 1c):

∥x(k)−x⋆∥≤ρ1−ρϵ∥x(k)∥\|x^{(k)} - x^\star\| \leq \frac{\rho}{1-\rho}\epsilon\|x^{(k)}\|

where ρ<1\rho < 1 is the contraction rate, drandd_{\text{rand}} and dinitd_{\text{init}} are the starting distances from the fixed point for random and learned starts, respectively, and ϵ\epsilon is the exit threshold.

Related papers