Abstract
We present an algorithm for learning an approximate action-value soft Q-function in the relative entropy regularised reinforcement learning setting, for which an optimal improved policy can be recovered in closed form. We use recent advances in normalising flows for parametrising the policy together with a learned value-function; and show how this combination can be used to implicitly represent Q-values of an arbitrary policy in continuous action space. Using simple temporal difference learning on the Q-values then leads to a unified objective for policy and value learning. We show how this approach considerably simplifies standard Actor-Critic off-policy algorithms, removing the need for a policy optimisation step. We perform experiments on a range of established reinforcement learning benchmarks, demonstrating that our approach allows for complex, multimodal policy distributions in continuous action spaces, while keeping the process of sampling from the policy both fast and exact.
Introduction
In the landscape of continuous control reinforcement learning (RL), off-policy actor-critic methods have become the standard. These algorithms typically operate through an iterative two-step process: first, fitting a critic (a neural network) to estimate the Q-values of the current policy; and second, optimizing an actor (the policy) to maximize these estimated values.
However, this traditional separation introduces a fundamental redundancy. The optimization of a policy against a learned Q-function does not generate new information; it merely translates existing action preferences into a normalized probability distribution. This translation step is often a source of approximation error, particularly when the policy is constrained to simple distributions like Gaussians. The Quinoa algorithm addresses this by deriving a closed-form relationship between the Q-function and the policy, effectively collapsing the actor and critic into a single, unified learning objective.
Methodology: Bypassing Policy Optimization
The core innovation of Quinoa lies in the relative entropy regularized RL framework. In this setting, the agent seeks to maximize cumulative reward while maintaining high policy entropy, controlled by a temperature parameter $\alpha$.
The Unified Objective
By deriving the mathematical relationship between the soft Q-function, the soft value function, and the policy, the authors demonstrate that the policy can be implicitly defined by the Q-function. To make this practical in continuous action spaces without restricting the Q-function's shape (as seen in previous methods like Normalized Advantage Functions), Quinoa employs Normalizing Flows.
Specifically, the algorithm uses a Real NVP architecture to parameterize the policy. Normalizing flows are universal density approximators that allow for exact sampling and density evaluation. By combining this expressive policy representation with a neural network value function, the entire system can be trained end-to-end using a simple squared temporal difference (TD) error. This eliminates the need for a separate policy gradient or optimization step, as minimizing the TD error on the Q-function implicitly updates the policy to its optimal form.
Temperature Tuning
To manage the exploration-exploitation trade-off, Quinoa utilizes Lagrange multipliers to automatically tune the temperature parameter $\alpha$. This ensures that the agent maintains a target entropy throughout training, adapting to the complexity of the task at hand.
Experimental Evaluation
The authors evaluated Quinoa on several benchmark tasks from the DeepMind Control Suite, including Cheetah, Walker, and Hopper. The primary baseline for comparison was SVG(0) (Stochastic Value Gradients), a high-performing off-policy actor-critic method.
Quantitative Performance
Quinoa demonstrated performance comparable to SVG(0) on the Walker and Cheetah tasks. As shown in the reward curves below, Quinoa matches the sample efficiency and final performance of the baseline in these environments.
On the Cheetah task, Quinoa similarly tracks the baseline performance, confirming that the unified objective is capable of learning effective control policies in complex continuous spaces.
While Quinoa performed well on these tasks, it slightly lagged behind SVG(0) on the Hopper environment. This suggests that the unified optimization landscape, while theoretically elegant, may present challenges in specific dynamics or reward structures.
Qualitative Insights: Multimodality
One of the most significant advantages of Quinoa is its ability to represent non-Gaussian policies. Standard RL agents are often restricted to unimodal Gaussian distributions, which can fail to capture scenarios where multiple distinct actions are equally viable. Visualizations of the learned policy for the Walker task revealed distinct multimodal behavior, with the distribution featuring modes in multiple corners of the action domain. This capability allows Quinoa to explore more effectively and represent complex action preferences that simpler models would smooth over.
Conclusion
Quinoa presents a compelling alternative to traditional actor-critic architectures by leveraging Normalizing Flows to enable closed-form policy recovery. By unifying policy and value learning into a single TD-error objective, it simplifies the RL pipeline and unlocks the potential for highly expressive, multimodal policies in continuous control. Future research will focus on scaling this approach to more complex, high-dimensional tasks and investigating methods to further stabilize the unified optimization process.
Summary updated