Abstract
Action recognition models often struggle when deployed in real-world environments that differ from their training data. This paper introduces the problem of video domain generalization, where models must handle target domains with divergent distributions without prior exposure. We observe that global temporal features are less generalizable due to temporal domain shifts—misalignments or absences of expected temporal relations in unseen domains. To address this, we propose the VideoDG framework, which balances discriminative global features with highly generalizable local-relation features across different timescales. Our approach features the Adversarial Pyramid Network (APN) for progressive feature capture and Robust Adversarial Domain Augmentation (RADA) to bridge domain gaps. Evaluated across three diverse benchmarks, VideoDG consistently outperforms existing video classification and domain generalization methods.
The Challenge of Temporal Domain Shift
Standard video classification networks typically assume that training and testing data are independent and identically distributed (i.i.d.). However, a model trained on high-quality studio clips (e.g., UCF101) often fails when tested on real-world datasets like HMDB51 due to differences in lighting, background, and action execution. This is known as the domain shift problem.
In the context of video, the authors identify a unique "temporal domain shift." They discover a fundamental trade-off:
- Local temporal relations (short-term snippets, like the motion of a limb) are highly generalizable across domains but lack the context needed to distinguish complex actions.
- Global temporal relations (the full sequence of an action) provide high discriminative power but are brittle; the exact sequence of sub-events often changes between domains (e.g., the transition from "dribbling" to "shooting" in basketball might look different across camera views).
Using the A-distance metric—a proxy for measuring the divergence between two distributions—the researchers empirically confirmed that local features have a significantly smaller domain gap than global ones. This insight serves as the foundation for the VideoDG architecture.
The VideoDG Framework
To exploit the stability of local features while maintaining the accuracy of global ones, VideoDG introduces two primary technical contributions.
1. Adversarial Pyramid Network (APN)
The APN is a hierarchical architecture that processes video features through three distinct levels of attention:
- Level I (Local-relation): Focuses on short, consecutive frame segments to extract fundamental motion building blocks.
- Level II (Cross-relation): Aligns these local building blocks with the broader global context, ensuring that local features remain relevant to the overall action category.
- Level III (Global-relation): Aggregates the multi-scale information into a final representation for classification.
2. Robust Adversarial Domain Augmentation (RADA)
Traditional data augmentation (e.g., cropping, flipping) often fails to account for complex temporal shifts. RADA addresses this by generating "hard" adversarial examples during the training process. By perturbing features at different levels of the pyramid, RADA creates a diverse set of synthetic "target domains."
Crucially, RADA includes a robustness regularization term. This ensures that the model's predictions remain consistent even when faced with these difficult adversarial perturbations, effectively "bridging" the gap between the source and potential unseen domains.
Experimental Validation
The authors established three benchmarks to test different facets of domain generalization:
- Cross-Dataset (UCF ↔ HMDB): Tests general robustness across different data collection sources.
- Cross-View (Multi-view NTU): Evaluates performance when training on one camera angle and testing on others.
- Cross-Consequence (Something-Something): Splits domains by the intent or outcome of an action (e.g., "tearing" vs. "pretending to tear").
VideoDG demonstrated superior performance across all tasks. For instance, on the UCF → HMDB benchmark, it achieved an accuracy of 59.1%, significantly outperforming standard backbones like TRN (52.4%) and other state-of-the-art domain generalization methods. The A-distance analysis further confirmed that the features learned by VideoDG are more domain-invariant than those of traditional models.
Conclusion
VideoDG addresses the critical "temporal dilemma" in video action recognition. By prioritizing generalizable local relations and reinforcing them with robust adversarial augmentation, the framework provides a path toward models that can truly operate "in the wild." While the adversarial training process adds some computational overhead, the gains in cross-domain reliability represent a significant step forward for robust video understanding.
Summary updated