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

学习记忆:基于邻居混合归纳记忆的半参数模型中的可扩展持续学习

Learn to Memorize: Scalable Continual Learning in Semiparametric Models with Mixture-of-Neighbors Induction Memory

State Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University(多媒体信息处理国家重点实验室,计算机科学学院,北京大学);Microsoft(微软公司);Microsoft Research Asia(微软亚洲研究院)

Guangyue Peng, Tao Ge, Wen Luo, Wei Li, Houfeng Wang

AI总结:

研究半参数语言模型中记忆缺乏学习能力的问题,提出将非参数记忆重新概念化为可学习的邻居混合归纳记忆(MoNIM),融入模型信息流,经实验验证其能提升半参数语言模型的可扩展性和持续学习性能。

摘要:

半参数语言模型在各种自然语言处理任务中展现出潜力。然而,它们将非参数记忆用作静态存储,缺乏学习能力且与参数模型的内部信息流脱节,限制了可扩展性和效率。基于语言模型的最新可解释性理论,我们将由k近邻语言模型表示的非参数记忆重新概念化为可学习的邻居混合归纳记忆(MoNIM),它将注意力头的归纳能力与前馈网络(FFN)的记忆强度相结合。通过融入模型的信息流,MoNIM在Transformer架构中充当类似FFN的旁路层,实现新知识的有效学习。大量实验表明,MoNIM在数据和模型方面都是具有保持性和可扩展性的持续学习者,提高了半参数语言模型的可扩展性和持续学习性能。

英文摘要:

Semiparametric language models (LMs) have shown promise in various Natural Language Processing (NLP) tasks. However, they utilize non-parametric memory as static storage, which lacks learning capability and remains disconnected from the internal information flow of the parametric models, limiting scalability and efficiency. Based on recent interpretability theories of LMs, we reconceptualize the non-parametric memory represented by $k$NN-LM as a learnable Mixture-of-Neighbors Induction Memory (MoNIM), which synergizes the induction capabilities of attention heads with the memorization strength of feed-forward networks (FFN). By integrating into the model's information flow, MoNIM functions as an FFN-like bypass layer within the Transformer architecture, enabling effective learning of new knowledge. Extensive experiments demonstrate that MoNIM is a retentive and scalable continual learner in both data- and model-wise, enhancing the scalability and continual learning performance of semiparametric LMs.

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

↑