Using Phase Instead of Optical Flow for Action Recognition

Omar Hommos, Silvia L. Pintea, Pascal S. M. Mettes, Jan C. van Gemert · DOI

In the field of computer vision, recognizing human actions in video has traditionally relied on "tracking" objects or pixels across frames. This research, titled "Using phase instead of optical flow for action recognition," proposes a fundamental shift: instead of tracking movement, we should measure the local changes in light waves—specifically their phase.

The Lagrangian vs. Eulerian Perspective

Most action recognition models utilize optical flow, which follows a Lagrangian perspective. In this view, the model attempts to track the trajectory of individual particles (pixels) over time. While effective, optical flow has significant drawbacks. It is computationally expensive to calculate and often fails in scenarios involving untextured surfaces (like white walls or water), occlusions, or very subtle movements.

The authors advocate for an Eulerian perspective. Rather than following a pixel as it moves, an Eulerian model observes a fixed spatial location and describes how the signal (intensity or color) changes over time. By looking at phase variations, which are mathematically linked to motion via Fourier’s shift theorem, the model can capture a dense and robust description of movement without the need for explicit tracking.

Comparison of motion representations: Original input, Optical flow, RGB derivative, and Phase derivative.

The PhaseStream Architecture

The core of this research is the PhaseStream module, a neural network component designed to replace traditional optical flow. The module introduces several technical innovations to make phase-based recognition viable within standard Convolutional Neural Networks (ConvNets):

  • Complex Convolutional Layers: Unlike standard layers that use real numbers, PhaseStream uses complex-valued filters. This allows the network to represent both the real and imaginary parts of a signal, which is necessary for calculating phase.
  • Perpendicular Filters: To simplify the optimization of quadrature filter pairs (which require a specific $\pi/2$ phase shift), the authors use "perpendicular" filters. These combine two orientations to create a response that is less sensitive to the specific direction of an edge.
  • Sinusoidal Gabor Regularization: To ensure the filters learn meaningful features, the authors introduce a novel regularization loss. This forces learned filters to resemble Gabor filters (sine waves multiplied by a Gaussian envelope) by minimizing the distance between the filter's response and its center of mass in the Fourier domain.
  • Phase Extraction: The module calculates the temporal derivative of the phase using an arctangent function applied to the complex filter responses.

Key Insights and Results

The researchers evaluated PhaseStream on the UCF101 dataset, a benchmark containing 101 categories of human actions. The results highlighted several key strengths of the phase-based approach:

1. Mastery of Repetitive Motion

The Eulerian approach excels at capturing rhythmic, repetitive actions. Because it focuses on local oscillations rather than long-range trajectories, it handles actions like "Walking with Dog" (+13.9% improvement over baseline) or "Mopping Floor" (+11.8%) significantly better than standard models.

2. Complementary Strengths

The study found that while standard networks (like VGG-M) are better at recognizing actions defined by specific objects (e.g., "Archery"), PhaseStream is superior at recognizing actions defined by the nature of the movement itself, such as "Boxing Punching Bag" (+14.3%).

3. Efficiency and Performance

On the temporal (motion) stream of UCF101, PhaseStream achieved 76.4% accuracy. While this did not surpass the ensemble-based state-of-the-art TSN (83.8%), it significantly outperformed other motion-focused methods like ActionFlow (70.0%). Crucially, by using temporal derivatives ($dGray$) as input, the model avoids the heavy pre-computation required for high-quality optical flow.

Limitations and Future Directions

Despite its advantages, phase-based motion processing faces challenges. High-velocity movements can lead to "phase wrap-around" (aliasing), and Eulerian representations can be sensitive to image noise. Future work may involve stacking multiple complex layers or utilizing 3D convolutional filters to better represent complex, overlapping motion patterns.

By demonstrating that phase can effectively stand in for or complement optical flow, this research opens new avenues for faster and more robust motion processing in video AI.

Summary updated

BibTeX
@inproceedings{hommos2018using,
  author = {Omar Hommos and Silvia L. Pintea and Pascal S. M. Mettes and Jan C. van Gemert},
  title = {{Using Phase Instead of Optical Flow for Action Recognition}},
  booktitle = {Workshops @ ECCV},
  year = {2018},
  doi = {10.1007/978-3-030-11024-6\_51},
}
Figure