TL;DR
Recursive Self-Aggregation (RSA) is a hybrid test-time scaling method that blends parallel exploration with sequential refinement without requiring external verifiers or complex scaffolding. By treating reasoning as an evolutionary process—iteratively subsampling and aggregating candidate chains of thought across a population—RSA enables smaller models like Qwen3-4B to match or exceed frontier reasoning systems (including DeepSeek-R1 and o3-mini) on demanding benchmarks.
What Problem Does This Paper Address?
Inference-time compute scaling has emerged as a key lever for improving LLM performance without retraining. Currently, test-time scaling splits into two camps:
- Parallel scaling (e.g., Best-of-$N$, majority voting): Explores broad solution paths simultaneously, but cannot deepen or fix broken reasoning steps.
- Sequential scaling (e.g., self-refinement): Iteratively repairs a single solution, but lacks branching and gets stuck in unproductive reasoning dead-ends.
While combining both paradigms into a hybrid approach is attractive, existing hybrid methods often require external learned verifiers, code execution environments, or restrictive assumptions about how thoughts must be structured. The authors tackle this challenge: Can an LLM autonomously cross-reference, recombine, and refine partially correct reasoning steps across multiple candidate solutions over iterative steps without any external reward models or verifiers?
Methods
The paper introduces two complementary components:
- Recursive Self-Aggregation (RSA):
- Initialization: Sample a population of $N$ initial independent solutions $\mathcal{P}_1$ from the base model for a prompt $x$.
- Subsampling: At step $t$, draw $N$ different subsets $S_i^{(t)}$, each containing $K$ candidates sampled uniformly without replacement from $\mathcal{P}_t$.
- Aggregation: Prompt the LLM with the original problem and the $K$ candidate solutions, asking it to evaluate discrepancies, borrow working ideas, and generate an improved solution. This produces a new population $\mathcal{P}_{t+1}$ of size $N$.
- Recursion: Repeat this cycle for $T$ sequential iterations. The final output is chosen via uniform random sampling from $\mathcal{P}_T$ (or majority voting).
- Aggregation-Aware Reinforcement Learning:
- Standard RL fine-tuning optimizes the model to generate correct answers from scratch, which actually hurts its ability to synthesize multiple messy trajectories.
- The authors train an aggregation-aware policy using RLOO (REINFORCE Leave-One-Out) on a 50/50 split of standard prompts and aggregation prompts (the prompt plus $K$ solutions generated by the reference model), teaching the policy to explicitly combine diverse reasoning paths.
[ Initial Population P₁ (N candidates) ]
│
┌────────────────┴────────────────┐
▼ ▼
[ Sample K candidates ] [ Sample K candidates ] ... (N subsets)
│ │
▼ ▼
[ LLM Self-Aggregation ] [ LLM Self-Aggregation ]
└────────────────┬────────────────┘
▼
[ Refined Population P₂ (N candidates) ]
│ (Repeat for T steps)
▼
[ Final Population P_T ──> Sample Answer ]
Datasets
The authors evaluate RSA across four core benchmark domains:
- Competition Mathematics: AIME-25 and HMMT-25 (30 problems each from MathArena).
- Code Generation: LiveCodeBench-v6 (1,055 problems evaluated against execution test cases).
- General Reasoning & Planning: Two 100-problem evaluation suites drawn from Reasoning Gym (Games; Cognition + ARC).
- Graduate Knowledge Recall: SuperGPQA (1,000 sampled multiple-choice questions).
For aggregation-aware RL training, the training set combined 16,000 math problems from DeepScaleR and 2,048 problems each from six Reasoning Gym environments (e.g., Tower of Hanoi, Sokoban, Rush Hour). Notably, no coding tasks were included in RL training.
Key Insights and Ideas
- Bootstrapping from failed paths: Qualitative inspection shows that the LLM does not just pick the single best candidate; it stitches together valid components (e.g., borrowing prime factorizations from one trace and modular bounds from another) and even generates novel deductions missing from all inputs.
- The largest leap is from $K=1$ to $K=2$: Going from single-chain self-refinement ($K=1$) to pairwise aggregation ($K=2$) provides the steepest performance gain, proving that candidate cross-referencing fundamentally outperforms solo self-correction.
- $N$ dictates the ceiling; $K$ dictates mixing speed: $\text{Pass@}N$ functions as the theoretical asymptote for RSA. Larger populations provide a higher $\text{Pass@}N$, but require either more sequential steps ($T$) or larger aggregation groups ($K$) to propagate good reasoning patterns across the pool.
- Standard RL causes a test-time distribution shift: Off-the-shelf RL fine-tuning often degrades test-time aggregation capability compared to the base instruction model. Training with aggregation prompts restores and magnifies performance.
- Out-of-domain transfer: Models trained with aggregation-aware RL strictly on math and puzzle games demonstrated substantial generalization gains on LiveCodeBench-v6 code synthesis (+5.6% to +7.1%), indicating that multi-trace aggregation is a domain-agnostic meta-skill.
Key Results
- Surpassing Larger Reasoning Models: On AIME-25, running RSA on Qwen3-4B-Instruct lifted Pass@1 from 43.91% to 73.18%, outperforming budget-matched majority voting (68.33%) and self-refinement (53.33%).
- Consistent Across Benchmarks: On HMMT-25, RSA improved Qwen3-4B from 27.17% to 47.55% (rising to 55.5% with aggregation-aware RL), rivaling DeepSeek-R1 (54.8%) and o3-mini high (67.5%).
- Model Agnostic: RSA provided broad gains across standard instruction models (Qwen3-30B-A3B) and native thinking/reasoning architectures (Qwen3-4B-Thinking, Nemotron-Nano-9B-v2, and gpt-oss-20b), showing improvements of +19% to +35% on AIME-25 and HMMT-25.
| Task | Qwen3-4B Base | Majority Voting (Budget Matched) | RSA ($K=4, N=16, T=10$) | RSA + Aggregation-Aware RL |
|---|---|---|---|---|
| AIME-25 | 43.91% | 68.33% | 73.18% | 70.6% |
| HMMT-25 | 27.17% | 35.00% | 47.55% | 55.5% |
| LiveCodeBench-v6 | 49.63% | — | 56.72% | 59.2% |
| Reasoning Gym (Games) | 53.88% | 65.15% | 68.98% | 70.6% |
Limitations and Future Work
- Compute & Latency Costs: Generating $N$ candidates over $T$ steps requires $N \times T$ forward passes with increasingly large context windows (incorporating $K$ prior traces).
- Context Window Saturation: Diminishing returns occur beyond $K=3$ or $K=4$, as models struggle to attend effectively to extremely long concatenations of reasoning chains.
- Unfiltered Populations: RSA currently samples subsets uniformly without an explicit fitness function or verifier to prune completely flawed reasoning chains.
- Future Directions: Incorporating self-verification as an explicit fitness filter in the evolutionary loop, and using multi-step RL to optimize the entire sequential aggregation trajectory rather than single-step aggregation.
Summary updated