Slow-Fast Inference: Training-Free Inference Acceleration via Within-Sentence Support Stability
Organizations: National University of Singapore · ByteDance
Abstract
Long-context autoregressive decoding remains expensive because each decoding step must repeatedly process a growing history. We observe a consistent pattern during decoding: within a sentence, and more generally within a short semantically coherent span, the dominant attention support often remains largely stable. Motivated by this observation, we propose Slow-Fast Inference (SFI), a training-free decoding framework that decouples generation into frequent low-cost fast steps and occasional dense-attention slow steps. Fast steps reuse a compact sparse memory for efficient decoding. Slow steps are triggered near semantic boundaries. At slow steps, the model revisits the broader context and uses the Selector to refresh the selected memory for subsequent fast steps. Across the evaluated context lengths, SFI delivers approximately -- higher decoding throughput while generally maintaining quality on par with the full-KV baseline across long-context and long-CoT settings. Because SFI is training-free and applies directly to existing checkpoints, it offers a practical path to reducing inference cost for contemporary autoregressive reasoning models in long-context, long-horizon, and agentic workloads.
Figures & tables
| Retention Ratio (%) | 1.6 | 6.3 | 12.5 | 25.0 | 37.5 | 50.0 | 75.0 | 98.4 | 100 |
| Speedup | 10.67 | 9.56 | 7.15 | 3.96 | 2.75 | 2.10 | 1.43 | 1.10 | 1.00 |
| Qwen3-4B | Qwen3-30B-A3B | Qwen3-235B-A22B | |||||
| Category | Task | Slow | SFI (Ours) | Slow | SFI (Ours) | Slow | SFI (Ours) |
| Single-Doc QA | Qasper | 40.60 | 44.20 3.6 | 38.96 | 42.14 3.2 | 45.77 | 44.67 |
| MultiFieldQA-en | 46.56 | 49.31 2.8 | 50.32 | 53.22 2.9 | 51.21 | 50.92 | |
| MultiFieldQA-zh | 61.21 | 63.81 2.6 | 63.42 | 66.00 2.6 | 67.08 | 66.37 | |
| Multi-Doc QA | HotpotQA | 55.34 | 59.00 3.7 | 61.68 | 63.37 1.7 | 67.13 | 67.65 0.5 |
| 2WikiMQA | 42.02 | 44.50 2.5 | 54.68 | 55.98 1.3 | 64.14 | 65.31 1.2 | |
| Backbone | Method | Overall | Easy | Hard | Short | Medium | Long |
| Qwen3-4B | Slow | 34.2 | 37.5 | 32.2 | 35.0 | 33.5 | 34.3 |
| SFI (Ours) | 34.8 0.6 | 38.5 1.0 | 32.5 | 35.0 | 34.9 1.4 | 34.3 | |
| Qwen3-30B-A3B | Slow | 35.1 | 36.0 | 34.6 | 38.5 | 32.8 | 28.6 |
| SFI (Ours) | 35.1 | 36.0 | 34.6 | 38.5 | 32.8 | 28.6 | |
| Qwen3-235B-A22B | Slow | 46.0 | 50.0 | 43.7 | 48.0 | 44.1 | 47.6 |
| SFI (Ours) | 46.0 | 50.0 | 43.7 | 47.5 | 44.1 | 52.4 4.8 |
| Difficulty | Context Length | |||||
| Method | Easy | Hard | Short | Medium | Long | Avg. |
| Slow | 37.50 | 32.20 | 35.00 | 33.50 | 34.30 | 34.20 |
| StreamingLLM ( Xiao et al., 2024b ) | 39.58 | 26.69 | 36.67 | 28.84 | 28.70 | 31.61 |
| TOVA ( Oren et al., 2024 ) | 38.54 | 27.65 | 36.11 | 31.63 | 25.00 | 31.81 |
| Think ( Xu et al., 2025b ) | 36.98 | 27.65 | 31.67 | 31.63 | 29.63 | 31.21 |
| SnapKV ( Li et al., 2024 ) | 36.98 | 29.26 | 36.11 | 32.56 | 25.00 | 32.21 |
| Model | GPQA | MMLU | ||
| Slow | SFI (Ours) | Slow | SFI (Ours) | |
| Qwen3-4B-Thinking-2507 | 64.14 | 63.70 | 63.00 | 63.00 |
| Qwen3-30B-A3B-Thinking-2507 | 69.70 | 71.21 | 70.90 | 70.60 |
| Qwen3-235B-A22B-Thinking-2507 | 80.80 | 80.80 | 90.09 | 90.30 |
| S-QA | M-QA | Summ. | Few-shot | Synthetic | Code | Avg. | |
| 0.005 | 43.05 | 50.32 | 21.64 | 64.24 | 72.33 | 24.74 | 46.05 |
| 0.02 | 43.14 | 50.29 | 21.73 | 64.21 | 72.40 | 24.83 | 46.10 |
| 0.05 | 43.02 | 50.27 | 21.60 | 64.21 | 72.33 | 24.81 | 46.04 |
| 0.15 | 42.95 | 50.20 | 21.53 | 64.00 | 72.33 | 24.89 | 45.98 |
| 0.25 | 42.60 | 49.95 | 21.66 | 63.85 | 72.17 | 24.90 | 45.86 |
| 0.40 | 42.23 | 50.28 | 21.58 | 63.48 | 72.50 | 24.69 | 45.79 |
| S-QA | M-QA | Summ. | Few-shot | Synthetic | Code | Avg. | ||
| (a) Varying with fixed | ||||||||
| 0.00 | 0.0 | 43.21 | 50.02 | 21.80 | 64.39 | 72.35 | 25.22 | 46.52 |
| 0.15 | 0.0 | 42.98 | 50.55 | 21.62 | 64.44 | 72.48 | 24.90 | 46.55 |
| 0.25 | 0.0 | 43.44 | 50.63 | 21.66 | 64.26 | 72.33 | 24.82 | 46.61 |
| 0.35 | 0.0 | 43.45 | 50.29 | 21.84 | 64.44 | 72.33 | 25.06 | 46.70 |
| 0.50 | 0.0 | 43.19 | 50.11 | 21.62 | 64.29 | 72.19 | 24.82 | 46.45 |
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,084 papers