Sequence Level Semantics Aggregation for Video Object Detection

Haiping Wu, Yuntao Chen, Naiyan Wang, Zhaoxiang Zhang

TL;DR

Video object detection often fails when fast motion causes blur or defocus in individual frames. This paper introduces Sequence Level Semantics Aggregation (SELSA), a method that ignores temporal order to treat a video as a "bag of unordered frames," aggregating features from semantically similar objects across the entire sequence to build robust, high-quality representations.

What Problem Does This Paper Address?

Object detection in still images has become highly accurate, but video introduces unique challenges: motion blur, camera defocus, and extreme pose variations (see Figure 1). When a single frame is degraded, a detector needs context from other frames to "fill in the blanks."

Figure 1. Challenges in video object detection. Motion blur, cam- era defocus and pose variation.

Existing Video Object Detection (VID) methods typically rely on optical flow to align features or Recurrent Neural Networks (RNNs) to pass information temporally. However, these methods are often restricted to a narrow temporal window (e.g., ±10 frames). If an object is blurred for a long duration, these local methods fail. Furthermore, optical flow is notoriously unreliable when motion is fast—exactly when it is needed most.

Methods

The authors propose a shift in perspective: instead of viewing a video as a sequence, view it as a multi-shot detection task. They argue that a clear view of an object 100 frames away is more useful than a blurry view 2 frames away.

The SELSA Module

The core of their approach is the Sequence Level Semantics Aggregation (SELSA) module. The process works as follows:

  1. Proposal Extraction: Use a standard Region Proposal Network (RPN) to identify potential objects in multiple frames sampled from the entire video.
  2. Semantic Similarity: Compute the similarity between all pairs of proposals across all sampled frames using a generalized cosine similarity.
  3. Feature Aggregation: For a "reference" proposal, aggregate the features of all other proposals, weighted by their semantic similarity. This effectively "denoises" the feature representation by pulling in information from clearer, similar views elsewhere in the video.
Figure 2. The overall architecture of the proposed model. We first extract proposals in different frames from the video, then the semantic similarities of proposals are computed across frames. At last, we aggregate the features from other proposals based on these similarities to obtain a more discriminative and robust features for object detection.

A Spectral Clustering Viewpoint

The authors elegantly link SELSA to spectral clustering. By treating proposals as nodes and similarities as edges in a graph, feature aggregation becomes a way to minimize the "normalized cut" between different object classes. This provides a theoretical foundation for why aggregating similar features reduces intra-class variance and improves discriminative power.

Datasets

The model was evaluated on two major benchmarks:

  • ImageNet VID: The standard large-scale benchmark for video object detection.
  • EPIC KITCHENS: A challenging egocentric dataset featuring dense, diverse objects in complex kitchen environments. This was used to demonstrate the model's ability to generalize beyond the relatively simple scenes in ImageNet VID.

Key Insights and Ideas

  • Temporal Proximity $\neq$ Semantic Utility: In VID, the most helpful information isn't always nearby in time. By sampling frames from the full sequence, SELSA captures a more diverse set of appearances and poses.
  • Multi-shot vs. Sequential: Reinterpreting VID as a clustering problem allows the model to learn an "invariant representation" of an object class across the whole video, rather than just tracking a specific instance.
  • Pipeline Simplicity: Most VID state-of-the-art methods require complex post-processing like Seq-NMS or Tubelet rescoring to link boxes across time. SELSA achieves superior results without these steps, keeping the inference pipeline clean and end-to-end trainable.
  • Stride Matters: The authors found that increasing the sampling stride (the gap between sampled frames) significantly boosts performance (see Figure 3b). This confirms that diversity of appearance is more important than temporal continuity for feature enhancement.
Ablation studies showing the impact of frame count and sampling stride.

Key Results

SELSA achieved new state-of-the-art results on ImageNet VID:

  • 82.7% mAP using a ResNet-101 backbone.
  • 84.3% mAP using a ResNeXt-101 backbone.
  • Fast Motion Boost: The most impressive gain was in the "fast motion" category, where SELSA improved the baseline by nearly 10 mAP points (from 51.53% to 61.38%). This demonstrates its robustness to the very degradation it was designed to solve.

On the EPIC KITCHENS dataset, SELSA consistently outperformed the Faster R-CNN baseline, proving its effectiveness in complex, real-world egocentric videos.

Limitations and Future Work

While SELSA is powerful, the authors note a few areas for improvement:

  • Hyperparameter Optimization: The performance on EPIC KITCHENS, while strong, was achieved with sub-optimal hyperparameter settings, suggesting further gains are possible.
  • Computational Cost: Aggregating features across a large number of proposals from many frames increases the memory and computational footprint during the forward pass.
  • Hybrid Approaches: While the paper argues for a global view, future work could explore combining this sequence-level aggregation with local temporal cues (like motion vectors) to get the best of both worlds.

Overall, SELSA provides a compelling argument that for video, sometimes it's better to ignore the clock and focus on the "big picture" of the entire sequence.

Summary updated

BibTeX
@misc{wu2019sequence,
  author = {Haiping Wu and Yuntao Chen and Naiyan Wang and Zhaoxiang Zhang},
  title = {{Sequence Level Semantics Aggregation for Video Object Detection}},
  year = {2019},
  eprint = {1907.06390},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.06390},
}
Figure