[Paper Review] Backpropagation through the Void: Optimizing control variates for black-box gradient estimation
The paper introduces LAX, RELAX, and DLAX gradient estimators that learn neural network-based control variates to obtain unbiased, low-variance gradients for black-box functions, including discrete and continuous variables, with applications to discrete latent-variable models and reinforcement learning.
Gradient-based optimization is the foundation of deep learning and reinforcement learning. Even when the mechanism being optimized is unknown or not differentiable, optimization using high-variance or biased gradient estimates is still often the best strategy. We introduce a general framework for learning low-variance, unbiased gradient estimators for black-box functions of random variables. Our method uses gradients of a neural network trained jointly with model parameters or policies, and is applicable in both discrete and continuous settings. We demonstrate this framework for training discrete latent-variable models. We also give an unbiased, action-conditional extension of the advantage actor-critic reinforcement learning algorithm.
Motivation & Objective
- Motivate gradient-based optimization when the objective is a black-box or non-differentiable.
- Develop a unified framework that uses surrogate neural networks to build control variates.
- Derive unbiased gradient estimators that combine REINFORCE, reparameterization, and learned control variates.
- Extend the approach to discrete variables via relaxation and conditional reparameterization.
- Demonstrate applicability to discrete latent-variable models and reinforcement learning.
Proposed method
- Construct a differentiable surrogate c_phi to f(b) and form the LAX gradient estimator by combining REINFORCE and reparameterization terms.
- Optimize the surrogate c_phi jointly with model parameters by minimizing the gradient variance using an unbiased estimate.
- Extend to discrete variables using relaxed continuous variables and the Gumbel-softmax trick, yielding the DLAX estimator.
- Further refine via RELAX by evaluating the surrogate at both relaxations z and conditioned relaxations tilde{z}, maintaining unbiasedness.
- Apply the estimators to reinforcement learning by formulating a LAX-based RL gradient with an action-dependent, differentiable control variate.
- Discuss architecture choices for the control variate to exploit known structure in f (e.g., connections to REBAR/CONCRETE relaxations).
Experimental results
Research questions
- RQ1Can a neural surrogate be learned to serve as a low-variance control variate for black-box gradient estimation?
- RQ2How can REINFORCE and reparameterization be merged with a trainable surrogate to preserve unbiasedness while reducing variance?
- RQ3Can the approach be extended to discrete variables via continuous relaxations and conditional reparameterization?
- RQ4How does the learned control variate perform in discrete latent-variable training and reinforcement learning tasks compared to existing estimators?
Key findings
- A differentiable surrogate-based gradient estimator (LAX) yields unbiased gradients with potentially reduced variance by coupling REINFORCE and reparameterization.
- Joint optimization of model parameters and the surrogate controller can directly minimize the gradient variance.
- Extensions DLAX and RELAX provide unbiased, low-variance estimators for discrete variables using relaxations and conditional reparameterization, improving performance in discrete VAEs and RL tasks.
- Empirical results show improved training speed and convergence in discrete VAEs on MNIST/Omniglot and enhanced sample efficiency in RL environments.
- RELAX, which allows a flexible, learned surrogate, can outperform previous methods like REBAR in terms of convergence rate in the reported experiments.
- The framework generalizes gradient estimation to black-box objectives where no differentiable relaxation is available.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.