Memory Transformer (MeT) adds a separate dial for visual memory inside vision Transformers without widening every attention layer. Researchers at Huazhong University of Science and Technology and the University of Salerno describe it in arXiv 2611.37432 (Native Scalable Memory Models with Transformers, submitted November 27, 2026). The project page summarizes a simple claim: wider recurrent state and larger backbones both lift THUMOS14 and Something-Something v2 accuracy, while per-frame latency stays almost flat when you scale memory width H.
The problem: clip models versus streaming reality
Most video ViTs recompute context or rely on finite activation caches. That works for short clips, but security cameras, wearable agents, and live analytics need causal frames: each timestep may use only past observations plus a bounded state.
Text-side research already attacks unbounded KV growth—see MemOnce and what recurrent depth means. Video models face the same pressure with spatial tokens: patches and a CLS vector per frame, repeated across hundreds of timesteps.
MeT's pitch is native hierarchical memory: GRU states live inside the representation hierarchy, updated from spatial features and returned through residual readouts, so persistent context is not an afterthought bolted onto the final pooling layer.
Architecture: token-level GRU at multiple depths
The arXiv HTML paper defines MeT Blocks that combine a standard ViT block with token memory:
| Component | What it does |
|---|---|
| Spatial ViT block | Mixes patches at width D |
| PreLN-GRU memory | Maintains hidden state H per token position (CLS plus patches) |
| Residual readout | Adds memory back into token features before the next spatial block |
| Causal updates | Each frame updates state from current features and prior state only |
H controls memory capacity independently of D and network depth N. States stay bounded as video length grows—critical when you compare against full spatiotemporal attention that implicitly assumes access to entire clips.
Ablations worth copying
Table 1 in the paper pits RG-LRU, window attention, slot memory, and PreLN-GRU at the same mid depth on ViT-Small. PreLN-GRU on patch plus CLS tokens wins both THUMOS14 mAP and SSv2 Top-1. Using CLS-only memory tanks Top-1 by nearly five points—spatial patches carry gesture detail Something-Something needs.
Insertion depth matters too: a four-stage hierarchy at blocks 3, 6, 9, and 12 hits the best THUMOS14 mAP while keeping state under one megabyte per stream in the Small configuration table.
MeT independent memory-width and model-size scaling on THUMOS14 and SSv2
Image: HUSTVL MeT project
Scaling trends the authors highlight
The paper's Figure 2 narrative (described on the project page and in the HTML preprint) makes two claims builders should test:
- Memory-width scaling: at fixed ViT geometry, increasing H monotonically helps accuracy with negligible latency change.
- Model-family scaling: larger MeT variants help even when H is matched across sizes.
Concrete comparisons cited in the abstract include:
- MeT-Small beating ViT-Large on both benchmarks with under 10% of ViT-Large per-frame FLOPs.
- MeT-Base beating TRecViT-Large with about 27% of its parameters and per-frame FLOPs.
- MeT-Large delivering +6.69 THUMOS14 mAP and +26.91 SSv2 Top-1 over same-size ViT, with similar parameter and GFLOP budgets.
Efficiency rows matter for deployment: versus TRecViT-Large, MeT-Large uses 92.7% less persistent state and roughly 3.0× faster causal framewise inference in the paper's THUMOS14 configuration.
Those are training-recipe dependent numbers. Treat them as evidence that memory width is a cheap knob relative to doubling depth.
Where MeT sits in the video-model landscape
| Line | Mechanism | MeT difference |
|---|---|---|
| Sakana plastic CTM | Continuous-time memory research | MeT is ViT-native GRU stages with published action benchmarks |
| VideoMamba / SSM stacks | Subquadratic mixing | MeT keeps ViT blocks; memory is recurrent state, not bidirectional SSM |
| Activation caches | Store past features for attention | MeT updates structured GRU state, not unbounded KV of all past tokens |
| SuperNav spatial memory | Agent navigation memory | MeT targets supervised action recognition, not RL policies |
If you ship edge analytics, MeT's state/stream megabytes column is the spec sheet line to compare against DRAM budgets on Raspberry Pi AI camera posts.
MeT framewise action recognition examples on THUMOS14 and Something-Something v2
Image: HUSTVL MeT project
Practical takeaways for builders
- Try PreLN-GRU on both CLS and patches before exotic slot memories—the paper's ablation gap is large.
- Place memory at multiple depths, not only the final block; mid-level features carry motion cues SSv2 exploits.
- Profile state per stream, not only parameter count. MeT's pitch is less persistent state than cache-heavy transformers at better accuracy.
- Keep inference causal if your product streams frames; MeT is designed for framewise updates, unlike offline clip models you might fine-tune from IBM Granite vision embedders.
Teams training corporate video classifiers can link architecture choices to AI training workshops when stakeholders ask why you widen H instead of buying a larger backbone.
Model sizes and memory layouts shipped in the paper
Table 4 in the HTML preprint lists default MeT-Small, MeT-Base, and MeT-Large configurations:
| Variant | Hidden D | Blocks N | Memory after blocks | Params (M) THUMOS | State/stream (MB) |
|---|---|---|---|---|---|
| MeT-Small | 384 | 12 | 3, 6, 9, 12 | 25.82 | 0.91 |
| MeT-Base | 768 | 12 | 3, 6, 9, 12 | 102.36 | 1.82 |
| MeT-Large | 1024 | 24 | 3, 6, 9, 12, 15, 18, 21, 24 | 362.13 | 5.65 |
State/stream is the persistent memory footprint the paper reports for streaming inference (see Figure 2 definitions). The takeaway for edge deployers: doubling H can beat doubling N when DRAM is tighter than FLOPs.
Layout ablation that saved state
Table 3 compares distributed memory layouts on MeT-Small. The four-stage hierarchy (blocks 3+6+9+12) hits the best THUMOS14 mAP while using 72.7% less state than placing memory after all twelve blocks on SSv2-style metrics. Cramming memory only at the deepest block hurts gesture recognition even when parameters rise.
GRU hidden width sweeps
The authors evaluate fifteen capacity configurations across three model sizes. That sweep is the evidence behind the claim that memory scaling improves accuracy at near-constant latency within each size class—unlike widening attention, which typically grows quadratic costs with token count when you keep full history.
Training and inference implications
MeT trains with standard video recognition recipes on THUMOS14 and Something-Something v2 splits cited in the paper. Inference is causal framewise: each frame touches only prior GRU state plus current patches.
For streaming deployments:
- Pin state tensors per camera stream; do not batch unrelated streams into one recurrent buffer.
- Profile latency with four GRU stages versus one deep stage—the paper's tables show mid-depth wins.
- Compare against TRecViT-style caches using the paper's state/stream and GPU peak columns before assuming transformer caches are cheaper.
MeT does not ship text-side KV offload tricks; if your product mixes VLM chat with video analytics, you may still need separate memory budgets.
Who should care on product teams
Security operations running continuous feeds care because MeT targets causal updates: you can score each frame without rewinding a five-minute buffer through a giant attention matrix. That is closer to how NVIDIA export compliance customers describe fleet monitoring in our NVIDIA CCO tooling coverage—always-on perception, bounded state.
Gesture and short-action UX teams on wearables should note SSv2 Top-1 lifts. Something-Something tests fine-grained hand motion; memory at patch level keeps finger trajectories from being collapsed into a single CLS summary vector.
Robotics perception researchers should not expect MeT to output torques. It is a supervised recognition architecture. Still, the state/stream megabyte figures are the kind of specs you compare against on-device Gemma robotics demos when deciding whether recurrence belongs on the robot or in the cloud.
Foundation-model trainers comparing Mamba video stacks to ViTs now have a third chart axis: not only parameters and FLOPs, but H-width. When you write internal model cards, add a row for persistent bytes per stream next to context length.
Reproducibility checklist
Before citing MeT numbers in a pitch deck:
- Confirm you are on THUMOS14 and SSv2 splits named in the PDF—not a custom corporate dataset.
- Match causal framewise evaluation; offline clip models with bidirectional attention are not comparable.
- Download configs from hustvl.github.io/MeT when code appears; until then, treat results as paper-only.
- Re-run PreLN-GRU ablations if you change patch size; the paper uses standard ViT patch pipelines.
Limits
- The paper focuses on THUMOS14 and SSv2; transfer to robot egocentric video is untested in the preprint.
- PreLN-GRU adds engineering complexity versus plain ViT fine-tunes.
- Open weights were not listed on Hugging Face Papers when this article shipped; check hustvl.github.io/MeT for releases.
Related reading
- MemOnce LLM memory architecture
- What is recurrent depth
- Sakana continuous memory machine
- SuperNav structured spatial memory
- IBM Granite embedding vision
- WorldFoundry world-model benchmarks
Bottom line
MeT turns recurrent width into a first-class scaling axis for video ViTs. HUST reports large THUMOS14 and SSv2 gains with compact streaming state and stable per-frame latency when H grows. If your pipeline still treats video as independent clips, this paper is a prompt to budget memory bytes the way you already budget parameter billions.
