[Paper Review] VIREL: A Variational Inference Framework for Reinforcement Learning
This paper proposes VIREL, a variational inference framework for reinforcement learning that formulates policy optimization as an expectation-maximization problem, enabling separate, iterative updates for value function and policy learning. By leveraging a mode-seeking KL divergence and parametrized action-value functions, VIREL learns deterministic optimal policies and outperforms state-of-the-art methods like SAC on high-dimensional continuous control tasks.
Applying probabilistic models to reinforcement learning (RL) enables the application of powerful optimisation tools such as variational inference to RL. However, existing inference frameworks and their algorithms pose significant challenges for learning optimal policies, e.g., the absence of mode capturing behaviour in pseudo-likelihood methods and difficulties learning deterministic policies in maximum entropy RL based approaches. We propose VIREL, a novel, theoretically grounded probabilistic inference framework for RL that utilises a parametrised action-value function to summarise future dynamics of the underlying MDP. This gives VIREL a mode-seeking form of KL divergence, the ability to learn deterministic optimal polices naturally from inference and the ability to optimise value functions and policies in separate, iterative steps. In applying variational expectation-maximisation to VIREL we thus show that the actor-critic algorithm can be reduced to expectation-maximisation, with policy improvement equivalent to an E-step and policy evaluation to an M-step. We then derive a family of actor-critic methods from VIREL, including a scheme for adaptive exploration. Finally, we demonstrate that actor-critic algorithms from this family outperform state-of-the-art methods based on soft value functions in several domains.
Motivation & Objective
- To address limitations in existing RL-inference frameworks, such as poor mode capture in pseudo-likelihood methods and incompatibility with deterministic policies in maximum entropy RL.
- To provide a theoretically grounded framework that integrates uncertainty in action-value functions to guide exploration while supporting deterministic policy learning.
- To formally account for function approximation in value and policy networks, ensuring convergence analysis under approximation.
- To unify actor-critic algorithms under a single variational EM framework, where policy improvement corresponds to E-step and policy evaluation to M-step.
- To develop practical algorithms that adaptively balance exploration and exploitation, improving performance on complex environments.
Proposed method
- VIREL formulates the RL problem as probabilistic inference using a parametrized action-value function $\hat{Q}_{\omega}(h)$ to summarize future dynamics.
- It employs a variational EM algorithm where the E-step corresponds to policy improvement and the M-step to value function evaluation.
- The framework uses a mode-seeking form of KL divergence to encourage policies to concentrate on high-return actions, improving sample efficiency.
- It derives analytic updates for policy and value function parameters using reparameterization gradients, enabling end-to-end training with deep networks.
- Two algorithms—virel and beta—are derived, with the latter introducing adaptive entropy scaling via an estimated variance $\varepsilon_{\omega}$.
- The method decouples policy and value function optimization, allowing separate, iterative updates with target network smoothing via $\bar{\phi}$.
Experimental results
Research questions
- RQ1Can a variational inference framework for RL unify actor-critic methods under a principled EM framework while supporting deterministic policy learning?
- RQ2How does the use of a mode-seeking KL divergence improve policy optimization compared to standard entropy regularization?
- RQ3To what extent can function approximation in value and policy networks be formally integrated into the inference framework with convergence guarantees?
- RQ4Can the proposed framework outperform state-of-the-art methods like SAC in high-dimensional continuous control tasks?
- RQ5How does adaptive exploration driven by uncertainty in the action-value function affect sample efficiency and final performance?
Key findings
- VIREL outperforms soft actor-critic (SAC) and DDPG on complex, high-dimensional MuJoCo environments, particularly in tasks with continuous action spaces.
- The framework successfully learns deterministic optimal policies naturally through variational inference, avoiding the need for temperature-based entropy regularization.
- The beta variant of the algorithm adapts exploration by estimating the variance of the Q-function error, leading to improved sample efficiency.
- On simple low-dimensional tasks, VIREL performs comparably to SAC and DDPG, but the performance gap widens in complex environments.
- Theoretical analysis confirms that policy improvement and value function update correspond exactly to E-step and M-step in the EM algorithm, providing a unified optimization framework.
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.