Transformer模型凭借注意力机制成为大多数基础模型的骨干,但它们存在二次复杂度且难以处理输入序列中的长距离依赖关系。最近的研究表明,状态空间模型(SSMs)提供了一个有前途的替代方案。在本文中,我们引入了COFFEE(COntext From FEEdback)模型,一种新颖的时间变化SSM,它通过引入状态反馈来实现上下文依赖的选择性,同时仍允许并行实现。这一想法使模型能够根据内部状态描述的上下文来调节其动态,这体现了输入历史的紧凑表示。状态反馈使COFFEE能够提高其捕捉长距离依赖关系的能力:在归纳头部任务中,它在参数和训练序列数量上比S6(Mamba的SSM)减少两个数量级的情况下仍能实现接近完美的准确性。在MNIST数据集上,COFFEE在相同架构下大幅超越S6,仅使用3585个参数即可达到97%的准确率。这些结果展示了状态反馈作为构建可扩展和高效序列模型的关键机制的作用。
英文摘要:
Transformers, powered by the attention mechanism, are the backbone of most foundation models, yet they suffer from quadratic complexity and difficulties in dealing with long-range dependencies in the input sequence. Recent work has shown that state space models (SSMs) provide a promising alternative. In this paper, we introduce the COFFEE (COntext From FEEdback) model, a novel time-varying SSM that incorporates state feedback to enable context-dependent selectivity, while still allowing for parallel implementation. This idea allows the model to regulate its dynamics based on the context described by the internal state, which embodies a compact representation of the input history. State feedback allows COFFEE to improve its ability to capture long-range dependencies: on the induction head task, it achieves near-perfect accuracy with two orders of magnitude fewer parameters and training sequences compared to S6 (the SSM of Mamba). On MNIST, COFFEE largely outperforms S6 within the same architecture, reaching 97% accuracy with only 3585 parameters. These results showcase the role of state feedback as a key mechanism for building scalable and efficient sequence models.
Learning When to Trust via Selective Context Preference Optimization
Duke University(杜克大学);National University of Singapore(新加坡国立大学);UC Berkeley(加州大学伯克利分校);UC Irvine(加州大学欧文分校);Northeastern University(东北大学);Nanyang Technological University(南洋理工大学)
Sub-SA: Strengthen In-context Learning via Submodular Selective Annotation
School of Electrical and Electronic Engineering, Nanyang Technological University(南洋理工大学电气与电子工程学院);School of Automation, Southeast University(东南大学自动化学院);State Key Laboratory of ASIC and System, Fudan University(复旦大学专用集成电路与系统国家重点实验室)
Low-Rank Contextual Reinforcement Learning from Heterogeneous Human Feedback
Department of Statistics and Operations Research, University of North Carolina, Chapel Hill(统计与运筹学系,北卡罗来纳大学 Chapel Hill 分校);Daniels School of Business, Purdue University(商务学院,普渡大学);Department of Statistics and Operations Research, Department of Genetics, Department of Biostatistics, The University of North Carolina at Chapel Hill(统计与运筹学系,遗传学系,生物统计学系,北卡罗来纳大学 Chapel Hill 分校)
Active Learning for Contextual Search with Binary Feedbacks
Leonard N. Stern School of Business, New York University(纽约大学伦纳德·N·斯特恩商学院);Naveen Jindal School of Management, University of Texas at Dallas(德克萨斯大学达拉斯分校纳文·金达尔管理学院)