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

更大的编辑批次规模是否总是更好?——基于 Llama-3 的模型编辑实证研究

Is Bigger Edit Batch Size Always Better? -- An Empirical Study on Model Editing with Llama-3

UC Berkeley(加州大学伯克利分校)

Junsang Yoon, Akshat Gupta, Gopala Anumanchipalli

AI总结:

本文以 Llama-3 为对象实证比较 ROME、MEMIT 和 EMMET 在顺序、批量及混合策略下多达 4096 次编辑的效果,发现盲目增大编辑批次规模反而更伤性能,主张未来应结合顺序与批量编辑以优化模型编辑方法。

摘要:

本研究针对最新的大语言模型 Llama-3 进行了有针对性的模型编辑分析。我们考察了主流模型编辑技术——ROME、MEMIT 和 EMMET 的有效性,这些技术专为精确的层干预而设计。我们通过一项涵盖多达 4096 次编辑的评估,在三种不同策略下识别最适合定向编辑的层:顺序编辑、批量编辑以及一种我们称之为顺序-批量编辑的混合方法。我们的研究结果表明,对于相同数量的编辑,增大编辑批次规模可能比使用较小编辑批次顺序执行更显著地降低模型性能。据此,我们认为顺序模型编辑是扩展模型编辑方法的重要组成部分,未来的研究应聚焦于能够结合批量编辑与顺序编辑的方法。这一观察揭示了当前模型编辑方法在追求更大编辑批次规模方面可能存在的局限性,我们希望这能为未来优化批次规模和模型编辑性能的研究铺平道路。

英文摘要:

This study presents a targeted model editing analysis focused on the latest large language model, Llama-3. We explore the efficacy of popular model editing techniques - ROME, MEMIT, and EMMET, which are designed for precise layer interventions. We identify the most effective layers for targeted edits through an evaluation that encompasses up to 4096 edits across three distinct strategies: sequential editing, batch editing, and a hybrid approach we call as sequential-batch editing. Our findings indicate that increasing edit batch-sizes may degrade model performance more significantly than using smaller edit batches sequentially for equal number of edits. With this, we argue that sequential model editing is an important component for scaling model editing methods and future research should focus on methods that combine both batched and sequential editing. This observation suggests a potential limitation in current model editing methods which push towards bigger edit batch sizes, and we hope it paves way for future investigations into optimizing batch sizes and model editing performance.

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

↑