Learning to Reason Across Parallel Samples for LLM Reasoning

Jianing Qi, Xi Ye, Hao Tang, Zhigang Zhu, Eunsol Choi · DOI

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:

  1. Parallel Generation: A frozen base LLM (e.g., Qwen-2.5-7B) generates $K$ independent candidate solutions.
  2. Sequential Aggregation: These $K$ solutions are concatenated and processed by the SSA, a smaller, trainable LLM (ranging from 0.5B to 3B parameters).
Comparison of Parallel, Sequential, and Hybrid (SSA) reasoning methods.

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.

Average accuracy of SSA variants compared to PRM and Majority Vote as the number of candidate solutions (k) increases across different base model sizes.

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

BibTeX
@inproceedings{qi2025learning,
  author = {Jianing Qi and Xi Ye and Hao Tang and Zhigang Zhu and Eunsol Choi},
  title = {{Learning to Reason Across Parallel Samples for LLM Reasoning}},
  booktitle = {ER @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=lVjZPH9Zyq},
}
Figure