Imposing Gaussian Pre-Activations in a Neural Network

Pierre Wolinski, Julyan Arbel · DOI

Abstract

Theoretical frameworks in deep learning, such as the Neural Tangent Kernel (NTK) and Edge of Chaos (EOC) analysis, frequently rely on the "Gaussian hypothesis"—the assumption that pre-activations within a network follow a normal distribution. While this assumption holds for infinitely wide networks via the Central Limit Theorem, it typically fails in finite-width architectures where distributions drift and develop heavy tails. This paper introduces a principled framework to enforce Gaussianity at any width by pairing Symmetric Weibull weight distributions with custom-engineered activation functions. We demonstrate that this approach maintains Gaussianity across 100 layers and enables the stable training of extremely narrow, deep networks that standard architectures cannot handle.

Introduction

In deep learning theory, the behavior of signals as they propagate through layers is often modeled under the assumption of infinite width. This mathematical convenience allows researchers to treat pre-activations—the values immediately preceding a non-linearity—as Gaussian random variables. However, real-world neural networks are finite. As data travels deeper into a narrow network, the distribution of these pre-activations often deviates significantly from a normal distribution, leading to "heavy tails" and unpredictable signal scaling.

This discrepancy means that initialization strategies and architectural choices derived from infinite-width theory may be suboptimal for practical applications. This research addresses a fundamental question: Can we bridge the gap between theory and practice by designing a network where the Gaussian hypothesis remains valid regardless of width?

Methodology: Engineering Gaussianity

To maintain Gaussian pre-activations, the authors move beyond standard initialization techniques (like Xavier or He) and common activations (like ReLU or tanh). They propose a framework based on three core components:

1. Symmetric Weibull Weights

The researchers identify the Symmetric Weibull distribution as an ideal candidate for weight initialization. Unlike standard Gaussians, the Weibull distribution features a shape parameter $\theta$ that allows for precise control over the "tail" behavior of the weights. This flexibility is essential for compensating for the transformations applied by activation functions.

2. Distribution Matching and Custom Activations

The core of the paper involves deriving four specific constraints required to preserve Gaussianity across layers. Using Mellin transforms and numerical optimization, the authors construct two new families of activation functions designed to "shape" the output of a layer such that, when multiplied by Weibull weights, the resulting pre-activations in the subsequent layer are perfectly Gaussian:

  • $\phi^o_\theta$ (Odd): These functions act as a hybrid between linear and tanh-like activations.
  • $\phi^p_\theta$ (Positive): These functions behave similarly to sigmoid or softplus activations.

3. Non-Asymptotic Edge of Chaos

By enforcing Gaussianity, the authors extend Edge of Chaos (EOC) analysis—which studies how gradients and signals explode or vanish—to finite-width networks. This non-asymptotic version of EOC provides a more accurate theoretical tool for analyzing realistic, narrow architectures.

Experimental Results

Maintaining the Gaussian Shape

The authors validated their framework using Kolmogorov-Smirnov tests on networks up to 100 layers deep. In standard setups using ReLU or tanh at narrow widths (e.g., width 10), pre-activations deviated from Gaussianity almost immediately. In contrast, the proposed $(\text{Weibull}, \phi^p_\theta)$ pair successfully maintained Gaussian distributions throughout the entire depth of the network.

Training "Torture Tests"

To test the limits of the framework, the researchers trained Multilayer Perceptrons (MLPs) with extreme dimensions: a width of only 3 neurons and a depth of 30 layers. While standard ReLU and tanh networks were highly unstable or failed to converge entirely, the $\phi^o_\theta$ activations allowed these narrow networks to train effectively, achieving significantly lower training loss on the MNIST dataset.

Preventing Correlation Collapse

A common failure mode in deep networks is "correlation collapse," where the network loses the ability to distinguish between different input images as they propagate deeper. The proposed method successfully preserved these correlations, ensuring that distinct inputs remained distinguishable even in very deep architectures.

Discussion and Limitations

While the framework successfully imposes Gaussianity and improves training stability in narrow networks, several challenges remain:

  • Generalization vs. Training: The custom activations excel at reducing training loss, but they occasionally show a tendency to overfit, leading to slightly lower test accuracy compared to ReLU in some standard architectures like LeNet.
  • Computational Complexity: Because the proposed activation functions are defined numerically, they are currently more computationally expensive to implement than simple piecewise functions like ReLU.
  • The Independence Assumption: The current theory assumes that neurons within a layer are independent. While the "positive" activation family handles dependencies better than the "odd" family, a complete theory accounting for inter-neuron correlations is still an open area of research.

Conclusion

This work demonstrates that the Gaussian hypothesis does not have to be a mere theoretical approximation. By carefully matching weight distributions with tailored activation functions, it is possible to maintain Gaussian pre-activations at any width. This not only validates existing theoretical frameworks for finite networks but also opens new avenues for designing stable, extremely deep, and narrow neural architectures.

Summary updated

BibTeX
@article{wolinski2025imposing,
  author = {Pierre Wolinski and Julyan Arbel},
  title = {{Imposing Gaussian Pre-Activations in a Neural Network}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=goe6fv6iSh},
}
Figure