paper-with-me

홈 › Papers

Adaptive Test-Time Compute Allocation for Reasoning LLMs via Constrained Policy Optimization

2026-04-16 · Zhiyuan Zhai, Bingcong Li, Bingnan Xiao, Ming Li, Xin Wang arxiv

Test-time compute scaling, the practice of spending extra computation during inference via repeated sampling, search, or extended reasoning, has become a powerful lever for improving large language model performance. Yet deploying these techniques under finite inference budgets requires a decision that current systems largely ignore: which inputs deserve more compute, and which can be answered cheaply? We formalize this as a constrained optimization problem (maximize expected accuracy subject to an average compute budget) and solve it with a two-stage Solve-then-Learn pipeline. In the solve stage, Lagrangian relaxation decomposes the global constraint into per-instance sub-problems, each admitting a closed-form oracle action that optimally prices accuracy against cost. We prove that the induced cost is monotone in the dual variable, enabling exact budget targeting via binary search. In the learn stage, a lightweight classifier is trained to predict oracle actions from cheap input features, amortizing the allocation rule for real-time deployment. We establish that the task-level regret of the learned policy is bounded by its imitation error times the worst-case per-instance gap, yielding a clean reduction from constrained inference to supervised classification. Experiments on MATH and GSM8K with three LLMs (DeepSeek-V3, GPT-4o-mini, Qwen2.5-7B) show that our method consistently outperforms uniform and heuristic allocation baselines, achieving up to 12.8% relative accuracy improvement on MATH under matched budget constraints, while closely tracking the Lagrangian oracle upper bound with over 91% imitation accuracy.

📄 PDF Abstract BibTeX arXiv:2604.14853

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Adaptive Test-Time Compute Allocation with Evolving In-Context Demonstrations

2026-04-22 · Bowen Zuo, Dongruo Zhou, Yinglun Zhu arxiv

While scaling test-time compute can substantially improve model performance, existing approaches either rely on static compute allocation or sample from fixed generation distributions. In this work, we introduce a test-t…

Learning to Ponder: Adaptive Reasoning in Latent Space

2025-09-29 · Yixin He, Lumingyuan Tang arxiv

Test-time compute has emerged as a key paradigm for enhancing LLM reasoning, yet prevailing approaches like Best-of-N and majority voting apply uniform depth across inputs, wasting computation on simple queries while pot…

What If We Allocate Test-Time Compute Adaptively?

2026-02-01 · Ahsan Bilal, Ahmed Mohsin, Muhammad Umer, Ali Subhan 외 arxiv

Test-time compute scaling allocates inference computation uniformly, uses fixed sampling strategies, and applies verification only for reranking. In contrast, we propose a verifier-guided adaptive framework treating reas…

Adaptive Test-Time Compute Allocation via Learned Heuristics over Categorical Structure

2026-02-03 · Shuhui Qu arxiv

Test-time computation has become a primary driver of progress in large language model (LLM) reasoning, but it is increasingly bottlenecked by expensive verification. In many reasoning systems, a large fraction of verifie…

ODAR: Principled Adaptive Routing for LLM Reasoning via Active Inference

2026-02-27 · Siyuan Ma, Bo Gao, Xiaojun Jia, Simeng Qin 외 arxiv

The paradigm of large language model (LLM) reasoning is shifting from parameter scaling to test-time compute scaling, yet many existing approaches still rely on uniform brute-force sampling (for example, fixed best-of-N …