paper-with-me

홈 › Papers

Understanding Hessian Alignment for Domain Generalization

2023-08-22 · ICCV 2023 1 · Sobhan Hemati, Guojun Zhang, Amir Estiri, Xi Chen

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 attributes that get aligned when we encourage similarity between Hessians and gradients. Our analysis explains the success of many regularizers like CORAL, IRM, V-REx, Fish, IGA, and Fishr as they regularize part of the classifier's head Hessian and/or gradient. Finally, we propose two simple yet effective methods to match the classifier's head Hessians and gradients in an efficient way, based on the Hessian Gradient Product (HGP) and Hutchinson's method (Hutchinson), and without directly calculating Hessians. We validate the OOD generalization ability of proposed methods in different scenarios, including transferability, severe correlation shift, label shift and diversity shift. Our results show that Hessian alignment methods achieve promising performance on various OOD benchmarks. The code is available at \url{https://github.com/huawei-noah/Federated-Learning/tree/main/HessianAlignment}.

📄 PDF Abstract BibTeX arXiv:2308.11778

Code (1)

huawei-noah/federated-learning 공식 구현 pytorch

Tasks

Autonomous VehiclesDomain GeneralizationFederated Learning

Methods 이 논문이 사용한 방법론

CORAL 설명 없음
Fishr 설명 없음

Similar Papers 제목 키워드 기반

A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to Regularization

2020-12-07 · Adepu Ravi Sankar, Yash Khasbage, Rahul Vigneswaran, Vineeth N Balasubramanian

Loss landscape analysis is extremely useful for a deeper understanding of the generalization ability of deep neural network models. In this work, we propose a layerwise loss landscape analysis where the loss surface at e…

Unveiling the Hessian's Connection to the Decision Boundary

2023-06-12 · Mahalakshmi Sabanayagam, Freya Behrens, Urte Adomaityte, Anna Dawid

Understanding the properties of well-generalizing minima is at the heart of deep learning research. On the one hand, the generalization of neural networks has been connected to the decision boundary complexity, which is …

Modelling pressure-Hessian from local velocity gradients information in an incompressible turbulent flow field using deep neural networks

2019-11-19 · Nishant Parashar, Sawan S. Sinha, Balaji Srinivasan

The understanding of the dynamics of the velocity gradients in turbulent flows is critical to understanding various non-linear turbulent processes. The pressure-Hessian and the viscous-Laplacian govern the evolution of t…

Dissecting Hessian: Understanding Common Structure of Hessian in Neural Networks

2020-10-08 · Yikai Wu, Xingyu Zhu, Chenwei Wu, Annie Wang 외

Hessian captures important properties of the deep neural network loss landscape. Previous works have observed low rank structure in the Hessians of neural networks. In this paper, we propose a decoupling conjecture that …

Generalization Bounds

Towards understanding the true loss surface of deep neural networks using random matrix theory and iterative spectral methods

2020-01-01 · ICLR 2020 1 · Diego Granziol, Timur Garipov, Dmitry Vetrov, Stefan Zohren 외

The geometric properties of loss surfaces, such as the local flatness of a solution, are associated with generalization in deep learning. The Hessian is often used to understand these geometric properties. We investigate…

GPU