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

黑盒大语言模型上的知识编辑

Knowledge Editing on Black-box Large Language Models

Meituan(美团);Beijing University of Posts and Telecommunications(北京邮电大学)

Xiaoshuai Song, Zhengyang Wang, Keqing He, Guanting Dong, Yutao Mou, Jinxu Zhao, Weiran Xu

AI总结:

本文首次正式提出黑盒大语言模型上的知识编辑,并引入postEdit框架通过下游后处理和细粒度编辑解决隐私泄露与风格过度编辑问题,在两个基准上超越所有基线并在风格保留上提升显著。

摘要:

知识编辑(KE)旨在高效且精确地修改大语言模型(LLMs)的行为,以更新特定知识而不对其他知识产生负面影响。当前研究主要集中在白盒LLMs编辑上,忽略了一个重要场景:黑盒LLMs编辑,即通过接口访问LLMs且仅提供文本输出。本文首先正式提出黑盒LLMs上的KE,随后提出一个全面的评估框架,以克服现有评估不适用于黑盒LLMs编辑且缺乏全面性的局限。为了解决当前方法中编辑数据隐私泄露和风格过度编辑的问题,我们引入了新颖的postEdit框架,通过下游后处理解决隐私问题,并通过对原始响应的细粒度编辑保持文本风格一致性。在两个基准上的实验和分析表明,postEdit优于所有基线并实现了强泛化能力,特别是在风格保留方面取得了巨大提升(平均$+20.82\%\uparrow$)。

英文摘要:

Knowledge editing (KE) aims to efficiently and precisely modify the behavior of large language models (LLMs) to update specific knowledge without negatively influencing other knowledge. Current research primarily focuses on white-box LLMs editing, overlooking an important scenario: black-box LLMs editing, where LLMs are accessed through interfaces and only textual output is available. In this paper, we first officially introduce KE on black-box LLMs and then propose a comprehensive evaluation framework to overcome the limitations of existing evaluations that are not applicable to black-box LLMs editing and lack comprehensiveness. To tackle privacy leaks of editing data and style over-editing in current methods, we introduce a novel postEdit framework, resolving privacy concerns through downstream post-processing and maintaining textual style consistency via fine-grained editing to original responses. Experiments and analysis on two benchmarks demonstrate that postEdit outperforms all baselines and achieves strong generalization, especially with huge improvements on style retention (average $+20.82\%\uparrow$).

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

↑