Theoretical Performance Guarantees for Partial Domain Adaptation via Partial Optimal Transport

Jayadev Naram, Fredrik Hellström, Ziming Wang, Rebecka Jörnsten, Giuseppe Durisi

Abstract

Partial Domain Adaptation (PDA) addresses scenarios where the target domain's label space is a subset of the source domain's. While empirical weighting schemes have been developed to mitigate "negative transfer" from outlier source classes, a rigorous theoretical foundation has remained elusive. This paper establishes the first solid theoretical framework for PDA by leveraging Partial Optimal Transport (POT). We derive new generalization bounds that explicitly account for the learned feature map and provide a mathematically grounded weighting mechanism. Building on these insights, we introduce WARMPOT (Weighted and Regularized Minimizer via Partial Optimal Transport), an algorithm that achieves state-of-the-art performance by effectively identifying and suppressing irrelevant source data.

Introduction

In standard Domain Adaptation (DA), the objective is to transfer knowledge from a labeled source domain to an unlabeled target domain, assuming both share identical label spaces. However, real-world applications often involve Partial Domain Adaptation (PDA), where the target domain contains only a fraction of the categories present in the source. For instance, a model trained on a comprehensive dataset like ImageNet (1,000 classes) might be deployed in a specialized environment that only recognizes a dozen specific categories.

Applying standard DA techniques to PDA tasks often leads to "negative transfer." This occurs when the model attempts to force an alignment between the target data and the "outlier" source classes (those not present in the target). These outliers introduce noise that degrades the model's performance on the relevant categories. While existing PDA methods use heuristic weighting schemes to ignore these outliers, this work provides a formal theoretical justification for such weighting through the lens of Partial Optimal Transport.

Theoretical Framework: Partial Optimal Transport

To address the asymmetry of PDA, the authors utilize Partial Optimal Transport (POT). Unlike standard Optimal Transport, which requires the total mass of two distributions to be equal and fully transported, POT allows for the transport of only a fraction ($\alpha$) of the mass. This mathematical flexibility is ideally suited for PDA, as it permits the model to ignore source samples that do not find a natural correspondence in the target domain.

New Generalization Bounds

The core contribution of this work is the derivation of two new generalization bounds for PDA. These bounds are significant for several reasons:

  1. Feature-Map Dependence: Unlike classical bounds that are often decoupled from the training process, these bounds explicitly depend on the learned feature map, making them highly relevant to modern deep learning architectures.
  2. Empirical Distribution Focus: The proofs work directly with empirical distributions (the actual observed data points) rather than theoretical population distributions. This removes the need for complex "concentration of measure" assumptions and makes the theory more practically applicable.
  3. Constructive Weighting: The mathematics naturally yield weights ($p_i$) for source samples derived from the optimal transport plan. If a source sample is an outlier, the transport plan assigns it minimal mass, effectively silencing its influence during training.

The WARMPOT Algorithm

Based on the derived bounds, the authors propose the WARMPOT algorithm (Weighted and Regularized Minimizer via Partial Optimal Transport). The algorithm minimizes an objective function that balances feature alignment with label consistency.

WARMPOT introduces two key hyperparameters:

  • $\alpha$: The fraction of target data to be considered.
  • $\beta$: The fraction of source data to be associated with the target.

This dual-parameter approach allows the model to handle varying proportions of outliers in both the source and target domains, providing a level of flexibility that is often missing in heuristic-based methods.

Experimental Evaluation

The authors evaluated WARMPOT on two primary benchmarks: Office-Home (65 classes, with 25 selected for the PDA task) and ImageNet $\to$ Caltech.

Key Results

  • Competitive Accuracy: On the Office-Home benchmark, WARMPOT achieved an average accuracy of 77.6%, outperforming many specialized PDA algorithms.
  • State-of-the-Art Integration: The theoretically derived weights from WARMPOT can be integrated into other frameworks. By replacing the heuristic weights in the ARPM algorithm with WARMPOT weights (ARPM+our-weights), the researchers achieved a new state-of-the-art (SOTA) average of 82.0% on Office-Home.
  • Outlier Suppression: Analysis of the learned weights confirmed the theory's effectiveness. Outlier classes received only 6.04% of the total weight, despite constituting over 58% of the source samples. This demonstrates that the POT-based mechanism successfully identifies and discounts irrelevant data.

Conclusion

This research bridges the gap between the empirical success of Partial Domain Adaptation and its theoretical understanding. By showing that optimal weighting emerges naturally from Partial Optimal Transport, the authors provide a principled way to combat negative transfer. While the computational cost of exact POT minimization remains a challenge for future optimization, the success of WARMPOT and its weight-integration capabilities mark a significant step forward in creating robust, theoretically-sound transfer learning systems.

Summary updated

BibTeX
@inproceedings{naram2025theoretical,
  author = {Jayadev Naram and Fredrik Hellström and Ziming Wang and Rebecka Jörnsten and Giuseppe Durisi},
  title = {{Theoretical Performance Guarantees for Partial Domain Adaptation via Partial Optimal Transport}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=YF17x9e3J2},
}
Figure