Abstract
Scaling test-time compute has emerged as a critical lever for enhancing the reasoning capabilities of Large Language Models (LLMs). However, current search strategies often suffer from "Solution-Level Bias," where compute is disproportionately allocated to redundant reasoning paths. This paper introduces Direction-Oriented Resource Allocation (DORA), a provably optimal strategy that leverages semantic clustering to identify and prioritize unique reasoning directions. By reweighting Process Reward Model (PRM) scores based on semantic uniqueness, DORA achieves state-of-the-art performance on challenging mathematical benchmarks like MATH500 and AIME, requiring up to 3.5x less compute than existing state-of-the-art methods.
Introduction
The "scaling laws" of LLMs have traditionally focused on pre-training data and parameter counts. Recently, the focus has shifted toward test-time scaling—allowing models to "think" longer during inference through search and multiple rollouts. While effective, this approach is computationally expensive. A central challenge in test-time scaling is resource allocation: given a fixed budget of rollouts, which partial reasoning paths should the model continue to explore?
Existing methods, such as Beam Search or REBASE, typically allocate resources based on individual solution scores. This paper identifies a fundamental flaw in this approach: it ignores the semantic redundancy between solutions. If a model generates multiple minor variations of the same incorrect path, standard methods may exhaust the compute budget on these redundant "distractors," neglecting unique but promising alternatives.
The Redundancy Problem: Solution-Level Bias
The authors characterize the inefficiency of current search methods as Solution-Level Bias. In complex reasoning tasks, LLMs often produce clusters of highly similar reasoning chains. If a reward model assigns high scores to a specific (but ultimately incorrect) cluster, a search algorithm might allocate all remaining rollouts to that cluster. This redundancy leads to a massive waste of inference-time FLOPs, as the search fails to explore diverse "directions" in the solution space.
The DORA Framework
To address this, the researchers propose DORA, a framework designed to ensure that every rollout counts by focusing on semantic diversity. The DORA pipeline consists of four key stages:
- Semantic Embedding: Candidate reasoning paths are transformed into high-dimensional vectors using a pretrained embedding model (e.g., BGE-M3).
- Soft Clustering: Rather than using rigid categories, DORA computes a cosine similarity matrix between all candidates. A row-wise softmax operation is applied to determine the "semantic uniqueness" of each path relative to the others.
- Reweighting: The scores provided by a Process Reward Model (PRM) are adjusted based on this uniqueness. Paths that are part of a dense cluster of similar solutions are "downweighted," while semantically distinct paths are prioritized.
- Proportional Allocation: The remaining rollout budget is distributed proportionally to these diversity-adjusted weights, ensuring a balanced exploration of the reasoning space.
Theoretical Foundation: The Confidence Spectrum
A significant contribution of this work is the formalization of test-time search as a Bayesian resource allocation problem. By placing a Beta prior over success probabilities, the authors derive an optimal allocation formula that incorporates a confidence parameter (kappa).
This theoretical framework reveals that existing search strategies are actually special cases of DORA:
- Beam Search represents the "exploit-only" extreme, optimal when there is 100% confidence in the reward model.
- Temperature Sampling represents the "explore-everything" extreme, optimal when confidence in the reward model is zero.
DORA provides the mathematical bridge between these two, allowing for a principled balance between exploitation and exploration based on the reliability of the PRM.
Experimental Evaluation
The researchers evaluated DORA against several strong baselines, including Beam Search, Diverse Verifier Tree Search (DVTS), and REBASE, across a suite of difficult math benchmarks: MATH500, AIME 2024/2025, HMMT, and AMC.
Efficiency and Performance
DORA demonstrated remarkable compute efficiency. On the MATH500 benchmark, DORA achieved higher accuracy using only 64 rollouts than the REBASE baseline achieved with 256 rollouts. This represents a 3.5x reduction in total FLOPs and a 4x speedup in inference latency while maintaining or improving accuracy.
Scaling on Hard Problems
The benefits of DORA become more pronounced as problem difficulty increases. On "Level 5" math problems—the most challenging tier—the performance gap between DORA and traditional methods widened significantly. This suggests that as reasoning chains grow longer and more complex, the ability to prune redundant branches becomes increasingly vital.
Conclusion and Future Work
DORA represents a significant step forward in making test-time scaling practical for real-world applications. By shifting the focus from individual solutions to semantic directions, it maximizes the utility of every additional FLOP.
While DORA currently relies on the accuracy of external PRMs and assumes a static confidence level, future research could explore "dynamic confidence" models where the allocation strategy evolves as the model nears a solution. Additionally, extending semantic clustering to non-mathematical domains, such as code generation or creative synthesis, remains a promising frontier for efficient LLM reasoning.
Summary updated