Introduction
Deep learning models for action recognition have achieved remarkable accuracy on standard benchmarks. However, these models often function as "black boxes," making predictions based on coincidental background features or specific camera angles rather than the actual human action. For instance, a model might identify "cycling" by recognizing a patch of asphalt rather than the person pedaling.
To address this, we propose that a truly robust model should exhibit multi-view consistency: its attention should remain focused on the primary subject regardless of the perspective. This paper introduces a framework that enforces such consistency by integrating Video Transformers with Neural Radiance Fields (NeRF) and a novel mathematical metric called Directed Gromov-Wasserstein (DGW) discrepancy.
Proposed Methodology
The proposed framework consists of three integrated components designed to ensure that the model's internal representations are invariant to camera viewpoint shifts.
1. Video Transformer Backbone
The system utilizes a standard architecture, such as the Video Swin Transformer, to extract high-level features and attention maps from input video frames. These maps represent where the model is "looking" to make its classification.
2. Implicit Multi-view Rendering (NeRF)
Since most action datasets provide only a single camera view, the framework incorporates a Neural Radiance Field (NeRF) module. This module acts as a "feature factory," allowing the model to render feature maps from novel, imaginary viewpoints during training. This effectively synthesizes a multi-view dataset from single-view inputs, providing the necessary data to enforce spatial consistency.
3. Directed Gromov-Wasserstein (DGW) Discrepancy
The core innovation lies in how the model compares the original view's attention map with the rendered novel view. Standard metrics like Gromov-Wasserstein (GW) distance compare the structure of distributions but treat points as static. In video, the relationship and motion direction between points are critical. The proposed Directed GW incorporates the direction of vectors between points in the attention volume using cosine similarity. By minimizing the DGW loss, the model is forced to maintain a consistent focus on the structural elements of the action across different simulated perspectives.
Experimental Evaluation
The model was evaluated on three major industry benchmarks: Kinetics-400, Something-Something V2 (SSv2), and Jester.
Key Results
- State-of-the-Art Performance: The method achieved 83.49% Top-1 accuracy on Kinetics-400 and 70.74% on SSv2, outperforming base Swin-B models.
- Ablation Studies: On the Jester dataset, adding the DGW consistency loss improved Top-1 accuracy from 96.50% to 96.94%, demonstrating that consistency constraints directly improve recognition performance.
- Qualitative Visualization: Attention map visualizations reveal that models trained with DGW maintain a tight lock on the person performing the action, whereas models without it often exhibit "leaky" attention that drifts into the background.
Discussion and Limitations
By using consistency as a proxy for correctness, this approach forces models to prioritize the actual subject of an action. However, the method faces certain challenges. Calculating DGW distances is computationally intensive, requiring entropic regularization for efficiency. Additionally, the NeRF module's ability to hallucinate novel views is limited by the information available in the single input frame; complete occlusions can still pose a challenge. Future work may extend this consistency-based reasoning to fields like autonomous driving and human-robot interaction.
Summary updated