跳到正文
arXiv:cs.LG· Philippe Weinzaepfel, Christian Wolf, Mert B\"ulent Sariyildiz, Guillaume Bono, Gianluca Monaci·· 2 天前AI 评分34

将历史压缩进记忆:把 Transformer 蒸馏为循环 Transformer

Compressing History into Memory: Distilling Transformers into Recurrent Transformers

AI 导读

研究者提出一种蒸馏方法,让经典全历史 Transformer 把压缩策略迁移给循环 Transformer 变体,从而在保持固定大小记忆的同时缩小与全历史模型的性能差距。

正文

View PDF HTML (experimental)

Abstract:Transformers are AI's workhorse but their computational cost becomes prohibitive when processing long sequences. We target long-horizon streaming vision and robotics applications, where it is particularly impractical to store and maintain a history of observations. Recurrent Transformers address this limitation by maintaining fixed-size memory but their performance lags behind that of transformers operating over the full observation history. We argue that this gap does not stem from architectural limitations, but from differences in how these models learn to compress past information. Without access to an observation history, recurrent models must explicitly decide what to retain in memory at each step, a significantly harder learning problem. In this work, we propose a distillation approach that transfers the compression strategy of a classical full-history transformer to a recurrent variant. We enable this by designing a teacher model that explicitly compresses its observation history into a fixed-size bottleneck representation and directly supervise the student's memory with this bottleneck representation, effectively aligning the two compression mechanisms. We show that this approach allows to train a recurrent latent robotic memory with linear-time complexity on the Mem-RPE task while substantially narrowing the performance gap to full-history transformers. We additionally validate the same principle on streaming visual question answering (VQA) and observe improved recurrent predictions thanks to memory distillation
Subjects: Computer Vision and Pattern Recognition (cs.CV); Machine Learning (cs.LG)
Cite as: arXiv:2606.21562 [cs.CV]
  (or arXiv:2606.21562v2 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2606.21562

arXiv-issued DOI via DataCite

Submission history

From: Philippe Weinzaepfel [view email]
[v1] Fri, 19 Jun 2026 15:58:36 UTC (15,653 KB)
[v2] Thu, 1 Oct 2026 11:52:15 UTC (15,659 KB)

来源:arXiv:cs.LG · arxiv.org