Domain Generalization via Gradient Surgery

08/03/2021
by   Lucas Mansilla, et al.
10

In real-life applications, machine learning models often face scenarios where there is a change in data distribution between training and test domains. When the aim is to make predictions on distributions different from those seen at training, we incur in a domain generalization problem. Methods to address this issue learn a model using data from multiple source domains, and then apply this model to the unseen target domain. Our hypothesis is that when training with multiple domains, conflicting gradients within each mini-batch contain information specific to the individual domains which is irrelevant to the others, including the test domain. If left untouched, such disagreement may degrade generalization performance. In this work, we characterize the conflicting gradients emerging in domain shift scenarios and devise novel gradient agreement strategies based on gradient surgery to alleviate their effect. We validate our approach in image classification tasks with three multi-domain datasets, showing the value of the proposed agreement strategy in enhancing the generalization capability of deep learning models in domain shift scenarios.

READ FULL TEXT

page 1

page 2

page 3

page 4

page 5

page 7

page 8

page 9

research
06/04/2021

SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization

A major bottleneck in the real-world applications of machine learning mo...
research
06/19/2023

Shape Guided Gradient Voting for Domain Generalization

Domain generalization aims to address the domain shift between training ...
research
07/25/2023

NormAUG: Normalization-guided Augmentation for Domain Generalization

Deep learning has made significant advancements in supervised learning. ...
research
10/15/2021

Reappraising Domain Generalization in Neural Networks

Domain generalization (DG) of machine learning algorithms is defined as ...
research
04/28/2021

Deep Domain Generalization with Feature-norm Network

In this paper, we tackle the problem of training with multiple source do...
research
04/20/2021

Gradient Matching for Domain Generalization

Machine learning systems typically assume that the distributions of trai...
research
05/07/2021

Autoencoder Based Inter-Vehicle Generalization for In-Cabin Occupant Classification

Common domain shift problem formulations consider the integration of mul...

Please sign up or login with your details

Forgot password? Click here to reset