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

LSTM-MAS:一种受长短期记忆启发的多智能体系统用于长上下文理解

LSTM-MAS: A Long Short-Term Memory Inspired Multi-Agent System for Long-Context Understanding

Fudan University(复旦大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai Innovation Institute(上海创新研究院);The Chinese University of Hong Kong(香港中文大学)

Yichen Jiang, Jiakang Yuan, Chongjun Tu, Peng Ye, Tao Chen

AI总结:

本文提出LSTM-MAS多智能体系统,通过模仿LSTM的层次信息流和门控机制,解决长上下文处理中的误差累积和幻觉传播问题,实验表明在多个问答数据集上取得显著提升。

摘要:

有效处理长上下文仍是大型语言模型(LLMs)面临的基本但未解决的挑战。现有基于单一LLM的方法主要通过减少上下文窗口或优化注意力机制,但往往面临额外计算成本或扩展上下文长度受限的问题。虽然基于多智能体的框架可以缓解这些限制,但仍然容易积累误差和传播幻觉。在本工作中,我们受到长短期记忆(LSTM)架构的启发,设计了一种名为LSTM-MAS的多智能体系统,模仿LSTM的层次信息流和门控记忆机制用于长上下文理解。具体而言,LSTM-MAS采用链式架构,每个节点包含一个用于段级理解的工作者智能体、一个用于冗余减少的过滤智能体、一个用于连续误差检测的判断智能体,以及一个用于全局调节信息传播和保留的管理者智能体,类似于LSTM及其输入门、遗忘门、恒定错误回传单元和输出门。这些新颖设计使信息传输得以控制,并在文本段之间实现选择性的长期依赖建模,从而有效避免误差累积和幻觉传播。我们对我们的方法进行了广泛评估。与之前的最佳多智能体方法CoA相比,我们的模型在Narrative QA、Qasper、HotpotQA、2WikiMQA和MuSiQue数据集上分别取得了97.97%、65.75%、122.19%、39.61%和10.80%的提升。

英文摘要:

Effectively processing long contexts remains a fundamental yet unsolved challenge for large language models (LLMs). Existing single-LLM-based methods primarily reduce the context window or optimize the attention mechanism, but they often encounter additional computational costs or constrained expanded context length. While multi-agent-based frameworks can mitigate these limitations, they remain susceptible to the accumulation of errors and the propagation of hallucinations. In this work, we draw inspiration from the Long Short-Term Memory (LSTM) architecture to design a Multi-Agent System called LSTM-MAS, emulating LSTM's hierarchical information flow and gated memory mechanisms for long-context understanding. Specifically, LSTM-MAS organizes agents in a chained architecture, where each node comprises a worker agent for segment-level comprehension, a filter agent for redundancy reduction, a judge agent for continuous error detection, and a manager agent for globally regulates information propagation and retention, analogous to LSTM and its input gate, forget gate, constant error carousel unit, and output gate. These novel designs enable controlled information transfer and selective long-term dependency modeling across textual segments, which can effectively avoid error accumulation and hallucination propagation. We conducted an extensive evaluation of our method. Compared with the previous best multi-agent approach, CoA, our model achieves improvements of 97.97%, 65.75%, 122.19%, 39.61% and 10.80% on Narrative QA, Qasper, HotpotQA, 2WikiMQA and MuSiQue, respectively.

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

↑