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

MELO:通过神经元索引动态LoRA增强模型编辑

MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA

East China Normal University(华东师范大学)

Lang Yu, Qin Chen, Jie Zhou, Liang He

AI总结:

针对大语言模型部署后需更新且现有编辑方法难兼顾属性、算力需求高的问题,提出基于神经元索引动态LoRA的插件式编辑方法MELO,在三类任务上实现SOTA性能,参数与计算成本更低。

摘要:

大语言模型(LLM)已在各类自然语言处理(NLP)任务中取得显著成效,但部署后仍需更新以修正错误或跟上世界知识的变化。研究人员将该问题定义为模型编辑(Model Editing),并开发了侧重不同编辑属性维度的各类编辑工具。然而,现有编辑工具难以兼顾所有属性,且依赖大量计算资源。本文提出一种基于神经元索引动态LoRA的插件式模型编辑方法MELO,该方法通过内部向量数据库中构建的索引动态激活特定LoRA模块,以此改变语言模型的行为。本方法可高效满足多种编辑属性,且能轻松集成到多个LLM骨干模型中。实验结果表明,所提出的MELO在三个序列编辑任务(文档分类、问答与幻觉修正)上取得了当前最优(SOTA)的编辑性能,同时所需可训练参数最少、计算成本最低。

英文摘要:

Large language models (LLMs) have shown great success in various Natural Language Processing (NLP) tasks, whist they still need updates after deployment to fix errors or keep pace with the changing knowledge in the world. Researchers formulate such problem as Model Editing and have developed various editors focusing on different axes of editing properties. However, current editors can hardly support all properties and rely on heavy computational resources. In this paper, we propose a plug-in Model Editing method based on neuron-indexed dynamic LoRA (MELO), which alters the behavior of language models by dynamically activating certain LoRA blocks according to the index built in an inner vector database. Our method satisfies various editing properties with high efficiency and can be easily integrated into multiple LLM backbones. Experimental results show that our proposed MELO achieves state-of-the-art editing performance on three sequential editing tasks (document classification, question answering and hallucination correction), while requires the least trainable parameters and computational cost.

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

↑