JFB: Jacobian-Free Backpropagation for Implicit Networks

Samy Wu Fung, Howard Heaton, Qiuwei Li, Daniel McKenzie, Stanley Osher +1 more
3/23/2021
153 citations
cs.LG

Official code: Typal-Research/jacobian_free_backprop (42 stars, Python, last commit 2021-12-07).

Abstract

A promising trend in deep learning replaces traditional feedforward networks with implicit networks. Unlike traditional networks, implicit networks solve a fixed point equation to compute inferences.

Show full abstract

Solving for the fixed point varies in complexity, depending on provided data and an error tolerance. Importantly, implicit networks may be trained with fixed memory costs in stark contrast to feedforward networks, whose memory requirements scale linearly with depth. However, there is no free lunch -- backpropagation through implicit networks often requires solving a costly Jacobian-based equation arising from the implicit function theorem. We propose Jacobian-Free Backpropagation (JFB), a fixed-memory approach that circumvents the need to solve Jacobian-based equations. JFB makes implicit networks faster to train and significantly easier to implement, without sacrificing test accuracy. Our experiments show implicit networks trained with JFB are competitive with feedforward networks and prior implicit networks given the same number of parameters.

View on arXivView PDF

Code Implementations(1)

Implicit networks can be trained efficiently and simply by using Jacobian-free Backprop (JFB).

428PythonJan 19, 20214 years ago

Similar Papers

Cite this paper

@article{fung2021jfb,
  title  = {JFB: Jacobian-Free Backpropagation for Implicit Networks},
  author = {Samy Wu Fung and Howard Heaton and Qiuwei Li and Daniel McKenzie and Stanley Osher and Wotao Yin},
  year   = {2021},
  eprint = {2103.12803},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.12803}
}

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

Discussion