Action Recognition with Dynamic Image Networks

Hakan Bilen, Basura Fernando, Efstratios Gavves, Andrea Vedaldi · DOI

TL;DR

This paper introduces "dynamic images," a novel representation that transforms video sequences into single images, enabling the use of standard image recognition CNNs for video analysis. They also propose "approximate rank pooling" (ARP), a fast and efficient method to compute these dynamic images, which can be integrated into CNNs for end-to-end learning and achieve state-of-the-art results in action recognition.

What Problem Does This Paper Address?

Understanding the content of videos is crucial, but videos are inherently complex due to their temporal dimension. While deep learning has revolutionized image analysis, effectively applying it to videos remains a challenge. Existing methods often treat videos as sequences of frames, requiring specialized architectures like RNNs or 3D CNNs, which can be computationally expensive and data-hungry. The authors aim to bridge this gap by creating a compact, yet informative, video representation that can leverage the power of pre-trained image CNNs, simplifying video analysis and improving performance.

Methods

The core contribution is the dynamic image, a novel representation derived from a video sequence. It's created by learning a "ranking machine" that orders video frames based on their temporal evolution. The parameters of this learned ranking function, when applied to RGB frames or intermediate CNN feature maps, form a single image. This allows any standard CNN trained for still images to process videos.

To efficiently compute dynamic images, the authors introduce Approximate Rank Pooling (ARP). ARP is a fast approximation of the rank pooling process, essentially a weighted sum of video frames. This method is crucial because it allows for efficient computation and, importantly, enables backpropagation through the dynamic image generation process when integrated into CNNs. This makes end-to-end training of dynamic image networks feasible.

They also propose dynamic maps, which are dynamic images computed from intermediate feature maps within a CNN, allowing for multi-level temporal reasoning. Finally, they introduce a four-stream architecture that combines static RGB images, dynamic images derived from RGB, optical flow, and dynamic optical flow, leveraging complementary information for robust action recognition.

Datasets

The paper evaluates its methods on two standard action recognition datasets:

  • UCF101: Contains 101 action categories and over 13,320 videos.
  • HMDB51: Contains 51 action categories and over 6,766 videos.

Key Insights and Ideas

  • Videos as Images: The fundamental idea that a video can be summarized into a single, informative image is powerful. This representation captures both appearance and dynamics, making it compatible with existing image-based CNN architectures.
  • Rank Pooling for Dynamics: Learning a ranking function for frames effectively distills temporal information. The learned parameters of this function become a rich video descriptor.
  • ARP for Efficiency and End-to-End Learning: The development of ARP is a significant practical advancement. It makes dynamic image computation fast enough for real-time applications and, crucially, enables gradient-based learning, allowing dynamic image networks to be trained end-to-end.
  • Dynamic Maps for Multi-Level Temporal Reasoning: Applying rank pooling to intermediate CNN feature maps (dynamic maps) allows the network to reason about temporal dynamics at different levels of abstraction, leading to improved performance.
  • Complementarity of Streams: Combining static appearance (SI), dynamic appearance (DI), optical flow (OF), and dynamic optical flow (DOF) streams significantly boosts performance, highlighting that different modalities capture complementary information for action recognition.

Key Results

  • State-of-the-Art Performance: The proposed four-stream architecture (SI+DI+OF+DOF) with ResNeXt-101 achieved state-of-the-art accuracy on UCF101 (96.0%) and HMDB51 (74.9%).
  • Dynamic Images Outperform Baselines: Dynamic images (DI) achieved 57.2% accuracy on UCF101 split-1, significantly outperforming Mean Image (52.6%), Max Image (48.0%), and Motion History Image (46.6%).
  • ARP Efficiency: ARP is approximately 45x faster than exact rank pooling (RP) while achieving comparable or slightly better ranking accuracy.
  • Dynamic Maps Improve Performance: Placing ARP deeper in the network (dynamic maps) improved performance, with the best results achieved before the "conv3" layer.
  • Multi-Dynamic Images (MDI) Advantage: Splitting videos into shorter subsequences and computing dynamic images for each (MDI) yielded better classification accuracy than using a single dynamic image for the whole video.
  • Stream Complementarity: Combining SI and DI streams improved accuracy by up to 7.8% (HMDB51). Similarly, OF and DOF streams were complementary.

Limitations and Future Work

  • Abrupt Changes: Dynamic images are less effective at handling abrupt changes in complex video sequences.
  • Decorrelating Appearance and Dynamics: The paper suggests that appearance and dynamics are often correlated, and it might be more efficient to build representations after decorrelating these aspects.
  • Single-Level Temporal Pooling: Current dynamic images operate at a single level of temporal pooling. Future work could explore dynamic pooling at multiple abstraction levels.
  • Extending to Other Modalities: The authors suggest evaluating dynamic image representations on modalities beyond RGB and optical flow, such as depth data.
  • Handling Subtle Differences: The four-stream architecture, while powerful, still struggles with distinguishing actions separated by very subtle differences, suggesting a need for more specialized networks or methods to model subactions and their order.

Summary updated

BibTeX
@article{bilen2016action,
  author = {Hakan Bilen and Basura Fernando and Efstratios Gavves and Andrea Vedaldi},
  title = {{Action Recognition with Dynamic Image Networks}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2016},
  doi = {10.1109/tpami.2017.2769085},
}
Figure