Large Reasoning Models (LRMs) like DeepSeek-R1 have demonstrated that allowing models to "think longer"—generating extended chains of thought—can significantly improve their problem-solving capabilities. Currently, the standard method to enhance these models at inference time is through parallel thinking, where multiple independent reasoning paths are generated and the most common answer is selected (Self-Consistency).
However, this approach has notable inefficiencies. Decoding Tree Sketching (DTS) is a novel, plug-and-play inference framework designed to address these flaws, boosting LRM performance by up to 14% without requiring any additional training.
The Problem: Redundancy and the Repetition Curse
The authors identify two major bottlenecks in standard parallel thinking:
- Redundancy: Independent sampling often explores the exact same reasoning paths repeatedly. This blind sampling fails to effectively cover the diverse "reasoning space" available to the model.
- The Repetition Curse: LRMs frequently get stuck in infinite loops, generating repetitive gibberish that consumes the token budget without ever reaching a valid conclusion.
DTS replaces this blind sampling with a structured exploration of the reasoning tree, guided by a crucial insight: for these models, shorter reasoning is often more accurate.
How DTS Works
DTS introduces a two-stage process that operates entirely during decoding:
1. Selective Branching (The "Sketch")
Branching at every token would lead to an exponential explosion in compute. Instead, DTS identifies critical "decision tokens"—points where the model is confident about a small set of distinct, competing directions. It locates these crossroads using two metrics:
- Entropy: Measures how "spread out" the probability distribution is.
- Varentropy: Measures the variance of the information content.
High varentropy combined with low entropy signals a critical decision point. DTS branches only at these tokens, creating a structural "sketch" of the most promising reasoning trajectories. This ensures that parallel paths are semantically distinct rather than minor variations of the same mistake.
2. Early Termination (The Selection)
The authors observed a striking length-accuracy anti-correlation: shorter reasoning chains are significantly more likely to be correct than longer ones. This phenomenon traces back to the Group Relative Policy Optimization (GRPO) training objective, which mathematically penalizes long, incorrect paths more heavily than short, correct ones.
Leveraging this, DTS prioritizes the first paths to reach an "End of Sentence" (EOS) token:
- DTS-Greedy: Returns the very first completed path.
- DTS-Stable: Collects a small budget of completed paths and applies majority voting.
By prioritizing early finishers, DTS inherently ignores trajectories that have fallen into repetitive reasoning loops, effectively self-correcting the model's tendency to overthink.
Key Results
The researchers evaluated DTS across four challenging reasoning benchmarks: AIME24 and AIME25 (competitive mathematics), GPQA-Diamond (graduate-level science), and LiveBench (logic, math, and coding). The results were highly compelling:
- Massive Accuracy Gains: DTS improved accuracy by an average of 14% across all tested models and datasets.
- David vs. Goliath: Remarkably, small models (like the 1.5B and 7B versions of DeepSeek-Distill-Qwen) equipped with DTS outperformed flagship models 10x their size (such as the 70B Llama-distill or 32B QwQ) under similar computational budgets.
- Efficiency: DTS-Greedy, a single-trajectory variant, frequently outperformed multi-trajectory baselines like Self-Consistency. This proves that where a model branches matters far more than how many samples it takes.
- Repetition Reduction: DTS reduced the rate of repetitive generation by 8% on average, eliminating it entirely in some scenarios.
Limitations and Future Directions
While DTS is more efficient than blind sampling, maintaining multiple active branches (up to 48 in the paper's experiments) still requires significant memory and compute compared to standard single-path inference. Additionally, the system relies on two hyperparameters ($\tau_v$ and $\tau_h$) to determine when to branch; finding the optimal thresholds for new models may require some tuning.
Looking ahead, the authors suggest that the logic behind "tree sketching" could eventually be integrated directly into the training process, evolving from an inference-time module into a foundational component of how Large Reasoning Models are built.
Summary updated