跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2501.12352 (cs)
[提交于 2025年1月21日 (v1),最后修订于 2025年4月29日 (此版本, v2)]

标题:Test-time regression: a unifying framework for designing sequence models with associative memory

作者:Ke Alexander Wang, Jiaxin Shi, Emily B. Fox
查看论文《Test-time regression: a unifying framework for designing sequence models with associative memory》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Sequence models lie at the heart of modern deep learning. However, rapid advancements have produced a diversity of seemingly unrelated architectures, such as Transformers and recurrent alternatives. In this paper, we introduce a unifying framework to understand and derive these sequence models, inspired by the empirical importance of associative recall, the capability to retrieve contextually relevant tokens. We formalize associative recall as a two-step process, memorization and retrieval, casting memorization as a regression problem. Layers that combine these two steps perform associative recall via ``test-time regression'' over its input tokens. Prominent layers, including linear attention, state-space models, fast-weight programmers, online learners, and softmax attention, arise as special cases defined by three design choices: the regression weights, the regressor function class, and the test-time optimization algorithm. Our approach clarifies how linear attention fails to capture inter-token correlations and offers a mathematical justification for the empirical effectiveness of query-key normalization in softmax attention. Further, it illuminates unexplored regions within the design space, which we use to derive novel higher-order generalizations of softmax attention. Beyond unification, our work bridges sequence modeling with classic regression methods, a field with extensive literature, paving the way for developing more powerful and theoretically principled architectures.
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 神经与演化计算 (cs.NE); 机器学习 (stat.ML)
引用方式: arXiv:2501.12352 [cs.LG]
  (或者 arXiv:2501.12352v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2501.12352

提交历史

来自:Ke Alexander Wang
[v1] 2025年1月21日 星期二 18:32:31 UTC
[v2] 2025年4月29日 星期二 17:47:20 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.ML
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-04
切换浏览方式为:
cs
cs.LG
cs.AI
cs.NE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站