Concept-Based Unsupervised Domain Adaptation

Xinyue Xu, Yueying Hu, Hui Tang, Yi Qin, Lu Mi, Hao Wang, Xiaomeng Li

Introduction

Black-box AI models often lack the transparency required for high-stakes applications like healthcare. Concept Bottleneck Models (CBMs) address this by decomposing predictions into two stages: first predicting human-interpretable concepts (e.g., "black bill," "buff nape") and then using these concepts to determine the final class label. However, CBMs are highly sensitive to domain shift. For instance, a model trained on images of birds in water may fail when tested on birds in a forest setting.

Traditional Unsupervised Domain Adaptation (UDA) techniques attempt to align feature distributions between source and target domains. However, applying standard UDA to CBMs often fails because it forces "perfect" alignment. In reality, concept distributions naturally vary across domains (e.g., different environments may have different proportions of specific bird features). Forcing identical distributions—uniform alignment—can degrade the semantic integrity of the concepts and lead to poor generalization.

Comparison of Uniform vs. Relaxed Alignment in CUDA.

The CUDA Framework

To address these challenges, we introduce CUDA (Concept-based Unsupervised Domain Adaptation). CUDA enables interpretable models to adapt to new domains without requiring labeled concept data in the target domain.

Architecture

The CUDA framework consists of several key components:

  1. Concept Embedding Encoder ($E$): Instead of scalar values, the model generates "positive" ($v^{(+)}$) and "negative" ($v^{(-)}$) embeddings for each concept.
  2. Concept Predictor ($G_{concept}$): Predicts the probability of each concept being present.
  3. Label Predictor ($F$): Makes the final classification based on the concept embeddings.
  4. Domain Classifier ($D$): Used for adversarial training to align the source and target concept embeddings.
The CUDA architecture for concept-based unsupervised domain adaptation.

Relaxed Alignment

The core innovation of CUDA is relaxed alignment. Unlike standard adversarial adaptation that seeks to make domain distributions indistinguishable, CUDA introduces a relaxation threshold ($\tau$). This threshold caps the loss for the domain discriminator, allowing the model to tolerate minor, natural differences in concept distributions between domains. This "slack" prevents the model from over-correcting and preserves the true semantic meaning of the learned concepts in the target domain. The authors also provide the first theoretical generalization error bound for CBMs under domain shift to support this approach.

Experimental Evaluation

CUDA was evaluated across diverse datasets, including:

  • Waterbirds Variants: Waterbirds-2 (binary), Waterbirds-200 (multi-class), and Waterbirds-CUB.
  • Digit Datasets: MNIST, MNIST-M, SVHN, and USPS, using 11 custom-designed topological concepts (e.g., "Ring", "Line").
  • SkinCON: A medical dataset for skin lesion classification across different skin tones.

Key Results

CUDA demonstrates significant improvements over baseline CBMs and standard UDA methods:

  • Accuracy Gains: On Waterbirds-2, CUDA achieved 92.90% class accuracy, a massive jump from the 70.27% achieved by standard Concept Embedding Models (CEM).
  • Robustness to Shift: In digit classification (e.g., SVHN $\rightarrow$ MNIST), CUDA averaged 91.25% accuracy, far exceeding the CEM baseline of approximately 64%.
  • Competitive with Black-Box Models: CUDA outperformed several state-of-the-art "black-box" domain adaptation methods (e.g., DANN, MCD, SRDC) that do not provide the benefit of interpretability.
  • Human Intervention: CUDA maintains the ability for human experts to "intervene" by correcting mispredicted concepts to improve final labels, even in the target domain.

Conclusion

CUDA successfully bridges the gap between interpretability and domain robustness. By utilizing relaxed alignment, it preserves the semantic utility of concepts under domain shift. While CUDA performs exceptionally well, future work will focus on scaling to high-class scenarios and exploring more complex types of domain shifts.

Summary updated

BibTeX
@inproceedings{xu2025concept,
  author = {Xinyue Xu and Yueying Hu and Hui Tang and Yi Qin and Lu Mi and Hao Wang and Xiaomeng Li},
  title = {{Concept-Based Unsupervised Domain Adaptation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=ZWsjNcUDIs},
}
Figure