Abstract
Gradient instability remains a primary obstacle in training deep and recurrent neural networks. While orthogonal initialization effectively mitigates vanishing and exploding gradients by preserving signal norms, standard implementations rely on complex mathematical factorizations like QR or SVD decomposition, which lack biological plausibility. This paper investigates "learned" orthogonality through local optimization rules. We introduce two methods: Layer-wise Orthogonal Initialisation (OINIT) and Penalty Enforced Orthogonality (OPEN). Our results demonstrate that networks can achieve stable signal propagation through processes analogous to synaptic pruning, significantly outperforming standard initialization on sequential and deep tasks. This work provides a biologically plausible path toward stable deep learning without requiring global mathematical interventions.
Introduction
Training deep neural networks (DNNs) and Recurrent Neural Networks (RNNs) is notoriously difficult due to the problem of gradient instability. During backpropagation, error signals are repeatedly multiplied by weight matrices across many layers or time steps. If the spectral radius of these matrices deviates from unity, the signal either vanishes or explodes, preventing the network from learning long-range dependencies.
A common solution in machine learning is orthogonal initialization, where weights are set to preserve the length (norm) of the vector as it passes through the network. However, the standard methods for generating these matrices involve complex linear algebra that the human brain is unlikely to perform. This creates a gap between high-performing artificial intelligence techniques and biological reality. This paper addresses this gap by asking whether a network can "learn" to be orthogonal using simple, local rules that mimic biological synaptogenesis.
Proposed Methods
The authors propose two primary schemes to achieve orthogonality through optimization rather than direct factorization:
1. Layer-wise Orthogonal Initialisation (OINIT)
OINIT acts as a developmental pre-training phase. Before the network begins its primary task, each layer undergoes local optimization to minimize the difference between $W \cdot W^T$ and the Identity matrix ($I$). This process mimics a biological developmental stage where synapses are pruned or strengthened to establish stable pathways. Using Gaussian Process theory, the authors provide a theoretical proof that this pre-training phase will consistently converge to a high-quality orthogonal solution.
2. Penalty Enforced Orthogonality (OPEN)
In the OPEN approach, an "orthogonality penalty" is integrated directly into the global loss function during regular task training. This forces the weights to remain near an orthogonal state while simultaneously learning the objective. Both methods utilize the Frobenius norm to measure the distance from orthogonality, a metric that can be optimized using standard gradient descent.
Experimental Evaluation
The researchers evaluated OINIT and OPEN across three distinct challenges designed to test gradient stability:
- Pathological Synthetic Problems: These include "stress tests" like the Adding Problem and Random Permutation, which are designed to be nearly impossible for vanilla networks due to extreme long-range dependencies.
- Sequential MNIST: In this task, an RNN processes MNIST digits one pixel at a time (784 steps). This makes the vanishing gradient problem particularly acute, as the network must maintain information over a very long temporal horizon.
- Deep Feedforward MNIST: A 10-layer feedforward network was used to demonstrate that the benefits of learned orthogonality extend beyond recurrent architectures to deep hierarchical models.
Key Insights
Orthogonality as an Emergent Property
The most significant finding is that orthogonality does not need to be a "hard-coded" initial state. It can emerge naturally from local optimization rules. This suggests that biological brains might maintain signal stability through similar local homeostatic mechanisms.
The Apoptotic Analogy
The authors draw a parallel between the OINIT pre-training phase and synaptic elimination (apoptosis). In early development, neurons are often multiply innervated with random connections. The optimization process prunes or adjusts these connections to reach a stable, orthogonal state, effectively "straightening" the signal path through the network.
Escaping the Baseline
In sequential tasks, vanilla networks often fail to learn entirely, getting stuck at a "baseline" accuracy (approximately 11% for MNIST, equivalent to random guessing). Learned orthogonality allows the network to escape this regime by stabilizing the spectral radius around 1.0, ensuring that gradients remain informative throughout the training process.
Results
The proposed methods dramatically outperformed standard random initialization across all benchmarks:
- Sequential MNIST: While a standard RNN failed to learn (11.35% accuracy), the OINIT version reached 86.81% and the OPEN version reached 91.81%, achieving performance comparable to more complex architectures like LSTMs.
- Synthetic Problems: On the Random Permutation problem, vanilla RNNs could only handle sequences of length 90. The OINIT-enhanced version successfully managed sequences up to 240 steps.
- Deep Feedforward Networks: In a 10-layer MNIST network, standard initialization failed (11.35%), whereas the OPEN method achieved 97.03% accuracy.
Conclusion and Future Work
This research demonstrates that learned orthogonality is a viable and biologically plausible alternative to traditional initialization methods. By framing orthogonality as a result of optimization, the authors bridge the gap between biological synaptic development and deep learning stability.
Future work may explore relaxing the requirement for full orthonormality (where rows are both perpendicular and unit length) to simple orthogonality (perpendicularity only), which would allow for varying signal gains. Additionally, the authors suggest that a hybrid approach combining OINIT pre-training with OPEN regularization could yield even more robust results for extremely deep architectures.
Summary updated