Independent Feature Decomposition and Instance Alignment for Unsupervised Domain Adaptation

Qichen He, Siying Xiao, Mao Ye, Xiatian Zhu, Ferrante Neri, Dongde Hou

Abstract

Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. Traditional methods often struggle with feature entanglement, where domain-specific "noise" (e.g., lighting, background) remains mixed with domain-invariant classification features. We present IndUDA, a framework that leverages Invertible Neural Networks (INNs) to explicitly decompose features into independent components. By employing a gradient-based channel masking strategy and cross-domain feature swapping, IndUDA effectively isolates task-relevant information. Furthermore, an Instance Feature Alignment module replaces domain-specific noise with Gaussian priors to guide the feature extractor toward "denoised" representations. Experimental results on Office-Home, VisDA-2017, and Office-31 benchmarks demonstrate that IndUDA achieves state-of-the-art accuracy, significantly outperforming existing alignment-based methods.

Introduction

The core challenge in Unsupervised Domain Adaptation is the distribution shift between the source and target domains. While standard approaches attempt to learn a common feature space where both domains are indistinguishable, they often fail to purge domain-specific information. This "noise" can lead to negative transfer, where the classifier relies on non-generalizable features, degrading performance on the target task.

Conceptual comparison: (a) traditional methods often leave domain-specific noise entangled, whereas (b) IndUDA decomposes features into a common space and a discarded latent space.

As illustrated in Figure 1, IndUDA shifts the paradigm from simple alignment to explicit decomposition. By separating features into domain-invariant and domain-specific parts, the model ensures that the classification head operates only on clean, transferable information.

Methodology

The IndUDA framework is built upon two primary components: Independent Feature Decomposition (IFD) and Instance Feature Alignment (IFA).

Independent Feature Decomposition (IFD)

To achieve lossless decomposition, IndUDA utilizes an Invertible Neural Network (INN) based on normalizing flows. Unlike standard feed-forward layers, INNs are bijective, ensuring that no information is discarded during the transformation to the latent space.

A key innovation is the Channel Mask Block, which identifies task-relevant channels based on the gradients of the classifier. This data-driven approach allows the model to automatically partition the latent space into domain-invariant ($z^{di}$) and domain-specific ($z^{ds}$) components. To enforce independence, the model performs an Instance Cross-Domain Swap: domain-invariant components are swapped between source and target samples of the same predicted category. A successful decomposition implies that the reconstructed features ($f'$) should remain correctly classifiable.

Instance Feature Alignment (IFA)

Rather than simply ignoring the domain-specific noise, IndUDA uses it to define an "ideal" feature representation. In the IFA module, the domain-specific component $z^{ds}$ is replaced with a random Gaussian variable $z_r$. This creates a denoised latent representation which is then mapped back to the feature space. The feature extractor is trained to align its raw output with these idealized, denoised features, effectively learning to suppress domain-specific variance at the source.

The IndUDA architecture, detailing the Invertible Flow blocks, channel masking, and the feature alignment modules.

Experimental Evaluation

The proposed method was evaluated on three major computer vision benchmarks: Office-31, Office-Home, and VisDA-2017.

Benchmarks and Datasets

  • Office-Home: A challenging dataset containing 15,500 images across 65 categories and four domains (Art, Clipart, Product, Real-World).
  • VisDA-2017: A large-scale dataset for synthetic-to-real adaptation, featuring 12 categories with over 280,000 images.
  • Office-31: A standard benchmark with 31 categories across three domains (Amazon, DSLR, Webcam).

Results

IndUDA consistently established new state-of-the-art (SOTA) results. On the Office-Home dataset, it achieved a mean accuracy of 74.3%, representing a significant gain over previous methods like ATDOC (72.2%) and CAN (71.8%). On the large-scale VisDA-2017 benchmark, IndUDA reached 88.0% average accuracy, demonstrating its scalability and robustness. Finally, on Office-31, the model achieved 91.4% mean accuracy.

Discussion and Insights

The success of IndUDA highlights several critical insights for domain adaptation:

  1. The Power of Invertibility: The use of INNs allows for sophisticated feature manipulation (like swapping) without the information loss typical of autoencoders or standard CNNs.
  2. Gradient-Based Selection: Automatically determining feature importance via gradients proves more effective than fixed architectural splits, as it adapts to the specific nuances of the dataset and task.
  3. Prior-Based Denoising: Replacing domain-specific noise with a Gaussian prior, rather than zeroing it out, helps maintain the manifold structure of the feature space, leading to better generalization.

Limitations

Despite its performance, IndUDA introduces additional computational complexity during training due to the invertible flow blocks and the iterative pseudo-labeling process. Furthermore, the quality of initial pseudo-labels (generated via K-means) is a prerequisite for effective decomposition; extremely high initial domain shifts could potentially lead to suboptimal convergence.

Conclusion

IndUDA provides a robust framework for UDA by moving beyond simple feature alignment. By explicitly decomposing features into independent domain-invariant and domain-specific components, it ensures that only transferable information is used for classification. This approach not only sets new performance benchmarks but also offers a clearer understanding of how domain-specific noise impacts model generalization.

Summary updated

BibTeX
@inproceedings{he2023independent,
  author = {Qichen He and Siying Xiao and Mao Ye and Xiatian Zhu and Ferrante Neri and Dongde Hou},
  title = {{Independent Feature Decomposition and Instance Alignment for Unsupervised Domain Adaptation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/91},
}
Figure