Gradca: Generalizing to Unseen Domains Via Gradient Calibration

10 Pages Posted: 2 Aug 2022

See all articles by Yiguo Song

Yiguo Song

Zhejiang University

Zhenyu Liu

Zhejiang University

Ruining Tang

Zhejiang University

Guifang Duan

Zhejiang University

Jianrong Tan

Zhejiang University

Abstract

In domain generalization (DG) problem, we hope to train a robust model from multiple source domains and generalize it to unseen domains. However, the trained model can not perform well in the unseen domain since the domain-invariant representation is hard to learn across multiple source domains. In this work, we propose a novel gradient optimization strategy named gradient calibration (GradCa) which optimizes the dominant gradients and conflicting gradients without learning extra parameters. The dominant gradients are suppressed for addressing to be inclined to the optimization directions of special domains. Then two strategies (average and sign-mask) are designed for further alleviating the conflicting gradients. These types of gradients are effectively calibrated for improving the domain-invariant representation learning. Extension experiments on four benchmark datasets have shown the competitive results and the effectiveness of improving the model generalization with GradCa.

Keywords: Image ClassificationDomain generalizationGradient optimization

Suggested Citation

Song, Yiguo and Liu, Zhenyu and Tang, Ruining and Duan, Guifang and Tan, Jianrong, Gradca: Generalizing to Unseen Domains Via Gradient Calibration. Available at SSRN: https://ssrn.com/abstract=4179870 or http://dx.doi.org/10.2139/ssrn.4179870

Yiguo Song

Zhejiang University ( email )

38 Zheda Road
Hangzhou, 310058
China

Zhenyu Liu

Zhejiang University ( email )

38 Zheda Road
Hangzhou, 310058
China

Ruining Tang

Zhejiang University ( email )

38 Zheda Road
Hangzhou, 310058
China

Guifang Duan (Contact Author)

Zhejiang University ( email )

38 Zheda Road
Hangzhou, 310058
China

Jianrong Tan

Zhejiang University ( email )

38 Zheda Road
Hangzhou, 310058
China

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
53
Abstract Views
361
Rank
839,439
PlumX Metrics