Memory Transformer adds native visual memory to vision transformers
Ziyang Xu (Hugging Face Daily Papers)
MeT adds hierarchical recurrent memory to vision transformers, with capacity set separately from model width. The authors report accuracy gains on THUMOS14 and SSv2 at comparable compute.
Source: huggingface.co ↗ · By CapyLaunch
Quick facts
| Model sizes | Three, with 15 memory capacity configurations |
|---|---|
| THUMOS14 gain | MeT-Large outperforms ViT-Large by 6.69 mAP |
| SSv2 gain | MeT-Large outperforms ViT-Large by 26.91 Top-1 accuracy |
| Latency change | At most 0.03 ms per frame when widening memory |
| Persistent state | MeT-Large retains 92.7% less state than TRecViT-Large on THUMOS14 |
| Inference speed | About 3.0x as fast as TRecViT-Large for causal framewise inference |
| Initialization | ImageNet-1K with the same spatial backbone |
What is it
Memory Transformer (MeT) is a vision transformer design that adds native visual memory. It interleaves ViT blocks with recurrent stages that carry token histories across video frames. The authors report accuracy gains on THUMOS14 and SSv2 at comparable compute.
How it works
MeT interleaves ViT blocks with recurrent stages. These stages carry token histories across frames and feed them back into spatial computation through residual readouts. Widening the recurrent state adds memory capacity without changing the backbone.
Why it matters
Most vision transformers handle video frame by frame with no built-in memory. MeT lets memory capacity be set by a recurrent width that is separate from the backbone's width and depth. The retained state stays bounded as the input sequence grows, which can help video tasks that need persistent context without much extra latency.
For builders: A possible option for video tasks that need persistent context without much extra latency.
Who + how to try
For: Builders working on video tasks that need persistent context, such as action detection on video.
Try:
FAQ
How does MeT differ from a standard vision transformer?
MeT interleaves ViT blocks with recurrent stages that carry token histories across frames and feed them back into spatial computation. The retained state stays bounded as the input sequence grows.
Does adding memory slow it down much?
Within each model size, widening memory changes THUMOS14 latency by at most 0.03 ms per frame.
How does MeT-Small compare to ViT-Large?
MeT-Small surpasses ViT-Large on both benchmarks with less than one-tenth of its parameters and per-frame FLOPs.
Where can I read the paper?
The paper page is on Hugging Face Daily Papers and includes the authors' highlights.
Also new this week in Research
All 92 Research stories →Voice Code Bench joins the Open ASR Leaderboard
Hugging Face announced that Voice Code Bench has been added to the Open ASR Leaderboard. The post gives no further details in the source.
OpenAI publishes research on demand for frontier reasoning models
OpenAI Economic Research looks at how business use of frontier reasoning models is growing and how that usage differs across roles and capabilities.
EVA-Bench adds multilingual evaluation for voice and conversational agents
ServiceNow AI expanded its EVA-Bench evaluation suite to multiple languages, arguing that English-only scores can hide weaknesses in other languages.
Two Minute Papers: DeepMind's WeatherNext 3 changes weather forecasting
Two Minute Papers covers DeepMind's WeatherNext 3 paper on AI weather forecasting. The video is based on the paper linked in its description.
Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.



