微调是有效的解决方案吗?重新评估非结构化数据的知识编辑
Is Fine-Tuning an Effective Solution? Reassessing Knowledge Editing for Unstructured Data
AI总结:
针对非结构化知识编辑(UKE)缺乏局部性评估、微调方法异常失效的问题,研究构建带局部性测试的数据集,明确微调方法的训练方案,提出的FT-UKE性能超越现有SOTA,批量编辑场景下优势更显著。
摘要:
非结构化知识编辑(Unstructured Knowledge Editing,UKE)对于更新大语言模型(LLMs)的相关知识至关重要。它聚焦于长文本或自由格式文本等非结构化输入,这类输入是现实世界知识的常见形式。尽管已有研究提出了有效方法并开展了测试,但仍存在一些问题:(1)缺乏对UKE的局部性(Locality)评估;(2)基于微调(fine-tuning,FT)的方法在UKE任务中出现异常失效。为解决这些问题,我们首先通过从非结构化和结构化视角补充局部性测试数据,扩展了两个现有UKE数据集,构建了UnKEBench-Loc和AKEW-Loc(CF)两个数据集,从而能够对编辑后模型的局部性进行系统评估。此外,我们识别出可能影响基于FT的方法性能的四个因素,并基于这些因素开展实验,确定性能优异的基于FT的方法应如何针对UKE任务进行训练,为未来研究提供了一套训练方案。实验结果表明,采用最优设置的基于FT的方法(FT-UKE)表现出人意料的强劲性能,超越了现有最先进(SOTA)方法。在批量编辑场景下,FT-UKE同样表现出色,其相对于SOTA方法的优势随批量规模增大而提升,平均指标领先幅度从+6.78%扩大到+10.80%。
英文摘要:
Unstructured Knowledge Editing (UKE) is crucial for updating the relevant knowledge of large language models (LLMs). It focuses on unstructured inputs, such as long or free-form texts, which are common forms of real-world knowledge. Although previous studies have proposed effective methods and tested them, some issues exist: (1) Lack of Locality evaluation for UKE, and (2) Abnormal failure of fine-tuning (FT) based methods for UKE. To address these issues, we first construct two datasets, UnKEBench-Loc and AKEW-Loc (CF), by extending two existing UKE datasets with locality test data from the unstructured and structured views. This enables a systematic evaluation of the Locality of post-edited models. Furthermore, we identify four factors that may affect the performance of FT-based methods. Based on these factors, we conduct experiments to determine how the well-performing FT-based methods should be trained for the UKE task, providing a training recipe for future research. Our experimental results indicate that the FT-based method with the optimal setting (FT-UKE) is surprisingly strong, outperforming the existing state-of-the-art (SOTA). In batch editing scenarios, FT-UKE shows strong performance as well, with its advantage over SOTA methods increasing as the batch size grows, expanding the average metric lead from +6.78% to +10.80%
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。