Introduction
Deep Equilibrium (DEQ) models are highly parameter-efficient neural networks that define their output as the fixed point of an equation rather than passing data through a fixed number of layers. To find this point, the model must iterate many times, which is computationally expensive. While DEQs achieve state-of-the-art results in tasks like optical flow or language modeling with fewer parameters, their high inference cost makes them difficult to deploy on edge devices or in real-time applications.
Previous acceleration attempts focused on "global" early stopping—halting the entire process once the whole state stabilizes. However, the authors of this paper noticed a missed opportunity: the internal dynamics of these models are "heterogeneous," meaning some parts of the hidden state finish converging long before others. DeltaDEQ accelerates these models by exploiting this heterogeneous convergence, allowing the system to skip redundant calculations for dimensions that have already reached their fixed point.
The Phenomenon: Heterogeneous Convergence
The foundational insight of this work is that treating the hidden state as a monolithic block is inefficient. By looking at the element-wise trajectory of the model's internal state, the researchers found that many neurons are essentially "idling" while waiting for a few laggards to converge.
Using Principal Component Analysis (PCA), the authors demonstrated that the underlying dynamics of a DEQ often exist in a much lower-dimensional space than the defined state size. Some dimensions fluctuate wildly, while others settle almost immediately. This realization opens the door to massive computational savings if the network can selectively update only the active dimensions.
Methodology: DeltaDEQ and Sparse Updates
To capitalize on heterogeneous convergence, the authors introduce DeltaDEQ, which incorporates a "delta updating rule" into the forward pass of implicit models. The method relies heavily on the linearity of layers like fully connected and convolutional layers. Because these operations are linear, the math can be rearranged so that $f(z_{new}) \approx f(z_{old}) + f(\Delta z)$.
The DeltaDEQ process works as follows:
- Caching: Instead of recomputing the entire linear transformation at every iteration, DeltaDEQ stores the results of previous operations in a cache.
- Thresholding ($\tau$): It only propagates the change (the "delta") in a state activation if that change exceeds a specific threshold $\tau$. If the change is tiny, it is treated as zero.
- Sparse Computation: By zeroing out these small changes, the model creates "activation sparsity." This allows the model to skip entire columns of matrix multiplications or patches of convolutions, significantly reducing Floating Point Operations (FLOPs).
Importantly, this method is orthogonal to other acceleration techniques, meaning it can be used alongside existing tricks like fixed-point reuse (starting the next frame's calculation from the previous frame's result). Furthermore, simple iterative methods (like Picard or Krasnoselskii–Mann iteration) are often better suited for DeltaDEQ than complex root-finding algorithms like Broyden’s method, as they are more compatible with this delta-based acceleration.
Experimental Setup and Key Results
The researchers evaluated DeltaDEQ on two primary tasks:
- Implicit Neural Representation (INR): Reconstructing high-resolution images using coordinate-based networks (Siren and Fourier variants).
- Optical Flow (OF): Predicting pixel motion between video frames using the Sintel and KITTI 2015 datasets (pre-trained on FlyingChairs and FlyingThings3D).
DeltaDEQ achieves massive computational savings with negligible impact on accuracy:
- Massive FLOPs Reduction: The method achieved an 84% reduction in FLOPs for the INR task. For optical flow, it reduced FLOPs by 73% on Sintel and 76% on KITTI, maintaining comparable accuracy to full-update models.
- Training Speedup: Even during the training phase, the delta rule reduced forward-pass computations by 16% to 32%.
- Robustness: The models showed a "robust range" for the threshold $\tau$; the threshold (and thus the speedup) can be significantly increased before the Peak Signal-to-Noise Ratio (PSNR) or flow accuracy begins to degrade noticeably.
Limitations and Future Directions
While the theoretical FLOPs reduction is massive, achieving actual "wall-clock" speedups on standard GPUs remains challenging because current hardware is optimized for dense, rather than sparse, matrix operations. Specialized hardware or sparse-library support (like SpConv) is needed to fully realize these gains. Additionally, caching the linear operation results adds a small memory footprint requirement, though DEQs are generally memory-efficient to begin with.
Looking forward, the authors suggest that this delta-rule approach could be extended to other iterative architectures, such as Diffusion Models or Transformers, where similar redundant updates likely occur during inference.
Summary updated