Skip to main content
QUICK REVIEW

[Paper Review] Improved Gradient-Based Optimization Over Discrete Distributions

Evgeny Andriyash, Arash Vahdat|arXiv (Cornell University)|Sep 29, 2018
Machine Learning and AlgorithmsComputer Science26 references6 citations
TL;DR

This paper proposes improved gradient estimators for optimization over discrete distributions, introducing less-biased continuous relaxation methods like improved Gumbel-Softmax and piecewise-linear relaxations. It demonstrates that reduced bias leads to faster convergence and better performance in variational inference and combinatorial optimization, outperforming standard Gumbel-Softmax and other estimators empirically.

ABSTRACT

In many applications we seek to maximize an expectation with respect to a distribution over discrete variables. Estimating gradients of such objectives with respect to the distribution parameters is a challenging problem. We analyze existing solutions including finite-difference (FD) estimators and continuous relaxation (CR) estimators in terms of bias and variance. We show that the commonly used Gumbel-Softmax estimator is biased and propose a simple method to reduce it. We also derive a simpler piece-wise linear continuous relaxation that also possesses reduced bias. We demonstrate empirically that reduced bias leads to a better performance in variational inference and on binary optimization tasks.

Motivation & Objective

  • Address the challenge of gradient estimation in discrete distributions, where standard reparameterization fails due to discontinuous CDFs.
  • Reduce bias in continuous relaxation estimators like Gumbel-Softmax, which are widely used but known to be biased.
  • Improve the efficiency and performance of finite-difference estimators by reducing computational cost while maintaining low variance.
  • Develop a new RELAX+ estimator with lower complexity and better optimization performance than the original RELAX.
  • Demonstrate empirically that lower-bias gradient estimators lead to faster convergence and better solutions in variational inference and discrete optimization tasks.

Proposed method

  • Derive a less-biased version of the Gumbel-Softmax estimator for both binary and categorical variables by modifying the relaxation function.
  • Propose a piecewise-linear continuous relaxation for binary and categorical variables that reduces bias compared to standard Gumbel-Softmax.
  • Introduce an improved version of the RAM finite-difference estimator with reduced computational cost by trading off variance for efficiency.
  • Formulate a connection between the REBAR and ICR (improved continuous relaxation) estimators, showing that REBAR can be interpreted as a form of ICR.
  • Develop RELAX+, a variant of the RELAX estimator with lower computational complexity and improved optimization performance.
  • Use control variates and gradient reweighting techniques to further reduce variance in score function estimators, particularly in the RELAX+ framework.

Experimental results

Research questions

  • RQ1How does the bias in the Gumbel-Softmax estimator affect optimization performance in discrete variational inference and combinatorial optimization?
  • RQ2Can a piecewise-linear continuous relaxation be designed to reduce bias while maintaining computational efficiency?
  • RQ3What is the trade-off between bias and variance in finite-difference estimators, and can it be optimized for better performance?
  • RQ4How do improved continuous relaxation estimators compare to score function and finite-difference estimators in terms of convergence speed and solution quality?
  • RQ5Does reducing bias in gradient estimators lead to more stable and accurate optimization outcomes in real-world tasks like VAE training and maximal clique detection?

Key findings

  • The commonly used Gumbel-Softmax estimator is biased, and this bias leads to suboptimal convergence in both variational autoencoders and discrete optimization tasks.
  • The proposed improved Gumbel-Softmax and piecewise-linear relaxations significantly reduce bias, resulting in faster convergence and better final performance in VAE training.
  • On the MNIST dataset, the improved continuous relaxation (ICR) estimators outperform standard Gumbel-Softmax, with RELAX+ achieving performance comparable to the unbiased RAM estimator.
  • In maximal clique detection on a 1000-node graph, ICR estimators avoid poor local minima caused by Gumbel-Softmax bias, especially at low values of the hyperparameter κ.
  • The RELAX+ estimator achieves lower variance and better optimization performance than the original RELAX, with reduced computational cost.
  • Empirical results show that reduced bias in gradient estimators leads to more stable optimization, particularly in nonlinear models and high-dimensional discrete problems.

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.