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

长序列模型能多好地建模长序列?比较架构归纳偏置对长上下文能力的影响

How Well Can a Long Sequence Model Model Long Sequences? Comparing Architechtural Inductive Biases on Long-Context Abilities

Mila - Quebec AI Institute & Université de Montréal(魁北克AI研究所 & 蒙特利尔大学)

Jerry Huang

AI总结:

本文评估长序列模型(如状态空间和线性循环网络)在长上下文任务中的实际表现,发现理论优势与实际能力存在差距,并揭示不同归纳偏置的外推能力不一致,需进一步研究。

摘要:

长序列在现实场景中大量存在,因此对其进行适当建模可开启众多下游用例。然而,深度神经网络由于多种原因常常难以处理这些序列。近期在系统工程和模型设计方面的进展,使得支持扩展上下文长度的模型得以扩展。特别是,状态空间和线性循环神经网络模型家族理论上可以扩展到无限序列长度。然而,这是否好得令人难以置信?我们进行了一项评估,以表明尽管这些主张在理论上可能合理,但在实践中仍存在经验观察到的大差距。特别是,循环模型在长上下文LLM(带注意力)的相同设置中仍然表现不佳。我们进一步表明,不同的归纳偏置具有不一致的外推能力,这凸显了进一步研究此类范式并探究长上下文模型为何似乎未能按预期表现的必要性。

英文摘要:

Long sequences occur in abundance within real-world scenarios, hence properly modelling them opens numerous down-stream use-cases. Deep neural networks, however, have often struggled with these for a variety of reasons. Recent advances, both in system engineering as well as model design, have enabled the scaling up of model that are purported to support extended context length. In particular, the state-space and linear recurrent neural network families of models hypothetically can entend to infinite sequence lenth. However, is this too good to be true? We conduct an evaluation to show that while such claims may be sound theoretically, there remain large practical gaps that are empirically observed. In particular, recurrent models still suffer in the same settings as long-context LLMs with attention. We further show that different inductive biases have inconsistent extrapolation capabilities, highlighting the need to further study such paradigms and investigate why long-context models seemingly fail to behave as one might expect.

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

↑