mlsanityData to 14 Oct 2026

R-Stitch: Dynamic Trajectory Stitching for Efficient Reasoning

arXiv 2507.17307 ↗First posted 23 Jul 2025cs.LG cs.AI cs.CLcited by 7

On the map: LLM reasoning → Test-time compute and efficient thinking

also in 1 more
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

  1. 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoning10 Jun
  2. 2025Think Only When You Need with Large Hybrid-Reasoning Models20 May
  3. 2025AdaptThink: Reasoning Models Can Learn When to Think19 May
  4. 2025Thinkless: LLM Learns When to Think19 May
  5. 2025ShorterBetter: Guiding Reasoning Models to Find Optimal Inference Length for Efficient Reasoning30 Apr
  6. 2025Dynamic Early Exit in Reasoning Models22 Apr
  7. 2025Reasoning Models Can Be Effective Without Thinking14 Apr
  8. 2025Concise Reasoning via Reinforcement Learning7 Apr
  9. 2025ThinkPrune: Pruning Long Chain-of-Thought of LLMs via Reinforcement Learning2 Apr
  10. 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learning6 Mar
  11. 2025Reward-Guided Speculative Decoding for Efficient LLM Reasoning31 Jan
  12. 2024Critic-CoT: Boosting the reasoning abilities of large language model via Chain-of-thoughts Critic29 Aug
2 more
  1. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
  2. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Models17 May

Other references · 34

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2023Visual Instruction Tuningcited by 7,869
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  8. 2021Program Synthesis with Large Language Modelscited by 3,637
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  10. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  11. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  12. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
22 more
  1. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
  2. 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,136
  3. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
  4. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
  5. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
  6. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  7. 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 370
  8. 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 331
  9. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  10. 2025Transfer between Modalities with MetaQueriescited by 236
  11. 2025ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoningcited by 201
  12. 2024Are We Done with MMLU?cited by 194
  13. 2023Planning with Large Language Models for Code Generationcited by 182
  14. 2024Hydra: Sequentially-Dependent Draft Heads for Medusa Decodingcited by 117
  15. 2025S*: Test Time Scaling for Code Generationcited by 98
  16. 2024Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMscited by 96
  17. 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 91
  18. 2024T-Stitch: Accelerating Sampling in Pre-Trained Diffusion Models with Trajectory Stitchingcited by 33
  19. 2023Stitchable Neural Networkscited by 26
  20. 2025GRIFFIN: Effective Token Alignment for Faster Speculative Decodingcited by 16
  21. 2023Stitched ViTs are Flexible Vision Backbonescited by 8
  22. 2023Efficient Stitchable Task Adaptationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Think Twice Before You Write -- an Entropy-based Decoding Strategy to Enhance LLM Reasoning
  2. 2026Selective Regenerative Decoding: Trajectory-Level Intervention for Inference-Time Reasoning
  3. 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokens
  4. 2025R1-Compress: Long Chain-of-Thought Compression via Chunk Compression and Search
  5. 2025R-Capsule: Compressing High-Level Plans for Efficient Large Language Model Reasoning
  6. 2025A*-Decoding: Token-Efficient Inference Scaling
  7. 2025Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning
  8. 2026Search for Truth from Reasoning: A Dynamic Representation Editing Framework for Steering LLM Trajectories