Generalized Rank Pooling for Activity Recognition

Anoop Cherian, Basura Fernando, Mehrtash Harandi, Stephen Gould

Introduction

In the domain of video-based action recognition, a fundamental challenge lies in effectively aggregating frame-level features into a single, discriminative representation for the entire sequence. Traditional methods often rely on simple pooling strategies, such as average or max pooling. While computationally efficient, these techniques are inherently "order-invariant," meaning they discard the crucial temporal evolution of an action. For instance, a person sitting down and a person standing up might yield nearly identical average-pooled features, despite representing opposite actions.

To address this, researchers have previously explored "Rank Pooling," which attempts to capture dynamics by learning a linear function that ranks frames chronologically. However, a single linear projection is often insufficient to represent the complex, non-linear dynamics and high-dimensional "nuisance" variables (like background clutter) present in real-world videos.

Methodology: Generalized Rank Pooling (GRP)

Generalized Rank Pooling (GRP) extends the concept of rank pooling by representing a video sequence as a $p$-dimensional subspace rather than a single line. This approach allows the model to capture multiple facets of the video simultaneously—dedicating some dimensions to the action's temporal progression and others to the static context.

Conceptual overview of Generalized Rank Pooling mapping video sequences to a Grassmann manifold.

The GRP framework formulates a joint optimization problem with two primary objectives:

  1. Low-Rank Data Approximation: Similar to Principal Component Analysis (PCA), the method seeks a subspace that minimizes the reconstruction error of the input feature sequence.
  2. Temporal Ordering Constraints: The optimization enforces a ranking constraint where the norm of the projected features must monotonically increase over time, effectively "encoding" the chronological order into the subspace geometry.

Because the resulting subspaces must be defined by orthonormal bases, they naturally reside on a Grassmann manifold. The authors utilize Riemannian conjugate gradient descent to solve this non-convex optimization problem efficiently. For classification, the learned subspaces are treated as points on the manifold, and a Support Vector Machine (SVM) is employed with a specialized Projection Metric Kernel to account for the manifold's non-Euclidean geometry.

Experimental Evaluation

The efficacy of GRP was evaluated across several challenging benchmarks, including HMDB-51, UCF101, JHMDB, and the MPII Cooking Activities dataset.

Impact of Subspace Dimensionality and Constraints

A key finding of the study is the superior performance of multi-dimensional subspaces over the 1D lines used in traditional rank pooling. As shown in the experimental results, increasing the number of subspaces leads to significant gains in accuracy. Furthermore, the inclusion of temporal ranking constraints is vital; removing these constraints (GRP w/o constraints) results in a marked drop in performance, particularly when the number of subspaces is low.

Impact of subspace dimensionality and ranking constraints on classification accuracy.

Key Results and Insights

  • State-of-the-Art Performance: When integrated with deep features from architectures like ResNet-152, GRP achieved competitive results, reaching 72.1% on HMDB-51 and 93.5% on UCF101.
  • Motion vs. Appearance: The researchers observed that GRP provides a more substantial boost to Optical Flow features than to RGB features. This suggests that temporal ordering is more critical for representing pure motion than for appearance-based context.
  • Feature Depth: Interestingly, features from earlier fully connected layers (e.g., FC6) often outperformed those from later layers (FC7), indicating that deeper layers may become too invariant to the temporal structures that GRP seeks to exploit.

Conclusion and Future Directions

Generalized Rank Pooling offers a robust mathematical framework for capturing the "rhythm" of video data. By leveraging the geometry of Grassmann manifolds, it successfully bridges the gap between low-rank representation and temporal modeling. Future work may focus on integrating GRP directly into end-to-end neural network training and optimizing the method for high-resolution spatial feature maps where computational costs are currently prohibitive.

Summary updated

BibTeX
@inproceedings{cherian2017generalized,
  author = {Anoop Cherian and Basura Fernando and Mehrtash Harandi and Stephen Gould},
  title = {{Generalized Rank Pooling for Activity Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.172},
}
Figure