Domain Generalization via Gradient Surgery

By Lucas Mansilla, Rodrigo Echeveste, Diego H. Milone, Enzo Ferrante. 2021

105 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Representation & Self-Supervised Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Tao A. Xiang
  2. Aneeshan Sain
  3. Ayan Kumar Bhunia
  4. Yi-Zhe Song
  5. Subhadeep Koley
  6. Viswanatha Reddy Gajjala
  7. Rohit Kundu
  8. Nan Shao

In Computer Vision and Pattern Recognition

  1. Aneeshan Sain
  2. Ayan Kumar Bhunia
  3. Tao A. Xiang
  4. Yi-Zhe Song
  5. Subhadeep Koley
  6. Viswanatha Reddy Gajjala
  7. Yongxin Yang
  8. Rohit Kundu

In Representation & Self-Supervised Learning

  1. Tao A. Xiang
  2. Yujun Chen
  3. Nan Shao
  4. Yulun Du
  5. Yi-Zhe Song
  6. Zhilin Yang
  7. Haiyu Li
  8. Hanwei Xu

Citations in the corpus