Long-Term Feature Banks for Detailed Video Understanding

Chao-Yuan Wu, Christoph Feichtenhofer, Haoqi Fan, Kaiming He, Philipp Krähenbühl, Ross B. Girshick

Abstract

To understand the world, we humans constantly need to relate the present to the past, and put events in context. In this paper, we enable existing video models to do the same. We propose a long-term feature bank—supportive information extracted over the entire span of a video—to augment state-of-the-art video models that otherwise would only view short clips of 2-5 seconds. Our experiments demonstrate that augmenting 3D convolutional networks with a long-term feature bank yields state-of-the-art results on three challenging video datasets: AVA, EPIC-Kitchens, and Charades.

Introduction: The Challenge of Long-Term Video Context

A single frame or a short clip of a person sitting on a sofa can be ambiguous: are they watching TV, listening to music, or waiting for a friend? To a human, the answer is clear based on what happened minutes prior. However, modern AI models, specifically 3D Convolutional Neural Networks (3D CNNs), are computationally intensive. To fit within GPU memory constraints during training, these models are typically restricted to processing very short clips—often just 2 to 5 seconds long.

Standard video models only process short clips (e.g., 4 seconds), missing the broader temporal context of the full video.

This "short-term view" makes it nearly impossible for models to understand complex activities that rely on long-range temporal context. This research aims to bridge this gap by providing models with a mechanism to reference information across the entire span of a video without a prohibitive increase in computational cost.

Methodology: Decoupling Memory from Perception

The proposed architecture decouples immediate perception from long-term memory through three main components:

  1. Short-Term Backbone: A standard 3D CNN (such as I3D or ResNet-50) processes a 2-5 second clip to extract local, "current" features.
  2. Long-Term Feature Bank (LFB): This is a pre-computed repository of information from the entire video. It stores data sampled at regular intervals (e.g., once per second), which can include features of detected objects or general scene features depending on the specific task.
  3. Feature Bank Operator (FBO): This component acts as the interface between the backbone and the LFB. Using an attentional mechanism (a modified Non-Local block), the model uses the current short-term features as a "query" to retrieve relevant information from the long-term bank.

By treating the LFB as a fixed, pre-computed resource during the training of the FBO, the authors avoid the memory limitations associated with training massive networks on long-duration video end-to-end.

Datasets and Evaluation

The approach was evaluated on three diverse benchmarks:

  • AVA: Focuses on spatio-temporal action localization in movie scenes.
  • EPIC-Kitchens: Egocentric videos of cooking activities, requiring identification of both actions (verbs) and objects (nouns).
  • Charades: Daily indoor activities used for video-level action classification.

Key Results and Insights

The integration of a Long-Term Feature Bank yielded significant performance gains over short-term-only baselines:

  • AVA: Improved mean Average Precision (mAP) from 22.1 to 25.5 (and up to 27.7 with a larger backbone), establishing a new state-of-the-art.
  • EPIC-Kitchens: On the "unseen kitchens" test set, the LFB model nearly doubled the top-1 action accuracy compared to previous baselines (21.2% vs. 10.9%).
  • Charades: Achieved 42.5 mAP, outperforming more complex methods like STRG.

Several key insights emerged from the study. First, context is critical: in the AVA dataset, performance improved as the context window increased, peaking at approximately 60 seconds. Second, decoupling is effective: separating immediate perception from memory allows for more flexible modeling. Finally, the LFB is versatile and efficient, outperforming simple model ensembling while using fewer parameters.

Limitations and Future Outlook

While effective, the current LFB approach has limitations. It relies on offline pre-processing, meaning the feature bank must be pre-computed, making it less suitable for real-time applications. Furthermore, the two-stage training prevents end-to-end gradient flow across the entire video duration. The computational overhead of extracting high-quality features for every second of a long video also remains a challenge for very large datasets.

Future research may explore dynamic updates to the feature bank or advanced feature compression techniques to enable even longer temporal windows and real-time processing.

Summary updated

BibTeX
@inproceedings{wu2019long,
  author = {Chao-Yuan Wu and Christoph Feichtenhofer and Haoqi Fan and Kaiming He and Philipp Krähenbühl and Ross B. Girshick},
  title = {{Long-Term Feature Banks for Detailed Video Understanding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=ShVUa0JY8-c},
}
Figure