Learning Discriminative Motion Features Through Detection

Gedas Bertasius, Christoph Feichtenhofer, Du Tran, Jianbo Shi, Lorenzo TorresaniarXiv 2018

Abstract

Modern object detection models, while highly successful in the image domain, often struggle with video analysis because they lack a native mechanism for learning motion representations. We propose a novel learning procedure that enables models like Faster R-CNN to learn motion features directly from RGB video data by optimizing for a pose estimation task. By forcing the model to predict human pose in Frame A using features from Frame B via deformable convolutions, the network naturally learns spatial correspondences. We call these learned offsets Discriminative Motion Features (DiMoFs). Our experiments demonstrate that DiMoFs effectively localize salient human motion, improve still-image pose detection, and enhance performance in spatiotemporal action localization and fine-grained action recognition.

Introduction

While deep learning has mastered object detection in still images, video remains a significant challenge. Standard detectors often treat video frames as isolated images, ignoring temporal context. Existing solutions like Two-Stream Networks require computationally expensive pre-computed optical flow, while 3D CNNs are memory-intensive and often lack temporal sensitivity. This paper introduces DiMoFs, a method to teach image-based detectors to "see" motion without the overhead of 3D convolutions or external flow algorithms.

Methods: Learning Motion Through Detection

The core innovation is a training task where the model must predict the human pose in Frame A (at time $t$) using only the feature maps extracted from Frame B (at time $t+\delta$).

The DiMoF architecture leverages deformable convolutions to sample features from Frame B to predict the pose in Frame A.

To succeed at this task, the model must "warp" the features from Frame B to match the positions of body parts in Frame A. The authors utilize Deformable Convolutions to achieve this. A sub-network predicts "offsets"—the DiMoFs—which guide the sampling of pixels from Frame B to reconstruct the pose in Frame A. Because the objective is pose detection accuracy, these offsets are specifically tuned to capture human movement rather than generic pixel matching.

Key Insights and Interpretability

Unlike traditional optical flow, which tracks every pixel including the static background, DiMoFs are discriminative. The model learns to ignore irrelevant background information and focuses its attention on the moving subjects.

Comparison of DiMoF channels and motion saliency maps against traditional Farneback flow. DiMoFs provide cleaner, task-specific motion cues.

This approach offers several advantages:

  • Motion as a Proxy Task: Motion learning emerges naturally from the requirement to solve a spatial detection problem across time.
  • Temporal Robustness: Training with varying time gaps ($\delta$) makes the model robust to different speeds of motion.
  • Efficiency: Motion cues are learned directly from raw RGB pixels, eliminating the need for separate flow computation.

Experimental Results

The researchers evaluated DiMoFs across several benchmarks:

  • PoseTrack: Adding DiMoFs improved mean Average Precision (mAP) by 2.2% over a single-frame baseline.
  • JHMDB (Action Localization): The DiMoF-based model achieved 54.4 mAP, significantly outperforming a "3D-inflated" Faster R-CNN (43.8 mAP).
  • Diving48 (Fine-Grained Recognition): The model achieved 24.1% accuracy, outperforming 2D methods like TSN and TRN. Notably, DiMoFs proved more effective than standard optical flow for this task.

Conclusion

DiMoFs provide a powerful way to integrate motion understanding into standard detection frameworks. By leveraging the spatial precision of pose estimation, the model learns high-resolution, task-specific motion features. Future work may involve hybrid architectures that combine the fine-grained motion capture of DiMoFs with the long-range temporal context of 3D CNNs.

Summary updated

BibTeX
@misc{bertasius2018learning,
  author = {Gedas Bertasius and Christoph Feichtenhofer and Du Tran and Jianbo Shi and Lorenzo Torresani},
  title = {{Learning Discriminative Motion Features Through Detection}},
  year = {2018},
  eprint = {1812.04172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.04172},
}
Figure