BARSA: An Adaptive Test-Time Scaling Strategy for Mathematical Reasoning under Global Compute Budgets

Yufan Zhao, Yinsicheng Jiang, Cheng Deng, Yeqi Huang, Tairan Xu, Zhan Lu, Luo Mai, Wenda LiAI4Math @ ICML 2026

TL;DR

BARSA (Budget-Aware Recursive Self-Aggregation) is an adaptive strategy that intelligently allocates a fixed "global" time budget across a sequence of difficult math problems. By combining recursive reasoning—where a model learns from its own previous attempts—with a budget-aware scheduler, it achieves higher accuracy and much greater stability than standard fixed-time approaches.

What Problem Does This Paper Address?

In the world of Large Language Models (LLMs), "test-time scaling" is the current frontier. The idea is simple: if you give a model more time to "think" (by sampling many answers or searching a tree of thoughts), it performs better. However, most research assumes a fixed budget per problem.

In reality, tasks like the AI Mathematical Olympiad (AIMO) present a sequence of 50 problems with a single 5-hour global clock. Some problems are easy; others are "AI-hard." A system that spends exactly 6 minutes on every problem is inefficient—it over-thinks the easy ones and gives up too early on the hard ones. The authors tackle the "adaptive allocation" challenge: how do you decide, in real-time, whether to keep digging into a problem or move on to save time for what's ahead?

Methods

The authors introduce BARSA, which merges two distinct components into a single decision engine:

  1. Recursive Self-Aggregation (RSA): Instead of just generating 100 independent answers and picking the most common one (Majority Voting), RSA is iterative. The model generates an initial batch of answers, then looks at those answers as "hints" to generate a second, more refined batch. This allows the model to synthesize partial progress from multiple flawed attempts.
  2. Budget-Aware Scheduler: This is the "brain" that manages the clock. After each round of reasoning, it checks three conditions to decide if it should stop:
  3. Affordability: Based on the remaining time and the estimated cost of another round, can we safely afford to keep going?
  4. Confidence: Is there a clear, dominant majority answer? If the model is already very certain, it stops to save time.
  5. Progress: Is the answer distribution actually improving? If the distribution is stagnant or not converging, the scheduler cuts its losses.

Datasets

The primary evaluation was conducted on the AIMO 3 (AI Mathematical Olympiad Progress Prize 3) leaderboard, which consists of 50 hidden, high-level math problems.

To refine their strategy, the authors also created a curated internal benchmark of 17 "AI-hard" problems. These were sourced from IMO-AnswerBench and filtered to include only problems that a standard "Majority@8" baseline failed to solve, ensuring the benchmark specifically tested the limits of reasoning and budget management.

Key Insights and Ideas

  • The "Deceptive Majority" Trap: The authors identified five classes of answer distributions. The most dangerous are "Class 4" and "Class 5," where the model quickly and confidently converges on a wrong answer. In these cases, more compute actually hurts because the model reinforces its own error.
  • Synthesis over Selection: Standard majority voting requires the correct answer to be present in the first batch. BARSA’s recursive approach can actually "recover" the correct answer in later rounds even if it was entirely absent from the initial attempts, by building on intermediate logic found in the "hints."
  • Joint Design is Crucial: The paper argues that the inference algorithm and the time scheduler shouldn't be separate modules. The scheduler needs to understand the specific "cost structure" of the reasoning steps to make optimal trade-offs.

Key Results

BARSA demonstrated a significant "accuracy-stability tradeoff" improvement on the AIMO 3 public leaderboard:

  • Higher Accuracy: BARSA achieved a mean score of 40.38/50, outperforming standard Majority@8 (36.70) and non-budget-aware RSA (37.91).
  • Rock-Solid Stability: The standard deviation of scores dropped to 0.744, compared to 1.567 for the baseline. This means BARSA is much less likely to have a "bad run" due to poor time management.
  • Final Performance: The system achieved a final private leaderboard score of 41.5.

Limitations and Future Work

The main Achilles' heel of BARSA is the "fast wrong-majority" scenario. If a model is confidently wrong, the confidence-based stopping rule will trigger early, and the system will move on, blissfully unaware of its mistake.

The authors suggest that future work should move beyond simple answer histograms. Instead of just looking at what the answers are, the system could look at "richer signals," such as the internal entropy of the model's "thoughts" or the linguistic consistency of the reasoning chains, to better detect when a confident majority is actually a hallucination.

Summary updated

BibTeX
@inproceedings{zhao2026barsa,
  author = {Yufan Zhao and Yinsicheng Jiang and Cheng Deng and Yeqi Huang and Tairan Xu and Zhan Lu and Luo Mai and Wenda Li},
  title = {{BARSA: An Adaptive Test-Time Scaling Strategy for Mathematical Reasoning under Global Compute Budgets}},
  booktitle = {AI4Math @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=b1cuMvjwDo},
}
Figure