Towards High Performance Video Object Detection

Xizhou Zhu, Jifeng Dai, Lu Yuan, Yichen Wei

Abstract

There has been significant progress for image object detection in recent years. Nevertheless, video object detection has received little attention, although it is more challenging and more important in practical scenarios. Built upon recent works, this work proposes a unified approach based on the principle of multi-frame end-to-end learning of features and cross-frame motion. Our approach extends prior works with three new techniques and steadily pushes forward the performance envelope (speed-accuracy tradeoff), towards high performance video object detection.

Introduction

Object detection in still images has seen massive success, but translating those models to video is non-trivial. Video frames often suffer from "deteriorated appearances"—motion blur, video defocus, and rare poses—that are less prevalent in curated still-image datasets. Furthermore, running a heavy deep convolutional neural network (CNN) on every single frame is computationally prohibitive for real-time applications.

Prior works attempted to solve these challenges individually. One approach, Deep Feature Flow (DFF), used sparse key frames to speed up detection but sacrificed accuracy. Another, Flow-Guided Feature Aggregation (FGFA), improved accuracy by aggregating features across multiple frames but proved too slow for practical use. This paper unifies these philosophies into a single, high-performance system.

Proposed Unified Framework

The authors propose three novel techniques integrated into a single flow-based inference algorithm to optimize the speed-accuracy tradeoff.

Comparison of feature propagation and aggregation strategies. (a) Sparse Feature Propagation (DFF), (b) Dense Feature Aggregation (FGFA), and (c1-c3) the proposed unified techniques.
  • Sparsely Recursive Feature Aggregation: Instead of aggregating features across all frames (dense) or just using one key frame (sparse), this method recursively aggregates features only on sparse key frames. This allows the model to "remember" rich feature information from the entire history of key frames without the overhead of dense computation.
  • Spatially-adaptive Partial Feature Updating: Not all parts of a frame change at the same rate. The model predicts a "feature consistency" score. If a specific region in a non-key frame is predicted to have poor propagation quality (e.g., due to fast motion), the model recomputes features only for that specific spatial region rather than the whole frame.
  • Temporally-adaptive Key Frame Scheduling: Most systems use a fixed interval to pick a key frame. This paper introduces a learned heuristic that monitors the scene. If the appearance changes significantly, it triggers a new key frame immediately; if the scene is stable, it skips recomputation for longer.

Adaptive Scheduling and the Oracle

The temporally-adaptive scheduling mechanism is critical for balancing runtime. By monitoring the portion of pixels requiring an update, the system dynamically adjusts its workload based on the video content.

Visualization of temporally-adaptive key frame scheduling. The graph shows the scheduling metric over time, with orange dots representing triggered key frames and blue dots representing non-key frames with partial updates.

One of the most interesting experiments involved an "oracle" scheduler that used ground-truth information to pick the best key frames. This oracle achieved 80.9% mAP, suggesting that while the current adaptive scheduler is effective, there is still significant performance potential for future research in temporal scheduling.

Key Results

The models were trained and evaluated on the ImageNet VID dataset, utilizing ImageNet DET to augment training. The proposed "unified" method establishes a new state-of-the-art:

  • Accuracy vs. Speed: It achieves 77.8% mAP at a runtime of 15.22 fps (on a Titan X GPU).
  • Comparison: This outperforms the ImageNet VID 2017 winner (76.8% mAP at 15.4 fps) while being more "principled" and less reliant on heavy engineering hacks.
  • Efficiency: Compared to a per-frame baseline, this approach can achieve a 10x speedup with only a minor (approx. 2%) drop in accuracy, or a 1% accuracy gain while still being 3x faster than standard dense aggregation methods.

Conclusion and Future Work

This work demonstrates that speed-oriented propagation and accuracy-oriented aggregation are not mutually exclusive. By making aggregation recursive and sparse, the system gains multi-frame context with the speed of sparse processing.

Future work may address current limitations, such as the reliance on heuristic scheduling. The authors suggest that a more sophisticated, perhaps reinforcement learning-based, scheduler could push performance closer to the "oracle" results. Additionally, improving the underlying flow network (FlowNet) remains a priority, as errors in motion estimation still lead to propagation inaccuracies that partial updating cannot entirely eliminate.

Summary updated

BibTeX
@inproceedings{zhu2018towards,
  author = {Xizhou Zhu and Jifeng Dai and Lu Yuan and Yichen Wei},
  title = {{Towards High Performance Video Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=BJEDf6WdWH},
}
Figure