Abstract
In this work, we present a method for RGB-based action recognition using multi-view videos. We present a supervised contrastive learning framework to learn a feature embedding robust to changes in viewpoint, by effectively leveraging multi-view data. We use an improved supervised contrastive loss and augment the positives with those coming from synchronized viewpoints. We also propose a new approach to use classifier probabilities to guide the selection of hard negatives in the contrastive loss, to learn a more discriminative representation. Negative samples from confusing classes based on posterior are weighted higher. We also show that our method leads to better domain generalization compared to the standard supervised training based on synthetic multi-view data. Extensive experiments on real (NTU-60, NTU-120, NUMA) and synthetic (RoCoG) data demonstrate the effectiveness of our approach.
Introduction
Action recognition is a cornerstone of computer vision, yet it faces a significant "perspective" problem: the same action can appear vastly different when captured from different camera angles. While state-of-the-art models often rely on 3D skeleton data to achieve viewpoint invariance, such data is expensive to acquire and often requires specialized hardware or error-prone pose estimation. This paper introduces ViewCon, a supervised contrastive learning framework that achieves robust, viewpoint-invariant action recognition using only standard RGB video.
Methodology
ViewCon improves upon standard supervised contrastive learning through two primary mechanisms: multi-view positive augmentation and hardness-aware negative re-weighting.
Multi-View Positive Augmentation
In traditional contrastive learning, positive pairs are typically generated through different augmentations of the same video clip. ViewCon extends this by incorporating synchronized clips of the same action captured from different viewpoints as positives. This explicitly forces the model to map different visual perspectives of the same event to similar points in the embedding space.
Hardness-Aware Negative Re-weighting
A core innovation of ViewCon is the use of a classifier to intelligently weight "hard negatives." Instead of treating all negative samples (different actions) equally, the framework uses the posterior probabilities from an action classifier to identify confusing classes. If the classifier assigns a high probability to a negative class, that sample is flagged as a hard negative and assigned a higher weight in the contrastive loss, forcing the model to work harder to push those confusing classes apart.
Notably, ViewCon trains the backbone and the classifier simultaneously, allowing the classifier's evolving understanding of class boundaries to actively shape the feature embedding space during training.
Experimental Results
The authors evaluated ViewCon on several major benchmarks, including NTU-RGB+D 60 & 120, Northwestern-UCLA (NUMA), and Robot Control Gestures (RoCoG).
- State-of-the-Art Performance: On the NTU-60 Cross-View benchmark, ViewCon achieved 98.0% accuracy, outperforming the previous best RGB method (ViewCLR) by 3.9%.
- Superior Generalization: When transferring features to the NUMA dataset, ViewCon reached 91.7% accuracy, a 2.6% improvement over previous approaches.
- Synthetic-to-Real Transfer: On the RoCoG dataset, ViewCon improved accuracy by 7.6% over standard cross-entropy training when generalizing from synthetic to real-world videos. This suggests that training on synthetic multi-view data using ViewCon can effectively mitigate the difficulty of collecting synchronized real-world video.
Conclusion
ViewCon demonstrates that RGB-only action recognition can be made robust to viewpoint changes through targeted contrastive learning. By leveraging multi-view data and classifier-guided hard negative mining, the framework learns highly discriminative embeddings that generalize well across domains. Future work will explore applying these techniques to temporal action localization in untrimmed videos.
Summary updated