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

在1100万根干草中寻找针:循环记忆发现LLM所遗漏的内容

In Search of Needles in a 11M Haystack: Recurrent Memory Finds What LLMs Miss

AIRI;MIPT(莫斯科物理技术学院);London Institute for Mathematical Sciences(伦敦数学科学研究所)

Yuri Kuratov, Aydar Bulatov, Petr Anokhin, Dmitry Sorokin, Artyom Sorokin, Mikhail Burtsev

AI总结:

本文提出BABILong基准,发现GPT-4和RAG仅能处理万级元素序列,而通过循环记忆增强微调GPT-2可处理1100万元素长文档,刷新神经网络最长输入处理纪录。

摘要:

本文解决了使用生成式Transformer模型处理长文档的挑战。为了评估不同方法,我们引入了BABILong,这是一个新的基准,旨在评估模型在广泛文本中提取和处理分布式事实的能力。我们的评估包括针对GPT-4和RAG的基准测试,结果表明常见方法仅对长度不超过$10^4$个元素的序列有效。相比之下,通过循环记忆增强对GPT-2进行微调,使其能够处理涉及多达$11\ imes 10^6$个元素的任务。这一成就标志着一次重大飞跃,因为这是迄今为止任何神经网络模型处理过的最长输入,展示了长序列处理能力的显著提升。

英文摘要:

This paper addresses the challenge of processing long documents using generative transformer models. To evaluate different approaches, we introduce BABILong, a new benchmark designed to assess model capabilities in extracting and processing distributed facts within extensive texts. Our evaluation, which includes benchmarks for GPT-4 and RAG, reveals that common methods are effective only for sequences up to $10^4$ elements. In contrast, fine-tuning GPT-2 with recurrent memory augmentations enables it to handle tasks involving up to $11\times 10^6$ elements. This achievement marks a substantial leap, as it is by far the longest input processed by any neural network model to date, demonstrating a significant improvement in the processing capabilities for long sequences.

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

↑