arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.01335cs.LGcs.AI
收藏

可证明且实用的上下文内策略优化用于自我改进

Provable and Practical In-Context Policy Optimization for Self-Improvement

Tianrun Yu, Yuxiao Yang, Zhaoyang Wang, Kaixiang Zhao, Porter Jenkins, Xuchao Zhang, Chetan Bansal, Huaxiu Yao, Weitong Zhang

AI总结:

本文提出ICPO方法,通过上下文内自我反思和最小熵优化,在保持低推理成本的同时实现数学推理任务的高性能

摘要:

我们研究了测试时间扩展性,即模型通过推理过程中的多轮自我反思来改进其回答。我们引入了上下文内策略优化(ICPO),其中智能体在不修改其参数的情况下,通过自我评估或外部观察的奖励来优化其响应。为了解释这个ICPO过程,我们理论上证明,通过在新的Fisher加权logit匹配目标下充分预训练,单层线性自注意力模型可以证明性地模仿线性轮盘赌算法。基于这一理论,我们提出了最小熵ICPO(ME-ICPO),一种实用的算法,该算法在推理时间通过迭代使用其响应和自我评估的奖励来优化其上下文内的响应。通过选择响应及其奖励以最小熵,ME-ICPO通过多数投票确保自我评估奖励的鲁棒性。在标准数学推理任务中,ME-ICPO在保持推理成本低廉的情况下取得了竞争性、顶级的性能,与其他推理时间算法相比。总体而言,ICPO为LLMs中的自我反思提供了系统性的理解,并为数学推理的测试时间扩展性带来了实用的益处。

英文摘要:

We study test-time scaling, where a model improves its answer through multi-round self-reflection at inference. We introduce In-Context Policy Optimization (ICPO), in which an agent optimizes its response in context using self-assessed or externally observed rewards without modifying its parameters. To explain this ICPO process, we theoretically show that with sufficient pretraining under a novel Fisher-weighted logit-matching objective, a single-layer linear self-attention model can provably imitate policy-optimization algorithm for linear bandits. Building on this theory, we propose Minimum-Entropy ICPO (ME-ICPO), a practical algorithm that iteratively uses its response and self-assessed reward to refine its response in-context at inference time. By selecting the responses and their rewards with minimum entropy, ME-ICPO ensures the robustness of the self-assessed rewards via majority voting. Across standard mathematical reasoning tasks, ME-ICPO attains competitive, top-tier performance while keeping inference costs affordable compared with other inference-time algorithms. Overall, ICPO provides a principled understanding of self-reflection in LLMs and yields practical benefits for test-time scaling for mathematical reasoning.

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

↑