OT Score: An OT based Confidence Score for Unsupervised Domain Adaptation

Yiming Zhang, Sitong Liu, Alex CloningerarXiv 2025 · DOI

Introduction

In machine learning, "domain shift" occurs when a model trained on a source dataset fails to generalize to a different target domain. Unsupervised Domain Adaptation (UDA) attempts to mitigate this using unlabeled target data. A particularly challenging variant is Source-Free UDA (SFUDA), where researchers only have access to a pre-trained source model and unlabeled target data, often due to privacy or storage constraints.

The core challenge in SFUDA is "noisy supervision." To adapt, models generate "pseudo-labels" (guesses) for target data. If these guesses are incorrect, the model enters a feedback loop of errors. Existing confidence metrics like Maxprob (highest softmax score) or Entropy often fail because models can be "confidently wrong" on new domains. The OT Score addresses this by providing a reliable, label-free proxy for model performance based on the geometry of Optimal Transport (OT).

The OT Score Framework

The OT Score is grounded in the theory of Semi-Discrete Optimal Transport. Instead of relying solely on class probabilities, the method treats the source domain as a set of discrete points (class means) and the target domain as a continuous distribution. It identifies the most efficient way to align the target distribution with the source distribution.

Visualization of decision boundary adjustment using Optimal Transport.

Central to this method is the concept of Laguerre cells—a geometric partitioning of the feature space induced by the OT map. If a sample falls deep within a cell associated with a specific source class, it receives a high OT score, indicating high confidence. This geometric approach allows the model to adjust its decision boundaries more effectively than standard softmax-based methods, as shown in the figure above.

Experimental Results

The researchers evaluated the OT Score on four standard UDA benchmarks: Office-Home, VisDA-2017, ImageCLEF-DA, and Digits. The primary metric for uncertainty estimation was the AURC (Area Under the Risk-Coverage Curve), where lower values indicate better performance.

Comparison of AURC scores across multiple UDA benchmarks.

As shown in the table, the OT Score consistently outperformed traditional metrics like Maxprob and Entropy, as well as the state-of-the-art JMDS score, across almost all tasks. Beyond uncertainty estimation, integrating the OT Score as a reweighting signal into existing SFUDA frameworks led to measurable improvements in final target accuracy. For instance, on the Office-Home dataset, average accuracy improved from 72.5% to 73.0%.

Key Insights

  • Geometry as Confidence: The cost of aligning a point while respecting the overall distribution is a superior indicator of truth compared to a model's internal softmax output.
  • Label-Free Performance Proxy: The mean OT score across a dataset correlates strongly with actual classification accuracy. This allows practitioners to perform model selection without requiring target labels.
  • Mitigating Confirmation Bias: By down-weighting low-confidence samples during training using OT scores, the framework successfully breaks the self-reinforcement cycle of incorrect pseudo-labels.

Limitations and Future Work

While powerful, the OT Score can be biased if the target domain has a significantly different class distribution than the source. Additionally, if the initial source model is extremely poor, the starting pseudo-labels may be too noisy for effective OT alignment. Future research aims to incorporate "class-proportion uncertainty" to make the score more robust to imbalanced datasets and explore non-Euclidean cost functions.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ImageCLEF-DA (Avg.)OT ScoreAURC0.0502DSAN pseudo-label setting; average across the six ImageCLEF-DA transfer tasks.
Source quote
L625: Avg. │ 0.0631 │ 0.0643 │ 0.0729 │ 0.536 │ 0.0502
ImageCLEF-DA (Avg.)MaxprobAURC0.0631DSAN pseudo-label setting; average across the six ImageCLEF-DA transfer tasks.
Source quote
L625: Avg. │ 0.0631 │ 0.0643 │ 0.0729 │ 0.536 │ 0.0502
Office-Home · Avg.OT ScoreAURC0.1749DSAN pseudo-label setting; average across the Office-Home transfer tasks.
Source quote
L639: Avg. │ 0.2146 │ 0.2150 │ 0.2082 │ 0.2478 │ 0.1749
Office-Home · Avg.CossimAURC0.2082DSAN pseudo-label setting; average across the Office-Home transfer tasks.
Source quote
L639: Avg. │ 0.2146 │ 0.2150 │ 0.2082 │ 0.2478 │ 0.1749
VisDA-2017 (T → V)OT ScoreAURC0.1799DSAN pseudo-label setting; T → V transfer task.
Source quote
L640: VisDA-2017 │ T \rightarrow V │ 0.2301 │ 0.2290 │ 0.2289 │ 0.2296 │ 0.1799
VisDA-2017 (T → V)CossimAURC0.2289DSAN pseudo-label setting; T → V transfer task.
Source quote
L640: VisDA-2017 │ T \rightarrow V │ 0.2301 │ 0.2290 │ 0.2289 │ 0.2296 │ 0.1799
BibTeX
@misc{zhang2025ot,
  author = {Yiming Zhang and Sitong Liu and Alex Cloninger},
  title = {{OT Score: An OT based Confidence Score for Unsupervised Domain Adaptation}},
  year = {2025},
  eprint = {2505.11669},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.11669},
}
Figure