Consistency Deep Equilibrium Models
Junchao Lin, Zenan Ling, Jingwen Xu, Robert C. Qiu
TL;DR
This paper tackles the latency of implicit Deep Equilibrium Models (DEQs) by introducing Consistency Deep Equilibrium Models (C-DEQ). By reframing the DEQ solving process as a fixed-point ODE (FP-ODE) trajectory, the authors distill a consistency mapping that directly maps intermediate solver states to the equilibrium, enabling few-step or even single-step inference while preserving teacher performance. The approach integrates an Anderson Acceleration (AA) informed parameterization and a dual-consistency distillation objective (global and local) plus a task regularizer to stabilize training and support multi-step refinement. Extensive experiments across language modeling, image classification, and graph node classification demonstrate 2-20× consistency gains over implicit DEQs under the same few-step budget, with competitive to state-of-the-art explicit baselines and reduced latency. The work offers a practical pathway to deploy fixed-point implicit models in real-time and resource-constrained settings, significantly narrowing the efficiency gap between implicit and explicit architectures.
Abstract
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, DEQs incur significant inference latency due to the iterative nature of fixed-point solvers. In this work, we introduce the Consistency Deep Equilibrium Model (C-DEQ), a novel framework that leverages consistency distillation to accelerate DEQ inference. We cast the DEQ iterative inference process as evolution along a fixed ODE trajectory toward the equilibrium. Along this trajectory, we train C-DEQs to consistently map intermediate states directly to the fixed point, enabling few-step inference while preserving the performance of the teacher DEQ. At the same time, it facilitates multi-step evaluation to flexibly trade computation for performance gains. Extensive experiments across various domain tasks demonstrate that C-DEQs achieves consistent 2-20$\times$ accuracy improvements over implicit DEQs under the same few-step inference budget.
