Skip to main content
QUICK REVIEW

[Paper Review] Extreme Q-Learning: MaxEnt RL without Entropy

Divyansh Garg, Joey Hejna|arXiv (Cornell University)|Jan 5, 2023
Reinforcement Learning in RoboticsComputer Science5 citations
TL;DR

This paper introduces Extreme Q-Learning (XQL), a novel deep reinforcement learning framework that leverages Extreme Value Theory (EVT) and the Gumbel distribution to directly estimate the optimal soft-value function in Maximum Entropy RL without requiring explicit policy networks or entropy computation. By modeling the log-partition function (LogSumExp) via Gumbel regression, XQL enables stable, high-performing online and offline MaxEnt Q-learning, achieving state-of-the-art performance—especially a 10+ point gain on D4RL's Franka Kitchen tasks—while avoiding policy extrapolation errors.

ABSTRACT

Modern Deep Reinforcement Learning (RL) algorithms require estimates of the maximal Q-value, which are difficult to compute in continuous domains with an infinite number of possible actions. In this work, we introduce a new update rule for online and offline RL which directly models the maximal value using Extreme Value Theory (EVT), drawing inspiration from economics. By doing so, we avoid computing Q-values using out-of-distribution actions which is often a substantial source of error. Our key insight is to introduce an objective that directly estimates the optimal soft-value functions (LogSumExp) in the maximum entropy RL setting without needing to sample from a policy. Using EVT, we derive our \emph{Extreme Q-Learning} framework and consequently online and, for the first time, offline MaxEnt Q-learning algorithms, that do not explicitly require access to a policy or its entropy. Our method obtains consistently strong performance in the D4RL benchmark, outperforming prior works by \emph{10+ points} on the challenging Franka Kitchen tasks while offering moderate improvements over SAC and TD3 on online DM Control tasks. Visualizations and code can be found on our website at https://div99.github.io/XQL/.

Motivation & Objective

  • To address the challenge of estimating the optimal soft-value function (LogSumExp) in continuous action spaces, where standard MaxEnt RL methods rely on intractable entropy computation and policy sampling.
  • To eliminate the need for auxiliary policy networks and explicit entropy estimation in MaxEnt RL, which are sources of error and instability in both online and offline RL.
  • To develop a theoretically grounded, end-to-end differentiable framework for online and offline MaxEnt Q-learning that directly optimizes the true Bellman backup operator $\mathcal{B}^*$.
  • To bridge the gap between conservative Q-learning and soft Q-learning by showing their equivalence under the proposed EVT-based formulation.
  • To improve sample efficiency and robustness in offline RL by avoiding out-of-distribution action sampling, which plagues actor-critic methods.

Proposed method

  • The method models the distribution of Q-value estimation errors using the Gumbel distribution, inspired by McFadden’s discrete choice theory and Extreme Value Theory (EVT), which justifies the Gumbel as the limiting distribution of maxima.
  • It introduces Gumbel Regression as a consistent estimator for the log-partition function (LogSumExp), enabling differentiable estimation of the optimal soft-value function $V^*$ in continuous action spaces.
  • The framework derives a new Bellman loss objective that directly optimizes the true MaxEnt Bellman operator $\mathcal{B}^*$, bypassing the need for policy networks or soft-max over actions.
  • It formulates online and offline XQL algorithms using stochastic gradient descent (SGD) on the Gumbel loss, with no explicit policy network or entropy regularization.
  • Hyperparameters such as the temperature $\beta$, gradient clipping, and value update frequency are tuned per environment to stabilize training, especially in challenging offline settings.
  • The method is validated on D4RL benchmarks, including Mujoco, AntMaze, and Franka Kitchen, with ablation studies confirming the benefits of Gumbel-based estimation over standard approaches.

Experimental results

Research questions

  • RQ1Can Extreme Value Theory be used to derive a consistent, differentiable estimator for the log-partition function (LogSumExp) in continuous action spaces without sampling from a policy?
  • RQ2Does modeling Q-value errors as Gumbel-distributed lead to more stable and accurate estimation of the optimal soft-value function in MaxEnt RL?
  • RQ3Can XQL achieve state-of-the-art performance in offline RL without relying on policy networks or entropy regularization, thereby avoiding extrapolation errors?
  • RQ4How does the proposed Gumbel-based Bellman loss compare to standard soft-Q learning and conservative Q-learning in terms of sample efficiency and final return?
  • RQ5To what extent does the XQL framework unify soft Q-learning and conservative Q-learning under a common theoretical foundation?

Key findings

  • XQL achieves a 10+ point improvement over prior methods on the challenging D4RL Franka Kitchen tasks, significantly outperforming existing offline RL baselines.
  • On the D4RL offline Mujoco benchmarks, XQL-Tuned (hyperparameter-tuned version) consistently matches or exceeds the performance of SAC and TD3, with substantial gains on the most difficult environments.
  • The method demonstrates improved training stability in offline RL by avoiding out-of-distribution action sampling, which is a major source of error in actor-critic algorithms.
  • Even in online RL, XQL performs comparably to SAC and TD3, with moderate improvements, while eliminating the need for separate policy networks and entropy computation.
  • The ablation study confirms that Gumbel-based estimation of the log-partition function is more accurate than standard methods, especially when Q-value errors are non-Gaussian.
  • The framework successfully unifies soft Q-learning and conservative Q-learning, showing that MaxEnt RL naturally emerges as a form of conservatism under the proposed EVT-based formulation.

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.