Reproduce “Self-Speculation for Faster Reasoning Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ravisri Valluri, Tung Nguyen, Aditya Grover

Self-Speculation for Reasoning Models (SSR) introduces a training-free decoding method that leverages a language model's partial Chain-of-Thought (CoT) as a draft to accelerate end-to-end generation, achieving up to 24.1% latency reduction on long-form code generation tasks with 4B-class models. The approach integrates concurrent draft generation and suffix decoding to maximize draft reuse beyond initial mismatches.

Key insights

  • Partial Chain-of-Thought responses induce answer distributions that progressively converge towards the full-budget response, making intermediate CoT states valuable for self-speculation.
  • Concurrent execution of draft generation with ongoing CoT reasoning can effectively hide the computational overhead of drafting, leading to wall-clock latency reductions.
  • Suffix decoding significantly improves draft acceptance by recovering long matching spans of text that would otherwise be discarded in traditional prefix-only speculative decoding, especially for structured and long-form generations.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.