Reversible Deep Equilibrium Models

Sam McCallum, Kamran Arora, James Foster
9/16/2025
cs.LGstat.ML

No official code found. Best implementation: sammccallum/reversible-deq (6 stars, Apache-2.0, last commit 2025-12-03). 1 more below.

Abstract

Deep Equilibrium Models (DEQs) are an interesting class of implicit model where the model output is implicitly defined as the fixed point of a learned function. These models have been shown to outperform explicit (fixed-depth) models in large-scale tasks by trading many deep layers for a single layer that is iterated many times. However, gradient calculation through DEQs is approximate. This often leads to unstable training dynamics and requires regularisation or many function evaluations to fix. Here, we introduce Reversible Deep Equilibrium Models (RevDEQs) that allow for exact gradient calculation, no regularisation and far fewer function evaluations than DEQs. We show that RevDEQs significantly improve performance on language modelling and image classification tasks against comparable implicit and explicit models.

View on arXivView PDF

Code Implementations(2)

sammccallum/revdeqCommunity71%
Apache-2.0

Reversible Deep Equilibrium Models (RevDEQs).

41PythonAug 18, 20259 months agoApache-2.0
Apache-2.0

Code for 'Reversible Deep Equilibrium Models'.

61PythonAug 1, 202510 months agoApache-2.0

Similar Papers

Cite this paper

@article{mccallum2025reversible,
  title  = {Reversible Deep Equilibrium Models},
  author = {Sam McCallum and Kamran Arora and James Foster},
  year   = {2025},
  eprint = {2509.12917},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.12917v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.12917.svg)](https://codeofpaper.com/paper/2509.12917)

Discussion