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

通过反馈引导优化实现对齐感知的模型适应

Alignment-Aware Model Adaptation via Feedback-Guided Optimization

Department of Computer Science, University of British Columbia, Location, Canada(不列颠哥伦比亚大学计算机科学系);Vector Institute of AI, Toronto, Canada(人工智能向量研究所);Stony Brook University, New York, USA(石溪大学)

Gaurav Bhatt, Aditya Chinchure, Jiawei Zhou, Leonid Sigal

AI总结:

本文提出了一种通过反馈引导优化实现对齐感知的模型适应框架,通过自适应门控机制平衡监督与对齐梯度,减少有害输出并提升模型对齐性。

摘要:

微调是适应基础模型以适应下游任务的主要机制;然而,标准方法主要在孤立优化任务目标,不考虑次要但关键的对齐目标(例如安全性和幻觉避免)。因此,下游微调可能会降低对齐性,并无法纠正已有的不一致行为。我们提出了一种对齐感知的微调框架,通过策略梯度基于的正则化整合外部对齐信号的反馈。我们的方法引入了自适应门控机制,能够在每样本基础上动态平衡监督和对齐驱动的梯度,优先处理不确定或不一致的案例,同时允许一致的案例遵循标准监督更新。该框架进一步学习了对完全不一致输入的回避行为,将保守响应直接纳入微调模型中。在通用和领域特定的指令微调基准测试中,实验显示有害和幻觉输出的一致减少,而不会牺牲下游任务性能。额外分析显示对对抗微调、基于提示的攻击和不安全初始设置的鲁棒性,确立了自适应门控对齐优化作为保持和恢复对齐模型适应的有效方法。

英文摘要:

Fine-tuning is the primary mechanism for adapting foundation models to downstream tasks; however, standard approaches largely optimize task objectives in isolation and do not account for secondary yet critical alignment objectives (e.g., safety and hallucination avoidance). As a result, downstream fine-tuning can degrade alignment and fail to correct pre-existing misaligned behavior. We propose an alignment-aware fine-tuning framework that integrates feedback from an external alignment signal through policy-gradient-based regularization. Our method introduces an adaptive gating mechanism that dynamically balances supervised and alignment-driven gradients on a per-sample basis, prioritizing uncertain or misaligned cases while allowing well-aligned examples to follow standard supervised updates. The framework further learns abstention behavior for fully misaligned inputs, incorporating conservative responses directly into the fine-tuned model. Experiments on general and domain-specific instruction-tuning benchmarks demonstrate consistent reductions in harmful and hallucinated outputs without sacrificing downstream task performance. Additional analyses show robustness to adversarial fine-tuning, prompt-based attacks, and unsafe initializations, establishing adaptively gated alignment optimization as an effective approach for alignment-preserving and alignment-recovering model adaptation.

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

↑