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

解决模型编辑中的词汇偏差

Resolving Lexical Bias in Model Editing

Department of Computer Science, Dalhousie University, Halifax, Canada(计算机科学系,达尔豪斯大学,哈利法克斯,加拿大)

Hammad Rizwan, Domenic Rosati, Ga Wu, Hassan Sajjad

AI总结:

本文提出PENME方法,通过学习解耦表示空间解决模型编辑中的词汇偏差问题,实现精确编辑定位,在保持计算效率的同时达到最先进性能。

摘要:

模型编辑旨在修改大型语言模型在训练后的输出。以往的方法通常涉及直接修改模型权重,这可能导致模型性能退化。近期技术通过使用适配器,在表示空间中基于语义相似性触发编辑,从而避免修改模型权重。我们证明,当前的适配器方法严重受制于强词汇偏差,导致对包含重叠词的不相关提示也应用编辑等问题。本文提出了一种原则性方法,用于学习解耦的表示空间,通过保持不相关提示之间的距离并保留释义之间的邻近性,实现编辑的精确局部化。在我们的实证研究中,我们展示了我们的方法(用于模型编辑的投影器编辑器网络 - PENME)在实现最先进的模型编辑结果的同时,在推理时比以往方法更具计算效率,并适用于不同架构。

英文摘要:

Model editing aims to modify the outputs of large language models after they are trained. Previous approaches have often involved direct alterations to model weights, which can result in model degradation. Recent techniques avoid making modifications to the model's weights by using an adapter that applies edits to the model when triggered by semantic similarity in the representation space. We demonstrate that current adapter methods are critically vulnerable to strong lexical biases, leading to issues such as applying edits to irrelevant prompts with overlapping words. This paper presents a principled approach to learning a disentangled representation space that facilitates precise localization of edits by maintaining distance between irrelevant prompts while preserving proximity among paraphrases. In our empirical study, we show that our method (Projector Editor Networks for Model Editing - PENME) achieves state-of-the-art model editing results while being more computationally efficient during inference than previous methods and adaptable across different architectures.

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

↑