Solving mathematics problems has been an intriguing capability of large language models, and many efforts have been made to improve reasoning by extending reasoning length, such as through self-correction and extensive long chain-of-thoughts. While promising in problem-solving, advanced long reasoning chain models exhibit an undesired single-modal behavior, where trivial questions require unnecessarily tedious long chains of thought. In this work, we propose a way to allow models to be aware of inference budgets by formulating it as utility maximization with respect to an inference budget constraint, hence naming our algorithm Inference Budget-Constrained Policy Optimization (IBPO). In a nutshell, models fine-tuned through IBPO learn to ``understand'' the difficulty of queries and allocate inference budgets to harder ones. With different inference budgets, our best models are able to have a 4.14\% and 5.74\% absolute improvement (8.08\% and 11.2\% relative improvement) on MATH500 using 2.16x and 4.32x inference budgets respectively, relative to LLaMA3.1 8B Instruct. These improvements are approximately 2x those of self-consistency under the same budgets.
@article{arxiv.2501.17974,
title = {Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization},
author = {Zishun Yu and Tengyu Xu and Di Jin and Karthik Abinav Sankararaman and Yun He and Wenxuan Zhou and Zhouhao Zeng and Eryk Helenowski and Chen Zhu and Sinong Wang and Hao Ma and Han Fang},
journal= {arXiv preprint arXiv:2501.17974},
year = {2025}
}