Abstract
Deep Equilibrium Models (DEQs) represent a paradigm shift in neural network architecture, replacing traditional depth with implicit fixed-point equations. Despite their empirical success in complex tasks like language modeling, the theoretical foundations of their training dynamics remain largely unexplored. This paper provides some of the first rigorous guarantees for the optimization of DEQs. By analyzing linear and single-index (single-neuron) variants, we demonstrate that gradient descent converges exponentially fast to global optima. Furthermore, we uncover a fundamental "conservation law" that ensures the stability of the training process by preventing the model from reaching mathematical singularities.
Introduction
Deep Equilibrium Models (DEQs) diverge from standard feedforward networks by defining their output as the fixed point of an implicit equation: $y = g_\theta(x, y)$. This structure effectively simulates an infinitely deep network where weights are shared across all layers. While this approach offers significant memory efficiency and performance gains, it introduces two major theoretical challenges:
- Stability: The existence and uniqueness of a fixed point depend on the system's Jacobian remaining well-conditioned. If parameters evolve toward a singularity, the model becomes undefined.
- Convergence: The non-convex nature of implicit structures makes it unclear whether standard optimization techniques like gradient descent can reliably find global minima.
This study addresses these challenges by examining the gradient flow of simplified DEQ architectures: linear models and single-index models.
Theoretical Framework
To study the fundamental properties of DEQ optimization, the authors focus on two primary settings using dynamical systems theory to analyze "gradient flow" (the continuous-time limit of gradient descent).
Linear DEQs
In the linear case, the model is defined as $y = \theta_1^\top x + \theta_2 y$. This allows for an explicit solution for the fixed point: $$y = \frac{\theta_1^\top x}{1 - \theta_2}$$ This formulation is valid provided $\theta_2 \neq 1$. The goal is to minimize the population risk—the expected error over the entire data distribution—rather than a specific finite dataset.
Single-Index Models
The analysis extends to nonlinear "single-index" models where $y = \sigma(\theta_1^\top x + \theta_2 y)$, with $\sigma$ representing a standard activation function such as Sigmoid or Tanh. Here, the speed of convergence is influenced by a constant $\rho$ that quantifies the nonlinearity of the activation function.
The Conservation Law and Stability
A central contribution of this work is the discovery of a mathematical identity that governs the trajectory of parameters during training. For linear DEQs, the parameters $\theta_1$ and $\theta_2$ satisfy: $$\|\theta_1(t)\|_2^2 + (\theta_2(t) - 1)^2 = \text{constant}$$
This "conservation law" implies that parameters are effectively "trapped on spheres" within the parameter space. Crucially, the center of this sphere is the singularity point $\theta_2 = 1$. Because the parameters must remain on the surface of the sphere determined by their initialization, they are physically prevented from ever reaching the singularity, provided they do not start there. This provides a rigorous guarantee of stability throughout the training process.
Optimization Results
The paper establishes strong convergence results for both continuous and discrete-time optimization:
- Global Convergence: For linear DEQs, gradient flow converges exponentially fast to the global minimizer from almost any initialization.
- Discrete-Time Gradient Descent: In practical applications using discrete steps, the authors prove linear convergence, meaning the error is reduced by a constant fraction at each iteration, assuming a sufficiently small step size.
- Geometric Trajectories: Experiments reveal that parameters do not move linearly toward the solution. Instead, they follow the geometry of the conservation law, often "orbiting" or spiraling around the ground truth value.
Experimental Validation
The theoretical findings were validated using synthetic datasets where the ground truth was known:
- Linear Experiments: Data generated from $f(x) = 2x$ with inputs $x \sim \text{Unif}([0, 1])$.
- Nonlinear Experiments: Data generated from $f(x) = \sigma(2x)$ using a Sigmoid activation.
The results confirmed that the models stayed within the stable regions predicted by the conservation law and achieved the predicted convergence rates.
Conclusion and Future Work
This research provides a necessary theoretical anchor for the use of implicit models. By proving that even simple DEQs possess inherent stability mechanisms and favorable optimization landscapes, the work justifies the continued scaling of these architectures.
However, several avenues for future research remain:
- Architecture Complexity: Extending these proofs from single-neuron models to multi-layer, multi-neuron weight-tied blocks.
- Empirical Risk: Moving beyond population risk to account for the noise and potential overfitting inherent in finite datasets.
- Model Specification: Investigating "misspecified" models where the target function cannot be perfectly represented by the DEQ architecture.
Summary updated