Abstract
A hierarchical recurrent memory mechanism enables vision Transformers to scale memory capacity independently, improving video recognition accuracy with compact persistent state and minimal latency overhead.
We introduce Memory Transformer (MeT), a novel method for native visual memory modeling that opens a new scaling dimension for vision Transformers. Its hierarchical memory maintains recurrent states updated from spatial features and returned through residual readouts, making persistent context an intrinsic part of the representation hierarchy. A separate hidden-state width controls memory capacity independently of backbone width and depth, while the retained state remains bounded as the input sequence grows. MeT reveals two complementary scaling trends: increasing memory capacity consistently improves accuracy at a fixed spatial backbone, and larger models deliver further gains at matched memory widths. Studies spanning three model sizes and fifteen capacity configurations demonstrate these gains with compact states and low computational overhead relative to same-size ViTs; per-frame latency remains nearly unchanged during memory scaling. On THUMOS14 and SSv2, MeT-Large outperforms state-of-the-art methods in accuracy, improving mAP and Top-1 accuracy over same-size ViTs by 6.69 and 26.91, respectively, with comparable parameter counts, GFLOPs, and GPU peak. Compared with TRecViT-Large, MeT-Large uses 92.7% less persistent state and provides approximately 3.0times faster causal framewise inference. MeT establishes native visual memory as an independently scalable architectural resource, opening a direct route to stronger visual models. Project page at https://hustvl.github.io/MeT.
Community
MeT makes native visual memory an independently scalable architectural resource, establishing two scaling trends with compact states and low computational overhead.
Highlights
Native visual memory as an independently scalable architectural resource. Memory Transformer (MeT) interleaves ViT blocks with recurrent stages that carry token histories across frames and feed them back into spatial computation through residual readouts. The recurrent width sets memory capacity independently of the backbone's width and depth. The retained state stays bounded as the input sequence grows.
Two complementary scaling trends. Across three model sizes and 15 memory capacity configurations, wider recurrent states consistently improve accuracy on THUMOS14 and SSv2 at fixed backbones and memory layouts. Larger MeT models deliver further gains, including at matched memory widths.
Compact states and low computational overhead. Within each model size, widening memory changes THUMOS14 latency by at most 0.03 ms per frame. MeT-Small surpasses ViT-Large on both benchmarks with less than one-tenth of its parameters and per-frame FLOPs. On THUMOS14, MeT-Large retains 92.7% less persistent state and runs causal framewise inference about 3.0× as fast as TRecViT-Large.
Design studies and benchmark validation. We characterize the memory mechanisms, token inputs, insertion depths, and stage layouts that support scaling. With the same spatial backbone and ImageNet-1K initialization, MeT-Large outperforms ViT-Large by 6.69 mAP on THUMOS14 and 26.91 Top-1 accuracy on SSv2.
Get this paper in your agent:
hf papers read 2611.37432 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper

