An Over-parameterized Exponential Regression

Yeqi Gao, Sridhar Mahadevan, Zhao SongarXiv 2023

Introduction

In the current landscape of deep learning, the transition from ReLU-based architectures to Transformer-based models has been remarkably swift. While the empirical success of Large Language Models (LLMs) like GPT-4 is undeniable, the theoretical understanding of their underlying components has lagged behind. Specifically, the attention mechanism—the engine of the Transformer—relies heavily on the softmax function, which is built upon exponential activations.

While researchers have established robust proofs for the convergence of over-parameterized ReLU networks, exponential functions present unique mathematical challenges due to their rapid growth and non-linearity. This paper provides the first rigorous theoretical proof that over-parameterized neural networks using exponential activation functions can converge to a global minimum when trained with standard gradient descent.

The Challenge of Exponential Activations

Exponential functions are fundamentally more volatile than the piecewise-linear ReLU. In a deep learning context, they can lead to exploding gradients or numerical instability if not handled carefully. However, they are indispensable for calculating the weighted importance of tokens in attention layers. The central question addressed by this research is whether we can mathematically guarantee that a network using these activations will successfully learn a training dataset, provided the network is sufficiently wide.

Mathematical Framework and Methodology

The authors analyze a two-layer neural network architecture where the hidden layer utilizes the activation function $\phi(x) = \exp(x)$. The model is defined as:

$$F(W, x) = \sum_{r=1}^m a_r \exp(w_r^\top x)$$

In this setup, $m$ represents the number of neurons. To isolate the behavior of the exponential activation, the authors keep the second-layer weights ($a_r$) fixed and optimize only the first-layer weights ($W$) using standard Gradient Descent.

Coupled Initialization

To facilitate the analysis, the paper employs a "coupled initialization" strategy. Neurons are initialized in pairs with opposite signs ($a_{2r} = -a_{2r-1}$). This ensures that the initial output of the network is zero, providing a clean baseline from which to track loss reduction and weight movement.

The Induction Proof

The core of the theoretical contribution is a three-part induction proof demonstrating that at every time step $t$ during training:

  1. Weight Stability: The weights $W$ remain within a "small ball" (a restricted radius) around their initial values.
  2. Geometric Convergence: The training loss decreases at a linear rate.
  3. Gradient Boundedness: The gradients do not explode, remaining within manageable limits despite the exponential nature of the activation.

The "Lazy Training" Regime

A key insight of the paper is the confirmation that the "Neural Tangent Kernel (NTK) regime"—often referred to as "lazy training"—applies to exponential activations. In this regime, the network is so wide that individual weights only need to move a negligible amount ($R \approx 0.01$) to achieve zero training error. Because the weights stay so close to their starting positions, the highly non-linear exponential function behaves in a nearly linear fashion relative to the optimization trajectory.

Gram Matrix Analysis

The stability of the optimization landscape is guaranteed by the Gram matrix (related to the NTK). The authors prove that if the network is wide enough, the discrete Gram matrix stays "spectrally close" to its continuous expectation. Specifically, they show that the minimum eigenvalue of the exponential Gram matrix remains positive and stable, providing the necessary "push" to drive gradient descent toward a global minimum.

Key Results and Complexity

The research establishes several landmark results for exponential regressions:

  • Global Convergence: With high probability ($1-\delta$), gradient descent will find a weight matrix $W(T)$ that achieves a quadratic loss less than $\epsilon$.
  • Linear Convergence Rate: The error $F(T) - y$ decreases at a rate of $(1 - m\eta\lambda/2)^t$, where $\eta$ is the learning rate and $\lambda$ is the minimum eigenvalue of the kernel.
  • Width Requirements: The authors determine that the required number of neurons $m$ scales with $\Omega(n^{2+o(1)})$. This indicates that the over-parameterization necessary to guarantee convergence is roughly quadratic relative to the number of data points $n$.

Discussion and Future Directions

While this paper marks a significant step forward in the theory of non-linear activations, it also highlights the gap between theoretical models and practical LLMs.

First, modern Transformers are "deep," whereas this proof focuses on a shallow two-layer network. Extending these guarantees to deep architectures remains a primary challenge. Second, the "lazy training" assumption—where weights move very little—does not fully align with empirical observations of LLMs, which appear to undergo significant feature learning. Finally, the quadratic width requirement ($m \approx n^2$), while theoretically sound, is far larger than what is typically used in practice.

Future research will likely explore whether these bounds can be tightened and how the analysis might change when the network is allowed to move beyond the NTK regime into active feature discovery.

Summary updated

BibTeX
@misc{gao2023over,
  author = {Yeqi Gao and Sridhar Mahadevan and Zhao Song},
  title = {{An Over-parameterized Exponential Regression}},
  year = {2023},
  eprint = {2303.16504},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.16504},
}
Figure