paper-with-me

홈 › Papers

Optimizing Anytime Reasoning via Budget Relative Policy Optimization

2025-05-19 · Penghui Qi, Zichen Liu, Tianyu Pang, Chao Du, Wee Sun Lee, Min Lin

Scaling test-time compute is crucial for enhancing the reasoning capabilities of large language models (LLMs). Existing approaches typically employ reinforcement learning (RL) to maximize a verifiable reward obtained at the end of reasoning traces. However, such methods optimize only the final performance under a large and fixed token budget, which hinders efficiency in both training and deployment. In this work, we present a novel framework, AnytimeReasoner, to optimize anytime reasoning performance, which aims to improve token efficiency and the flexibility of reasoning under varying token budget constraints. To achieve this, we truncate the complete thinking process to fit within sampled token budgets from a prior distribution, compelling the model to summarize the optimal answer for each truncated thinking for verification. This introduces verifiable dense rewards into the reasoning process, facilitating more effective credit assignment in RL optimization. We then optimize the thinking and summary policies in a decoupled manner to maximize the cumulative reward. Additionally, we introduce a novel variance reduction technique, Budget Relative Policy Optimization (BRPO), to enhance the robustness and efficiency of the learning process when reinforcing the thinking policy. Empirical results in mathematical reasoning tasks demonstrate that our method consistently outperforms GRPO across all thinking budgets under various prior distributions, enhancing both training and token efficiency.

📄 PDF Abstract BibTeX arXiv:2505.13438

Code (1)

sail-sg/anytimereasoner 공식 구현 pytorch

Tasks

Mathematical ReasoningReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

Budget-Aware Anytime Reasoning with LLM-Synthesized Preference Data

2026-01-16 · Xuanming Zhang, Shwan Ashrafi, Aziza Mirsaidova, Amir H. Rezaeian 외 arxiv

We study the reasoning behavior of large language models (LLMs) under limited computation budgets. In such settings, producing useful partial solutions quickly is often more practical than exhaustive reasoning, which inc…

Anytime-Constrained Reinforcement Learning

2023-11-09 · Jeremy McMahan, Xiaojin Zhu

We introduce and study constrained Markov Decision Processes (cMDPs) with anytime constraints. An anytime constraint requires the agent to never violate its budget at any point in time, almost surely. Although Markovian …

reinforcement-learningReinforcement Learning

Learning Dynamic Hierarchical Models for Anytime Scene Labeling

2016-08-11 · Buyu Liu, Xuming He

With increasing demand for efficient image and video analysis, test-time cost of scene parsing becomes critical for many large-scale or time-sensitive vision applications. We propose a dynamic hierarchical model for anyt…

Model SelectionRepresentation LearningScene LabelingScene Parsing+1

Learning Anytime Predictions in Neural Networks via Adaptive Loss Balancing

2017-08-22 · Hanzhang Hu, Debadeepta Dey, Martial Hebert, J. Andrew Bagnell

This work considers the trade-off between accuracy and test-time computational cost of deep neural networks (DNNs) via \emph{anytime} predictions from auxiliary predictions. Specifically, we optimize auxiliary losses joi…

Anytime Neural Network: a Versatile Trade-off Between Computation and Accuracy

2018-01-01 · ICLR 2018 1 · Hanzhang Hu, Debadeepta Dey, Martial Hebert, J. Andrew Bagnell

We present an approach for anytime predictions in deep neural networks (DNNs). For each test sample, an anytime predictor produces a coarse result quickly, and then continues to refine it until the test-time computationa…