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:
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 of token satisfy with . Let and :
- (a) Same answer: from every start, so the start cannot change what the model converges to.
- (b) Fewer loops: . Lowering from to lowers the number of loops needed to reach any tolerance by , up to rounding.
- (c) Same certificate: If the exit rule fires at loop , then , whatever the start.
- (d) Adaptive exit needs spread: If every token starts at the same and contracts at the same exact rate , 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: (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 with:
where is the prelude output, is the previous token's exit state, and is a learned linear map. The model then iterates from 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
is the ridge-regression solution mapping to the full-depth state on a calibration set:
with 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 parameters for hidden size (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 : FlyingStart needs 40.1 layers/token vs. baseline's 46.8 (−14%)
- Saving at matched accuracy: 16.6% at (95% CI [14.1, 23.5]), 18.9% at
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)
| Setting | Method | Accuracy (%) | Layers |
|---|---|---|---|
| Reference | Full depth (32 loops) | 61.52 | 132.0 |
| Same threshold | |||
| Baseline | 49.7 | ||
| FlyingStart (ours) | 43.1 (−13%) | ||
| Baseline | 44.3 | ||
| FlyingStart (ours) | 37.7 (−15%) | ||
| Same budget | |||
| ≈35 layers | Baseline () | 34.5 | |
| FlyingStart (ours) | 35.1 | ||
| 10 loops | Fixed depth | 44.0 | |
| FlyingStart (ours) | 44.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 and 14% with state-change exit
| Decoding | d | Start | Acc. | Speedup | Gain | Accept |
|---|---|---|---|---|---|---|
| Verification at 32 loops (lossless) | ||||||
| WaveFront | 4 | rand. | 36.39 | 2.74× | 0.926 | |
| WaveFront | 4 | FS | 36.32 | 3.02× | +10% | 0.957 |
| State-change exit, | ||||||
| WaveFront | 3 | rand. | 34.04 | 3.50× | 0.892 | |
| WaveFront | 2 | FS | 34.19 | 3.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 | Huginn Wiki | Huginn Math | Llama Wiki | Llama Math |
|---|---|---|---|---|
| Random (model default) | 1.17 | 1.17 | 1.00 | 1.00 |
| Copy of previous state | 1.09 | 1.09 | 1.38 | 1.39 |
| Linear map of | 0.86 | 0.81 | 0.59 | 0.56 |
| Linear map of | 0.83 | 0.72 | 0.64 | 0.57 |
| Linear map of both (ours) | 0.73 | 0.65 | 0.52 | 0.48 |
Table: Held-out relative error (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
-
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.
-
Predictive law for savings: Equation 3 () gives practitioners a closed-form way to predict, before evaluation, how many loops a warm start will save—requiring only two measurable quantities.
-
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.
-
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
-
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.
-
Cost-benefit prediction: The theory identifies which models benefit most: those that need many loops to converge (slow contraction rate ). Fast-converging models gain little beyond tight budgets.
-
Energy and hardware savings: 14–19% fewer decoding layers translates directly to reduced energy and hardware costs for serving.
-
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):
Ridge-regression calibration (Equation 2):
Loop-saving law (Equation 3):
Certificate bound (Proposition 1c):
where is the contraction rate, and are the starting distances from the fixed point for random and learned starts, respectively, and is the exit threshold.
Related papers
- CoT-Proxy: Cross-Format Transfer for Distilling Long-Horizon Policies
Distilling a long-horizon policy from teacher actions alone, without chain-of-thought, transfers successfully via an empty reasoning block plus KL replay regularization, enabling closed-teacher distillation.
- When Every Rollout Fails: Splicing Learner-Conditioned Options into Long-Horizon Agent RL
SPLICE recovers learning signal from all-fail RL groups by splicing local proposal-model options into failed trajectories, beating GRPO by up to 9.8 points with 17.5% less computation.
- Third Eye: Beyond Immediate Gains in Recursive Self-Improvement
Third Eye shows a model's immediate performance after self-update can look neutral while a further native update causes significant utility decline, varying by backbone.