NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving Domain Adaptation by Source Selection

Kevin Bascol, Rémi Emonet, Élisa Fromont

TL;DR

This paper tackles the challenge of domain adaptation when multiple source domains are available, aiming to improve model performance on a target domain by intelligently selecting and weighting these sources. They introduce a novel method that leverages Wasserstein distance and a variety criterion to dynamically choose the most relevant source domains, effectively mitigating negative transfer and boosting accuracy.

What Problem Does This Paper Address?

Domain adaptation is crucial when a model trained on one data distribution (source) needs to perform well on a different, but related, distribution (target). This is common when target data is scarce or unlabeled. A major hurdle is "negative transfer," where using an irrelevant or too-different source domain actually harms performance on the target. This paper focuses on the more complex scenario of multisource domain adaptation, where we have many potential source domains to choose from. The core problem is how to effectively select and combine these sources to maximize positive transfer and minimize negative transfer, especially when no target labels are available for guidance.

Methods

The authors propose a three-step approach to automatically select and weight source domains:

  1. Pairwise Dataset Distances: They compute distances between each source domain and the target domain. While other distances are mentioned, they focus on the Wasserstein distance, a robust measure of the difference between probability distributions. For discrete datasets, this involves finding the minimal cost to transform one distribution into another.
  2. Transforming Distances into Scores: The computed distances are then transformed into scores using a negative exponential function. This allows for a smooth interpolation between giving all weight to the closest domain and distributing weight uniformly. A parameter $\lambda$ controls this trade-off.
  3. Ensuring Training Set Variety: To prevent overfitting and ensure generalization, they introduce a "training set variety" metric. This metric estimates the number of distinct samples used during training. They then find the parameter $\lambda$ that yields a variety below a target threshold, balancing domain similarity with diversity.

This entire process is designed to be modular and can be integrated into existing domain adaptation frameworks, such as domain-adversarial training.

Datasets

The paper evaluates their method on three main datasets:

  • Office-Caltech (O-C): A classic domain adaptation benchmark combining data from the Office-31 and Caltech256 datasets, featuring four common domains.
  • ImageNet-Caltech (I-C): A custom dataset created by the authors, using images from Caltech101, Caltech256, and ImageNet. This dataset is particularly interesting as it includes three types of domains: "Good" (true original classes), "Bad" (different but similar classes), and "Random" (randomly chosen classes) to specifically test the method's ability to handle varying degrees of domain discrepancy.
  • Bluecime: A real-world dataset introduced by the authors in previous work, related to chairlift security. This dataset comprises 21 distinct domains, representing different chairlifts, making it a challenging multisource scenario.

Key Insights and Ideas

  • The "closest is not always best" principle: While using the nearest source domain often improves performance over random selection, it's not always optimal. The paper highlights that a balance between similarity and diversity is key.
  • Mitigating negative transfer is paramount: The core contribution lies in a principled way to avoid selecting domains that would actively harm performance. The Wasserstein distance and variety criterion work together to achieve this.
  • Variety matters for generalization: Simply using all available source domains (LODO) isn't always the best strategy. The proposed method's emphasis on training set variety helps prevent overfitting and leads to better generalization.
  • The power of intelligent selection: The experiments demonstrate that a carefully selected subset of source domains, weighted appropriately, can outperform using all domains or just the nearest ones.

Key Results

  • On the Office-Caltech dataset, their method (OURS) achieved an accuracy of 96.56%, outperforming "Only nearest" (+5.49%) and "Only farthest" (+16.29%).
  • On the ImageNet-Caltech dataset, their method achieved 93.14% accuracy, which was the best among the tested strategies, confirming the relevance of their approach, especially when ignoring the "Random" domains.
  • On the Bluecime dataset with 21 domains, their method achieved 97.06% accuracy, showing its effectiveness even with a large number of source domains.
  • The paper also shows that removing the farthest source domain often leads to better results than using all domains (LODO), but their method still surpasses this by a small margin.

Limitations and Future Work

  • Computational Cost: The paper notes that optimizing the parameter $\beta$ (mentioned in related work) can be costly, requiring training multiple classifiers. Their proposed method aims to be more efficient.
  • Parameter Tuning: While they introduce a variety criterion, the target variety threshold itself might require tuning.
  • Future Work: The authors suggest exploring combinations of different distance metrics, scoring functions, and variety criteria. They also plan to investigate the behavior of their approach with different settings and potentially more complex scenarios.

Summary updated

BibTeX
@inproceedings{bascol2019improving,
  author = {Kevin Bascol and Rémi Emonet and Élisa Fromont},
  title = {{Improving Domain Adaptation by Source Selection}},
  booktitle = {ICIP},
  year = {2019},
  url = {https://openreview.net/forum?id=TDKC9XOUUcT},
}
Figure