NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Neural Tangent Kernel of Equilibrium Models

Zhili Feng, J Zico Kolter

TL;DR

While standard fully-connected networks suffer from "freeze or chaos" degeneration or stochastic behavior when both depth and width go to infinity, Deep Equilibrium (DEQ) models maintain a well-behaved, deterministic Neural Tangent Kernel (NTK). The authors prove that the infinite-width and infinite-depth limits of a DEQ commute under mild conditions, allowing the exact NTK to be solved directly and efficiently via 1D root-finding.

What Problem Does This Paper Address?

In deep learning theory, the Neural Tangent Kernel (NTK) describes how infinitely wide neural networks evolve under gradient descent. However, making networks both infinitely wide ($n \to \infty$) and infinitely deep ($d \to \infty$) introduces severe pathological behavior:

  • If depth and width scale together ($d/n \in (0, \infty)$), the empirical NTK of a standard fully-connected network becomes stochastic rather than deterministic.
  • If width is sent to infinity first and depth second ($\lim_{d \to \infty} \lim_{n \to \infty}$), the NTK collapses into either a constant ("freeze") or a Kronecker delta ("chaos"), losing useful input dependence.

Deep Equilibrium (DEQ) models replace explicit layer stacking by solving for the fixed point of a single weight-tied layer with input injection: $z^* = f_\theta(z^*, x)$. This paper asks: What happens to the NTK of a DEQ when both its width and effective depth go to infinity, and does the order of limits matter?

Methods

  • DEQ-NTK Parameterization & Initialization: The authors analyze a weight-tied network with input injection: $$f^{(h)}_n(x) = \sqrt{\frac{\sigma_W^2}{n}} W g^{(h-1)}(x) + \sqrt{\frac{\sigma_U^2}{n}} U x + \sqrt{\frac{\sigma_b^2}{n}} b$$ with normalized ReLU activation $\sigma(z) = \sqrt{2}\max(0, z)$ and variance scaling $\sigma_W^2 + \sigma_U^2 + \sigma_b^2 = 1$.

  • Tensor Programs & Weight Tying: Using the NESTER program framework (Yang, 2020), they prove that in the infinite-width limit, the weight-tied DEQ induces the same NTK iterations as an untied network because output gradients satisfy gradient independence heuristics.

  • Fixed-Point Kernel Derivation ("DEQ-of-NTK"): Instead of iteratively rolling out layers, the limiting covariance $\Sigma^*$ and kernel $\Theta^*$ are derived as the unique attractive fixed points of a scalar map, solvable via standard 1D root-finding (e.g., Powell's hybrid method).
  • Limit Exchange Theorem ("NTK-of-DEQ"): Using random matrix theory (operator norm bounds on Gaussian matrices) and a probabilistic extension of the Moore-Osgood theorem, the authors prove that when $\sigma_W^2 \le 1/8$, the limits commute: $$\lim_{n\to\infty} \lim_{d\to\infty} \Theta^{(d)}_n(x, y) = \lim_{d\to\infty} \lim_{n\to\infty} \Theta^{(d)}_n(x, y) \quad \text{in probability}.$$
  • Convolutional Extension (CDEQ-NTK): They extend the formulation to convolutional DEQs by incorporating spatial coordinate tensors and coordinate-wise normalization factors.

Datasets

  • CIFAR-10 (image classification benchmark; both full dataset and subsets of 1,000 and 2,000 samples).
  • MNIST (standard handwritten digit classification).
  • Synthetic/Unit Sphere Data (used to verify eigenvalue distributions, Stieltjes transforms, and empirical trace convergence).

Note: No new datasets or benchmarks were introduced in this work.

Key Insights and Ideas

  • Input Injection Escapes the Order/Chaos Trap: In standard feedforward networks without injection, representations at extreme depth lose all input correlation or collapse. Constant input injection ensures the covariance fixed point $\Sigma^*(x, y)$ remains strictly input-dependent.
  • Commuting Limits via Uniform Contraction: Previous work showed that untied networks cannot easily swap $d \to \infty$ and $n \to \infty$ because union-bounding operator norms across $d$ independent layers requires $n$ to grow with $d$. In DEQs, weight tying allows a single contractive random matrix condition to establish uniform convergence in $n$, cleanly decoupling depth from width.
  • Instant Kernel Evaluation: Computing standard NTKs for deep models requires explicit layer-by-layer recursive propagation. In fully-connected DEQs, calculating the kernel between any pair $(x, y)$ reduces to a decoupled, 1D root-finding problem that evaluates in constant time and is trivially parallelizable.

Key Results

  • Theory Verification: Empirical trace estimates of $(I - \sqrt{\sigma_W^2 / n} W)^{-T}(I - \sqrt{\sigma_W^2 / n} W)^{-1}$ closely match the theoretical Stieltjes-inversion limit across various $\sigma_W^2$, validating the linear DEQ sanity check.
  • Kernel Regression on CIFAR-10: DEQ-NTK achieves 59.77% test accuracy (with $\sigma_W^2=0.6, \sigma_U^2=0.4, \sigma_b^2=0$), matching standard NTKs regularized with ZCA (59.70%), while avoiding the performance drop that standard finite-depth NTKs experience as depth grows.
  • MNIST Classification: DEQ-NTK attains 98.6% accuracy, outperforming finite-size Monotone Operator DEQs (98.2%) and Neural ODEs (98.2%).
  • CDEQ-NTK: On 2,000 CIFAR-10 training samples, CDEQ-NTK achieves 37.49% accuracy, performing comparably to a 21-layer CNTK (42.53%) while contracting within 15 iterations.

Limitations and Future Work

  • Conservative Contraction Bound: The theoretical limit exchange proof requires $\sigma_W^2 \le 1/8$ to ensure contraction via operator norms. However, empirical experiments and spectral radius bounds (semicircular law) suggest convergence holds up to $\sigma_W^2 < 1/2$ (or $\sigma_W^2 < 1$ for the DEQ-of-NTK). Bridging this theoretical gap remains open.
  • Computational Cost for Convolutional DEQ: While the fully-connected kernel is solvable via a simple 1D root-finder, the convolutional operator $\mathcal{L}$ introduces dense spatial cross-talk across a 4-way tensor ($P \times Q \times P \times Q$). Solving this non-linear tensor system directly via root-finding is computationally intractable, forcing practitioners back to fixed-point iteration.

Summary updated

BibTeX
@inproceedings{feng2023neural,
  author = {Zhili Feng and J Zico Kolter},
  title = {{On the Neural Tangent Kernel of Equilibrium Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=gnULZPMCPz},
}
Figure