Skip to main content
QUICK REVIEW

[Paper Review] Relative gradient optimization of the Jacobian term in unsupervised deep learning

Luigi Gresele, Giancarlo Fissore|arXiv (Cornell University)|Jun 26, 2020
Neural Networks and ApplicationsComputer Science2 references7 citations
TL;DR

This paper proposes a relative gradient optimization method for exact training of deep density models with invertible neural networks, leveraging Riemannian geometry on matrix parameter spaces to achieve quadratic computational complexity in input dimensionality. The approach enables efficient, exact optimization of the Jacobian determinant term—critical for maximum likelihood training—without structural constraints, offering up to 50× speedup over standard autodiff and 4.5× over naive methods on MNIST, while matching or improving log-likelihood performance.

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. 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.

Motivation & Objective

  • To address the high computational cost of exact maximum likelihood training in deep density models due to the log-determinant of the Jacobian.
  • To enable exact optimization of the Jacobian term in invertible neural networks without restricting network architecture.
  • To develop a scalable optimization method that avoids the trade-off between expressivity and computational efficiency inherent in autoregressive normalizing flows.
  • To integrate relative gradient updates with standard backpropagation for efficient training of deep latent variable models.
  • To demonstrate that the method achieves state-of-the-art log-likelihood performance with significantly reduced training time.

Proposed method

  • The method formulates parameter updates using the relative gradient, a Riemannian natural gradient adapted to matrix parameter spaces, which exploits the geometric structure of weight matrices.
  • It derives closed-form expressions for the relative gradient of the log-determinant of the Jacobian, enabling exact and efficient computation.
  • The approach integrates seamlessly with standard backpropagation, allowing end-to-end training of deep neural networks with invertible layers.
  • The computational complexity of the forward and backward passes scales quadratically with input dimension, in contrast to the cubic scaling of naive automatic differentiation.
  • The method is general and applicable to any objective involving the Jacobian determinant, including maximum likelihood estimation and variational inference.
  • It uses fully connected invertible layers with smooth Leaky-ReLU activations and standard normal base distributions for latent variables.

Experimental results

Research questions

  • RQ1Can the log-determinant of the Jacobian in invertible deep networks be optimized exactly and efficiently without architectural constraints?
  • RQ2Does relative gradient optimization on matrix parameter spaces yield a computational complexity that scales favorably with input dimensionality?
  • RQ3Can this method achieve faster convergence and better log-likelihood performance than standard autodiff or autoregressive normalizing flows?
  • RQ4How does the method perform across diverse datasets with varying dimensionality and data complexity?
  • RQ5Is the relative gradient approach compatible with standard deep learning training pipelines like Adam optimization and batch training?

Key findings

  • The proposed method achieves a computational complexity of O(D²) for the Jacobian term, compared to O(D³) in standard autodiff, enabling significant speedups.
  • On MNIST (D=784), the method runs ~4.5× faster than standard optimization and ~50× faster than naive autodiff, with convergence in ~15 minutes.
  • The method achieves state-of-the-art log-likelihood performance on benchmark datasets including POWER, GAS, HEPMASS, MINiboone, and BSDS300, matching or exceeding prior methods.
  • The best-performing models were selected via early stopping and grid search, with hyperparameters tuned to match the number of parameters of prior models for fair comparison.
  • The method enables exact training of deep density models with arbitrary Jacobians, avoiding the representational limitations of triangular-structured flows.
  • Empirical results confirm that the relative gradient approach is both scalable and effective across a wide range of data modalities and input dimensions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.