Trajectory-Retrieval Speculative Decoding: When Does a Model's Own History Help?
Yuyang Dai, Yushun Dong
Key points
From the paper's conclusion- These findings support generated trajectories as runtime memory for adaptive inference.
Abstract
Long chain-of-thought reasoning increases sequential decoding cost while creating a growing history of potentially reusable continuations. We investigate when this history supplies useful drafts and complements an existing drafter. Controlled source comparisons reveal trajectory-specific reuse, motivating our method Trajectory-Local Adaptive Retrieval (TLAR). TLAR retrieves approximately matched continuations from the current trajectory and uses recent verification outcomes to adapt retrieval activation and candidate width. TLAR combines retrieved continuations with model-generated drafts in a shared candidate tree, preserving the target model's output distribution through exact verification. Across code debugging, mathematics, and open-ended writing, our evaluation connects source reuse, incremental acceptance, and execution cost. Combining TLAR with strong retrieval baselines improves token acceptance under matched verification budgets and increases end-to-end throughput over the draft-model baseline. These findings support generated trajectories as runtime memory for adaptive inference.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- StepBack: Step-Level Error-Localized Resampling for Efficient Test-Time ReasoningarXiv · 2026
- Can Computation from Earlier Problems Help LLMs Solve New Ones?arXiv · 2026
- Where Draft Trees Lose Target Mass: Exit-Guided Speculative DecodingarXiv · 2026
- Extending Reasoning in Typed Decision Models via LoopingarXiv · 2026
- When Should an Agent Refresh? Adaptive Index Reuse for Efficient Long-Horizon ReasoningarXiv · 2026
- REWIND: Uncertainty-Guided Trajectory Repair for Test-Time ReasoningarXiv · 2026