[Paper Review] AR-DAE: Towards Unbiased Neural Entropy Gradient Estimation
This paper proposes AR-DAE, a conditional denoising autoencoder that learns to estimate the gradient of log density for unbiased entropy gradient estimation in non-stationary distributions. By conditioning on varying noise levels during training and inferring at σ=0, AR-DAE achieves asymptotically unbiased gradient estimation, enabling state-of-the-art performance in variational autoencoders and soft actor-critic for continuous control.
Entropy is ubiquitous in machine learning, but it is in general intractable to compute the entropy of the distribution of an arbitrary continuous random variable. In this paper, we propose the amortized residual denoising autoencoder (AR-DAE) to approximate the gradient of the log density function, which can be used to estimate the gradient of entropy. Amortization allows us to significantly reduce the error of the gradient approximator by approaching asymptotic optimality of a regular DAE, in which case the estimation is in theory unbiased. We conduct theoretical and experimental analyses on the approximation error of the proposed method, as well as extensive studies on heuristics to ensure its robustness. Finally, using the proposed gradient approximator to estimate the gradient of entropy, we demonstrate state-of-the-art performance on density estimation with variational autoencoders and continuous control with soft actor-critic.
Motivation & Objective
- To address the challenge of unbiased gradient estimation for entropy in implicit generative models with non-stationary data distributions.
- To resolve the trade-off between small noise levels (needed for asymptotic bias reduction) and vanishing training signals in denoising autoencoders.
- To develop a method that generalizes to σ=0 during inference while training on a distribution of noise levels.
- To enable stochastic backpropagation for entropy maximization/minimization in complex, structured models like VAEs and SAC.
- To improve performance in density estimation and continuous control by providing accurate, low-bias entropy gradient estimates.
Proposed method
- Proposes an amortized residual denoising autoencoder (AR-DAE) that conditions on noise level σ during training and predicts the log density gradient at σ=0 during inference.
- Uses a residual architecture to model the denoising function as a residual connection, improving training stability and generalization.
- Employs a conditional DAE with σ as input, enabling the model to learn a continuous function that generalizes to σ=0.
- Applies the estimated log density gradient to compute the entropy gradient via path derivative, enabling backpropagation through entropy objectives.
- Trains the AR-DAE on a distribution of noise levels to avoid vanishing gradients while maintaining convergence to the true log density gradient as σ→0.
- Uses a multi-scale training strategy with varying σ values to improve robustness and generalization to σ=0.
Experimental results
Research questions
- RQ1Can a denoising autoencoder be trained to generalize to σ=0 while avoiding vanishing gradients during optimization?
- RQ2Does amortized conditioning on σ enable better generalization and lower approximation error than standard DAEs for entropy gradient estimation?
- RQ3Can AR-DAE provide unbiased gradient estimates of entropy in non-stationary, implicit density models?
- RQ4How does AR-DAE improve performance in density estimation with variational autoencoders and continuous control with soft actor-critic?
- RQ5What hyperparameter choices and architectural designs lead to robust and accurate entropy gradient estimation?
Key findings
- AR-DAE achieves significantly lower approximation error in log density gradient estimation compared to baseline DAEs and other baselines across multiple datasets.
- The method enables state-of-the-art performance in density estimation on dynamically and statically binarized MNIST using variational autoencoders.
- In continuous control tasks, AR-DAE improves sample efficiency and final performance in soft actor-critic, particularly in environments like HalfCheetah and Ant.
- Ablation studies confirm that training on a distribution of σ values improves generalization to σ=0, reducing bias in the final gradient estimate.
- The use of residual connections and proper normalization (e.g., softplus activation) enhances training stability and convergence.
- Polyak averaging and careful learning rate scheduling further improve the robustness and performance of the entropy gradient estimator.
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.