arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.28722cs.AI
收藏

通过能量校准的多适配器表示干预

Multi-Adapter Representation Interventions via Energy Calibration

The University of Queensland, Brisbane, Australia(昆士兰大学);Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, United Arab Emirates(马尔代夫 bin Zayed 人工智能大学);Institute of Science Tokyo, Tokyo, Japan(东京科学研究所)

Manjiang Yu, Hongji Li, Junwei Chen, Xue Li, Priyanka Singh, Yang Cao, Lijie Hu

AI总结:

提出MARI方法,通过竞争性多适配器机制和基于能量的门控模块,自适应地确定干预方向和强度,在保持通用能力的同时提升对齐性能。

摘要:

表示干预已成为一种有前景的范式,可以在不修改模型权重的情况下将大型语言模型对齐到期望的行为。现有方法通常对所有输入统一应用固定的干预。然而,我们发现适当的干预方向和强度在不同样本间差异很大,这种无差别的干预会导致良性输入上通用能力的下降。为了解决这些挑战,我们提出了通过能量校准的多适配器表示干预(MARI)。具体来说,我们引入了一种竞争性多适配器机制,其中专门的专家捕获非线性校正模式,并自适应地确定不同样本的适当干预方向和强度。此外,我们设计了一个基于能量的门控模块,利用内部传播动力学来区分适合干预的输入。跨不同模型系列和参数规模的广泛实验表明,MARI实现了最先进的对齐性能。我们的方法在TruthfulQA、BBQ和安全基准测试上显著提高了性能,同时在MMLU和ARC等任务上保持甚至提高了通用能力。我们的代码可在https://github.com/V1centNevwake/MARI获取。

英文摘要:

Representation intervention has emerged as a promising paradigm for aligning large language models toward desired behaviors without modifying model weights. Existing methods typically apply a fixed intervention uniformly across all inputs. However, we find that the appropriate intervention direction and strength vary substantially across samples, and such indiscriminate intervention leads to degradation of general capabilities on benign inputs. To address these challenges, we propose Multi-Adapter Representation Interventions via Energy Calibration (MARI). Specifically, we introduce a competitive multi-adapter mechanism in which specialized experts capture non-linear correction patterns and adaptively determine the appropriate intervention direction and strength for different samples. Furthermore, we design an energy-based gating module that leverages internal propagation dynamics to distinguish inputs that are applicable for intervention. Extensive experiments across diverse model families and parameter scales demonstrate that MARI achieves state-of-the-art alignment performance. Our method significantly improves performance on TruthfulQA, BBQ, and safety benchmarks, while maintaining and even improving general capabilities on tasks such as MMLU and ARC. Our code is available at https://github.com/V1centNevwake/MARI.

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

↑