Object Detection Difficulty: Suppressing Over-aggregation for Faster and Better Video Object Detection

Bingqing Zhang, Sen Wang, Yifan Liu, Brano Kusy, Xue Li, Jiajun Liu · DOI

Abstract

Current video object detection (VOD) models often encounter issues with over-aggregation due to redundant aggregation strategies, which perform feature aggregation on every frame. This results in suboptimal performance and increased computational complexity. In this work, we propose an image-level Object Detection Difficulty (ODD) metric to quantify the difficulty of detecting objects in a given image. The derived ODD scores can be used in the VOD process to mitigate over-aggregation. Specifically, we train an ODD predictor as an auxiliary head of a still-image object detector to compute the ODD score for each image based on the discrepancies between detection results and ground-truth bounding boxes. The ODD score enhances the VOD system in two ways: 1) it enables the VOD system to select superior global reference frames, thereby improving overall accuracy; and 2) it serves as an indicator in the newly designed ODD Scheduler to eliminate the aggregation of frames that are easy to detect, thus accelerating the VOD process. Comprehensive experiments demonstrate that ODD-VOD consistently improves the frames per second (FPS) by an average of 73.3% across 8 different VOD models without sacrificing accuracy, while attaining state-of-the-art performance in both accuracy and speed.

Introduction

Video Object Detection (VOD) is a critical task in computer vision, traditionally requiring heavy computational resources to handle challenges like motion blur, occlusion, and poor lighting. To mitigate these issues, state-of-the-art models typically aggregate features from multiple frames to enhance the representation of the current frame. However, this approach often leads to over-aggregation: the redundant application of complex feature fusion to every single frame, regardless of its inherent difficulty.

If a frame is clear and the object is easily identifiable, a standard Still-Image Object Detector (SIOD) can process it efficiently. Conversely, current models often select "reference frames" for aggregation randomly or at fixed intervals, which can introduce low-quality, blurry features that degrade performance. This paper introduces the Object Detection Difficulty (ODD) framework to make VOD systems smarter by quantifying frame difficulty and optimizing the aggregation process accordingly.

The ODD-VOD Framework

The proposed ODD-VOD framework consists of four primary components designed to balance speed and precision.

1. The ODD Metric

The foundation of the framework is a ground-truth difficulty score for individual images. This metric compares the output of a standard detector (such as Faster R-CNN) against ground-truth labels. Inspired by the F1-score, the metric balances precision and recall at the image level to provide a scalar value representing how "hard" a frame is for a detector to process.

2. ODD Predictor

To make the system practical for real-time use, the authors developed a lightweight ODD Predictor. This four-layer neural network "head" is attached to a detector's backbone. It learns to estimate the ODD score of a frame with negligible computational overhead—accounting for only 0.1% of the total model complexity.

3. ODD Scheduler (ODD-A)

The ODD Scheduler acts as an intelligent traffic controller for the VOD pipeline. If the predicted ODD score is low, indicating an "easy" frame, the system bypasses heavy temporal aggregation and utilizes a fast SIOD. If the score is high, the system triggers the full VOD aggregation process to ensure accuracy. This selective processing significantly reduces redundant computations.

4. ODD-based Global Reference Frame Selector (OGRFS)

For frames that require aggregation, the OGRFS module (labeled ODD-B/C) optimizes the selection of reference frames. Instead of random selection, it identifies frames with the lowest ODD scores—the clearest images—to serve as the "gold standard" for feature enhancement. This ensures that difficult frames are "rescued" by high-quality features rather than further degraded by blurry ones.

Experimental Evaluation

The researchers evaluated ODD-VOD on the ImageNet VID dataset, the standard benchmark for video object detection, which includes 3,862 training and 555 validation video snippets across 30 categories.

Key Results

  • Significant Acceleration: When utilized for acceleration, ODD-VOD improved the frames per second (FPS) by an average of 73.3% across eight different VOD models without sacrificing accuracy. For the FGFA model, the framework achieved a 104.2% speedup while maintaining lossless accuracy.
  • Improved Accuracy: By using OGRFS to select superior reference frames, the framework consistently improved the Mean Average Precision (mAP) of global-frame-based models. For example, the SELSA model's mAP improved from 78.4 to 80.0 when the ODD threshold was optimized.
  • Architecture Agnostic: The ODD metric proved to be highly generalizable. Difficulty scores generated using a Faster R-CNN detector remained effective when applied to modern architectures like YOLOX, TransVOD, and Deformable DETR.

Conclusion

ODD-VOD represents a significant advancement in making video object detection practical for real-world applications. By identifying and suppressing over-aggregation, the framework achieves a rare win-win in deep learning: simultaneous improvements in both speed and accuracy. While currently focused on detection, the principles of ODD could potentially be extended to other video-based tasks such as multi-object tracking or instance segmentation in future research.

Summary updated

BibTeX
@inproceedings{zhang2023object,
  author = {Bingqing Zhang and Sen Wang and Yifan Liu and Brano Kusy and Xue Li and Jiajun Liu},
  title = {{Object Detection Difficulty: Suppressing Over-aggregation for Faster and Better Video Object Detection}},
  booktitle = {ACM Multimedia},
  year = {2023},
  doi = {10.1145/3581783.3612090},
}
Figure