Introduction
Recent advancements in Large Language Models (LLMs), exemplified by models like OpenAI’s o1 and DeepSeek-R1, have demonstrated that "test-time scaling"—increasing computation during inference—can significantly enhance reasoning capabilities. This scaling typically occurs in two dimensions: sequential scaling (generating long Chains-of-Thought) and parallel scaling (generating multiple reasoning branches to find a consensus). However, these techniques introduce massive computational overhead, leading to high latency and resource saturation. This paper introduces SART (Serving LLM Reasoning Efficiently and Accurately), a framework designed to prioritize "short and right" reasoning paths to achieve high accuracy with minimal overhead.
The Challenges of Test-Time Scaling
Deploying reasoning-heavy models faces two primary bottlenecks:
- Prolonged Inference Latency (The Over-thinking Dilemma): Models often generate excessively long, repetitive reasoning paths that do not necessarily improve the final answer but significantly increase the time to first token and total generation time.
- Enlarged Queuing Delays: Running multiple parallel branches for every request consumes vast amounts of GPU memory (KV cache). In a multi-user environment, this leads to "queuing delays" where new requests are blocked because the hardware is saturated by the parallel branches of a few active users.
The SART Framework
SART addresses these challenges through two core strategies integrated into a continuous batching scheduler:
Redundant Sampling with Early Stopping
Instead of the traditional approach of sampling $N$ branches and waiting for all to complete, SART samples $N$ branches but terminates the entire request as soon as a subset $M$ ($M < N$) of branches finishes. This "order statistic" approach mathematically increases the probability that the final answer is derived from the fastest-thinking branches, effectively avoiding the long tail of "over-thinking" paths.
Two-Phase Dynamic Branch Pruning
SART utilizes a Process Reward Model (PRM) to evaluate reasoning steps in real-time:
- Phase 1 (Exploration): A low threshold is used to prune branches that are clearly incorrect early in the generation process.
- Phase 2 (Exploitation): Once the first branch in a set completes, its reward score serves as a high-bar threshold. Any remaining active branches with lower predicted quality are immediately pruned, reclaiming GPU resources for other queued requests.
Empirical Analysis: Length vs. Accuracy
A key insight driving SART is that reasoning length is not a reliable proxy for quality. Empirical analysis on STEM benchmarks like GPQA and GAOKAO reveals that for many queries, the model reaches the correct answer quickly. Excessively long responses often indicate that the model is "stuck" or hallucinating rather than reasoning more deeply.
As shown in the figure above, the highest density of correct responses often occurs at shorter lengths. By prioritizing these "short and right" paths, SART avoids the diminishing returns of extended generation.
Key Results and Conclusion
Evaluated against state-of-the-art models like DeepSeek-R1-Distill-Qwen-14B and Llama-70B, SART demonstrates significant performance gains:
- Efficiency: SART achieves up to a 28.2× (average 15.7×) improvement in serving efficiency compared to standard methods like Self-Consistency while maintaining equivalent accuracy.
- Latency Stability: Unlike vanilla branch sampling, where latency scales linearly with the number of branches, SART’s end-to-end latency remains stable even as parallel scaling increases.
- Accuracy: By filtering out low-quality, over-thinking paths, SART frequently improves the final response accuracy over standard greedy or majority-vote inference.
In conclusion, SART shifts the focus of LLM serving from "thinking long" to "thinking efficiently," proving that managing the reasoning process dynamically can unlock the power of test-time scaling for real-world, high-throughput applications.
Summary updated