arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26849cs.CL
收藏

不确定性感知的自适应测试时推理预算分配

Uncertainty-Aware Budget Allocation for Adaptive Test-Time Reasoning

Applied Artificial Intelligence Initiative(应用人工智能计划)

Manh Nguyen, Sunil Gupta, Hung Le

AI总结:

提出不确定性感知预算分配(UAB)框架,通过基于每问题不确定性的凹整数优化重新分配固定采样预算,无需额外推理成本,在多个推理基准上提升准确率高达3-5%。

摘要:

采样多个响应可以改善语言模型的推理能力,但均匀的计算分配效率低下:简单问题被过度采样,而困难问题探索不足。我们提出不确定性感知预算分配(UAB),这是一个凹整数优化框架,基于每问题的不确定性重新分配固定采样预算,且无需额外推理成本。在第一阶段,每个问题生成一个响应;其平均负对数似然(ANLL)直接从输出对数概率中提取,作为难度信号,同时该生成贡献于最终投票。在第二阶段,剩余预算通过边际贪心算法分配,该算法精确求解凹覆盖最大化替代问题:不确定的问题获得更多采样预算,而确定的问题获得更少的额外样本。在六个开源和黑盒模型(参数规模从1.5B到27B)以及五个涵盖数学、逻辑和偏好任务的推理基准上评估,UAB在平均准确率上比基线高出最多3%,在单个基准上高出最多5%,在低资源设置下增益最大,且无需辅助模型或额外的LLM调用。代码公开于 https://github.com/manhitv/UAB。

英文摘要:

Sampling multiple responses improves language model reasoning, but uniform compute allocation is inefficient because easy questions are over-sampled while hard questions remain under-explored. We propose \textbf{Uncertainty-Aware Budget Allocation (UAB)}, a concave integer optimization framework that reallocates a fixed sampling budget using uncertainty estimated from the initial samples themselves. In Phase-1, every question receives a small fixed number of generations. Their answer disagreement, measured by vote entropy, provides a difficulty signal while these generations contribute to the final vote. In Phase-2, the remaining budget is allocated by a marginal-greedy algorithm that optimally solves a concave coverage-maximization surrogate, concentrating samples on questions whose initial answers disagree. Across five open-weight models (1.5B--27B parameters) and five reasoning benchmarks of varying difficulty, UAB improves average accuracy by $+2.3\%$ over uniform allocation, and achieves gains of up to $+5.5\%$ on individual benchmarks, with the largest gains in low-resource settings. Moreover, UAB meets the target budget exactly and requires no auxiliary model or additional LLM calls. Code is publicly available at https://github.com/manhitv/UAB.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑