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

论编辑大型语言模型的鲁棒性

On the Robustness of Editing Large Language Models

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);Department of Computer Science and Engineering, Shanghai Jiao Tong University(上海交通大学计算机科学与工程系);Shanghai Key Laboratory of Trusted Data Circulation and Governance in Web3(上海市Web3可信数据流通与治理重点实验室)

Xinbei Ma, Tianjie Ju, Jiyang Qiu, Zhuosheng Zhang, Hai Zhao, Lifeng Liu, Yulong Wang

AI总结:

本文通过三个研究问题实证评估LLM模型编辑在现实场景、提示改写及不同知识特征下的鲁棒性,发现改写提示会显著降低编辑效果,且流行知识更难编辑。

摘要:

大型语言模型(LLMs)在构建交际型人工智能方面发挥了关键作用,但它们面临高效更新的挑战。模型编辑能够在不重新训练的情况下操控特定的知识记忆和语言生成行为。然而,模型编辑的鲁棒性仍是一个悬而未决的问题。本工作旨在理解编辑方法的优势与局限,以促进交际型人工智能的实际应用。我们聚焦三个关键研究问题。RQ1:经过编辑的LLM能否在现实情境中表现出与交际型人工智能一致的行为?RQ2:提示的改写在多大程度上会导致LLM偏离被编辑的知识记忆?RQ3:哪些知识特征与编辑的性能和鲁棒性相关?我们的实证研究揭示了现有编辑方法与LLM实际应用之间存在的巨大差距。在现实应用中灵活但常见的改写提示上,编辑性能出现显著下降。进一步分析表明,越流行的知识被记忆得越好、越容易回忆,也越难以被有效编辑。代码已公开发布于 https://github.com/xbmxb/edit_analysis 。

英文摘要:

Large language models (LLMs) have played a pivotal role in building communicative AI, yet they encounter the challenge of efficient updates. Model editing enables the manipulation of specific knowledge memories and the behavior of language generation without retraining. However, the robustness of model editing remains an open question. This work seeks to understand the strengths and limitations of editing methods, facilitating practical applications of communicative AI. We focus on three key research questions. RQ1: Can edited LLMs behave consistently resembling communicative AI in realistic situations? RQ2: To what extent does the rephrasing of prompts lead LLMs to deviate from the edited knowledge memory? RQ3: Which knowledge features are correlated with the performance and robustness of editing? Our empirical studies uncover a substantial disparity between existing editing methods and the practical application of LLMs. On rephrased prompts that are flexible but common in realistic applications, the performance of editing experiences a significant decline. Further analysis shows that more popular knowledge is memorized better, easier to recall, and more challenging to edit effectively. Code is publicly available at https://github.com/xbmxb/edit_analysis .

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

↑