Identity-Consistent Aggregation for Video Object Detection

Chaorui Deng, Da Chen, Qi Wu

TL;DR

ClipVID introduces a novel Video Object Detection (VID) framework that selectively aggregates temporal context from the same object across different frames, rather than treating all frame contexts indiscriminately. By building on a parallel, DETR-based clip prediction architecture, it achieves state-of-the-art accuracy on the ImageNet VID dataset while running roughly 7× faster than previous top-performing methods.

What Problem Does This Paper Address?

Video Object Detection (VID) is challenging due to rapid appearance variations caused by motion blur, occlusion, and posture changes. To combat this, standard methods look at surrounding "support frames" for extra temporal context.

However, traditional approaches suffer from two major flaws:

  1. Indiscriminate Aggregation: They treat all region proposals from support frames equally. When trying to detect a specific cat in a target frame, a standard model might aggregate features from the background or entirely different objects in the support frames, introducing noise (see Figure 1).
  2. Efficiency Bottlenecks: Most architectures rely on dense region proposal networks (like Faster R-CNN) generating hundreds of candidate boxes per frame. Computing relations quadratically across all these boxes forces models to predict frame-by-frame, making them too slow for real-time deployment.
Illustration of indiscriminate vs. identity-consistent aggregation

Methods

The authors present ClipVID, an end-to-end architecture that replaces frame-by-frame processing with parallel, clip-wise predictions using a Transformer decoder framework.

Its core components include:

  • Adaptive Object Queries: Instead of using static object queries across the video, ClipVID adaptively generates a small set of queries (less than 100 per frame) conditioned directly on the frame's feature maps.
  • Guided Cross-Attention: To speed up convergence, queries only attend to localized regions defined by reference bounding boxes via RoIPooling, rather than the entire global feature map.
  • Identity-Consistent Aggregation (ICA): This is the paper's main innovation. In the final decoder layers, the model predicts a unique identity embedding for each object query. A Matching step uses dot-product similarity to group queries across different frames that represent the same physical object. Then, an Aggregation step stacks the fine-grained region features of these matched queries and uses cross-attention to synthesize a comprehensive "global view" of the object.
Figure 2. The overview of ClipVID. fi and q indicate the frame feature and the object queries, respectively. “cls”, “reg”, and “ID” indicate the classification branch, localization branch, and identity embedding branch of the prediction head, respectively. Two transformer layers are shown. In the first one, the identity embedding branch predicts the identity embedding of each object query. Then in the second one, a Matching module is used to group the object queries according to the distances of their identity embeddings, and an ICA module is used to perform identity-consistent temporal context aggregation. For simplicity, only three frames and three queries per frame are shown.

Datasets

The model is trained and evaluated using standard benchmarks:

  • ImageNet VID: The primary benchmark, containing 30 object categories across 3,862 training and 555 validation videos.
  • ImageNet DET: Following common practice in the VID literature, static images from this dataset are co-trained alongside the video data to improve static detection capabilities.

Key Insights and Ideas

  • Identity Tracking as a Feature Enhancer: Tracking an object's identity across a video clip shouldn't just be a post-processing step; it can actively improve the feature representation itself. By isolating the "cat" features across frames, the model builds a robust representation resilient to sudden occlusion or blur.
  • The Power of Sparsity: Moving from dense region proposals (~300 boxes/frame) to sparse object queries (~72 queries/frame) drastically reduces computational complexity. This enables the model to look at much larger temporal windows (e.g., 30 frames) simultaneously without running out of memory.
  • The "Oracle" Gap: The authors conducted an "Oracle ICA" experiment where identity matching was perfectly handed to the model using ground-truth labels. This boosted performance on fast-moving objects by an additional 3.8% mAP, showing that improving the identity embedding space is a highly promising direction for future VID research.

Key Results

ClipVID achieves an exceptional balance of speed and accuracy on the ImageNet VID dataset:

  • State-of-the-Art Accuracy: Achieves 84.7% mAP using a ResNet-101 backbone, outperforming complex architectures that rely on heavy sequence-level post-processing (like Seq-NMS or BLR). With a stronger ResNeXt-101 backbone, accuracy reaches 85.8% mAP.
  • High Inference Speed: Runs at 39.3 fps (ResNet-101), making it roughly 7× faster than previous SOTA methods like MEGA (5.8 fps) and TF-Blender (<5.8 fps).
  • Robustness to Motion: On the challenging subset of "fast-moving objects"—which typically suffer the most from motion blur and deformation—ClipVID improves mAP to 68.5%, compared to MEGA's 62.7%.

Limitations and Future Work

While ClipVID is highly efficient, the authors note that its identity matching mechanism is still learned implicitly via a contrastive loss and isn't always perfect (as evidenced by the gap between standard ICA and Oracle ICA). Additionally, while the model operates clip-wise in parallel, incorporating explicit sparse keyframe computation techniques (like those used in PSLA) could push inference speeds even higher for real-world deployment.

Summary updated

BibTeX
@misc{deng2023identity,
  author = {Chaorui Deng and Da Chen and Qi Wu},
  title = {{Identity-Consistent Aggregation for Video Object Detection}},
  year = {2023},
  eprint = {2308.07737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.07737},
}
Figure