Skip to main content
QUICK REVIEW

[Paper Review] Smoothed Action Value Functions for Learning Gaussian Policies

Ofir Nachum, Mohammad Norouzi|arXiv (Cornell University)|Mar 6, 2018
Reinforcement Learning in RoboticsComputer Science20 references10 citations
TL;DR

This paper introduces smoothed action value functions—Gaussian-smoothed Q-values that enable end-to-end training of Gaussian policies with learnable mean and covariance. By deriving policy gradients from the gradient and Hessian of the smoothed Q-value, the proposed Smoothie algorithm achieves superior performance on continuous control benchmarks, especially with a KL-divergence penalty for stability, outperforming DDPG and matching or surpassing TRPO with far fewer environment steps.

ABSTRACT

State-action value functions (i.e., Q-values) are ubiquitous in reinforcement learning (RL), giving rise to popular algorithms such as SARSA and Q-learning. We propose a new notion of action value defined by a Gaussian smoothed version of the expected Q-value. We show that such smoothed Q-values still satisfy a Bellman equation, making them learnable from experience sampled from an environment. Moreover, the gradients of expected reward with respect to the mean and covariance of a parameterized Gaussian policy can be recovered from the gradient and Hessian of the smoothed Q-value function. Based on these relationships, we develop new algorithms for training a Gaussian policy directly from a learned smoothed Q-value approximator. The approach is additionally amenable to proximal optimization by augmenting the objective with a penalty on KL-divergence from a previous policy. We find that the ability to learn both a mean and covariance during training leads to significantly improved results on standard continuous control benchmarks.

Motivation & Objective

  • To address the limitations of existing off-policy algorithms like DDPG, which restrict policies to deterministic or fixed-covariance Gaussian forms, leading to poor exploration and instability.
  • To develop a method that enables joint learning of both mean and covariance in a Gaussian policy using gradients derived from a Q-value function.
  • To incorporate proximal policy optimization techniques via KL-divergence penalties, enhancing training stability without compromising sample efficiency.
  • To demonstrate that learnable covariance significantly improves performance on challenging continuous control benchmarks, especially in sample-scarce settings.

Proposed method

  • Introduce a new Q-value function, the smoothed Q-value $\tilde{Q}^\pi(s,a)$, defined as the expected return when the initial action is sampled from a Gaussian centered at $a$ with fixed covariance $\Sigma(s)$.
  • Prove that the gradient of the expected return w.r.t. policy mean equals the gradient of $\tilde{Q}^\pi$ w.r.t. action, and the Hessian w.r.t. action equals the gradient w.r.t. policy covariance.
  • Develop the Smoothie algorithm, which uses a function approximator for $\tilde{Q}^\pi$ and backpropagates through its gradients and Hessian to update both mean and covariance of a Gaussian policy.
  • Augment the policy objective with a KL-divergence penalty from a previous policy, enabling proximal optimization and improved training stability.
  • Train the critic network using bootstrapped Bellman updates, leveraging the fact that smoothed Q-values satisfy a single-step Bellman consistency equation.
  • Use off-policy experience replay and stochastic gradient descent to optimize both the critic and actor networks in a DDPG-like framework, but with full covariance learning.

Experimental results

Research questions

  • RQ1Can a smoothed Q-value function be defined such that its gradient and Hessian with respect to action yield the policy gradient for both mean and covariance of a Gaussian policy?
  • RQ2Does learning both mean and covariance in a Gaussian policy lead to improved sample efficiency and performance on continuous control benchmarks?
  • RQ3Can proximal policy optimization techniques, such as KL-penalty regularization, be effectively integrated into an off-policy algorithm that learns a full Gaussian policy?
  • RQ4How does the performance of a method that learns both mean and covariance compare to DDPG and TRPO in terms of final return and sample efficiency?

Key findings

  • Smoothie achieves a 2x improvement in average return on the Hopper environment compared to DDPG, demonstrating significant performance gains from learnable covariance.
  • On Humanoid, Smoothie with KL-penalty achieves state-of-the-art results among methods trained on only millions of environment steps, outperforming even TRPO, which requires tens of millions of steps.
  • The addition of a KL-penalty to Smoothie leads to substantial performance improvements, especially on Hopper and Humanoid, indicating enhanced training stability.
  • Smoothie consistently outperforms DDPG across all benchmarks, with the largest gains observed in Hopper, Walker2d, Ant, and Humanoid, highlighting the benefits of exploratory, non-deterministic policies.
  • The method successfully avoids the high variance and sample inefficiency of standard policy gradient methods while maintaining the off-policy efficiency of DDPG.
  • Theoretical analysis confirms that smoothed Q-values satisfy a Bellman equation, enabling bootstrapped function approximation and stable training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.