Domain Adaptation with Cauchy-Schwarz Divergence
Wenzhe Yin, Shujian Yu, Yicong Lin, Jie Liu, Jan-Jakob Sonke, Efstratios Gavves
TL;DR
This work introduces CS and CCS as principled divergences for unsupervised domain adaptation, enabling simultaneous alignment of marginal representations $p^s(\mathbf{z})$ and conditional distributions $p^s(y|\mathbf{z})$ with their target counterparts. It derives a CS-based generalization bound that can be tighter than the KL-based bound and provides nonparametric, kernel-based estimators for both marginal and conditional discrepancies. The authors implement two training paradigms—a distance-metric approach (CS/CCS) and an adversarial variant (CS-adv)—and demonstrate superior performance across digits, Office-Home, Office-31, and VisDA17 datasets, with KL-based methods often unstable. They also show CCS can be plugged into existing UDA frameworks (e.g., f-DAL, kSHOT) to further improve results, highlighting the practical impact of joint distribution alignment in real-world domain shifts.
Abstract
Domain adaptation aims to use training data from one or multiple source domains to learn a hypothesis that can be generalized to a different, but related, target domain. As such, having a reliable measure for evaluating the discrepancy of both marginal and conditional distributions is crucial. We introduce Cauchy-Schwarz (CS) divergence to the problem of unsupervised domain adaptation (UDA). The CS divergence offers a theoretically tighter generalization error bound than the popular Kullback-Leibler divergence. This holds for the general case of supervised learning, including multi-class classification and regression. Furthermore, we illustrate that the CS divergence enables a simple estimator on the discrepancy of both marginal and conditional distributions between source and target domains in the representation space, without requiring any distributional assumptions. We provide multiple examples to illustrate how the CS divergence can be conveniently used in both distance metric- or adversarial training-based UDA frameworks, resulting in compelling performance.
