Flat is the New Sharp: Flatness-Aware Regularization for Robust Learning
Chisom Chibuike, Fatimo Adebanjo
ICLR 2026 submission
Abstract. Understanding and improving the generalization of neural networks has been a central focus in machine learning. One of the most significant efforts to ad- dress this challenge revolves around the concept of the loss landscape in deep neural networks (DNNs). While some researchers have posited that solutions lo- cated in flatter regions of the loss surface tend to generalize better than those in sharper regions, others have provided theoretical frameworks and empirical find- ings suggesting that flat minima are not the sole, or even primary, reason for strong generalization. Despite these advances, the relationship between loss landscape geometry and generalization remains an open question. In this work, we con- tribute to this open question by introducing Flatness-Aware Regularization (FA- Regularization). This method explicitly penalizes the loss surface towards flatter minima by incorporating an estimate of the trace of the squared Hessian into the training loss. We present empirical results demonstrating that this Hessian esti- mate effectively penalizes the curvature of the loss surface, enabling the optimizer to converge to flatter regions. We tested our FA-Regularizer across a variety of models (MLP and Logistic Regression) and datasets (CIFAR-100, IMDB Movie Reviews, and Breast Cancer Wisconsin). Our FA-Regularization method consis- tently leads to improved generalization on cifar-100 compared to a baseline loss function without the penalty term. Our FA-Regularization method indicates that, flatness is shown to correlate with, but not fully explain, generalization.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…