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

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

计算机科学 > 机器学习

arXiv:2507.00453 (cs)
[提交于 2025年7月1日]

标题:Recurrent Memory-Augmented Transformers with Chunked Attention for Long-Context Language Modeling

作者:Ankit Kashyap
查看论文《Recurrent Memory-Augmented Transformers with Chunked Attention for Long-Context Language Modeling》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We present a Transformer architecture for long-context language modeling that combines global attention with two biologically inspired components: chunked local attention and a gated FIFO memory mechanism. This unified attention block allows the model to efficiently handle both short-range and long-range dependencies without increasing attention cost quadratically. The memory module persistently stores past token representations using a gated update mechanism inspired by recurrent networks. Rotary positional encoding is applied per attention head to enable directionally disentangled, scale-invariant positional signals. The architecture is implemented entirely from scratch in PyTorch, with no reliance on high-level libraries, enabling transparent and modular experimentation. Our model offers a lightweight and extensible design for tasks such as dialogue modeling, code completion, and document understanding.
评论: 19 pages, 9 figures, 1 table; implemented entirely from scratch in PyTorch
主题: 机器学习 (cs.LG)
引用方式: arXiv:2507.00453 [cs.LG]
  (或者 arXiv:2507.00453v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.00453

提交历史

来自:Ankit Kashyap
[v1] 2025年7月1日 星期二 06:11:38 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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