Deep Motion Prior for Weakly-Supervised Temporal Action Localization

Meng Cao, Can Zhang, Long Chen, Mike Zheng Shou, Yuexian Zou

TL;DR

DMP-Net improves Weakly-Supervised Temporal Action Localization (WSTAL) by treating motion as a primary structural prior rather than just another data stream. By using a sparse motion graph to model "motionness" and a novel motion-guided loss function, the framework achieves state-of-the-art results on major benchmarks like THUMOS'14 and ActivityNet.

What Problem Does This Paper Address?

Temporal Action Localization (TAL) involves finding the exact start and end times of actions in long, "untrimmed" videos. Doing this with full supervision is expensive because humans have to label every second of video. Weakly-Supervised TAL (WSTAL) tries to solve this using only video-level labels (e.g., "this video contains 'Billiards'"), without knowing where the action happens.

The authors identify two major flaws in current WSTAL methods:

  1. Inadequate use of motion: Most models treat RGB (appearance) and optical flow (motion) as equal inputs. However, motion is often a much stronger indicator of where an action begins and ends.
  2. Loss Function Incompatibility: Standard Cross-Entropy (XE) loss is great for classification but bad for localization. It encourages the model to find the most "discriminative" snippet (the easiest part to recognize) rather than covering the entire duration of the action, leading to fragmentary results.

Methods

The authors propose DMP-Net (Deep Motion Prior Network), which consists of two parallel branches:

  • The Base Branch: A standard Multi-Instance Learning (MIL) pipeline that processes concatenated RGB and optical flow features to produce a Temporal Class Activation Sequence (TCAS).
  • The Guidance Branch: This is the core innovation. It takes optical flow features and builds a Motion Graph to calculate a "motionness" score for every snippet.
  • Sparse Graph Construction: Instead of connecting every snippet to every other snippet (which is noisy and slow), they use Positional Edges (connecting nearby snippets for local context) and Semantic Edges (connecting distant snippets with similar motion patterns).
  • Graph Convolutional Networks (GCN): The graph is processed via GCNs to propagate information across the video, helping the model distinguish between "action-of-interest" motion and irrelevant background motion.
  • Motion-guided Loss ($L_g$): This new loss function replaces the standard XE loss. it uses the "motionness" scores to modulate training. It heavily penalizes snippets that the model thinks are actions but have low motionness, effectively forcing the model to focus on the entire motion-rich action sequence.

Datasets

The model was evaluated on three standard, large-scale benchmarks:

  • THUMOS’14: 20 sports categories; known for having many action instances per video.
  • ActivityNet v1.2: 100 action categories.
  • ActivityNet v1.3: A larger version with 200 categories and nearly 20,000 videos.

Key Insights and Ideas

  • Motion is the "Prior": The authors argue that while RGB tells you what the action is, motion is a better "prior" for where it is. By modeling "motionness" independently of specific classes, the model gains a class-agnostic sense of "action-ness."
  • The "Slowness" Trap: In videos, adjacent frames are very similar. In a fully connected graph, this "slowness" causes the model to ignore long-range connections. The authors' use of sparse semantic edges allows the model to realize that a "golf swing" at the start of a video is related to another "golf swing" 30 seconds later.
  • Plug-and-Play Loss: The motion-guided loss is not tied to a specific architecture. The authors proved this by plugging it into other existing models (like BaS-Net and UM-Net), which immediately saw performance boosts.

Key Results

DMP-Net set new state-of-the-art (SOTA) records at the time of publication:

  • THUMOS’14: Achieved 34.2% mAP at an IoU threshold of 0.5, significantly outperforming previous SOTA methods like CoLA (32.2%) and BaS-Net (27.0%).
  • ActivityNet v1.3: Reached an average mAP of 23.9%, showing strong scalability to large datasets.
  • Qualitative Improvement: Visualizations show that DMP-Net produces much "cleaner" localizations. While baseline models often produce "jittery" or fragmented detections, DMP-Net covers the full span of the action by following the motion flow.

Limitations and Future Work

  • Computational Overhead: While DMP-Net doesn't slow down inference (the guidance branch is only used during training), the graph construction and GCN layers add extra parameters and GFLOPs during the training phase.
  • Optical Flow Dependency: The method relies on pre-extracted optical flow (using algorithms like TV-L1), which is computationally expensive to compute for massive datasets.
  • Future Direction: The authors suggest that exploring more efficient ways to model motion context without relying on pre-computed optical flow could be a promising next step.

Summary updated

BibTeX
@article{cao2022deep,
  author = {Meng Cao and Can Zhang and Long Chen and Mike Zheng Shou and Yuexian Zou},
  title = {{Deep Motion Prior for Weakly-Supervised Temporal Action Localization}},
  journal = {IEEE Trans. Image Process.},
  year = {2022},
  doi = {10.1109/tip.2022.3193752},
}
Figure