Understanding Hessian Alignment for Domain Generalization
Sobhan Hemati, Guojun Zhang, Amir Estiri, Xi Chen

TL;DR
This paper investigates the role of Hessian and gradient alignment in domain generalization, providing theoretical insights and proposing efficient methods to improve out-of-distribution generalization in deep learning models.
Contribution
The paper offers a theoretical analysis linking Hessian spectral norm to domain transferability and introduces two practical Hessian alignment methods without direct Hessian computation.
Findings
Hessian spectral norm bounds domain transferability
Regularizers like CORAL, IRM, V-REx, Fish, IGA, Fishr align Hessians/gradients
Proposed methods improve OOD generalization across benchmarks
Abstract
Out-of-distribution (OOD) generalization is a critical ability for deep learning models in many real-world scenarios including healthcare and autonomous vehicles. Recently, different techniques have been proposed to improve OOD generalization. Among these methods, gradient-based regularizers have shown promising performance compared with other competitors. Despite this success, our understanding of the role of Hessian and gradient alignment in domain generalization is still limited. To address this shortcoming, we analyze the role of the classifier's head Hessian matrix and gradient in domain generalization using recent OOD theory of transferability. Theoretically, we show that spectral norm between the classifier's head Hessian matrices across domains is an upper bound of the transfer measure, a notion of distance between target and source domains. Furthermore, we analyze all the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Understanding Hessian Alignment for Domain Generalization· youtube
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning
MethodsCorrelation Alignment for Deep Domain Adaptation · Fishr
