PMI Sampler: Patch Similarity Guided Frame Selection For Aerial Action Recognition

Ruiqi Xian, Xijun Wang, Divya Kothandaraman, Dinesh Manocha

TL;DR

PMI Sampler is a novel, training-free frame selection algorithm designed to boost action recognition in challenging aerial videos. By using Patch Mutual Information (PMI) and an adaptive sampling strategy, it effectively ignores background noise and camera jitter to focus on the most motion-salient frames, achieving top-1 accuracy improvements of up to 13.8%.

What Problem Does This Paper Address?

Recognizing human actions from a drone (UAV) is significantly harder than from a ground-based camera. In aerial footage, human actors often occupy less than 10% of the pixels, while the rest is dominated by complex, shifting backgrounds. Because the drone itself is moving, standard techniques that look for "motion" often get confused by background changes and camera shake, treating them as salient action.

Most existing action recognition models rely on uniform sampling (picking frames at fixed intervals) or random sampling. These methods often miss the "meat" of an action—like the critical split-second of a somersault—while wasting computational power on redundant, static frames. Previous attempts at "smart" sampling, like the MG Sampler, use pixel-wise RGB differences, which are easily overwhelmed by the noise inherent in moving-camera aerial data.

Methods

The authors introduce the PMI Sampler, a "plug-and-play" module that can be added to any existing action recognition backbone (like X3D or I3D). Its core components include:

  1. Patch Mutual Information (PMI): Instead of comparing individual pixels, the algorithm divides adjacent frames into patches. It calculates the "Mutual Information" between corresponding patches. This approach is mathematically robust to outliers and noise. By looking at patches, the system preserves spatial relationships, allowing it to distinguish between global camera movement and local human action.

    The PMI formulation process: dividing frames into patches and calculating multivariate distribution to estimate entropy.
  2. Shifted Leaky ReLU Mapping: Once PMI scores are calculated, they are passed through a custom mapping function. This function "polarizes" the scores, stretching the gap between high-motion and low-motion frames to make salient segments stand out more clearly.

    Effect of the Shifted Leaky ReLU on PMI scores and the resulting cumulative distribution.
  3. Adaptive CDF Sampling: The algorithm builds a Cumulative Distribution Function (CDF) of these motion scores. It then segments the video along the "motion mass" rather than time. This ensures that periods of high activity receive more sampled frames, while static periods are compressed.

The complete PMI Sampler pipeline from raw video frames to action classification.

Datasets

The researchers evaluated their method on three primary aerial benchmarks and three standard ground-based datasets:

  • UAV-Human: The largest aerial dataset, featuring 155 actions with dynamic backgrounds and varying altitudes.
  • NEC Drone: An indoor UAV dataset characterized by significant noise from light reflections.
  • Diving48: A fine-grained dataset of competitive diving, captured at high altitudes and oblique angles.
  • Ground Datasets: Something-Something V2, UCF101, and HMDB51 were used to test the sampler's generalizability.

Key Insights and Ideas

  • Robustness through Patching: The "aha moment" is that pixel-level differences are too noisy for moving cameras. By aggregating information into patches, the sampler becomes naturally resistant to the jitter of a flying drone while remaining sensitive to the actor's movement.
  • Training-Free Efficiency: Unlike many recent "selection" modules that require complex reinforcement learning or heavy training, PMI Sampler is a statistical approach. It works out-of-the-box without needing labeled aerial data to "learn" what motion looks like.
  • Better Representation, Fewer Frames: The method proves that which frames you pick is often more important than how many you pick. PMI Sampler can achieve higher accuracy using only 8 frames than standard methods achieve with 16.

Key Results

The PMI Sampler consistently outperformed state-of-the-art (SOTA) methods across all tested datasets:

  • UAV-Human: Achieved a relative improvement of 2.2% to 13.8% in top-1 accuracy depending on the backbone and frame count.
  • Diving48: Saw a 9.0% relative improvement over previous SOTA samplers.
  • NEC Drone: Improved accuracy by 6.8% over SOTA.
  • Qualitative Advantage: As shown in Figure 1, while other samplers might miss the somersault in a dive due to background water splashes, PMI Sampler correctly identifies and samples the key motion frames.
Comparison showing PMI Sampler capturing key somersault info while MG Sampler focuses on redundant background noise.

Limitations and Future Work

The authors identify two main limitations:

  1. Smooth Motion: If an action is perfectly consistent and smooth throughout the video (e.g., slowly drinking water), the sampler reverts to behaving like standard uniform sampling.
  2. Static Gestures: If an action is defined by a static pose (like a referee's "all clear" signal) occurring during a low-motion period, the sampler might undersample that critical moment.

Future work will focus on refining the backbone architectures specifically for aerial data and exploring ways to better handle these "static-salient" action types.

Summary updated

BibTeX
@inproceedings{xian2024pmi,
  author = {Ruiqi Xian and Xijun Wang and Divya Kothandaraman and Dinesh Manocha},
  title = {{PMI Sampler: Patch Similarity Guided Frame Selection For Aerial Action Recognition}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00683},
}
Figure