Memory Enhanced Global-Local Aggregation for Video Object Detection

Yihong Chen, Yue Cao, Han Hu, Liwei Wang

Abstract

Video object detection (VOD) faces unique challenges such as motion blur and occlusion that are absent in static image detection. Current state-of-the-art methods often fail to effectively integrate both local temporal information and global semantic context, or they are limited by a narrow temporal window. We present Memory Enhanced Global-Local Aggregation (MEGA), a framework that addresses these "ineffective" and "insufficient" problems. By introducing a Long Range Memory (LRM) module, MEGA caches features from previous frames, allowing the model to aggregate information across a significantly larger temporal range than prior methods. MEGA achieves 85.4% mAP on the ImageNet VID benchmark, setting a new state-of-the-art.

Introduction

Detecting objects in video is significantly more complex than in static images. Individual frames frequently suffer from motion blur, occlusion, or poor focus, which can degrade the performance of standard detectors. Humans overcome these issues by leveraging two primary cues:

  1. Global Semantic Information: Recognizing a blurry object by recalling a clear instance of it seen earlier in the video.
  2. Local Localization Information: Tracking objects across adjacent frames to maintain spatial consistency.

Existing research typically suffers from two major flaws. First, the Ineffective Problem: most methods focus on either local or global information, but rarely both in a unified way. Second, the Insufficient Problem: temporal models usually only consider a small window (e.g., 20–30 frames), losing track of objects during extended occlusions.

Methodology

MEGA introduces a multi-stage architecture designed to aggregate features across the entire video sequence.

Global-Local Aggregation

At its core, MEGA uses an attention-based Relation Module to calculate relationships between object proposals in different frames. The model first aggregates global features—sampled randomly from the entire video—into a local pool of features. This ensures that the detection in local frames is informed by the broader semantic context of the entire video.

MEGA framework combining local and global semantic cues.

Long Range Memory (LRM)

The primary innovation of MEGA is the Long Range Memory (LRM) module. Instead of discarding features after processing a frame, MEGA caches enhanced features in a memory module. Due to the stacked architecture, this creates a recurrent connection. When processing subsequent frames, the model accesses these cached features, effectively extending its temporal "sight" to over 100 frames without the computational burden of re-processing the entire sequence.

MEGA with Long Range Memory (LRM) for extended temporal reach.

Experimental Setup

MEGA was evaluated on the ImageNet VID dataset, a standard benchmark for video object detection containing 3,862 training and 555 validation videos across 30 categories. Training was augmented with the ImageNet DET static image dataset to improve base feature extraction.

Key Insights

  • Temporal Reach: Accuracy is heavily driven by the amount of video content a model can reference. MEGA aggregates information from roughly 10x more frames than previous state-of-the-art methods.
  • Complementary Cues: Global information is vital for semantic identification ("what"), while local information provides the spatial clues necessary for precise localization ("where").
  • Efficiency: By reusing precomputed features in the LRM, MEGA achieves a massive boost in temporal reach with only a marginal increase in runtime (~114ms per frame).

Results

MEGA achieved state-of-the-art results on the ImageNet VID benchmark:

  • Accuracy: With a ResNet-101 backbone, MEGA reached 82.9% mAP. Using ResNeXt-101 and Seq-NMS post-processing, it reached 85.4% mAP.
  • Ablation Study: Removing global aggregation led to a 1.6% drop in mAP, while removing the LRM caused a 1.5% drop, confirming that both components are essential.

Conclusion

MEGA demonstrates that simultaneously leveraging global and local information through a long-range memory mechanism significantly improves video object detection. Future work may explore more sophisticated memory management (e.g., memory decay) for extremely long videos and optimizing the architecture for real-time deployment on edge devices.

Summary updated

BibTeX
@inproceedings{chen2020memory,
  author = {Yihong Chen and Yue Cao and Han Hu and Liwei Wang},
  title = {{Memory Enhanced Global-Local Aggregation for Video Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01035},
}
Figure