Target Robust Discriminant Analysis

Wouter M. Kouw, Marco LoogS+SSPR 2020

TL;DR

This paper introduces a novel "Target Robust" (TR) discriminant analysis framework that guarantees a domain-adaptive classifier will perform at least as well as a standard source-trained classifier on unseen target data. This is achieved by optimizing a minimax objective that considers the worst-case labeling of target data, ensuring robustness without making restrictive assumptions about the nature of the domain shift.

What Problem Does This Paper Address?

In machine learning, a common scenario is training a classifier on data from one distribution (the source domain) and then applying it to data from a different distribution (the target domain). This "domain shift" often leads to a significant drop in performance. Domain adaptation techniques aim to mitigate this by adapting the source classifier to the target domain. However, many existing domain adaptation methods rely on specific assumptions about how the domains differ (e.g., only feature distributions change, not class conditional probabilities). When these assumptions are violated, these adaptive classifiers can perform worse than the original, non-adaptive source classifier. This paper addresses the critical need for domain adaptation methods that are robust to violations of these assumptions and provide a performance guarantee relative to the source classifier.

Methods

The core contribution is the formulation of a Target Robust (TR) risk function. This risk is defined as the difference between the target risk of a candidate classifier and the target risk of the source classifier, but crucially, it is maximized over all possible labelings of the target data. This "worst-case labeling" ensures that the resulting classifier is robust to any true target labels. The objective is then to minimize this TR risk with respect to the classifier's parameters and maximize it with respect to the hypothetical target labels. This minimax problem is then relaxed by treating the labels as soft probabilities, leading to a convex-concave optimization problem. For discriminant analysis (both linear and quadratic), the authors show that this TR objective can be optimized efficiently.

Datasets

The experiments were conducted on a heart disease dataset, split into four domains representing patients from hospitals in Hungary, Switzerland, California, and Ohio. This dataset was chosen because it exhibits geographical domain shifts, with differences in age distributions and other patient characteristics across locations. The data was pre-processed using z-scoring.

Key Insights and Ideas

  • Guaranteed Improvement: The most significant insight is the theoretical guarantee that the proposed TR classifier will always perform at least as well as the source classifier on the target data, in terms of the empirical target risk. For discriminant analysis, this guarantee is even stronger: strictly better performance almost surely.
  • Robustness via Worst-Case Labeling: The novel approach of maximizing over worst-case target labelings is key to achieving robustness. This effectively makes the classifier perform well even if the target labels are "unfavorable" to it.
  • No Domain Shift Assumptions: Unlike many existing methods, the TR approach does not require any specific assumptions about the nature of the domain shift, making it broadly applicable.
  • Transductive Nature: The method is transductive, meaning it uses the unlabeled target data directly during training to improve performance, without needing to generalize to unseen target distributions beyond the provided samples.
  • Discriminant Analysis Advantage: The paper demonstrates a particularly strong result for discriminant analysis, showing that the TR estimator leads to strictly smaller risks (better performance) with probability one, due to the properties of Gaussian distributions and the nature of the optimization.

Key Results

  • Theoretical Guarantee: The paper provides a theoretical guarantee that the TR classifier's empirical target risk is less than or equal to the source classifier's risk. For discriminant analysis (QDA and LDA), this inequality is strictly better with probability one.
  • Experimental Performance: In experiments on the heart disease dataset, the TR classifiers (TR-LDA and TR-QDA) generally performed well, often achieving target risks close to the optimal target classifier (T-LDA/T-QDA) and significantly outperforming the source classifiers (S-LDA/S-QDA) in challenging domain shift scenarios.
  • Comparison to Other Methods: The TR classifiers showed competitive performance compared to other domain adaptation methods like TCA, KMM, RCSA, and RBA, particularly in scenarios where other methods' assumptions might be violated.
  • TR-LDA vs. TR-QDA: TR-LDA generally outperformed TR-QDA, suggesting that the added complexity of QDA did not necessarily translate to better performance in these experiments.

Limitations and Future Work

  • Intrinsic Loss vs. 0/1 Loss: The paper acknowledges that improvements in the intrinsic loss (e.g., negative log-likelihood) do not always translate to improvements in the 0/1 loss (classification accuracy). This is because the 0/1 loss is not differentiable and thus cannot be directly optimized. The authors argue that guarantees in terms of the optimized objective are the most one can expect.
  • Memory Efficiency: The proposed approach is noted as being more memory-efficient than some other domain adaptation methods, as it does not explicitly require source samples at training time, making it suitable for privacy-sensitive settings like federated learning.
  • Optimization: The optimization involves a gradient descent-gradient ascent procedure, and while convergence to a saddle point is guaranteed for convex-linear objectives, the practical performance and convergence speed for complex discriminant analysis models could be an area for further exploration.
  • Future Work: The paper suggests that the TR framework could be extended to other classifier types beyond discriminant analysis. The efficiency and effectiveness of the optimization procedure for different models could also be a direction for future research.

Summary updated

BibTeX
@inproceedings{kouw2020target,
  author = {Wouter M. Kouw and Marco Loog},
  title = {{Target Robust Discriminant Analysis}},
  booktitle = {S+SSPR},
  year = {2020},
  url = {https://openreview.net/forum?id=QKNPRS9m0M},
}
Figure