Plan and Budget: Effective and Efficient Test-Time Scaling on Reasoning Large Language Models

Junhong Lin, Xinyue Zeng, Jie Zhu, Song Wang, Julian Shun +2 more
5/22/2025
32 citations
cs.LG

Official code: junhongmit/P-and-B (20 stars, Python, MIT, last commit 2026-03-02).

Abstract

Large Language Models (LLMs) have achieved remarkable success in complex reasoning tasks, but their inference remains computationally inefficient. We observe a common failure mode in many prevalent LLMs, overthinking, where models generate verbose and tangential reasoning traces even for simple queries.

Show full abstract

Recent work has tried to mitigate this by enforcing fixed token budgets, however, this can lead to underthinking, especially on harder problems. Through empirical analysis, we identify that this inefficiency often stems from unclear problem-solving strategies. To formalize this, we develop a theoretical model, BAM (Budget Allocation Model), which models reasoning as a sequence of sub-questions with varying uncertainty, and introduce the E3 metric to capture the trade-off between correctness and computation efficiency. Building on theoretical results from BAM, we propose Plan-and-Budget, a model-agnostic, test-time framework that decomposes complex queries into sub-questions and allocates token budgets based on estimated complexity using adaptive scheduling. Plan-and-Budget improves reasoning efficiency across a range of tasks and models, achieving up to 70% accuracy gains, 39% token reduction, and 193.8% improvement in E3. Notably, it improves the efficiency of a smaller model (DS-Qwen-32B) to match the efficiency of a larger model (DS-LLaMA-70B), demonstrating Plan-and-Budget's ability to close performance gaps without retraining. Our code is available at https://github.com/junhongmit/P-and-B.

View on arXivView PDF

Code Implementations(1)

junhongmit/P-and-BOfficial100%
MIT

🧠Plan-and-Budget: Training-free test-time reasoning framework for adaptive token allocation in large language models (ICLR 2026).

201PythonMay 12, 20259 months agoMIT

Similar Papers

Cite this paper

@article{lin2025plan,
  title  = {Plan and Budget: Effective and Efficient Test-Time Scaling on Reasoning Large Language Models},
  author = {Junhong Lin and Xinyue Zeng and Jie Zhu and Song Wang and Julian Shun and Jun Wu and Dawei Zhou},
  year   = {2025},
  eprint = {2505.16122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.16122v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.16122.svg)](https://codeofpaper.com/paper/2505.16122)

Discussion