Abstract
Learning self-supervised video representation predominantly focuses on discriminating instances generated from simple data augmentation schemes. However, the learned representation often fails to generalize over unseen camera viewpoints. To this end, we propose ViewCLR, that learns self-supervised video representation invariant to camera viewpoint changes. We introduce a viewpoint-generator that can be considered as a learnable augmentation for any self-supervised pre-text tasks, to generate latent viewpoint representation of a video. ViewCLR maximizes the similarities between the representation of the latent viewpoint and that of the original viewpoint, enabling the learned video encoder to generalize over unseen camera viewpoints. Experiments on cross-view benchmark datasets including NTU RGB+D dataset show that ViewCLR stands as a state-of-the-art viewpoint invariant self-supervised method.
Introduction
Action recognition models, particularly those based on 3D CNNs, are notoriously sensitive to camera viewpoints. A model trained on videos from a front-facing camera often fails significantly when tested on videos of the same action captured from a different angle. While supervised methods sometimes leverage 3D skeleton data to mitigate this, such data is often unavailable or noisy in real-world scenarios. Standard self-supervised learning (SSL) techniques, like MoCo, rely on data augmentations such as random cropping or color jittering, which fail to capture the complex geometric transformations inherent in camera movement. ViewCLR addresses this gap by encoding viewpoint-invariant characteristics directly into the learned video representation.
Methodology
ViewCLR extends the Momentum Contrast (MoCo) framework with three key components designed to achieve viewpoint invariance.
Viewpoint Generator (VG)
The Viewpoint Generator is a learnable module based on the Neural Projection Layer (NPL). It estimates 3D coordinates and transformation matrices (rotation and translation) for a given feature map, projecting these features into a new "latent viewpoint." This process creates a synthetic, geometrically plausible representation of the action in the feature space, acting as a sophisticated form of data augmentation.
Manifold Mixup and 3D Consistency
To integrate viewpoint-invariant knowledge, ViewCLR employs Manifold Mixup, interpolating between original video features and synthetic latent viewpoint features. This encourages the encoder to map different perspectives of the same action to proximal regions in the feature space.
Additionally, a Self-Supervised 3D Consistency loss is introduced. Using a "positive mining" strategy, the model identifies the nearest neighbor of a video in a feature queue (Queue1) and enforces consistency between their 3D world representations (stored in Queue2). This allows the model to scale geometric reasoning to the unsupervised domain.
Adversarial Learning
To ensure the generator produces challenging and meaningful viewpoints, a Gradient Reversal Layer (GRL) is utilized. This adversarial setup prevents the generator from producing viewpoints too similar to the input, forcing the contrastive task to focus on truly invariant features.
Experiments and Results
Evaluation was conducted on multi-view datasets including NTU RGB+D (60 & 120) and Northwestern-UCLA (NUCLA). ViewCLR demonstrated substantial performance gains, particularly in cross-view generalization:
- Cross-View Performance: On the NTU-60 dataset, ViewCLR improved accuracy by up to 62.5% relative to the standard MoCo baseline for unseen viewpoints.
- State-of-the-Art Comparison: When fine-tuned, ViewCLR achieved 89.7% on NTU-60 (Cross-Subject), outperforming existing unsupervised methods and rivaling supervised models pre-trained on large-scale datasets like Kinetics-400.
- Modality Fusion: Combining ViewCLR with 3D pose data yielded a state-of-the-art accuracy of 97.0% on NTU-60.
Conclusion
ViewCLR presents a novel approach to self-supervised video representation by treating viewpoint change as a learnable geometric transformation. By bridging RGB appearance with latent 3D geometric consistency, the framework achieves robust performance across unseen camera angles. This work paves the way for more resilient action recognition systems in unconstrained, real-world environments.
Summary updated