Feature Selection for Unsupervised Domain Adaptation Using Optimal Transport

Léo Gautheron, Ievgen Redko, Carole Lartizien

Abstract

This paper introduces a novel unsupervised feature selection method for domain adaptation built on Optimal Transport (OT) theory. By ranking features based on their similarity across source and target domains, the proposed method provides a mechanism to discard "shifted" features. This leads to more interpretable models, higher classification accuracy, and significant computational speedups for downstream adaptation algorithms.

Introduction

Standard machine learning relies on the empirical risk minimization strategy, which assumes that training data (source) and test data (target) are drawn from the same probability distribution. In real-world applications, this assumption often fails due to "domain shift." Unsupervised Domain Adaptation (UDA) aims to address this without requiring labels in the target domain. While most state-of-the-art UDA methods focus on complex feature transformations that create "black box" latent representations, this work tackles the problem through feature selection in the original input space. The goal is to identify specific, original descriptors that remain stable across domains and discard those that hinder model performance.

Methodology

The authors leverage Optimal Transport to align distributions through a two-stage algorithmic approach.

Algorithm 1 and 2: Formal procedures for sample selection and feature ranking using Optimal Transport.

1. Sample Selection (Algorithm 1)

Because source and target domains may have different sample sizes or representation spaces, the first step uses OT to find an optimal subset of target instances ($T_u$) that match the source instances ($S$) based on similarity.

2. Feature Ranking (Algorithm 2)

The core of the method involves solving an entropy-regularized OT problem between the marginal distributions of features in both domains. The key insight is found in the diagonal of the coupling matrix ($\gamma$). If a feature is similar across domains, its mass in the OT solution remains on the diagonal. Conversely, if a feature is "shifted," its mass spreads across other features. Features are then ranked by these diagonal values; high values indicate stable, useful features, while low values indicate noisy, shifted ones.

Experimental Evaluation

The method was evaluated on two distinct types of data:

  • Office/Caltech: A computer vision benchmark featuring images from four domains (Amazon, DSLR, Webcam, and Caltech-256) using SURF, CaffeNet, and GoogleNet features.
  • Clinical Imaging (mp-MRI): A real-world medical dataset for prostate cancer diagnosis involving 95 handcrafted features from MRI scans performed on two different scanner types (1.5T and 3T), creating a significant natural domain shift.

Key Results and Insights

  • Accuracy and Efficiency: On CaffeNet features, selecting the top 512 features yielded 79.2% mean accuracy, compared to 74.4% using all 4096 features. For the CORAL algorithm, reducing the feature set by half resulted in a ~7.5x speedup while improving accuracy.
  • Medical Impact: In the MRI study, a model using all features performed no better than a random guess (50% AUC) due to scanner shift. The proposed method identified the three most shifted features; removing them allowed the model to reach 80% AUC without further adaptation.
  • The Diagonal Metric: Using the diagonal of the OT coupling matrix serves as an elegant and computationally efficient proxy for feature invariance.

Limitations and Future Work

Currently, the method ranks features based on cross-domain similarity but does not explicitly verify if these features are relevant to the specific classification task. Future work may explore combining feature selection and adaptation into a unified optimization framework to address task relevance and further improve performance in high-dimensional settings.

Summary updated

BibTeX
@inproceedings{gautheron2018feature,
  author = {Léo Gautheron and Ievgen Redko and Carole Lartizien},
  title = {{Feature Selection for Unsupervised Domain Adaptation Using Optimal Transport}},
  booktitle = {ECML/PKDD},
  year = {2018},
  doi = {10.1007/978-3-030-10928-8\_45},
}
Figure