混合策略自编辑用于可组合的非结构化知识编辑

·

观点分析 · 2026/08/14

大型语言模型(LLM)在自然语言任务上表现出色,但其知识基于静态语料,容易过时。知识编辑(KE)旨在更新特定知识而不影响其他知识。近期研究从结构化知识三元组转向非结构化知识编辑(UKE),其中编辑内容为自由文本,可能同时包含多个事实。然而,现有编辑器注入文本后未能有效利用:模型能回忆文本,却无法回答关于其中事实的原子问题,也无法进行多跳推理。我们将这种缺失的属性称为可组合性,归因于编辑器被动依赖固定文本作为唯一学习来源。为此,我们将编辑视为从同一模型的特权上下文状态进行的主动自蒸馏,无需外部监督。进一步,由于注入知识的新颖性,编辑前模型自身的轨迹很少覆盖这些知识,限制了纯在线策略蒸馏的效果。为解决此问题,我们提出HPSE,构建混合轨迹,在学生自身轨迹覆盖失败处精确插入缺失事实,其余部分保持在线策略。我们从理论上分析HPSE相对于纯在线策略蒸馏的优势,并在四种LLM骨干和两种KE编辑器上实证其即插即用的改进。

该论文针对非结构化知识编辑中可组合性缺失的问题,提出了一种新颖的混合策略自编辑方法(HPSE),通过主动自蒸馏和混合轨迹生成,在不需外部监督的情况下提升模型对编辑知识的利用能力。理论分析和多场景实验验证了其有效性,对知识编辑领域具有重要贡献。

Large language models (LLMs) achieve remarkable performance across natural language tasks, yet they are trained on static corpora and their knowledge quickly becomes outdated in a fast-changing world. This motivates knowledge editing (KE), which updates specific knowledge in an LLM without changing unrelated others. Recent works move from structured knowledge triples toward unstructured KE (UKE), where the edit is a free-form passage that may state multiple facts at once. Nonetheless, existing editors inject such a passage yet fail to use it: the edited model can recall the passage, but can neither answer atomic questions about its facts nor compose them into multi-hop reasoning. We attribute this missing property, which we term composability, to editors' passive reliance on the fixed passage as the sole learning source. In response, we cast editing as a proactive self-distillation from a privileged in-context state of the same model, which requires no external supervision. We further reveal that due to the novelty of the injected knowledge, the pre-edited model's own rollouts rarely cover it, which limits the effectiveness of pure on-policy distillation. To close this gap, we propose HPSE, which builds a hybrid rollout that steps in to place missing facts onto the student's own trajectory precisely where its coverage fails, while staying on-policy elsewhere. We theoretically analyze HPSE's advantage over pure on-policy distillation, and empirically establish its plug-and-play improvements across four LLM backbones and two KE editors under various scenarios.

阅读原文

参与讨论