TL;DR
This paper introduces a new benchmark and a novel method, RelaMiX, for Few-Shot Domain Adaptation in Activity Recognition (FSDA-AR). RelaMiX enables models to adapt to new environments using as little as one labeled video per class, achieving performance comparable to traditional methods that require thousands of unlabeled samples.
What Problem Does This Paper Address?
Human activity recognition (HAR) models often struggle when moved from one "domain" to another—for example, from synthetic game data to real-world video, or from a third-person view to an egocentric (first-person) perspective. This is known as domain shift.
While Unsupervised Domain Adaptation (UDA) helps bridge this gap, it typically requires a massive amount of unlabeled data from the new target domain. Semi-supervised methods (SSDA) are even more demanding, requiring both large unlabeled sets and some labels. In many real-world scenarios, such as recognizing rare but critical activities, collecting thousands of videos is simply not feasible. The authors tackle Few-Shot Domain Adaptation (FSDA-AR), where the model must adapt using only a handful of labeled examples from the target domain—a much more practical but technically challenging setting.
Methods
The authors propose RelaMiX, a framework designed to squeeze every bit of information out of a few target samples. It consists of three core innovations:
- Temporal Relational Attention Network with Relation Dropout (TRAN-RD): Instead of just looking at sequences, this network captures nuanced temporal relationships across different scales. By randomly dropping some relations during training (Relation Dropout), the model learns more robust, generalizable features that aren't overfitted to the specific temporal patterns of the source domain.
- Statistical Distribution-based Feature Mixture (SDFM): To overcome the lack of target data, SDFM synthesizes new "target-like" features. It calculates the mean and covariance of source features and uses them to "blend" with the few available target samples, effectively augmenting the latent space.
- Cross-Domain Information Alignment (CDIA): This uses a contrastive loss to pull source domain features closer to target domain "prototypes" (class centers) while pushing them away from negative examples.
Datasets
The authors established a new, more rigorous benchmark for FSDA-AR using five diverse datasets to ensure their method works across various types of domain shifts:
- HMDB-51 & UCF-101: Standard video datasets used for cinematic-to-real-world adaptation.
- EPIC-KITCHENS-55: Egocentric videos, providing a challenging cross-person perspective shift.
- Sims4Action & Toyota SmartHome (TSH): A synthetic-to-real adaptation task, moving from game avatars to real-world home surveillance.
Key Insights and Ideas
- Efficiency is King: FSDA-AR can achieve results comparable to UDA while using a tiny fraction of the target data. For instance, on the EPIC-KITCHEN dataset, RelaMiX with just 5 shots uses only ~1.6% of the samples required by standard UDA methods.
- Temporal Generalization Matters: Standard temporal aggregators often overfit to the source domain's timing. The TRAN-RD module shows that explicitly modeling multi-scale relations and using dropout on these relations significantly boosts a model's ability to "understand" the same action in a new environment.
- Latent Space Blending: You don't always need real data to adapt. By leveraging the statistical distributions of the source domain to augment the target domain's latent space (SDFM), the model becomes much more resilient to data scarcity.
Key Results
RelaMiX achieved state-of-the-art results across all tested benchmarks and shot settings (1, 5, 10, and 20 shots).
- On EPIC-KITCHEN, RelaMiX outperformed the best baselines by up to 2.8% in the 1-shot setting.
- In the Sims4Action → TSH (synthetic-to-real) task, it showed significant improvements, reaching 49.2% accuracy in the 20-shot setting compared to 42.7% for the next best baseline.
- Qualitative analysis shows that RelaMiX correctly identifies complex actions where other domain adaptation baselines often fail due to the large domain gap.
Limitations and Future Work
- RGB Only: The current work focuses exclusively on RGB video data. The authors note that multi-modality FSDA-AR (e.g., incorporating optical flow, depth, or audio) is a promising future direction.
- False Positives: While state-of-the-art, the model still makes errors in very challenging domain shifts. The authors acknowledge the potential for biased content or misclassifications to cause negative social impacts if deployed without care.
- Backbone Exploration: The study primarily uses the I3D backbone for fair comparison with existing UDA work; exploring more modern transformer-based backbones within this few-shot adaptation framework is another suggested path forward.
Summary updated