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

基于张量结构更新的混合专家LLM可扩展知识编辑

Scalable Knowledge Editing for Mixture-of-Experts LLMs via Tensor-Structured Updates

OpenAI;DeepSeek-AI;Qwen Team(Qwen团队);Shazeer et al.(Shazeer等人);Molodtsov et al.(Molodtsov等人)

Roman Maksimov, Vladimir Aletov, Dmitry Bylinkin, Daniil Medyakov, Vladimir Solodkin, Aleksandr Beznosikov

AI总结:

本文提出一种针对混合专家架构LLM的知识编辑方法,通过张量结构和Woodbury矩阵恒等式实现高效参数更新,提升编辑效率6倍,扩展了知识编辑的应用范围。

摘要:

知识编辑(KE)为LLM提供了一种轻量级替代方案,避免重复微调。然而,现有KE方法多针对密集前馈层,而现代LLM越来越多采用混合专家(MoE)架构以提升内存效率和推理效率。本文提出MEMIT-like框架,利用MoE层的张量结构,在专家层面准确制定编辑目标,并通过Woodbury矩阵恒等式避免显式计算专家权重的全堆叠矩阵。所获更新仅需固定低秩矩阵的逆运算,无需额外反向传播。实验表明,该方法在主要KE指标上与强基线持平,但编辑过程加速达6倍,得益于批量MEMIT式公式和Woodbury恒等式带来的低维逆运算。这些结果表明,封闭形式的参数修改KE可有效扩展至密集层之外,为现代稀疏LLM架构的可扩展知识编辑开辟了新路径。

英文摘要:

Knowledge editing (KE) provides a lightweight alternative to repeated fine-tuning of LLMs. However, most existing KE methods target dense feed-forward layers, while modern LLMs increasingly adopt Mixture-of-Experts (MoE) architectures for their superior memory footprint and inference efficiency. This mismatch leaves a growing class of production models without principled editing tools. We propose a MEMIT-like framework for knowledge editing in MoE-based LLMs. Our method exploits the tensor structure of MoE layers to formulate the editing objective faithfully at the per expert level, and applies the Woodbury matrix identity to avoid materializing or inverting the full stacked matrix of expert weights. The resulting update reduces to inversions of fixed low-rank matrices and requires no additional backward passes. Empirically, our approach matches the editing quality of strong baselines on the main KE metrics while accelerating the editing procedure by up to 6x, owing to the batched MEMIT-style formulation and the low-dimensional inversions enabled by the Woodbury identity. These results show that closed-form, parameter-modifying KE can be extended efficiently beyond dense layers, opening a path toward scalable knowledge editing in modern sparse LLM architectures.

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

↑