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

鲁棒策略优化以防止灾难性遗忘

Robust Policy Optimization to Prevent Catastrophic Forgetting

University of Pennsylvania(宾夕法尼亚大学);University of Southern California(南加州大学)

Mahdi Sabbaghi, George Pappas, Adel Javanmard, Hamed Hassani

AI总结:

本文提出FRPO框架,通过优化当前策略及下游适应可达的KL限制邻域内策略,提升鲁棒性,减少安全性能退化,同时保持下游任务表现。

摘要:

大型语言模型通常通过多阶段微调训练:首先通过RLHF训练,然后微调其他下游目标。然而,即使小的下游更新也可能破坏先前学习的行为(例如安全性),暴露了被称为灾难性遗忘的脆弱性。这表明标准RLHF目标无法保证对未来适应的鲁棒性。为了解决这一问题,大多数先前工作设计了下游时间的方法来保留先前学习的行为。我们认为防止这一现象需要预微调的鲁棒性:基础策略应避免易碎的高奖励解决方案,其在标准微调下的奖励急剧下降。我们提出细调鲁棒策略优化(FRPO),一种鲁棒RLHF框架,通过优化当前策略及可达的KL限制邻域内策略的奖励。关键思想是通过max-min公式确保奖励在策略变化下的稳定性。通过修改GRPO,我们开发了一个无需额外计算的算法,并实证显示其在多种基础模型和下游微调制度(SFT和RL)中显著减少了安全性能退化,同时保持下游任务表现。我们进一步研究了一个数学聚焦的RL设置,证明FRPO在后续微调下保持准确性。

英文摘要:

Large language models are commonly trained through multi-stage post-training: first via RLHF, then fine-tuned for other downstream objectives. Yet even small downstream updates can compromise earlier learned behaviors (e.g., safety), exposing a brittleness known as catastrophic forgetting. This suggests standard RLHF objectives do not guarantee robustness to future adaptation. To address it, most prior work designs downstream-time methods to preserve previously learned behaviors. We argue that preventing this requires pre-finetuning robustness: the base policy should avoid brittle high-reward solutions whose reward drops sharply under standard fine-tuning. We propose Fine-tuning Robust Policy Optimization (FRPO), a robust RLHF framework that optimizes reward not only at the current policy, but across a KL-bounded neighborhood of policies reachable by downstream adaptation. The key idea is to ensure reward stability under policy shifts via a max-min formulation. By modifying GRPO, we develop an algorithm with no extra computation, and empirically show it substantially reduces safety degradation across multiple base models and downstream fine-tuning regimes (SFT and RL) while preserving downstream task performance. We further study a math-focused RL setting, demonstrating that FRPO preserves accuracy under subsequent fine-tuning.

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

↑