Compressing History into Memory: Distilling Transformers into Recurrent Transformers
Not on the map. Why?
Abstract (arXiv)
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
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 56 of its 65 references that are in the map. First posted on arXiv 19 Jun 2026.
Builds on
56 of 65 references.
References · 56
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
- 2025π0.5: a Vision-Language-Action Model with Open-World Generalizationcited by 1,761
- 2023DUSt3R: Geometric 3D Vision Made Easycited by 1,567
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,539
- 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysiscited by 1,413
- 2024Grounding Image Matching in 3D with MASt3Rcited by 983
- 2014Neural Turing Machinescited by 644
- 2021Habitat-Matterport 3D Dataset (HM3D): 1000 Large-scale 3D Environments for Embodied AIcited by 592
- 2024LLaVA-Video: Video Instruction Tuning With Synthetic Datacited by 583
- 2025Continuous 3D Perception Model with Persistent Statecited by 548
- 2025SmolVLA: A Vision-Language-Action Model for Affordable and Efficient Roboticscited by 530
- 2024Long Context Transfer from Language to Visioncited by 515
- 2021Habitat 2.0: Training Home Assistants to Rearrange their Habitatcited by 511
- 2018Gibson Env: Real-World Perception for Embodied Agentscited by 481
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2025OVO-Bench: How Far is Your Video-LLMs from Real-World Online Video Understanding?cited by 142
- 2025MUSt3R: Multi-view Network for Stereo 3D Reconstructioncited by 141
- 2026DreamDojo: A Generalist Robot World Model from Large-Scale Human Videoscited by 135
- 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 129
- 2015Neural GPUs Learn Algorithmscited by 121
- 2025VGGT-Long: Chunk it, Loop it, Align it -- Pushing VGGT's Limits on Kilometer-scale Long RGB Sequencescited by 115
- 2024RADIOv2.5: Improved Baselines for Agglomerative Vision Foundation Modelscited by 89
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 67
- 2023Eagle: Large-Scale Learning of Turbulent Fluid Dynamics with Mesh Transformerscited by 57
- 2024StreamBench: Towards Benchmarking Continuous Improvement of Language Agentscited by 47
- 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 45
- 2026LoGeR: Long-Context Geometric Reconstruction with Hybrid Memorycited by 39
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
- 2025DUNE: Distilling a Universal Encoder from Heterogeneous 2D and 3D Teacherscited by 32
- 2025Next-Latent Prediction Transformers Learn Compact World Modelscited by 31
- 2026Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstructioncited by 31
- 2026VGGT-SLAM 2.0: Real-time Dense Feed-forward Scene Reconstructioncited by 28
- 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 26
- 2022Token Turing Machinescited by 25
- 2024Moving Off-the-Grid: Scene-Grounded Video Representationscited by 11
- 2025Partially Observable Reinforcement Learning with Memory Tracescited by 9
- 2025AMR-Transformer: Enabling Efficient Long-range Interaction for Complex Neural Fluid Simulationcited by 8
- 2024TRecViT: A Recurrent Video Transformercited by 5
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.