Abstract
Deep neural networks often suffer from vanishing or exploding gradients, a problem typically mitigated by Batch Normalization (BN). However, BN introduces training-inference discrepancies and can fail in small-batch settings. We introduce Bidirectionally Self-Normalizing Neural Networks (BSNNs), which achieve stable signal propagation through orthogonal weight initialization and a novel class of Gaussian-Poincaré normalized (GPN) activation functions. Our approach enables the training of 200-layer networks with high accuracy without relying on external normalization layers.
Introduction
As neural networks grow deeper, the signals sent during the forward pass and the gradients propagated during the backward pass tend to either shrink to zero or grow exponentially. This vanishing and exploding gradient problem is the primary obstacle to training ultra-deep architectures. While Batch Normalization (BN) is the standard industry solution, it is essentially a "crutch" that behaves inconsistently between training and testing and can even exacerbate gradient explosion in certain regimes. This paper proposes an intrinsic architectural solution: Bidirectionally Self-Normalizing Neural Networks (BSNNs).
The BSNN Framework
To achieve bidirectional stability, we impose two primary constraints on the network architecture:
- Orthogonal Weight Matrices: By constraining weight matrices to be orthogonal, we ensure that the linear transformations preserve the norm of the signal, preventing scaling issues at the linear level.
- Gaussian-Poincaré Normalized (GPN) Functions: We define a new class of activation functions where both the function $\phi(x)$ and its derivative $\phi'(x)$ have a second moment of 1 under a standard Gaussian distribution ($E[\phi(x)^2] = 1$ and $E[\phi'(x)^2] = 1$).
Crucially, common activation functions like ReLU, Tanh, and GELU can be converted into GPN versions using simple affine transformations. Using high-dimensional probability theory, we prove that in sufficiently wide networks, the signal remains "thin-shell concentrated," maintaining a stable norm across hundreds of layers.
Experimental Validation
We validated the BSNN framework using synthetic data, MNIST, and CIFAR-10. In our experiments with 200-layer fully connected networks, standard activations like ReLU and GELU failed completely due to immediate gradient vanishing. In contrast, their GPN counterparts trained successfully.
On the MNIST dataset, GELU-GPN reached over 90% accuracy, while ELU-GPN achieved 100% training accuracy on the same 200-layer architecture. Visualizations of gradient norms across these layers show a remarkably stable profile for GPN functions, whereas unnormalized gradients typically drop to near-zero ($10^{-30}$) or explode.
Discussion and Future Work
Our results demonstrate that bidirectionality is mandatory for self-normalization; normalizing only the forward pass (as seen in methods like SELU) is insufficient for training extremely deep networks. While BSNNs solve the trainability problem, future work is required to reduce the computational cost of enforcing weight orthogonality and to extend these theoretical guarantees to Convolutional Neural Networks and Transformers. BSNNs offer a mathematically grounded alternative to Batch Normalization, paving the way for more robust and predictable deep learning architectures.
Summary updated