PAS: Estimating the target accuracy before domain adaptation
Organizations: School of Computing Science Simon Fraser University Canada
Abstract
The goal of domain adaptation is to make predictions for unlabeled samples from a target domain with the help of labeled samples from a different but related source domain. The performance of domain adaptation methods is highly influenced by the choice of source domain and pre-trained feature extractor. However, the selection of source data and pre-trained model is not trivial due to the absence of a labeled validation set for the target domain and the large number of available pre-trained models. In this work, we propose PAS, a novel score designed to estimate the transferability of a source domain set and a pre-trained feature extractor to a target classification task before actually performing domain adaptation. PAS leverages the generalization power of pre-trained models and assesses source-target compatibility based on the pre-trained feature embeddings. We integrate PAS into a framework that indicates the most relevant pre-trained model and source domain among multiple candidates, thus improving target accuracy while reducing the computational overhead. Extensive experiments on image classification benchmarks demonstrate that PAS correlates strongly with actual target accuracy and consistently guides the selection of the best-performing pre-trained model and source domain for adaptation.
Figures & tables
| Office-Home | Office-31 | ImageCLEF | DomainNet | Total | ||
|---|---|---|---|---|---|---|
| PAS | \cellcolor gray!20 0.76 | 0.63 | \cellcolor gray!20 0.44 | \cellcolor gray!20 0.58 | \cellcolor gray!20 0.79 | |
| Euclidean distance | 0.70 | \cellcolor gray!20 0.69 | 0.27 | 0.54 | 0.68 | |
| Average cosine distance | 0.66 | 0.52 | 0.12 | 0.48 | 0.66 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| \cellcolor white | Target | A | D | W | Correlation with PAS | ||||
| \cellcolor white | Source | D | W | A | W | A | D | Pearson | Spearman |
| \cellcolor white | DANN | 73.3 | 70.4 | 83.6 | 100.0 | 91.4 | 97.9 | 0.78 | 0.66 |
| \cellcolor white | ADDA | 69.6 | 72.5 | 90.0 | 99.7 | 94.6 | 97.5 | 0.67 | 0.60 |
| \cellcolor white | BSP | 74.1 | 73.8 | 88.2 | 100.0 | 92.7 | 97.9 | 0.75 | 0.66 |
| \cellcolor white | DAN | 66.9 | 65.2 | 87.3 | 100.0 | 84.2 | 98.4 | 0.83 | 0.83 |
| \cellcolor white | JAN | 69.2 | 71.0 | 89.4 | 100.0 | 93.7 | 98.4 | 0.70 | 0.60 |
| \cellcolor white | Target | C | I | P | Correlation with PAS | ||||
| \cellcolor white | Source | I | P | C | P | C | I | Pearson | Spearman |
| \cellcolor white | RTN | 95.3 | 92.2 | 86.9 | 86.8 | 72.7 | 75.6 | 0.29 | 0.49 |
| \cellcolor white | MADA | 96.0 | 92.2 | 88.8 | 87.9 | 75.2 | 75.0 | 0.20 | 0.26 |
| \cellcolor white | iCAN | 94.7 | 92 | 89.9 | 89.7 | 78.5 | 79.5 | 0.23 | 0.49 |
| \cellcolor white | CDAN-E | 97.7 | 94.3 | 91.3 | 90.7 | 74.2 | 77.7 | 0.27 | 0.49 |
| \cellcolor white | SymNets | 97.0 | 96.4 | 93.4 | 93.6 | 78.7 | 80.2 | 0.17 | 0.60 |
Domain Adaptation
Domain adaptation transfers machine-learning models across changing data distributions, often using unlabeled or limited target-domain examples.
See all 252 papers