[Paper Review] Variational Inference with Tail-adaptive f-Divergence
This paper proposes a tail-adaptive f-divergence for variational inference that dynamically adjusts the convex function f based on the tail behavior of importance weights, ensuring finite moments and stable optimization while preserving mass-covering properties. The method significantly improves performance in Bayesian neural networks and deep reinforcement learning, outperforming standard KL and α-divergence methods, especially in multi-modal and high-dimensional settings.
Variational inference with α-divergences has been widely used in modern probabilistic machine learning. Compared to Kullback-Leibler (KL) divergence, a major advantage of using α-divergences (with positive α values) is their mass-covering property. However, estimating and optimizing α-divergences require to use importance sampling, which could have extremely large or infinite variances due to heavy tails of importance weights. In this paper, we propose a new class of tail-adaptive f-divergences that adaptively change the convex function f with the tail of the importance weights, in a way that theoretically guarantees finite moments, while simultaneously achieving mass-covering properties. We test our methods on Bayesian neural networks, as well as deep reinforcement learning in which our method is applied to improve a recent soft actor-critic (SAC) algorithm. Our results show that our approach yields significant advantages compared with existing methods based on classical KL and α-divergences.
Motivation & Objective
- To address the instability in estimating α-divergences due to heavy-tailed importance weights in variational inference.
- To develop a method that maintains mass-covering properties while ensuring finite variance in gradient estimates.
- To enable adaptive selection of divergence behavior based on the tail distribution of density ratios during training.
- To improve variational inference in Bayesian neural networks and deep reinforcement learning by replacing standard KL and α-divergence objectives.
- To provide a theoretically grounded, adaptive f-divergence that dynamically modifies f based on empirical weight distributions.
Proposed method
- Proposes a new class of f-divergences that adapt the convex function f based on the empirical tail distribution of the density ratio w = p(x)/q(x).
- Uses a rank-based transformation of the importance weights to define a piecewise convex f-function that avoids explosion in high-tail regions.
- Applies stochastic optimization with reparameterization gradients to enable end-to-end training of variational approximations.
- Derives a new variational inference algorithm (Algorithm 1) that updates f dynamically at each gradient step based on the current distribution of w.
- Adapts the method to soft actor-critic (SAC) by replacing the KL divergence in policy update with the tail-adaptive f-divergence.
- Employs a joint distribution formulation to reframe the policy update as a divergence minimization between qπ and pQ, enabling broader f-divergence use in RL.
Experimental results
Research questions
- RQ1Can f-divergence be adapted dynamically to the tail behavior of importance weights to ensure finite moments and stable estimation?
- RQ2Does a tail-adaptive f-divergence preserve the mass-covering property of α-divergences while improving estimation stability?
- RQ3Can this adaptive divergence improve variational inference in Bayesian neural networks with multi-modal posteriors?
- RQ4Can the method enhance sample efficiency and final performance in deep reinforcement learning, particularly in multi-modal decision-making?
- RQ5How does the performance of the adaptive f-divergence compare to fixed α-divergence and KL-based methods in complex, high-dimensional environments?
Key findings
- The proposed tail-adaptive f-divergence ensures finite moments of importance weights, eliminating the risk of infinite variance in gradient estimation.
- In Bayesian neural networks, the method better recovers multiple modes of the true posterior compared to standard KL and α-divergence.
- On MuJoCo environments, the method outperforms original SAC (α=0) and all tested α-divergence variants in final average reward, especially on complex tasks like Ant and Humanoid.
- The adaptive method learns faster than all baselines in most environments and achieves higher asymptotic performance.
- The improvement is most significant in high-dimensional, multi-modal settings, demonstrating the method’s effectiveness in complex posterior structures.
- Empirical results confirm that the method enables more efficient optimization of multi-modal loss functions in deep reinforcement learning.
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.