Incorporating Importance Weighting in Optimal Transport Based Domain Alignment
Abstract
Lay Summary
Whenever machine learning models are deployed in new environments, sufficiently distinct from the ones they are trained on, their performance deteriorates rapidly. Domain adaptation studies ways to maintain or improve the accuracy of the models in these new environments, also called domains. One standard way to do so is via feature matching - which tries to align the features from different environments over the layers of a neural network, but this procedure can unnecessarily constrain the models and even at times fail to improve the performance. Instead one can perform a relaxed alignment, that does not try to match the features exactly but only makes sure the target features are within the natural variability of the original environment's features. Building on this idea, we propose a more relaxed alignment strategy in this paper and show that it is closely connected to a technique called unbalanced optimal transport. We also explore assumptions under which such alignment is guaranteed to produce models with high accuracy on the new environment. Finally, we verify in experiments that this more relaxed alignment improves over the standard one.