持续LLM改进的经验链
研究论文 · 2026/08/21
本文提出链式经验(CoE)框架,研究大语言模型在测试时通过迭代交互积累经验以持续改进的能力。实验覆盖数学、编程和知识领域,使用8种LLM(包括GPT-5、Gemini-2.5 Pro、Claude-4.5 Sonnet),发现利用迭代经验一致优于无反馈基线,仅自我反馈即可带来显著提升,总体改进5.6%,API成本降低19%。结合互补反馈通道(如模型与正确性信号)可进一步增益,且CoE在每token准确率上优于现有测试时策略。模型基础能力与改进能力正相关,且在弱或虚假反馈下保持鲁棒,不同反馈贡献不同改进方面,多数增益在迭代早期出现。
该研究提出新颖的CoE框架,填补了LLM测试时持续学习研究的空白,实验规模大且结果显著,对实际部署具有成本效益,值得关注。
Humans continuously learn from experience, whereas conventional large language model (LLM) evaluations ignore the models' ability to improve through inference-time interaction. In this paper, we study how LLMs learn from iterative experience at test time, a setting we refer to as Chain-of-Experience (CoE), where models accumulate experiential traces through iterative interactions with self or environmental feedback to form a continual improvement loop beyond zero-shot inference. We instantiate CoE with diverse feedback mechanisms, including model self-feedback and environmental signals such as correctness or public coding test pass rates, and evaluate across math, coding, and knowledge domains using 8 LLMs, including GPT-5, Gemini-2.5 Pro, Claude-4.5 Sonnet. Our study shows that leveraging iterative experience consistently outperforms feedback-free baselines, achieving substantial gains with self feedback alone, alongside a 5.6% overall improvement and 19% lower API cost across tasks and models. We further show that combining complementary feedback channels (e.g., model and correctness signals) yields additional gains, and that CoE delivers higher accuracy per token than existing test-time strategies. We observe a positive correlation between LLM base ability and improvement capacity, and show that models remain robust under weak or spurious feedback, with different feedback contributing to distinct improvement aspects and most gains emerging early in the iterations.