Improved Dense Trajectory with Cross Streams

Katsunori Ohnishi, Masatoshi Hidaka, Tatsuya Harada

TL;DR

The paper introduces Cross-Stream Pooled Descriptors (CPD), a novel method for video action recognition that fuses appearance and motion information by crossing the two streams of a standard two-stream CNN. By using the feature maps of one stream to weight the other before pooling along dense trajectories, the method effectively suppresses background noise caused by shaky cameras and focuses on action-critical regions, achieving state-of-the-art performance on benchmark datasets.

What Problem Does This Paper Address?

Action recognition in video is challenging because it requires capturing both what things look like (appearance) and how they move (motion). Two dominant paradigms have emerged:

  1. Improved Dense Trajectories (iDT): A hand-crafted method that tracks points across frames to capture motion. However, if the camera shakes, iDT inadvertently captures noisy background trajectories.
  2. Two-Stream CNNs: Deep networks that process appearance (RGB frames) and motion (optical flow) in separate, isolated networks.

While combining these approaches (e.g., Trajectory-Pooled Deep-Convolutional Descriptors, or TDD) yields strong results, a core limitation remains: the two networks learn independently. The spatial network doesn't know where the motion is happening, and the temporal network lacks appearance context. For instance, distinguishing a soccer penalty kick from a field-hockey penalty shot is difficult if the spatial network cannot focus specifically on the player's leg or stick due to background clutter.

Illustration of noisy background trajectories in iDT due to camera shaking.

Methods

The authors propose Cross-Stream Pooling, which forces interaction between the spatial and temporal streams.

Instead of pooling standard convolutional layers along trajectories, they introduce a cross-stream weighting mechanism:

  1. Generate a Weight Map: They take a normalized convolutional layer from one network (e.g., the temporal net) and sum across the channel dimension to create a 3D spatial-temporal weight map ($W^{tmp}$). This map highlights regions with high discriminative motion.
  2. Feature Enhancement: They multiply this weight map element-wise with the convolutional feature maps of the other network (e.g., the spatial net). This yields enhanced features ($D^{sp}$) where appearance information is amplified in motion-important regions.
  3. Trajectory Pooling: Finally, these cross-weighted features are pooled along the iDT trajectories.

Interestingly, the authors demonstrate that this process is mathematically equivalent to pooling standard features along weighted trajectories. In other words, background trajectories in non-discriminative regions are automatically assigned modest weights, mitigating the camera-shake problem.

Overview of the proposed Cross-Stream Pooled Descriptors (CPD) pipeline.

The pooled local descriptors are encoded using either Fisher Vectors (FV) or Vector of Locally Aggregated Descriptors (VLAD) and classified using a Support Vector Machine (SVM).

Datasets

The method was evaluated on two widely used action recognition benchmarks:

  • UCF101: Contains 101 action classes from YouTube videos with significant variations in camera motion, lighting, and background.
  • HMDB51: A challenging dataset containing 51 action categories collected from commercial movies and web videos.

The authors utilized a VGG16 architecture pre-trained on UCF101 as their backbone network.

Key Insights and Ideas

  • Motion as an Attention Mechanism: Motion naturally guides where the network should look for appearance details. By crossing the streams, the temporal network acts as an attention filter for the spatial network, and vice versa.
  • Dual Interpretation: The equivalence between weighting feature maps and weighting trajectories provides an elegant solution to two problems at once: it enhances deep features while simultaneously cleaning up hand-crafted trajectory noise.
  • VLAD Superiority: For deep trajectory-pooled descriptors, the authors observed that VLAD encoding consistently outperformed Fisher Vectors (FV), a shift from traditional hand-crafted pipeline preferences.

Key Results

The combination of standard TDD and the proposed CPD achieved state-of-the-art accuracy on both datasets:

  • UCF101: Reached 92.3% accuracy when combining TDD and CPD with VLAD encoding, outperforming standalone TDD (90.3%) and standard two-stream networks (91.4%).
  • HMDB51: Achieved 66.2% accuracy, representing a notable improvement over baseline methods without requiring additional hand-crafted iDT features during the final fusion.

Qualitative visualizations confirmed that while standard spatial layers activate on irrelevant background objects, the cross-stream weighted layers focus cleanly on the actors (e.g., the shooter and the goalie in a sports video), successfully ignoring background motion from camera shake.

Limitations and Future Work

To keep computational costs manageable, the authors omitted several standard performance-boosting techniques during inference:

  • They did not use multi-scale CNN features.
  • They did not apply data augmentation techniques like flipping or cropping during prediction.

While this demonstrates the raw efficiency and power of the CPD descriptor, exploring how to scale this method efficiently with multi-scale inputs or end-to-end 3D CNN architectures remains an open direction for future optimization.

Summary updated

BibTeX
@inproceedings{ohnishi2016improved,
  author = {Katsunori Ohnishi and Masatoshi Hidaka and Tatsuya Harada},
  title = {{Improved Dense Trajectory with Cross Streams}},
  booktitle = {ACM Multimedia},
  year = {2016},
  url = {https://openreview.net/forum?id=aK0AfWGsd7},
}
Figure