Consistency Deep Equilibrium Models

Junchao Lin, Zenan Ling, Jingwen Xu, Robert C Qiu

Introduction

Deep Equilibrium Models (DEQs) have emerged as a powerful paradigm in deep learning, offering the ability to model infinite-depth networks with constant memory usage. However, this elegant theoretical property comes at a practical cost: DEQs incur significant inference latency due to the iterative nature of their fixed-point solvers.

To address this bottleneck, researchers have introduced the Consistency Deep Equilibrium Model (C-DEQ). By distilling the iterative solving process of a DEQ into a consistency mapping, C-DEQ can "leapfrog" directly to a fixed point. This breakthrough brings the "one-step" revolution—popularized by diffusion models—to implicit networks, achieving 2–20× speedups and state-of-the-art performance in just a few function evaluations.

The Inference Bottleneck in DEQs

DEQs are a fascinating class of "implicit" neural networks. Instead of stacking a fixed number of discrete layers, they define their output as the fixed point of a single layer: $z^* = f_\theta(z^*, x)$. This formulation allows them to represent infinite depth while maintaining a constant memory footprint.

The primary drawback is that finding the fixed point $z^*$ is computationally expensive. It requires an iterative solver, such as Anderson Acceleration (AA) or Broyden’s method, which may take dozens of passes through the network to converge. This inference latency makes DEQs substantially slower than traditional feed-forward networks, severely limiting their deployment in real-time applications like computer vision or large-scale language modeling.

The C-DEQ Framework

C-DEQ applies the principles of Consistency Distillation to the realm of implicit models. The methodology relies on four core pillars:

  1. Trajectory Reframing: The authors re-interpret the iterative solving process as a trajectory along a "Fixed Point ODE" (FP-ODE). By fixing the starting point and the solver (Anderson Acceleration), they establish a deterministic "teacher" path toward the equilibrium.
  2. Consistency Mapping: A student model is trained to map any intermediate point along that trajectory directly to the final equilibrium. In essence, the student learns to predict the final fixed point from any intermediate state.
  3. AA-Structured Parameterization: Rather than relying on a generic black-box network, the authors bake the mathematical structure of Anderson Acceleration into the student’s architecture. This injects a strong inductive bias, helping the model refine estimates rather than forcing it to relearn the solver's logic from scratch.
  4. Dual Loss Function: The training objective employs a Global Consistency Loss to anchor predictions to the final fixed point, alongside a Local Consistency Loss to ensure that adjacent points on the trajectory map to the same result. This dual approach significantly improves stability during multi-step inference.

Experimental Validation

To demonstrate its versatility, C-DEQ was evaluated across three distinct domains:

  • Natural Language Processing: WikiText-103 for long-range sequence modeling.
  • Computer Vision: ImageNet-1k for large-scale image classification.
  • Graph Learning: Open Graph Benchmark (OGB) datasets (ogbn-arxiv and ogbn-products) for node classification.

Key Results

  • Massive Speedups: Under the same strict computational budget (1–8 steps), C-DEQ achieves 2–20× accuracy improvements over existing implicit models.
  • Language Modeling: On WikiText-103, a 1-step C-DEQ outperforms a standard DEQ by a massive margin, approaching the performance of explicit state-of-the-art Transformers.
  • Image Classification: On ImageNet, C-DEQ reaches 74.04% Top-1 accuracy in just 8 steps, effectively narrowing the gap between slow implicit models and fast explicit architectures like Inception-V2.
  • Graph Efficiency: On the ogbn-products dataset, C-DEQ reaches near-equilibrium almost instantaneously, bypassing the high latency that plagues traditional solvers.

Key Insights

  • The "One-Step" Era for DEQs: C-DEQ allows implicit models to produce high-quality results in a single forward pass (NFE=1), a feat previously considered impossible for standard DEQs.
  • Path Independence vs. Trajectory Fixing: While DEQs are theoretically path-independent, distilling them without a fixed path is chaotic. Enforcing a specific "teacher trajectory" via a fixed solver makes the distillation process well-posed and stable.
  • The Power of Inductive Bias: Simply providing historical data to the student is insufficient. Explicitly integrating the AA-solver's mathematics into the network's parameterization allows the model to converge significantly faster than standard MLP or RNN-based students.
  • Flexible Compute: C-DEQ retains the "anytime" property of DEQs. While the baseline 1-step performance is remarkably high, users can flexibly run a few additional steps to trade computation for even greater accuracy.

Limitations and Future Directions

While C-DEQ represents a major leap forward, it does have limitations. First, it suffers from teacher dependency; it requires a pre-trained "teacher" DEQ, and if the teacher is unstable, the distillation will suffer. Second, there is an offline training overhead for trajectory generation and distillation, though the authors note this is a small fraction of the original pre-training time. Finally, the current work uses the FP-ODE view primarily as a heuristic for trajectory selection. Deeper theoretical analysis of these solver-induced trajectories remains a promising area for future research, potentially unlocking even more efficient distillation techniques.

Summary updated

BibTeX
@inproceedings{lin2026consistency,
  author = {Junchao Lin and Zenan Ling and Jingwen Xu and Robert C Qiu},
  title = {{Consistency Deep Equilibrium Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=uw63l3T9un},
}
Figure