arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.15496cs.CL
收藏

ReMamba:赋予 Mamba 有效的长序列建模能力

ReMamba: Equip Mamba with Effective Long-Sequence Modeling

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Center for Data Science, AAIS, Peking University(北京大学AAIS数据科学中心);National Key Laboratory of General Artificial Intelligence(通用人工智能国家重点实验室);Meituan(美团);BIGAI(北京通用人工智能研究院)

Danlong Yuan, Jiahao Liu, Bei Li, Huishuai Zhang, Jingang Wang, Xunliang Cai, Dongyan Zhao

AI总结:

针对 Mamba 长上下文理解能力不足的问题,本文提出 ReMamba,通过两阶段重前向过程中的选择性压缩与自适应技术,在 LongBench 和 L-Eval 上分别提升 3.2 和 1.6 分,性能接近同规模 Transformer 模型。

摘要:

尽管 Mamba 架构在短上下文自然语言处理(NLP)任务上展现出优越的推理效率和具有竞争力的性能,但经验证据表明,与基于 Transformer 的模型相比,其理解长上下文的能力有限。在本研究中,我们探究了 Mamba 模型的长上下文效率问题,并提出了 ReMamba,以增强 Mamba 理解长上下文的能力。ReMamba 在一个两阶段重前向过程中结合了选择性压缩与自适应技术,仅带来极小的额外推理成本开销。在 LongBench 和 L-Eval 基准上的实验结果表明了 ReMamba 的有效性,分别比基线提高了 3.2 和 1.6 分,并获得了几乎与同规模 Transformer 模型相当的性能。

英文摘要:

While the Mamba architecture demonstrates superior inference efficiency and competitive performance on short-context natural language processing (NLP) tasks, empirical evidence suggests its capacity to comprehend long contexts is limited compared to transformer-based models. In this study, we investigate the long-context efficiency issues of the Mamba models and propose ReMamba, which enhances Mamba's ability to comprehend long contexts. ReMamba incorporates selective compression and adaptation techniques within a two-stage re-forward process, incurring minimal additional inference costs overhead. Experimental results on the LongBench and L-Eval benchmarks demonstrate ReMamba's efficacy, improving over the baselines by 3.2 and 1.6 points, respectively, and attaining performance almost on par with same-size transformer models.

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

↑