Stabilizing Equilibrium Models by Jacobian Regularization

Shaojie Bai, Vladlen Koltun, J. Zico Kolter
6/28/2021
cs.LGstat.ML

Official code: locuslab/deq (815 stars, Python, MIT, last commit 2022-07-04).

Abstract

Deep equilibrium networks (DEQs) are a new class of models that eschews traditional depth in favor of finding the fixed point of a single nonlinear layer. These models have been shown to achieve performance competitive with the state-of-the-art deep networks while using significantly less memory.

Show full abstract

Yet they are also slower, brittle to architectural choices, and introduce potential instability to the model. In this paper, we propose a regularization scheme for DEQ models that explicitly regularizes the Jacobian of the fixed-point update equations to stabilize the learning of equilibrium models. We show that this regularization adds only minimal computational cost, significantly stabilizes the fixed-point convergence in both forward and backward passes, and scales well to high-dimensional, realistic domains (e.g., WikiText-103 language modeling and ImageNet classification). Using this method, we demonstrate, for the first time, an implicit-depth model that runs with approximately the same speed and level of performance as popular conventional deep networks such as ResNet-101, while still maintaining the constant memory footprint and architectural simplicity of DEQs. Code is available at https://github.com/locuslab/deq .

View on arXivView PDF

Code Implementations(1)

locuslab/deqOfficial100%
MIT

[NeurIPS'19] Deep Equilibrium Models

81590Python, ShellAug 6, 20194 years agoMIT

Similar Papers

Cite this paper

@article{bai2021stabilizing,
  title  = {Stabilizing Equilibrium Models by Jacobian Regularization},
  author = {Shaojie Bai and Vladlen Koltun and J. Zico Kolter},
  year   = {2021},
  eprint = {2106.14342},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.14342}
}

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/2106.14342.svg)](https://codeofpaper.com/paper/2106.14342)

Discussion