Saved in:
Bibliographic Details
Main Authors: Qiao, Dan, Wang, Yu-Xiang
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.01473
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918225708580864
author Qiao, Dan
Wang, Yu-Xiang
author_facet Qiao, Dan
Wang, Yu-Xiang
contents We consider the problem of generalization of arbitrarily overparameterized two-layer ReLU Neural Networks with univariate input. Recent work showed that under square loss, flat solutions (motivated by flat / stable minima and Edge of Stability phenomenon) provably cannot overfit, but it remains unclear whether the same phenomenon holds for logistic loss. This is a puzzling open problem because existing work on logistic loss shows that gradient descent with increasing step size converges to interpolating solutions (at infinity, for the margin-separable cases). In this paper, we prove that the \emph{flatness implied generalization} is more delicate under logistic loss. On the positive side, we show that flat solutions enjoy near-optimal generalization bounds within a region between the left-most and right-most \emph{uncertain} sets determined by each candidate solution. On the negative side, we show that there exist arbitrarily flat yet overfitting solutions at infinity that are (falsely) certain everywhere, thus certifying that flatness alone is insufficient for generalization in general. We demonstrate the effects predicted by our theory in a well-controlled simulation study.
format Preprint
id arxiv_https___arxiv_org_abs_2512_01473
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Does Flatness imply Generalization for Logistic Loss in Univariate Two-Layer ReLU Network?
Qiao, Dan
Wang, Yu-Xiang
Machine Learning
Artificial Intelligence
We consider the problem of generalization of arbitrarily overparameterized two-layer ReLU Neural Networks with univariate input. Recent work showed that under square loss, flat solutions (motivated by flat / stable minima and Edge of Stability phenomenon) provably cannot overfit, but it remains unclear whether the same phenomenon holds for logistic loss. This is a puzzling open problem because existing work on logistic loss shows that gradient descent with increasing step size converges to interpolating solutions (at infinity, for the margin-separable cases). In this paper, we prove that the \emph{flatness implied generalization} is more delicate under logistic loss. On the positive side, we show that flat solutions enjoy near-optimal generalization bounds within a region between the left-most and right-most \emph{uncertain} sets determined by each candidate solution. On the negative side, we show that there exist arbitrarily flat yet overfitting solutions at infinity that are (falsely) certain everywhere, thus certifying that flatness alone is insufficient for generalization in general. We demonstrate the effects predicted by our theory in a well-controlled simulation study.
title Does Flatness imply Generalization for Logistic Loss in Univariate Two-Layer ReLU Network?
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2512.01473