← All news

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

Model sizesThree, with 15 memory capacity configurations
THUMOS14 gainMeT-Large outperforms ViT-Large by 6.69 mAP
SSv2 gainMeT-Large outperforms ViT-Large by 26.91 Top-1 accuracy
Latency changeAt most 0.03 ms per frame when widening memory
Persistent stateMeT-Large retains 92.7% less state than TRecViT-Large on THUMOS14
Inference speedAbout 3.0x as fast as TRecViT-Large for causal framewise inference
InitializationImageNet-1K with the same spatial backbone

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.

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.

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.

For: Builders working on video tasks that need persistent context, such as action detection on video.

Try:

https://huggingface.co/papers/2611.37432

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.

All 92 Research stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy