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

RET-LLM:迈向面向大型语言模型的通用读写记忆

RET-LLM: Towards a General Read-Write Memory for Large Language Models

Center for Information and Language Processing, LMU Munich(慕尼黑大学信息与语言处理中心);Munich Center for Machine Learning(慕尼黑机器学习中心);Microsoft(微软公司)

Ali Modarressi, Ayyoob Imani, Mohsen Fayyaz, Hinrich Schütze

AI总结:

针对 LLM 缺乏专用记忆单元的问题,本文提出 RET-LLM 框架,以三元组构建可扩展、可更新的通用读写记忆,并在问答及时间相关问答中验证其优势。

摘要:

大型语言模型(LLM)凭借其庞大的参数量和全面的数据利用,显著推动了自然语言处理(NLP)领域的发展。然而,现有的 LLM 缺少专用的记忆单元,这限制了它们为各种任务显式存储和检索知识的能力。本文提出 RET-LLM,这是一个新颖框架,为 LLM 配备通用的写入—读取记忆单元,使其能够根据任务执行需要,从文本中提取、存储并回忆知识。受 Davidsonian semantics theory(戴维森语义理论)启发,我们以三元组形式提取并保存知识。该记忆单元被设计为具有可扩展性、可聚合性、可更新性和可解释性。通过定性评估,我们证明了所提出框架在问答任务上优于基线方法。此外,该框架在处理基于时间的问答任务时表现出稳健性能,展示了其有效管理随时间变化信息的能力。

英文摘要:

Large language models (LLMs) have significantly advanced the field of natural language processing (NLP) through their extensive parameters and comprehensive data utilization. However, existing LLMs lack a dedicated memory unit, limiting their ability to explicitly store and retrieve knowledge for various tasks. In this paper, we propose RET-LLM a novel framework that equips LLMs with a general write-read memory unit, allowing them to extract, store, and recall knowledge from the text as needed for task performance. Inspired by Davidsonian semantics theory, we extract and save knowledge in the form of triplets. The memory unit is designed to be scalable, aggregatable, updatable, and interpretable. Through qualitative evaluations, we demonstrate the superiority of our proposed framework over baseline approaches in question answering tasks. Moreover, our framework exhibits robust performance in handling temporal-based question answering tasks, showcasing its ability to effectively manage time-dependent information.

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

↑