Benign overfitting in leaky ReLU networks with moderate input dimension

The problem of benign overfitting asks whether it is possible for a model to perfectly fit noisy training data and still generalize well. We study benign overfitting in two-layer leaky ReLU networks trained with the hinge loss on a binary classification task. We consider input data that can be decomposed into the sum of a common signal and a random noise component, that lie on subspaces orthogonal to one another. We characterize conditions on the signal to noise ratio (SNR) of the model parameters giving rise to benign versus non-benign (or harmful) overfitting: in particular, if the SNR is high then benign overfitting occurs, conversely if the SNR is low then harmful overfitting occurs. We attribute both benign and non-benign overfitting to an approximate margin maximization property and show that leaky ReLU networks trained on hinge loss with gradient descent (GD) satisfy this property. In contrast to prior work we do not require the training data to be nearly orthogonal. Notably, for input dimension $d$ and training sample size $n$, while results in prior work require $d = Ω(n^2 \log n)$, here we require only $d = Ω\left(n\right)$.

Paper

References (39)

Scroll for more · 27 remaining

Similar papers

Peer review

Reviewer xTBG5/10 · confidence 4/52024-07-11

Summary

This paper stuides the benign overiftting of two-layer neural networks (only training the first layer) with leaky ReLU for binary classification, which relaxes the dimension condition on the dimension from $d = \Omega(n^2 log n)$ to $d = \Omega(n)$. The considered problem setting is - data generation process: the label is generated by Gaussian data corrupted by flipped noise under a linear function after sign. The parameter $\gamma$ controls the component of signal and noise. The more $\gamma$, the more signal. - the used loss is hinge loss, and the involved with optimization algorithm is sub-gradient descent. The obtained results include that - implicit bias: the obtained solution (neural network parameter) will converge to a max-margin linear classifier. - condition of benign overfitting: $d = \Omega(n)$, signal strength $\gamma = \Omega(1/k)$ - non-benign overfitting: $d = \Omega(n)$, $\gamma = O(1/d)$

Strengths

- relax the dimension dependence from $n^2$ to $n$ - provide the condition for benign overfitting (or not) - demonstrate the implicit bias: converge to a max-margin linear classifier

Weaknesses

- this paper requires linear separable data, more strictly speaking, the optimal Bayes classifier is linearly separable, that means linear classifier is sufficient to learn this problem. I don't see the strong motivation of using two-layer neural networks, though this is a common issue in the benign overfitting community. - One major issue is, no comparison with [1]. I think this comparison should be included in terms of problem setting, proof techniques, the obtained findings. - About the main result, intuitively, classification rate is proportional to $k$, the number of corrupt points. More discussion on $\gamma$ and $k$ is needed. - Regarding theorem 3.2, it's unclear to me in several points: i) the sample complexity is $\Omega(n^2)$ in Theorem 3.1. How does this contribute to $|A|$? iI) a larger $m$ leads to a larger missclassification probability. Intuitively, a larger size of neural network is better for performance. - In Corollary 3.2.1, I didn't see $\delta$ in the main result. - Lemma B.1 can be directly obtained from the high dimensional probability book, Chapter 5. --- [1] George etal. Training shallow ReLU networks on noisy data using hinge loss: when do we overfit and is it benign? NeurIPS 2023.

Questions

- The key idea is to bound the weight norm and its alignment with any linear separator of the data during each update by the distribution of sigular values of the noise. In this case, the obtained results heavily depend on the data-generation process. It would be possible to consider general data generation process? Besides, $d = \Omega(n)$ is still large, what is the limit for this? Maybe constant order is sufficient? - In the proof, line 706, in the last inequality, regarding the summation $\sum_{i,l} \in F(t)$, there is one term missing about $\langle w_j^{(t)}, x_j \rangle$? - There are some typos: line 707: $\sigma(s)$ -> $\sigma(z)$

Rating

5

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

n/a

Reviewer xTBG2024-08-08

thanks for the authors' rebuttal. It addressed some of my concerns but there are still some issues that prevent me to give higher score for very positive support. For example, the linear separable data assumption and the specific data generation process. Besides, the comparison with [1] include different techniques but the setting is quite close. Accordingly, I kept my score unchanged.

Authorsrebuttal2024-08-13

Thank you for the thoughtful discussion. We would like to emphasize two points in response to your remaining critiques. - First, in regard to the linear separability and data assumptions you rightly highlight that these are clear areas for improvement. However, we would highlight i) these assumptions are typical of the prior works, and ii) in the prior works a different but still key weakness is the unrealistic assumption on the dimension of the input data. Our emphasis was on solving ii) not i) and given the technical challenges involved it seemed reasonable to keep other aspects of the problem as simple as possible. - Second, compared with [1], although many aspects of the setting are similar we again our improvements on the input dimension. In addition, the change from ReLU to leaky ReLU not only necessitates surprisingly different techniques but also results in different overfitting behaviour. Indeed, in [1] it is identified that there are three possible different outcomes depending on $\gamma$: harmful overfitting, benign overfitting and no overfitting. In comparison, with leaky ReLU there are only two possible outcomes depending on $\gamma$ as no overfitting is not possible. As a result, this work and [1] differ not only in terms of the setting, namely input dimension regime and the activation function used, but also have distinct and complementary takeaways.

Reviewer 7S965/10 · confidence 3/52024-07-12

Summary

The paper studies benign overfitting in leaky ReLU networks trained with hinge loss on a binary classification task. The paper gives the conditions on the signal-to-noise ratio under which benign or harmful overfitting occurs for leaky ReLU networks. Unlike the previous related works, this paper does not require the training data to be nearly orthogonal and reduces the input dimension required from $\Omega(n^2\log n)$ to $\Omega(n)$.

Strengths

1. The paper demonstrates that leaky ReLU networks trained on hinge loss with gradient descent satisfy an approximate margin maximization property. 2. Prior works usually supposed nearly orthogonal data setting and dimension $d=\Omega(n^2\log n)$. However, this paper needs linearly separable data and dimension $d=\Omega(n)$, which weakens the requirement.

Weaknesses

1. The paper may lack some experiments. The results are fully theoretical. If there are some empirical experiments, the conclusion will be more convincing. 2. There are few explanations for theorems and assumptions. Some additional explanations may let readers understand the results better.

Questions

1. Since hinge loss may not be so commonly used in the analysis of neural networks, maybe you can also try on other loss functions like cross-entropy loss or logistic loss. 2. Since the proof techniques and ideas are closely related to [1], what is the main difference between the two papers? [1] Alon Brutzkus, Amir Globerson, Eran Malach, and Shai Shalev-Shwartz. SGD learns over-parameterized networks that provably generalize on linearly separable data. In International Conference on Learning Representations, 2018.

Rating

5

Confidence

3

Soundness

3

Presentation

2

Contribution

3

Limitations

The authors have shown the limitations as the future directions in the paper.

Reviewer 8RfS8/10 · confidence 4/52024-07-12

Summary

This paper studies the benign overfitting of two-layer leaky ReLU network for binary classification with only mild overparameterization under a simple Gaussian mixture model assumption. First, the paper proves that for sufficiently small initialization, gradient descent with hinge loss converges in a polynomial number of iterations to an approximate max-margin solution. Then, the paper establishes that any approximate margin maximizer achieves benign overfitting, or low test error, in an (essentially tight parameter) regime where $d = \Omega(n)$. These results are matched by lower bounds in certain parameter regimes (low SNR and high label noise).

Strengths

1. This paper is well-written, clear, and technically interesting. I especially appreciated the technical overview, where the main proof ideas are explained. 2. Previous works required $d = \Omega(n^2 \log n)$ to obtain benign overfitting due to using near-orthogonality of the input data, but this work only requires $d = \Omega(n)$, which is tight (for the overparameterized regime). Hence extending benign overfitting to this setting requires using subgaussian bounds on the extreme singular values of Gaussian matrices. I do want to note that this idea has also been used to prove benign overfitting for binary and multiclass classification $d = \omega(n)$ (see e.g. [1, 2]) 3. Many prior works studied linear models, whereas this paper studies ReLU activation (although with only one trainable linear layer). 4. It is of particular note that the proof techniques do not rely on exact margin maximization, as the results then apply to parameters found by GD in polynomial time (as opposed to the infinite time limit). Many (though not all) previous works have explicitly studied the limiting parameters (e.g. min $\ell_2$-norm interpolation), which is not reached in practice. 5. As I described in the summary, the upper bounds have matching lower bounds in some parameter regimes. Theorem 3.3 is a matching lower bound for the misclassification probability in the regime where the label noise rate $k/n = \Omega(1)$, which is fairly realistic. [1] Wang, Ke, and Christos Thrampoulidis. "Binary classification of gaussian mixtures: Abundance of support vectors, benign overfitting, and regularization." SIAM Journal on Mathematics of Data Science 4.1 (2022): 260-284. [2] Wu, David, and Anant Sahai. "Precise asymptotic generalization for multiclass classification with overparameterized linear models." Advances in Neural Information Processing Systems 36 (2024).

Weaknesses

No major weaknesses to report.

Questions

1. What do the authors expect to change for multiclass classification with a more complicated mixture model? 2. Line 278, there is a typo; it should be $X \sim N(\sqrt{\gamma}a_v, \frac{1-\gamma}{d}\| z\|^2)$. 3. Line 325, “of” is missing in “The proof Theorem 3.3,...”

Rating

8

Confidence

4

Soundness

4

Presentation

4

Contribution

4

Limitations

Yes

Reviewer 1LbK4/10 · confidence 3/52024-07-12

Summary

This paper studies benign overfitting in a two-layer leaky ReLU network trained with hinge loss for a binary classification task. This paper proves that in a finite iteration, the leaky ReLU network can reach zero training loss through gradient descent, and the network weight matrix after convergence will approximate the max-margin. And this paper provides the conditions for benign overfitting and non-benign overfitting of the leaky ReLU network.

Strengths

This paper improves the previous work's requirements for almost orthogonal training data and input dimension $d= \Omega(n² \log n)$, and only requires $d = \Omega(n)$.

Weaknesses

This paper mainly studies a specific shallow leaky ReLU network. The applicability of the results is limited to deeper neural networks or other complex models such as CNN and transformer. The results rely on a specific linearly separable data distribution assumption.

Questions

The dependence of Theorem 3.2 and Theorem 3.3 on n, d, k does not cover all cases. For other cases, what are the characteristics of overfitting?

Rating

4

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

See Weaknesses

Reviewer 8RfS2024-08-07

Thanks for the response, indeed it would be interesting to see how the techniques would transfer to the multiclass setting.

Reviewer 1LbK2024-08-12

Thank you for your thoughtful response. However, I believe there may have been a misunderstanding of the author on my question concerning Theorems 3.2 and 3.3. Specifically, these theorems do not cover all possible cases of n and k. For certain values of α (such as 1/m), these do not provide a clear phase transition point/line. There are cases where the conditions of Theorems 3.2 and 3.3 are both not satisfied, so we can not know whether the overfitting is benign or non-benign, or whether there is a sharp transition between benign and non-benign. I believe it would be beneficial for the paper to include a discussion on this point. Additionally, I would like to request a more detailed explanation of the technical innovations and challenges presented in your work.

Authorsrebuttal2024-08-13

Thanks for your response and clarification; we attempt to better address your questions below. - Theorem 3.3 is not a benign or non-benign overfitting result; it is just a matching lower bound to the upper bound of Corollary 3.2.1 valid in a regime largely overlapping with that of Corollary 3.2.1. The non-benign overfitting result is Theorem 3.4. We do agree these is a gap between Theorems 3.2 and 3.4, but the gap is in the parameter $\gamma$: Theorem 3.2 requires $\gamma = \Omega(1/k)$ while Theorem 3.4 requires $\gamma = O(\alpha^3/d)$. The case where $\gamma$ lies between these bounds is interesting but we did not study it in this paper. We remark that since we can allow $d = \Theta(n) = \Theta(k)$ (the regime where we improve upon existing benign overfitting results), it is possible that the lower bound and upper bound are tight up to a constant factor. This is in contrast to previous work in benign versus non-benign overfitting [1], where the gap was $\gamma = \Omega(1/n)$ versus $\gamma = O(n^{-3/2})$. - When applying Theorem 3.2 to leaky ReLU networks, the dependence on $m$ cancels out; there is no reference to $m$ in Corollary 3.2.1 so the case $\alpha = 1/m$ is not special. The general question of small values of $\alpha$ is a legitimate issue; as $\alpha \to 0$, the activation function converges to ReLU, and our bounds get worse. In the context of leaky ReLU networks, we are interpreting $\alpha$ to be a fixed positive constant which does not vary with other parameters and is an attribute of the architecture. - We will add more details distinguishing the contributions of our work with prior works in future revisions. The main technical contribution is Theorem 3.2, which bound the generalization error above for an approximately margin maximizing algorithm, including but not limited to gradient descent. This result was challenging to show as it assumes only data assumptions and that the network achieves zero loss on the training data and has bounded norm. Therefore, previous implicit bias results for gradient descent do not apply. We were able to show this theorem using the fact that a sufficiently wide Gaussian random matrix with high probability is well-conditioned. While this fact is known, its application to benign overfitting in neural networks is novel. This allows us to (1) bound the norm of the max-margin classifier of the training data and (2) argue that if the network has small weights then it cannot fit the training data using only feature noise, so if it achieves zero loss it must have learned a strong signal. [1] Erin George, Michael Murray, William Swartworth, Deanna Needell. Training shallow ReLU networks on noisy data using hinge loss: when do we overfit and is it benign? *Advances in Neural Information Processing Systems*, 2023.

Program Chairsdecision2024-09-25

Decision

Accept (spotlight)

© 2026 NYSGPT2525 LLC