arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11901cs.LGcs.AI
收藏

Larimar:具有情景记忆控制的大型语言模型

Larimar: Large Language Models with Episodic Memory Control

IBM AI Research(IBM人工智能研究院);Princeton University(普林斯顿大学)
Payel Das, Subhajit Chaudhury, Elliot Nelson, Igor Melnyk, Sarath Swaminathan, Sihui Dai, Aurélie Lozano, Georgios Kollias, Vijil Chenthamarakshan, Jiří, Navrát… 展开作者

Payel Das, Subhajit Chaudhury, Elliot Nelson, Igor Melnyk, Sarath Swaminathan, Sihui Dai, Aurélie Lozano, Georgios Kollias, Vijil Chenthamarakshan, Jiří, Navrátil, Soham Dan, Pin-Yu Chen

AI总结:

本文提出Larimar,一种受大脑启发的分布式情景记忆架构,使大型语言模型能进行一次性知识更新,在多基准上实现高准确率与8-10倍加速,并支持选择性遗忘与信息泄露预防。

摘要:

高效且准确地更新大型语言模型(LLMs)中存储的知识是当今最紧迫的研究挑战之一。本文提出了Larimar——一种新颖的、受大脑启发的架构,旨在通过分布式情景记忆来增强LLMs。Larimar的记忆允许对知识进行动态的一次性更新,而无需进行计算成本高昂的重新训练或微调。在多个事实编辑基准上的实验结果表明,Larimar的准确率可与最具竞争力的基线相媲美,即使在极具挑战性的顺序编辑设置中也是如此;同时它在速度上也表现出色——根据基础LLM的不同,可实现8-10倍的加速;并且由于其提出的架构简单、与LLM无关,因而具有通用性和灵活性。我们进一步为Larimar提供了选择性事实遗忘、信息泄露预防和输入上下文长度泛化的机制,并证明了它们的有效性。我们的代码可在https://github.com/IBM/larimar获取。

英文摘要:

Efficient and accurate updating of knowledge stored in Large Language Models (LLMs) is one of the most pressing research challenges today. This paper presents Larimar - a novel, brain-inspired architecture for enhancing LLMs with a distributed episodic memory. Larimar's memory allows for dynamic, one-shot updates of knowledge without the need for computationally expensive re-training or fine-tuning. Experimental results on multiple fact editing benchmarks demonstrate that Larimar attains accuracy comparable to most competitive baselines, even in the challenging sequential editing setup, but also excels in speed - yielding speed-ups of 8-10x depending on the base LLM - as well as flexibility due to the proposed architecture being simple, LLM-agnostic, and hence general. We further provide mechanisms for selective fact forgetting, information leakage prevention, and input context length generalization with Larimar and show their effectiveness. Our code is available at https://github.com/IBM/larimar

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

↑