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

IR$^3$:基于可解释性强化学习的对抗性检测与缓解方法

IR$^3$: Contrastive Inverse Reinforcement Learning for Interpretable Detection and Mitigation of Reward Hacking

UC Davis(加州大学戴维斯分校);Virginia Tech(弗吉尼亚理工大学);Salesforce(Salesforce公司);Meta AI

Mohammad Beigi, Ming Jin, Junshan Zhang, Jiaxin Zhang, Qifan Wang, Lifu Huang

AI总结:

IR3通过对比逆强化学习重建隐含奖励并修正模型,有效识别和缓解奖励黑客问题,提升模型对齐性能。

摘要:

强化学习从人类反馈(RLHF)能够实现强大的大语言模型对齐,但可能引入奖励黑客问题——模型利用代理奖励中的伪相关性而非真正的对齐。更严重的是,RLHF过程中内化的目标仍然模糊,使得黑客行为难以检测或修正。我们引入IR3(可解释性奖励重建与修正)框架,该框架逆向工程、解释并手术性修复驱动RLHF调优模型的隐含目标。我们提出对比逆强化学习(C-IRL),通过对比对齐后与基线策略的配对响应来重建隐含奖励函数,以解释RLHF过程中的行为变化。然后通过稀疏自动编码器将重建的奖励分解为可解释的特征,通过贡献分析识别黑客特征。最后,我们提出缓解策略——清洁奖励优化、对抗性塑造、约束优化和特征引导的蒸馏——旨在针对问题特征同时保留有益的对齐。在多个奖励模型配置上的实验表明,IR3与真实奖励的相关性达到0.89,识别黑客特征的精度超过90%,显著减少黑客行为的同时,保持能力在原始模型的3%以内。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) enables powerful LLM alignment but can introduce reward hacking - models exploit spurious correlations in proxy rewards without genuine alignment. Compounding this, the objectives internalized during RLHF remain opaque, making hacking behaviors difficult to detect or correct. We introduce IR3 (Interpretable Reward Reconstruction and Rectification), a framework that reverse-engineers, interprets, and surgically repairs the implicit objectives driving RLHF-tuned models. We propose Contrastive Inverse Reinforcement Learning (C-IRL), which reconstructs the implicit reward function by contrasting paired responses from post-alignment and baseline policies to explain behavioral shifts during RLHF. We then decompose the reconstructed reward via sparse autoencoders into interpretable features, enabling identification of hacking signatures through contribution analysis. Finally, we propose mitigation strategies - clean reward optimization, adversarial shaping, constrained optimization, and feature-guided distillation - that target problematic features while preserving beneficial alignment. Experiments across multiple reward model configurations show that IR3 achieves 0.89 correlation with ground-truth rewards, identifies hacking features with over 90% precision, and significantly reduces hacking behaviors while maintaining capabilities within 3% of the original model.

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

↑