English

MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognition

Computer Vision and Pattern Recognition 2022-12-02 v2

Abstract

While today's video recognition systems parse snapshots or short clips accurately, they cannot connect the dots and reason across a longer range of time yet. Most existing video architectures can only process <5 seconds of a video without hitting the computation or memory bottlenecks. In this paper, we propose a new strategy to overcome this challenge. Instead of trying to process more frames at once like most existing methods, we propose to process videos in an online fashion and cache "memory" at each iteration. Through the memory, the model can reference prior context for long-term modeling, with only a marginal cost. Based on this idea, we build MeMViT, a Memory-augmented Multiscale Vision Transformer, that has a temporal support 30x longer than existing models with only 4.5% more compute; traditional methods need >3,000% more compute to do the same. On a wide range of settings, the increased temporal support enabled by MeMViT brings large gains in recognition accuracy consistently. MeMViT obtains state-of-the-art results on the AVA, EPIC-Kitchens-100 action classification, and action anticipation datasets. Code and models are available at https://github.com/facebookresearch/memvit.

Keywords

Cite

@article{arxiv.2201.08383,
  title  = {MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognition},
  author = {Chao-Yuan Wu and Yanghao Li and Karttikeya Mangalam and Haoqi Fan and Bo Xiong and Jitendra Malik and Christoph Feichtenhofer},
  journal= {arXiv preprint arXiv:2201.08383},
  year   = {2022}
}

Comments

Technical report. arXiv v2: add link to code

R2 v1 2026-06-24T08:57:03.602Z