NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

An Empirical Study of the Occurrence of Heavy-Tails in Training a ReLU Gate

Sayar Karmakar, Anirbit MukherjeearXiv 2022

TL;DR

This paper investigates the "heavy-tailed" nature of Stochastic Gradient Descent (SGD) iterates when training a single ReLU gate. The authors discover that the heavy-tail index ($\alpha$) increases with input dimension but decreases with mini-batch size—a finding that contradicts trends previously observed in linear models and large-scale neural networks.

What Problem Does This Paper Address?

Deep learning's success is often attributed to the "mysterious" behavior of Stochastic Gradient Descent (SGD). Recent research suggests that the iterates of SGD don't just settle into a simple Gaussian distribution; instead, they form a heavy-tailed stationary distribution. These heavy tails might be the key to how SGD escapes local minima and finds "flat" regions of the loss landscape that generalize well.

However, most existing studies focus on either very simple linear models or massive, complex networks. This paper fills the gap by studying a ReLU gate— the simplest non-linear building block of modern nets. The authors treat this as a "sandbox" to understand how parameters like input dimension, learning rate ($\eta$), and mini-batch size ($b$) actually influence these heavy tails.

Methods

The authors employ two main training algorithms:

  1. Standard mini-batch SGD minimizing $\ell_2$-loss.
  2. Algorithm 1 (Modified SGD): A variant proven to converge in linear time for ReLU gates under certain conditions.

To measure the "heaviness" of the tails, they use the Hill Estimator. In this context, the tail index $\alpha$ describes the distribution: a lower $\alpha$ signifies "heavier" tails (more frequent extreme values), while $\alpha=2$ corresponds to a Gaussian distribution. They run thousands of independent SGD simulations to collect enough late-time iterates to accurately estimate this stationary distribution.

Datasets

The study relies on synthetic data to maintain strict control over the experimental setup:

  • Realizable Data: Labels are generated directly by a "teacher" ReLU gate with hidden weights $w_*$. The goal is to recover these weights.
  • Binary Classification: Data is sampled from two symmetric isotropic Gaussians, with labels (0 or 1) assigned based on which Gaussian produced the sample.

Key Insights and Ideas

  • Dimension-Dependent Thinning: As the input dimension increases, the iterates become less heavy-tailed ($\alpha$ increases). The authors conjecture that this growth of $\alpha$ is sub-linear relative to the dimension.
  • The Mini-Batch Effect: In a surprising twist, larger mini-batches lead to heavier tails (lower $\alpha$) for the late-time iterates. This is a significant departure from some previous studies on large networks that suggested mini-batch size had little effect or the opposite effect.
  • Algorithmic Equivalence: The modified Algorithm 1 (which is mathematically easier to analyze) produces heavy-tail behavior nearly identical to standard SGD. This suggests that future theoretical work can focus on the simpler algorithm to explain the phenomena seen in SGD.

Key Results

The paper provides empirical evidence for these trends through several key plots:

  • Dimension Trends: Figures 1 and 2 demonstrate that as the input dimension grows from 4 to 700, the estimated $\alpha$ rises from approximately 1.3 toward 2.0, indicating the distribution is becoming more Gaussian and less heavy-tailed.
Non-decreasing behaviour of the heavy-tail index with input dimension using S.G.D.
  • Mini-Batch Trends: Figure 5 shows that beyond a small threshold, increasing the mini-batch size causes a consistent drop in $\alpha$. For example, at a learning rate of $\eta=0.02$, $\alpha$ drops from nearly 2.0 to below 1.75 as the batch size increases.
Fig. 5: Change in the heavy-tail index with mini-batch size for training a ReLU gate in 100 dimensions in the realizable setting at different step-lengths η using S.G.D. The index measurement is done via using the Hill estimator as described in Section III In each sample of S.G.D. used the generating parameter w∗was sampled from the standard Gaussian distri- bution.

Limitations and Future Work

The authors acknowledge that their experiments are computationally intensive, which limited their ability to test larger networks or extremely high dimensions, especially in the non-realizable (classification) setup.

Furthermore, the use of the Hill Estimator requires a "leap of faith"—it assumes the iterates follow a strictly $\alpha$-stable distribution, which is not yet rigorously proven for neural networks. Future work aims to devise more efficient experimental methods, cross-check results with different tail-index estimators, and develop a formal theoretical proof for the heavy-tail behavior observed in Algorithm 1.

Summary updated

Abstract

A particular direction of recent advance about stochastic deep-learning algorithms has been about uncovering a rather mysterious heavy-tailed nature of the stationary distribution of these algorithms, even when the data distribution is not so. Moreover, the heavy-tail index is known to show interesting dependence on the input dimension of the net, the mini-batch size and the step size of the algorithm. In this short note, we undertake an experimental study of this index for S.G.D. while training a $\relu$ gate (in the realizable and in the binary classification setup) and for a variant of S.G.D. that was proven in Karmakar and Mukherjee (2022) for ReLU realizable data. From our experiments we conjecture that these two algorithms have similar heavy-tail behaviour on any data where the latter can be proven to converge. Secondly, we demonstrate that the heavy-tail index of the late time iterates in this model scenario has strikingly different properties than either what has been proven for linear hypothesis classes or what has been previously demonstrated for large nets.
BibTeX
@misc{karmakar2022empirical,
  author = {Sayar Karmakar and Anirbit Mukherjee},
  title = {{An Empirical Study of the Occurrence of Heavy-Tails in Training a ReLU Gate}},
  year = {2022},
  eprint = {2204.12554},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.12554},
}
Figure