Introduction
Deep Equilibrium Networks (DEQs) represent a paradigm shift in neural architecture, replacing traditional stacked layers with a single implicit layer solved for a fixed point: $z^* = f_\theta(x, z^*)$. By iterating to a steady state, DEQs mimic the expressive power of infinite-depth networks while maintaining a constant memory footprint.
However, DEQs are notoriously "finicky" to initialize. Unlike standard deep networks where layers have independent weights, DEQs reuse the same weight matrix $W$ repeatedly. This weight tying amplifies small statistical fluctuations, leading to massive output variance and unstable gradients. This research demonstrates that DEQs are far more sensitive to initialization than traditional networks and shows that using structured matrix families—specifically orthogonal or symmetric (GOE) matrices—significantly improves training stability.
Theoretical Insights: The Impact of Weight Tying
The core challenge in DEQs stems from the fact that weight tying makes them qualitatively different from wide, "untied" networks. In a standard network, independent layers tend to "average out" fluctuations. In a DEQ, a single "bad" eigenvalue in $W$ affects the signal at every iteration.
Analytical solutions for linear DEQs ($z^* = Wz^* + x$) reveal that length variance (a 4th-order moment) diverges much faster in DEQs as they approach the stability limit compared to untied networks. Specifically, DEQs exhibit $O(\delta^{-4})$ variance divergence for random weights, whereas untied networks scale at $O(\delta^{-2})$.
As shown in the figure above, standard i.i.d. Gaussian initialization (random) is often the worst choice, exhibiting the highest variability. Structured initializations like the Gaussian Orthogonal Ensemble (GOE) or orthogonal matrices significantly mitigate this divergence, matching theoretical predictions derived from free probability theory.
Structured Initializations: Symmetry and Orthogonality
To address these instabilities, the authors propose using matrix families with specific spectral properties:
- Orthogonal Matrices: These are inherently safer because their eigenvalues are strictly bounded on the unit circle, preventing the exponential divergence of signals.
- Symmetric (GOE) Matrices: These provide more stability than random matrices because their "density of states" is thinner at the spectral edges, reducing the likelihood of "rogue" eigenvalues that trigger instability.
By leveraging free probability theory and mean-field analysis, researchers can predict the spectral radius and stability of these non-standard initializations, allowing for a more principled approach to DEQ design that extends beyond simple dense layers.
Empirical Results and Stability at Scale
The theoretical framework was validated on MNIST and Wikitext-103 benchmarks. A key finding is that structured initializations allow DEQs to be trained at much larger weight scales than previously possible, making the models less sensitive to hyperparameter tuning.
In experiments with DEQ Transformers on Wikitext-103, GOE and Orthogonal initializations demonstrated superior stability. While random initialization might occasionally reach a low loss, it frequently diverges or converges slowly. In contrast, GOE provided consistent convergence across different seeds and scales. On MNIST, orthogonal initialization enabled successful training at scales where standard Gaussian weights failed completely, ultimately achieving lower test error and better optima.
Conclusion
DEQs offer a powerful alternative to deep stacking, but their sensitivity to initialization has hindered widespread adoption. By recognizing that weight tying necessitates different statistical considerations than standard networks, this work shows that orthogonal and symmetric initializations can stabilize training and improve performance. Future work may extend these insights to convolutional DEQs and explore other "normal" matrix families to further refine DEQ architectures.
Summary updated