On Training Implicit Models

Zhengyang Geng, Xin-Yu Zhang, Shaojie Bai, Yisen Wang, Zhouchen Lin
11/9/2021
cs.LG

Official code: Gsunshine/phantom_grad (7 stars, Python, MIT, last commit 2022-04-17).

Abstract

This paper focuses on training implicit models of infinite layers. Specifically, previous works employ implicit differentiation and solve the exact gradient for the backward propagation.

Show full abstract

However, is it necessary to compute such an exact but expensive gradient for training? In this work, we propose a novel gradient estimate for implicit models, named phantom gradient, that 1) forgoes the costly computation of the exact gradient; and 2) provides an update direction empirically preferable to the implicit model training. We theoretically analyze the condition under which an ascent direction of the loss landscape could be found, and provide two specific instantiations of the phantom gradient based on the damped unrolling and Neumann series. Experiments on large-scale tasks demonstrate that these lightweight phantom gradients significantly accelerate the backward passes in training implicit models by roughly 1.7 times, and even boost the performance over approaches based on the exact gradient on ImageNet.

View on arXivView PDF

Code Implementations(1)

MIT

[NeurIPS 2021] On Training Implicit Models

70Python, ShellNov 7, 20214 years agoMIT
deqimplicittraining

Similar Papers

Cite this paper

@article{geng2021training,
  title  = {On Training Implicit Models},
  author = {Zhengyang Geng and Xin-Yu Zhang and Shaojie Bai and Yisen Wang and Zhouchen Lin},
  year   = {2021},
  eprint = {2111.05177},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.05177}
}

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

Discussion