Relative gradient optimization of the Jacobian term in unsupervised deep learning

Luigi Gresele, Giancarlo Fissore, Adrián Javaloy, Bernhard Schölkopf, Aapo Hyvärinen
6/26/2020
stat.MLcs.LG

Official code: fissoreg/relative-gradient-jacobian (21 stars, Jupyter Notebook, PyTorch, last commit 2021-04-27).

Abstract

Learning expressive probabilistic models correctly describing the data is a ubiquitous problem in machine learning. A popular approach for solving it is mapping the observations into a representation space with a simple joint distribution, which can typically be written as a product of its marginals -- thus drawing a connection with the field of nonlinear independent component analysis.

Show full abstract

Deep density models have been widely used for this task, but their maximum likelihood based training requires estimating the log-determinant of the Jacobian and is computationally expensive, thus imposing a trade-off between computation and expressive power. In this work, we propose a new approach for exact training of such neural networks. Based on relative gradients, we exploit the matrix structure of neural network parameters to compute updates efficiently even in high-dimensional spaces; the computational cost of the training is quadratic in the input size, in contrast with the cubic scaling of naive approaches. This allows fast training with objective functions involving the log-determinant of the Jacobian, without imposing constraints on its structure, in stark contrast to autoregressive normalizing flows.

View on arXivView PDF

Code Implementations(1)

PyTorch

Relative gradient optimization of the Jacobian term in unsupervised deep learning, NeurIPS 2020

212Jupyter Notebook, PythonJun 26, 20205 years ago
deep-learningnormalizing-flowspytorchrelative-gradient

Similar Papers

Cite this paper

@article{gresele2020relative,
  title  = {Relative gradient optimization of the Jacobian term in unsupervised deep learning},
  author = {Luigi Gresele and Giancarlo Fissore and Adrián Javaloy and Bernhard Schölkopf and Aapo Hyvärinen},
  year   = {2020},
  eprint = {2006.15090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.15090}
}

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

Discussion