Objects do not disappear: Video object detection by single-frame object location anticipation

Xin Liu, Fatemeh Karimi Nejadasl, Jan C. van Gemert, Olaf Booij, Silvia L. Pintea

TL;DR

Video object detection is traditionally computationally heavy due to per-frame processing or complex temporal modeling. This paper introduces a method that extracts features only from sparse keyframes and predicts future object trajectories for subsequent frames using a lightweight subnetwork. This approach simultaneously boosts detection accuracy via motion-based self-supervision, drastically reduces inference time, and lowers annotation costs.

What Problem Does This Paper Address?

Video object detection methods often struggle to balance accuracy and efficiency. Standard approaches either process every frame independently—ignoring valuable temporal consistency—or use computationally expensive mechanisms like optical flow, recurrent neural networks (RNNs), or complex attention maps to aggregate temporal information across frames. Furthermore, annotating every single frame in a video dataset is incredibly labor-intensive.

The authors address these challenges by leveraging the principle of object permanence and smooth motion. They hypothesize that a single static keyframe contains rich enough appearance and contextual cues to anticipate where an object will move over a short future window, eliminating the need to compute expensive image features for every intermediate frame.

Methods

The core architecture consists of a standard static image object detection backbone (such as Faster R-CNN or Deformable DETR) paired with a novel Trajectory Subnetwork.

Overview of the proposed architecture featuring the Trajectory Subnetwork

Instead of processing every frame, the model uniformly samples "keyframes" every $T$ timesteps. For each keyframe, the backbone detector identifies object proposals, generating bounding boxes, class probabilities, and region features. The Trajectory Subnetwork then takes three inputs:

  1. A vector of future time indices relative to the keyframe.
  2. The keyframe bounding boxes repeated $T$ times.
  3. The keyframe features repeated $T$ times.

Through a series of fully connected layers, the subnetwork predicts frame-to-frame displacement offsets ($\delta$) for the next $T$ frames without looking at the actual image data of those future frames.

To train this network effectively, the authors design a specialized Trajectory Loss ($L_{traj}$) that combines a cumulative trajectory loss (to enforce piecewise continuity) and a bag-of-offsets loss (to prevent tracking errors from compounding over time). For sparsely annotated datasets, they introduce a Sparse Annotation Loss ($L_{traj}^{(sa)}$) that uses continuous functions (like parabolas or linear interpolation) to generate pseudo-ground-truth trajectories between distant annotations.

Datasets

The method was evaluated across five distinct datasets:

  • MovingDigits: A fully controlled synthetic dataset created by the authors pairing MNIST digits with unique linear motions to validate motion-appearance correlations.
  • ImageNet VID: The standard benchmark for video object detection.
  • EPIC KITCHENS-55: A challenging egocentric video dataset featuring complex, fast-moving object interactions in kitchen environments.
  • YouTube-BoundingBoxes: A large-scale dataset characterized by sparse annotations (approximately 1 frame annotated per second).
  • Waymo Open Dataset: An autonomous driving dataset used to evaluate performance under realistic sparse annotation constraints.

Key Insights and Ideas

  • Motion as Self-Supervision: Anticipating motion from a static frame actually improves the static detector's performance on the keyframe itself. The anticipation loss forces the network to focus on regions that are inherently likely to move coherently.
  • Predicting Offsets > Predicting Coordinates: Predicting relative frame-to-frame offsets rather than absolute bounding box coordinates enforces temporal ordering and prevents trajectories from diverging wildly.
  • Hallucinating Trajectories Works: When training data is sparse, assuming a smooth continuous path (like a parabola) between distant annotations is sufficient to train an accurate trajectory predictor, bypassing the need for dense frame-by-frame labeling.

Key Results

  • ImageNet VID: Achieving 87.2% mAP using a ResNet-101 backbone, the method outperformed the leading state-of-the-art framework (MEGA) by 2.7% while running at 39.6 FPS—roughly 1.8× faster than other high-speed methods. Upgrading to a SwinB backbone pushed accuracy to 91.3% mAP.
  • Efficiency: Training time dropped significantly to just 0.78 hours/epoch on ImageNet VID.
  • EPIC KITCHENS-55: The model set new state-of-the-art results across both Seen (44.9% [email protected]) and Unseen (41.7% [email protected]) kitchen splits.
  • Sparse Annotations: On YouTube-BB and Waymo, the model consistently outperformed standard static baselines by successfully learning from sparse 1-FPS annotations.

Limitations and Future Work

Despite its success, the model relies heavily on the assumption of smooth, predictable motion. The authors note a few key failure modes:

  • Ambiguous Motions: Because the model maps appearance to motion, if an object's appearance is identical but it performs different actions (e.g., a person walking vs. jumping), the trajectory prediction can fail.
  • Abrupt Changes: The trajectory network struggles with sudden, unpredictable changes in direction, such as an animal abruptly darting backward.
Success and failure cases of the trajectory anticipation model
  • Object Disappearance: Objects entering or leaving the frame mid-trajectory lead to over- or under-prediction.

Future research directions could involve exploring multi-modal motion predictions to handle ambiguous actions or integrating lightweight visual updates to correct trajectories when sudden changes occur.

Summary updated

BibTeX
@misc{liu2023objects,
  author = {Xin Liu and Fatemeh Karimi Nejadasl and Jan C. van Gemert and Olaf Booij and Silvia L. Pintea},
  title = {{Objects do not disappear: Video object detection by single-frame object location anticipation}},
  year = {2023},
  eprint = {2308.04770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.04770},
}
Figure