Abstract: Implicit deep learning allows one to compute with implicitly defined features, for example features that solve optimisation problems. We consider the problem of computing with implicitly defined features in a kernel regime. We call such a kernel a deep equilibrium kernel (DEKer). Specialising on a stochastic gradient descent (SGD) update rule applied to features (not weights) in a latent variable model, we find an exact deterministic update rule for the (DEKer) in a high dimensional limit. This derived update rule resembles previously introduced infinitely wide neural network kernels. To perform our analysis, we describe an alternative parameterisation of the link function of exponential families, a result that may be of independent interest. This new parameterisation allows us to draw new connections between a statistician's inverse link function and a machine learner's activation function. We describe an interesting property of SGD in this high dimensional limit: even though individual iterates are random vectors, inner products of any two iterates are deterministic, and can converge to a unique fixed point as the number of iterates increases. We find that the (DEKer) empirically outperforms related neural network kernels on a series of benchmarks.
Introduction
In modern machine learning, there is a persistent tension between kernel methods, which are mathematically elegant and model-based, and deep learning, which is powerful but often driven by empirical performance. Recently, "implicit" deep learning—where layers are defined by solving an optimization problem or a differential equation rather than a fixed sequence of operations—has gained significant traction.
However, a general theory for how these implicit models behave in the "kernel regime" (the infinite-width limit) has been lacking. Specifically, if features are defined as the result of an iterative optimization process like stochastic gradient descent (SGD), can we describe the resulting kernel analytically? This paper introduces the Deep Equilibrium Kernel (DEKer) to bridge this gap, completing the conceptual triangle between kernel methods, deep learning, and implicit functions.
The Deep Equilibrium Kernel (DEKer)
The authors focus on a latent variable model where features are updated using SGD. Their key methodological contributions include:
- Feature-Space Updates: Unlike typical Neural Tangent Kernel (NTK) setups that update weights, this work updates the features themselves.
- The High-Dimensional Limit: They prove that as the dimensionality of the features ($m$) goes to infinity, the inner products of the features (the kernel) become deterministic, even though the individual feature vectors remain random. This "randomness to determinism" is a striking insight: the stochasticity of SGD disappears at the kernel level in high dimensions.
- Canonical Nonlinearity Parameterization: The authors introduce a re-parameterization of exponential family link functions. This allows them to treat a statistician’s "inverse link function" as a machine learner’s "activation function," creating a direct bridge between statistical modeling and neural network architecture. Instead of picking an activation function (like ReLU) arbitrarily, this framework allows deriving the "correct" activation based on statistical assumptions (e.g., Poisson or Bernoulli distributions).
- The DEKer Update Rule: They derive a closed-form, deterministic update rule ($G$) that describes how the kernel evolves at each iteration of SGD. When these iterations converge, they define the limiting DEKer ($\ell$DEKer).
Experimental Evaluation
The authors evaluated the DEKer using Kernel Ridge Regression (KRR) on several standard UCI machine learning benchmarks, including Yacht Hydrodynamics, Diabetes, Energy Efficiency, Concrete Compressive Strength, and Wine Quality. These datasets were used to compare the DEKer against standard kernels like the Squared Exponential Kernel (SEK), the Neural Network Kernel (NNK), and the Neural Tangent Kernel (NTK).
Key Results
- Convergence: Using Centered Kernel Alignment (CKA), the authors empirically confirmed that as the feature dimension increases, the finite-dimensional kernel converges to their derived deterministic DEKer.
- Performance: The DEKer (or its limit, $\ell$DEKer) consistently performed as well as or better than NNK, NTK, and SEK across all benchmarks. For example, on the yacht dataset, the DEKer achieved an RMSE of 0.65, vastly outperforming the NNK (2.13) and the SEK (3.62). On the diabetes dataset, it achieved the lowest RMSE (54.51) among all tested kernels.
- Implicit is Explicit: The DEKer is a strict generalization of the NNK. By choosing specific statistical models, the DEKer can recover standard NNKs, suggesting that many common neural architectures can be viewed as solving specific latent variable problems.
Discussion and Future Work
While the DEKer shows great promise, several avenues for future research remain. The current derivation is primarily for fully connected layers; extending this to convolutional layers is a necessary next step for computer vision. Additionally, while kernel methods are often used for Gaussian Processes to get uncertainty estimates, this paper focuses on point estimates. Future work could explore using the Laplace approximation to derive principled uncertainty bounds. Finally, exploring how other optimizers (like Adam or RMSProp) affect the limiting kernel could reveal even more powerful implicit structures.
Summary updated