Abstract
Large Language Models (LLMs) often struggle with complex multi-step reasoning tasks. While test-time scaling techniques like parallel sampling and majority voting offer improvements, they typically treat candidate solutions as isolated instances. This paper introduces the Sample Set Aggregator (SSA), a compact 3B-parameter model designed to analyze a "crowd" of sampled answers simultaneously. By training the SSA with Reinforcement Learning (RL) to reason over concatenated parallel samples, it achieves superior performance compared to traditional heuristics and even massive 72B-parameter process reward models.
Introduction
The challenge of multi-step reasoning in LLMs is often addressed through "test-time scaling," where multiple answers are generated for a single prompt. Current methods for selecting the best answer—such as majority voting or individual "verifier" models—have significant drawbacks. Majority voting is a content-agnostic heuristic, while verifiers evaluate reasoning paths in isolation. The authors propose that a "wisdom of the crowd" exists within the distribution of these samples. The Sample Set Aggregator (SSA) is developed to look at the entire set of candidate answers at once, synthesizing a final conclusion by reasoning across the collective distribution.
Methodology: The Sample Set Aggregator (SSA)
The SSA approach combines parallel sampling with sequential reasoning in a two-stage process:
- Parallel Generation: A frozen base LLM (e.g., Qwen-2.5-7B) generates $K$ independent candidate solutions.
- Sequential Aggregation: These $K$ solutions are concatenated and processed by the SSA, a smaller, trainable LLM (ranging from 0.5B to 3B parameters).
The SSA is optimized using Reinforcement Learning (RL), specifically the Group-Relative Policy Optimization (GRPO) algorithm. The model is rewarded for producing the correct final answer, encouraging it to either select the best candidate or synthesize a new, correct response from the provided context. To manage large sample sets that exceed context windows, a Two-Stage SSA architecture was implemented to aggregate samples in hierarchical groups.
Key Results and Insights
The SSA demonstrates remarkable efficiency and scaling properties. A primary finding is that a 3B-parameter SSA can outperform a 72B-parameter Process Reward Model (PRM), indicating that reasoning over a distribution is more compute-efficient than scoring individual paths.
Key performance metrics include:
- MATH Benchmark: SSA achieved an 8% improvement over naive majority voting (pass@5).
- Cross-Model Generalization: An SSA trained on Qwen samples generalizes effectively to Llama samples, suggesting it learns fundamental "meta-reasoning" patterns rather than model-specific biases.
- Scaling with $K$: Unlike PRMs, which can show unstable performance as the sample pool grows, SSA performance consistently improves as the number of candidate samples ($K$) increases.
Discussion and Future Work
While highly effective, the SSA is limited by the quality of the initial candidate pool; if no correct answer is present among the $K$ samples, the SSA's performance significantly declines. Additionally, long reasoning chains can strain context window limits. Future research aims to scale the number of outputs further and explore "multi-model" SSAs that aggregate samples from diverse LLMs to leverage their complementary strengths.
Summary updated