R-Stitch: Dynamic Trajectory Stitching for Efficient Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Chain-of-thought (CoT) enhances the problem-solving ability of large language models (LLMs) but incurs substantial inference cost due to long autoregressive trajectories. Existing acceleration strategies either shorten traces via early stopping or compression, or adopt speculative decoding with a smaller model. However, speculative decoding provides limited gains when model agreement is low and rigidly enforces token-level consistency, overlooking the observation that some smaller models, when correct, produce significantly more concise reasoning traces that could reduce inference length. We introduce R-Stitch, a training-free hybrid decoding framework that leverages token-level entropy as an uncertainty proxy to delegate computation between a small language model (SLM) and an LLM. Our analysis shows that high-entropy tokens are more likely to induce errors, motivating an entropy-guided routing strategy that lets the SLM efficiently handle low-entropy tokens while delegating uncertain ones to the LLM, thereby avoiding full rollbacks and preserving answer quality. We further extend this design with R-Stitch+, which learns an adaptive routing policy to adjust the token budget dynamically beyond fixed thresholds. By jointly reducing per-token decoding complexity and the number of generated tokens, our method achieves substantial acceleration with negligible accuracy loss. Concretely, it attains peak speedups of 3.00× on DeepSeek-R1-Distill-Qwen-7B, 3.85× on 14B, and 4.10× on QWQ-32B while maintaining accuracy comparable to full LLM decoding. Moreover, it naturally enables adaptive efficiency--accuracy trade-offs that can be tailored to diverse computational budgets without retraining.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 48 of its 55 references that are in the map. First posted on arXiv 23 Jul 2025.
Builds on
48 of 55 references.
Closest ancestors · 14
Same direction, newest first
- 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoning10 Jun
- 2025Think Only When You Need with Large Hybrid-Reasoning Models20 May
- 2025AdaptThink: Reasoning Models Can Learn When to Think19 May
- 2025Thinkless: LLM Learns When to Think19 May
- 2025ShorterBetter: Guiding Reasoning Models to Find Optimal Inference Length for Efficient Reasoning30 Apr
- 2025Dynamic Early Exit in Reasoning Models22 Apr
- 2025Reasoning Models Can Be Effective Without Thinking14 Apr
- 2025Concise Reasoning via Reinforcement Learning7 Apr
- 2025ThinkPrune: Pruning Long Chain-of-Thought of LLMs via Reinforcement Learning2 Apr
- 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learning6 Mar
- 2025Reward-Guided Speculative Decoding for Efficient LLM Reasoning31 Jan
- 2024Critic-CoT: Boosting the reasoning abilities of large language model via Chain-of-thoughts Critic29 Aug
2 more
Other references · 34
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2025Qwen3 Technical Reportcited by 8,820
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Visual Instruction Tuningcited by 7,869
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
22 more
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
- 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,136
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 370
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 331
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
- 2025Transfer between Modalities with MetaQueriescited by 236
- 2025ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoningcited by 201
- 2024Are We Done with MMLU?cited by 194
- 2023Planning with Large Language Models for Code Generationcited by 182
- 2024Hydra: Sequentially-Dependent Draft Heads for Medusa Decodingcited by 117
- 2025S*: Test Time Scaling for Code Generationcited by 98
- 2024Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMscited by 96
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 91
- 2024T-Stitch: Accelerating Sampling in Pre-Trained Diffusion Models with Trajectory Stitchingcited by 33
- 2023Stitchable Neural Networkscited by 26
- 2025GRIFFIN: Effective Token Alignment for Faster Speculative Decodingcited by 16
- 2023Stitched ViTs are Flexible Vision Backbonescited by 8
- 2023Efficient Stitchable Task Adaptationcited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2026Neural Chain-of-Thought Search: Searching the Optimal Reasoning Path to Enhance Large Language Modelscited by 8
- 2025Less is More: Improving LLM Reasoning with Minimal Test-Time Interventioncited by 5
- 2026Efficient Test-Time Scaling via Temporal Reasoning Aggregationcited by 3
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Modelscited by 2
- 2026Dissecting Failure Dynamics in Large Language Model Reasoningcited by 2
- 2026RelayGen: Intra-Generation Model Switching for Efficient Reasoningcited by 1
- 2026TokenRouter: Efficient Serving System for Token-Level LLM Routingcited by 0
- 2026TokenRouter: Efficient Serving System for Token-Level LLM Routing8 Oct 2026
- 2026Efficient Test-Time Scaling via Temporal Reasoning Aggregation19 Apr 2026
- 2026Dissecting Failure Dynamics in Large Language Model Reasoning16 Apr 2026
- 2026RelayGen: Intra-Generation Model Switching for Efficient Reasoning6 Feb 2026
- 2026MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Models5 Feb 2026
- 2026Neural Chain-of-Thought Search: Searching the Optimal Reasoning Path to Enhance Large Language Models16 Jan 2026
- 2025Less is More: Improving LLM Reasoning with Minimal Test-Time Intervention15 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Think Twice Before You Write -- an Entropy-based Decoding Strategy to Enhance LLM Reasoning
- 2026Selective Regenerative Decoding: Trajectory-Level Intervention for Inference-Time Reasoning
- 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokens
- 2025R1-Compress: Long Chain-of-Thought Compression via Chunk Compression and Search
- 2025R-Capsule: Compressing High-Level Plans for Efficient Large Language Model Reasoning
- 2025A*-Decoding: Token-Efficient Inference Scaling
- 2025Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning
- 2026Search for Truth from Reasoning: A Dynamic Representation Editing Framework for Steering LLM Trajectories