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

混合记忆模型:基于模块化知识注入的低开销语言建模

Mixture-of-Memories: Low-Overhead Language Modeling with Modular Knowledge Injection

MBZUAI(穆罕默德·本·扎耶德人工智能大学);Shanghai Jiao Tong University(上海交通大学);The Chinese University of Hong Kong(香港中文大学);ADIA Lab(阿布扎比投资局实验室)

Yifan Lu, Rubin Wei, Ziyun Zou, Junhong Liang, Haolin Yang, Xinlin Zhuang, Abhijit Das, Adinath Madhavrao Dukre, Shadab Khan, Zhouhan Lin, Imran Razzak

AI总结:

该研究提出混合记忆模型(MoM),通过分离路由神经记忆与可写事实记忆,结合轻量级预算路由器,在低推理开销下提升了语言建模的预测准确性与知识可更新性。

摘要:

大型语言模型在其参数中存储了大量事实知识,但这些知识在推理阶段难以控制、更新和可靠提取。现有的记忆增强方法通常依赖单一的辅助机制,如检索、参数更新或神经记忆,因此对具有不同知识需求的标记应用相同形式的修正。我们提出了混合记忆模型(Mixture-of-Memories,MoM),这是一种记忆增强的语言建模框架,将路由神经记忆与可写事实记忆分离。MoM结合了一个冻结的基础语言模型和两个神经记忆专家:提供低延迟隐藏状态修正的潜在记忆,以及提供标记空间知识通路的词汇记忆。一个轻量级预算路由器根据不确定性和分歧特征设置每个标记的混合权重,替代了先前记忆模块的固定插值。对于事后更新,外部显式记忆保留在路由器之外,因为在写入事实之前训练的路由器会学习降低其权重;新事实无需重新训练任何组件即可附加,且仅在答案级门接受检索到的事实时使用。在语言建模、事实问答、更新分析和效率方面的实验表明,MoM在保持低推理开销的同时,提高了预测准确性和可更新性。

英文摘要:

Large language models store substantial factual knowledge in their parameters, yet this knowledge is difficult to control, update, and reliably elicit at inference time. Existing memory-augmented approaches typically rely on a single auxiliary mechanism, such as retrieval, parameter updates, or neural memory, and therefore apply the same form of correction to tokens with very different knowledge demands. We propose Mixture-of-Memories (MoM), a memory-augmented language modeling framework that separates routed neural memory from writable factual memory. MoM combines a frozen base LM with two neural memory experts: a latent memory that provides low-latency hidden-state corrections and a lexical memory that provides a token-space knowledge pathway. A lightweight Budget Router sets per-token mixture weights from uncertainty and disagreement features, replacing the fixed interpolation of prior memory modules. For post-hoc updates, an external explicit memory stays outside the router, because a router trained before facts are written learns to down-weight it; new facts are appended without retraining any component and used only when an answer-level gate accepts the retrieved fact. Experiments across language modeling, factual QA, update analysis, and efficiency show that MoM improves both predictive accuracy and updateability while retaining low inference overhead.

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

↑