Abstract
Unsupervised domain adaptation (UDA) aims to bridge the gap between source and target domains in the absence of target domain labels using two main techniques: input-level alignment (such as generative modeling and stylization) and feature-level alignment. Motivated by the success of generative modeling for image classification, stylization-based methods were recently proposed for regression tasks, such as pose estimation. However, these methods incur additional overhead and computational complexity. We investigate whether generative modeling-based stylization is necessary for visual domain adaptation in regression. Surprisingly, we find that input-alignment has little effect on regression tasks compared to classification. Based on these insights, we develop a non-parametric feature-level domain alignment method—Implicit Stylization (ImSty)—which results in consistent improvements over state-of-the-art (SOTA) regression tasks without the need for computationally intensive stylization.
Introduction
Machine learning models often suffer from performance degradation when deployed in environments different from their training data, a phenomenon known as domain shift. Unsupervised Domain Adaptation (UDA) seeks to mitigate this by aligning a labeled source domain (e.g., synthetic data) with an unlabeled target domain (e.g., real-world images).
Historically, UDA techniques have focused on two strategies:
- Input-level alignment: Transforming the source images to match the visual style of the target domain using Generative Adversarial Networks (GANs) or specialized "StyleNets."
- Feature-level alignment: Matching the statistical distributions of internal feature representations.
While input-level stylization is effective for classification, its utility for regression tasks like pose estimation remains questionable. This paper argues that for predicting continuous spatial coordinates, the underlying geometric structure is more critical than surface-level pixel style.
Methodology: Implicit Stylization (ImSty)
The proposed method, Implicit Stylization (ImSty), shifts the focus from pixel-level transformation to feature-level statistics. Instead of training a separate generative model, ImSty operates directly on the feature maps of the backbone network (e.g., ResNet-101).
Key Components
- Adaptive Instance Normalization (AdaIN): ImSty uses AdaIN to swap the mean and standard deviation between source and target feature maps during training. This effectively "mixes" the domains internally, providing a form of stylization without the overhead of image generation.
- Mean-Teacher Framework: The architecture employs a Student-Teacher setup. The Student model learns from the implicitly stylized features, while the Teacher model (an exponential moving average of the Student) generates stable pseudo-labels for the target data.
- Non-Parametric Alignment: Unlike previous SOTA methods like UniDA, which require a "StyleNet" with approximately 3.5 million parameters, ImSty requires zero additional trainable parameters for domain alignment.
Experimental Results
The researchers evaluated ImSty on three 2D pose estimation benchmarks: Hand Pose (Rendered $\rightarrow$ Hand-3D-Studio), Human Pose (SURREAL $\rightarrow$ LSP), and Animal Pose (Synthetic $\rightarrow$ TigDog).
Performance and Efficiency
- Accuracy: ImSty achieved SOTA results across all datasets, with an average improvement of 0.4% in [email protected] over previous methods.
- Computational Efficiency: Compared to UniDA, ImSty reduced the number of trainable alignment parameters by 100% and reduced the computational cost (MACs) for the alignment step by 99.99%.
- Regression vs. Classification: The findings highlight a fundamental difference: while color and texture shifts can easily confuse a classifier, regression models are more robust to these changes as long as the spatial geometry is preserved. Feature-level swapping (ImSty) provides better domain invariance than expensive pixel-level "painting."
Conclusion
This work challenges the necessity of generative modeling for domain adaptation in regression. By demonstrating that a simple, non-parametric feature-swapping technique can outperform complex generative models, the authors provide a more efficient path for real-world UDA. Future research will explore why the Mean-Teacher framework is inherently robust to domain shifts in regression and how ImSty can be extended to other tasks like depth estimation.
Summary updated