arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.13461cs.LGcs.CV
收藏

神经模型编辑的强化学习

Reinforcement Learning for Neural Model Editing

Shaivi Malik

Shaivi Malik

AI总结:

提出将神经模型编辑形式化为强化学习问题,通过奖励反馈学习编辑策略,在偏见缓解和机器遗忘任务上取得良好效果。

摘要:

编辑预训练神经网络需要针对特定目标定制的专用算法。设计此类算法通常耗时且需要大量精力。我们提出了一个探索性框架,将神经模型编辑形式化为强化学习问题,其中智能体使用奖励反馈修改模型。我们引入了两个环境:MaskWorld,其中智能体以乘法方式缩放权重;以及ShiftWorld,其中智能体应用加法权重更新。奖励函数结合了效用保持目标和任务特定编辑目标,使智能体能够在保持整体模型性能的同时学习有针对性的修改。我们在文本分类中的偏见缓解和图像分类中的机器遗忘上评估了该框架,这两者传统上都依赖于专用算法。我们的结果表明,在遗忘任务中,学习到的策略将遗忘集准确率降至接近0%,同时保留集准确率保持在90%以上。在偏见缓解设置中,学习到的策略将偏见相关性能提高了5%以上,同时保持了一般分类效用。我们的发现表明,神经模型编辑可以转化为强化学习问题,从而可以从奖励反馈中学习编辑策略,而不是为每个任务手动设计。

英文摘要:

Editing pretrained neural networks requires specialized algorithms tailored to specific objectives. Designing such algorithms is often time-consuming and demands significant effort. We present an exploratory framework that formulates neural model editing as a reinforcement learning problem, where agents modify models using only reward feedback. We introduce two environments: MaskWorld, where agents scale weights multiplicatively, and ShiftWorld, where agents apply additive weight updates. The reward function combines a utility-preservation objective with a task-specific editing objective, enabling agents to learn targeted modifications while maintaining overall model performance. We evaluate the framework on bias mitigation in text classification and machine unlearning in image classification, both of which traditionally rely on specialized algorithms. Our results show that the learned edits reduce forget set accuracy to 0% while preserving over 90% retain set accuracy in the unlearning setting. In the bias mitigation setting, the learned edits improve performance on an unbiased evaluation dataset by more than 7% while maintaining general classification utility. These findings suggest that reinforcement learning can serve as a general framework for learning neural model editing policies from reward feedback.

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

↑