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

匹配精度,不同几何:进化策略与GRPO在LLM后训练中的比较

Matching Accuracy, Different Geometry: Evolution Strategies vs GRPO in LLM Post-Training

University of Miami(迈阿密大学);Kempner Institute, Harvard University(哈佛大学肯普纳研究所);Harvard University(哈佛大学)

William Hoy, Binxu Wang, Xu Pan

AI总结:

本文比较了进化策略(ES)与组相对策略优化(GRPO)在单任务和连续学习设置中的表现,发现ES在单任务精度上可与GRPO匹配,但两者在参数空间更新上存在显著差异,且ES在弱信息方向上能积累较大偏移,同时保持任务性能。

摘要:

进化策略(ES)作为一种可扩展的无梯度方法,已作为基于强化学习的LLM微调替代方案出现,但其在参数空间中的解决方案是否与任务性能相匹配仍不清楚。本文在四个任务中比较ES与组相对策略优化(GRPO)在单任务和连续学习设置中的表现。ES在单任务精度上可与GRPO匹配或超越,并在迭代预算受控时在连续学习中保持竞争力。尽管任务性能相似,但两种方法在模型更新上存在显著差异:ES产生较大的变化并诱导更广的非任务KL漂移,而GRPO则产生较小、更局部化的更新。惊人的是,ES和GRPO的解决方案在无损失障碍的情况下线性连接,尽管其更新方向几乎正交。本文开发了ES的分析理论,展示了这些现象在统一框架内的解释,说明ES如何在弱信息方向上积累较大的非任务移动,同时在任务上取得足够进展以匹配基于梯度的强化学习在下游精度上的表现。这些结果表明,无梯度和基于梯度的微调可以达到同样准确但几何上不同的解决方案,这对遗忘和知识保留有重要影响。源代码已公开:https://github.com/Bhoy1/ESvsGRPO。

英文摘要:

Evolution Strategies (ES) have emerged as a scalable gradient-free alternative to reinforcement learning based LLM fine-tuning, but it remains unclear whether comparable task performance implies comparable solutions in parameter space. We compare ES and Group Relative Policy Optimization (GRPO) across four tasks in both single-task and sequential continual-learning settings. ES matches or exceeds GRPO in single-task accuracy and remains competitive sequentially when its iteration budget is controlled. Despite this similarity in task performance, the two methods produce markedly different model updates: ES makes much larger changes and induces broader off-task KL drift, whereas GRPO makes smaller, more localized updates. Strikingly, the ES and GRPO solutions are linearly connected with no loss barrier, even though their update directions are nearly orthogonal. We develop an analytical theory of ES that explains all these phenomena within a unified framework, showing how ES can accumulate large off-task movement on weakly informative directions while still making enough progress on the task to match gradient-based RL in downstream accuracy. These results show that gradient-free and gradient-based fine-tuning can reach similarly accurate yet geometrically distinct solutions, with important consequences for forgetting and knowledge preservation. The source code is publicly available: https://github.com/Bhoy1/ESvsGRPO.

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

↑