Saved in:
Bibliographic Details
Main Authors: Zhou, Yuyan, Li, Ye, Feng, Lei, Huang, Sheng-Jun
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.14111
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913359663726592
author Zhou, Yuyan
Li, Ye
Feng, Lei
Huang, Sheng-Jun
author_facet Zhou, Yuyan
Li, Ye
Feng, Lei
Huang, Sheng-Jun
contents Recent studies showed that the generalization of neural networks is correlated with the sharpness of the loss landscape, and flat minima suggests a better generalization ability than sharp minima. In this paper, we propose a novel method called \emph{optimum shifting}, which changes the parameters of a neural network from a sharp minimum to a flatter one while maintaining the same training loss value. Our method is based on the observation that when the input and output of a neural network are fixed, the matrix multiplications within the network can be treated as systems of under-determined linear equations, enabling adjustment of parameters in the solution space, which can be simply accomplished by solving a constrained optimization problem. Furthermore, we introduce a practical stochastic optimum shifting technique utilizing the Neural Collapse theory to reduce computational costs and provide more degrees of freedom for optimum shifting. Extensive experiments (including classification and detection) with various deep neural network architectures on benchmark datasets demonstrate the effectiveness of our method.
format Preprint
id arxiv_https___arxiv_org_abs_2405_14111
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Generalization of Deep Neural Networks by Optimum Shifting
Zhou, Yuyan
Li, Ye
Feng, Lei
Huang, Sheng-Jun
Machine Learning
Recent studies showed that the generalization of neural networks is correlated with the sharpness of the loss landscape, and flat minima suggests a better generalization ability than sharp minima. In this paper, we propose a novel method called \emph{optimum shifting}, which changes the parameters of a neural network from a sharp minimum to a flatter one while maintaining the same training loss value. Our method is based on the observation that when the input and output of a neural network are fixed, the matrix multiplications within the network can be treated as systems of under-determined linear equations, enabling adjustment of parameters in the solution space, which can be simply accomplished by solving a constrained optimization problem. Furthermore, we introduce a practical stochastic optimum shifting technique utilizing the Neural Collapse theory to reduce computational costs and provide more degrees of freedom for optimum shifting. Extensive experiments (including classification and detection) with various deep neural network architectures on benchmark datasets demonstrate the effectiveness of our method.
title Improving Generalization of Deep Neural Networks by Optimum Shifting
topic Machine Learning
url https://arxiv.org/abs/2405.14111