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

解耦混合专家用于参数化知识注入

Decoupled Mixture-of-Experts for Parametric Knowledge Injection

Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)

Baoqing Yue, Weihang Su, Qingyao Ai, Yichen Tang, Changyue Wang, Jiacheng Kang, Jingtao Zhan, Yiqun Liu

AI总结:

提出解耦混合专家(DMoE)架构,将外部知识转化为独立可更新的专家模块,通过轻量级不确定性感知路由器在基础模型知识不足时激活相关专家,实现参数级知识增强,在知识密集型基准上优于检索和适配器基线。

摘要:

知识注入旨在为大型语言模型(LLMs)配备外部、领域特定或时效性知识。现有方法通常在灵活性和集成性之间面临权衡:检索增强生成将知识保留在模型外部,但仅提供提示级增强;而基于后训练的方法将新知识编码到共享参数中,但可能引入灾难性遗忘、知识冲突和昂贵的更新。在本文中,我们提出解耦混合专家(DMoE),一种用于参数化知识注入的模块化架构,它将专家和路由器从基础模型中解耦。DMoE将外部知识语料库转换为可独立更新的专家模块,并使用轻量级不确定性感知路由器,仅在基础模型在生成过程中缺乏足够知识时激活相关专家。为了支持高效的自回归推理,DMoE仅将专家附加到最后一层前馈网络,在保留KV缓存重用的同时实现参数级知识增强。在知识密集型基准上的实验表明,DMoE在答案质量上持续优于检索和适配器基线。

英文摘要:

Knowledge injection aims to equip large language models (LLMs) with external, domain-specific, or time-sensitive knowledge. Existing approaches typically face a trade-off between flexibility and integration: retrieval-augmented generation keeps knowledge outside the model but only provides prompt-level augmentation, whereas post-training based methods encode new knowledge into shared parameters but may introduce catastrophic forgetting, knowledge conflict, and costly updates. In this paper, we propose Decoupled Mixture-of-Experts (DMoE), a modular architecture for parametric knowledge injection that decouples both experts and the router from the base model. DMoE converts external knowledge corpora into independently updatable expert modules and uses a lightweight uncertainty-aware router to activate relevant experts only when the base model lacks sufficient knowledge during generation. To support efficient auto-regressive inference, DMoE attaches experts only to the final-layer feed-forward network, preserving KV-cache reuse while enabling parameter-level knowledge augmentation. Experiments on knowledge-intensive benchmarks show that DMoE consistently improves answer quality over retrieval and adapter-based baselines.

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

↑