FlyingStart: Learned Cross-Token Warm Starts for Fixed-Point Decoding in Recurrent-Depth Language Models
Organizations: University of Illinois Urbana-Champaign · University of Tübingen · 3Xi’an Jiaotong University
Abstract
Recurrent-depth language models generate each token by iterating a shared block of layers until its hidden state converges. Inference methods for these models decide when to stop the iteration, yet every token still starts from random noise and pays the full cost of converging. We show that where the iteration starts is a second, independent lever. A token's fixed point is predictable from the state at which the previous token stopped, after a learned change of coordinates, and we introduce FlyingStart, a linear warm start that is fitted in closed form on the frozen model and costs under 5% of one loop. The iteration and its stopping rule are unchanged, so the exit criterion certifies the same distance to the fixed point from any start: a better start removes loops at unchanged accuracy. 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. A contraction analysis predicts the number of loops saved on all four models we study, including one where the prediction was recorded before any evaluation, and token by token on Huginn, and it identifies when a warm start pays off: the saving grows with the number of loops a model needs to converge.
Figures & tables
| Huginn | Llama | |||
| Starting point | Wiki | Math | Wiki | Math |
| Random (model default) | 1.17 | 1.17 | 1.00 | 1.00 |
| All zeros | 1.00 | 1.00 | 1.00 | 1.00 |
| Copy of previous state | 1.09 | 1.09 | 1.38 | 1.39 |
| Copy of prelude output | 1.34 | 1.34 | 1.03 | 1.05 |
| Linear map of | 0.86 | 0.81 | 0.59 | 0.56 |
| Setting | Method | Accuracy (%) | Layers |
|---|---|---|---|
| Reference | Full depth (32 loops) | 61.52 | 132.0 |
| Same threshold: fewer layers | |||
| Baseline | 61.07 0.34 | 49.7 | |
| FlyingStart (ours) | 61.34 0.24 | 43.1 ( 13%) | |
| Baseline | 60.35 0.13 | 44.3 | |
| FlyingStart (ours) | 60.46 0.23 | 37.7 ( 15%) | |
| Decoding | Start | Acc. | Speedup | Gain | Accept | |
|---|---|---|---|---|---|---|
| Verification at 32 loops (lossless) | ||||||
| Token by token | – | rand. | 37.15 | 1.00 | – | |
| WaveFront | 4 | rand. | 36.39 | 2.74 | 0.926 | |
| WaveFront | 4 | FS | 36.32 | 3.02 | +10% | 0.957 |
| State-change exit, | ||||||
| Token by token | – | rand. | 34.34 | 2.22 | – | |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Prefill start | ||||
|---|---|---|---|---|
| Random | Parallel (ours) | Layers per problem | ||
| 8 | 53.29 | 55.08 | +3.29 | 31k ( 71%) |
| 12 | 59.26 | 58.86 | 0.93 | 44k ( 59%) |
| 16 | 60.10 | 60.20 | +0.29 | 57k ( 47%) |
| 24 | 60.83 | 60.91 | +0.28 | 82k ( 24%) |
| 32 | 61.22 | – | – | 108k ( 0.4%) |
| Configuration | GSM8K | SVAMP | MultiArith | ASDiv | Pooled | Loops | Layers |
|---|---|---|---|---|---|---|---|
| Reference | |||||||
| Full depth (32 loops) | 43.37 | 59.10 | 85.83 | 66.98 | 61.52 | 32.00 | 132.0 |
| Fixed 8 | 38.59 | 56.10 | 81.67 | 63.87 | 57.88 | 8.00 | 36.0 |
| Fixed 10 | 41.62 | 58.40 | 84.67 | 65.72 | 60.26 | 10.00 | 44.0 |
| Fixed 12 | 43.29 | 59.10 | 85.83 | 66.79 | 61.42 | 12.00 | 52.0 |
| Strongest baseline (state-change exit, 1 KV entry) | |||||||
| Configuration | GSM8K | SVAMP | MultiArith | ASDiv | Pooled | Loops | Layers |
|---|---|---|---|---|---|---|---|
| Reference | |||||||
| Full depth (32 loops) | 55.42 | 67.60 | 93.00 | 83.14 | 74.04 | 32.00 | 200.0 |
| Fixed 2 | 42.08 | 59.30 | 90.50 | 77.44 | 66.23 | 2.00 | 20.0 |
| Fixed 3 | 50.95 | 66.10 | 93.50 | 80.96 | 71.72 | 3.00 | 26.0 |
| Fixed 4 | 54.44 | 67.00 | 92.33 | 82.21 | 73.20 | 4.00 | 32.0 |
| Fixed 5 | 54.51 | 66.90 | 92.00 | 82.49 | 73.28 | 5.00 | 38.0 |
| Configuration | GSM8K | SVAMP | MultiArith | ASDiv | Pooled | Loops | Layers |
|---|---|---|---|---|---|---|---|
| Reference | |||||||
| Full depth (32 loops) | 45.64 | 64.10 | 87.50 | 78.09 | 68.02 | 32.00 | 264.0 |
| Fixed 2 | 33.66 | 56.20 | 79.50 | 72.07 | 59.85 | 2.00 | 24.0 |
| Fixed 3 | 41.62 | 62.00 | 89.33 | 77.03 | 66.33 | 3.00 | 32.0 |
| Fixed 4 | 44.28 | 63.10 | 89.17 | 77.54 | 67.43 | 4.00 | 40.0 |
| Fixed 5 | 44.28 | 64.00 | 88.50 | 77.81 | 67.64 | 5.00 | 48.0 |
| Wikipedia | Code (MBPP) | ||||||
| Model | Configuration | Layers | Flip (%) | NLL | Layers | Flip (%) | NLL |
| Huginn | Full depth | 132.0 | 0.00 | 2.1352 | 132.0 | 0.00 | 1.0967 |
| Baseline =0.05 | 51.2 | 2.87 | 2.1349 | 53.0 | 1.41 | 1.0970 | |
| Baseline =0.07 | 46.4 | 3.60 | 2.1364 | 47.9 | 1.87 | 1.0974 | |
| Baseline =0.1 | 41.6 | 4.67 | 2.1385 | 42.8 | 2.54 | 1.0984 | |
| Baseline =0.15 | 36.3 | 6.34 | 2.1464 | 37.2 | 3.71 | 1.1048 | |
| Batch 32 | Batch 128 | |||
| Configuration | Sync | Async | Sync | Async |
| Full depth | 206 | – | 420 | – |
| Baseline =0.07 | 259 | 296 | 411 | 732 |
| Baseline =0.1 | 312 | 334 | 483 | 808 |
| FlyingStart (ours) =0.085 | 305 | 358 | 508 | 871 |
| FlyingStart (ours) =0.1 | 327 | 388 | 542 | 921 |
| Configuration | GSM8K (0-shot) | MATH-500 | MBPP | HumanEval | Pooled | Layers |
| Full depth | 33.51 | 19.80 | 29.26 | 19.51 | 28.97 | 132.0 |
| Fixed 12 | 34.72 | 18.60 | 28.46 | 20.12 | 29.25 | 52.0 |
| Fixed 10 | 33.66 | 19.80 | 28.66 | 23.17 | 29.17 | 44.0 |
| Baseline, | 32.98 | 20.80 | 28.86 | 21.95 | 28.97 | 49.1 |
| Baseline, | 32.83 | 18.60 | 28.66 | 23.17 | 28.49 | 44.4 |
| FlyingStart (ours), fixed 10 | 32.83 | 17.60 | 27.66 | 21.34 | 27.96 | 44.0 |
| BBH (3-shot CoT) | IFEval (0-shot) | |||
| Configuration | Acc. | Layers | Acc. | Layers |
| Full depth (32 loops) | 32.41 | 132.0 | 19.78 | 132.0 |
| Fixed 12 | 32.10 | 52.0 | 20.52 | 52.0 |
| Fixed 10 | 31.85 | 44.0 | 19.04 | 44.0 |
| Baseline, | 31.85 | 45.5 | 21.07 | 47.5 |
| Baseline, | 32.05 | 47.9 | 19.22 | 49.7 |
| , 32-loop verification | exit at | |||||
| Spec-Bench category | Random | FS | Ratio | Random ( ) | FS ( ) | Ratio |
| All 480 | 3.95 | 4.10 | 1.04 | 5.06 | 6.26 | 1.24 |
| Translation | 4.28 | 4.33 | 1.01 | 5.37 | 6.76 | 1.26 |
| Summarization | 3.82 | 3.95 | 1.03 | 4.89 | 5.85 | 1.20 |
| QA | 3.89 | 4.09 | 1.05 | 5.13 | 6.29 | 1.22 |
| Math reasoning | 3.99 | 4.15 | 1.04 | 4.95 | 6.39 | 1.29 |
| Context at depth | Context completed to 32 loops | ||||||
|---|---|---|---|---|---|---|---|
| Layers | (a) per-loop | (b) last loop | (b) + FlyingStart (ours) | Layers | (c) random | (c) + FlyingStart (ours) | |
| 8 | 36 | 34.86 | 57.37 | 59.18 (+3.8) | 132 | 58.21 | 60.24 (+4.6) |
| 12 | 52 | 53.60 | 61.44 | 61.64 (+0.6) | 132 | 61.56 | 61.26 (-1.0) |
| 16 | 68 | 58.41 | 61.32 | 61.28 (-0.2) | 132 | 61.48 | 61.28 (-0.8) |
| Saving at matched accuracy (%) | |||||||
|---|---|---|---|---|---|---|---|
| Exit signal | Threshold | Min. loops | Acc. (%) | Loops | Layers | layers | loops only |
| max. probability | 0.8 | 1 | 10.77 | 10.5 | 65.1 | below frontier | below frontier |
| max. probability | 0.8 | 4 | 45.98 | 10.5 | 58.9 | below frontier | below frontier |
| max. probability | 0.8 | 8 | 60.40 | 13.6 | 69.8 | [ , ] | [ , ] |
| entropy | 1.0 | 1 | 8.37 | 9.5 | 58.9 | below frontier | below frontier |
| entropy | 1.0 | 4 | 37.28 | 8.9 | 49.5 | below frontier | below frontier |
| Criterion (written before the run) | Outcome | Consequence |
|---|---|---|
| Training-free solver changes (Anderson, extrapolation, over-relaxation, copy warm start): no more disagreement than the baseline at 25% fewer layers | failed | solver-side acceleration dropped |
| LoRA jump: relative error after one adapted step | failed (0.65/0.54) | dropped |
| Trained (MLP) initializer: error after 4 loops model’s after 7 | failed | linear map kept |
| Exit and stop decoupled: 15% fewer layers or points at equal layers | failed | dropped |
| Fixed depth with initializer: curve shifted by 1.5 loops; lossless fixed depth | both failed | adaptive exit kept |
| Few-step distilled student: loops at 41.76% on GSM8K | failed (34.1%) | distillation dropped |
| Fallback (%) | Both | Layers / token | Layers saved (%) | Loss, mean | Loss, median | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rule | Base. / FS | select (%) | Base. | FS | mean [2.5, 97.5 pct.] | Base. | FS | Base. | FS | |
| A | 0.5 | 7 / 2 | 93 | 48.4 | 41.7 | 13.8 [-2.7, 23.0] | 0.55 | 0.56 | 0.55 | 0.43 |
| 1 † | 0 / 0 | 100 | 46.1 | 39.5 | 14.4 [9.1, 22.8] | 0.84 | 0.92 | 0.55 | 0.94 | |
| 1.5 | 0 / 0 | 100 | 44.4 | 37.5 | 15.4 [9.1, 20.9] | 1.41 | 1.44 | 1.42 | 1.42 | |
| 2 | 0 / 0 | 100 | 42.9 | 35.8 | 16.3 [8.9, 20.9] | 1.92 | 1.70 | 1.97 | 1.73 | |
| B | 0.5 | 83 / 58 | 13 | 51.4 | 48.4 | 5.7 [-11.2, 23.0] | 0.66 | 0.55 | 0.51 | 0.35 |
| Configuration | Seed 0 | Seed 1 | Seed 2 | Mean | SD | Layers |
|---|---|---|---|---|---|---|
| Baseline, | 61.46 | 60.93 | 60.83 | 61.07 | 0.34 | 49.7 |
| Baseline, | 60.24 | 60.50 | 60.30 | 60.35 | 0.14 | 44.3 |
| Baseline, | 58.82 | 58.80 | 58.53 | 58.72 | 0.16 | 38.5 |
| Baseline, | 56.32 | 56.42 | 56.36 | 56.37 | 0.05 | 34.5 |
| Fixed, 12 loops | 61.42 | 61.07 | 61.03 | 61.17 | 0.21 | 52.0 |
| Fixed, 10 loops | 60.26 | 59.59 | 59.71 | 59.85 | 0.36 | 44.0 |
| Start | Acc. | Steps/tok | Loops/tok | Tok/s | |
|---|---|---|---|---|---|
| 4 | Random | 43.59 | 1.105 | 42.5 | 17.8 |
| 4 | Copy | 43.06 | 1.106 | 42.3 | 18.2 |
| 4 | FlyingStart (ours) | 42.68 | 1.095 | 39.0 | 18.2 |
| 2 | Random | 42.23 | 1.386 | 65.8 | 20.1 |
| 2 | FlyingStart (ours) | 42.76 | 1.354 | 62.3 | 19.9 |
| 1 | Random | 39.58 | 2.067 | 119.1 | 18.8 |
LLM Inference Acceleration
LLM inference acceleration develops algorithms and systems that reduce language-model latency, memory use, and serving cost while preserving output quality.
See all 1,277 papers