arXiv:2502.05605cs.CLcs.LG2025-02被引 8

通过训练推理协同优化,让大模型学会自我改进。

Evolving LLMs' Self-Refinement Capability via Synergistic Training-Inference Optimization

  • 分阶段优化训练与推理,激活模型自修正能力
  • 使Llama-3.1-8B在AlpacaEval 2上胜过GPT-4o(62.3% win rate)
  • 适用于希望提升模型自我进化能力的研究者

自修正指模型自我修改输出以生成更优结果的能力,是实现自我改进的基础。然而,我们的实验表明,大语言模型缺乏内在的自修正能力,甚至可能在自修正后质量下降。为此,我们提出EVOLVE框架,通过迭代训练持续激发并追踪自修正能力的演化。首先在训练中探索优化方法以激活该能力,随后在推理阶段研究生成策略以进一步增强和利用自修正,并提供训练所需数据。通过训练与推理的协同优化,模型自修正能力持续进化,能更有效地改进自身输出。此外,我们展示了利用自修正实现模型内在能力整体提升的潜力。实验显示,经演化的自修正能力使Llama-3.1-8B基座模型在AlpacaEval 2上达到62.3%(长度控制)和63.3%(原始)胜率,以及50.3%的Arena-Hard得分;同时在数学推理等跨领域任务上也表现优异,如在GSM8K和MATH基准上均有提升。

原文摘要 · Abstract (English)

Self-Refinement refers to a model's ability to revise its own responses to produce improved outputs. This capability can also serve as a fundamental mechanism for Self-Improvement, for example, by reconstructing datasets with refined results to enhance intrinsic model performance. However, our comprehensive experiments reveal that large language models (LLMs) show no clear evidence of inherent Self-Refinement and may even experience response quality degradation after Self-Refinement. To address this issue, we propose EVOLVE, a simple and effective framework for eliciting and tracking the evolution of Self-Refinement through iterative training. We first explore optimization methods during training to activate the model's Self-Refinement capability. Then, at inference, we investigate various generation strategies to further enhance and utilize Self-Refinement while supplying the necessary data for training. Through synergistic optimization of training and inference stages, we continually evolve the model's Self-Refinement ability, enabling it to better refine its own responses. Moreover, we demonstrate the potential of leveraging Self-Refinement to achieve broader Self-Improvement of intrinsic model abilities. Experiments show that the evolved Self-Refinement ability enables the Llama-3.1-8B base model to surpass GPT-4o, achieving 62.3% length-controlled and 63.3% raw win rates on AlpacaEval 2, and 50.3% on Arena-Hard. It also generalizes effectively to out-of-domain reasoning tasks, improving performance on mathematical reasoning benchmarks such as GSM8K and MATH.

自修正大模型自我进化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。