Learning in complex action spaces without policy gradients

Arash Tavakoli, Sina Ghiassian, Nemanja Rakicevic

Abstract: While conventional wisdom holds that policy gradient methods are better suited to complex action spaces than action-value methods, foundational work has shown that the two paradigms are equivalent in small, finite action spaces (O'Donoghue et al., 2017; Schulman et al., 2017a). This raises the question of why their computational applicability and performance diverge as the complexity of the action space increases. We hypothesize that the apparent superiority of policy gradients in such settings stems not from intrinsic qualities of the paradigm but from universal principles that can also be applied to action-value methods, enabling similar functions. We identify three such principles and provide a framework for incorporating them into action-value methods. To support our hypothesis, we instantiate this framework in what we term QMLE, for Q-learning with maximum likelihood estimation. Our results show that QMLE can be applied to complex action spaces at a computational cost comparable to that of policy gradient methods, all without using policy gradients. Furthermore, QMLE exhibits strong performance on the DeepMind Control Suite, even when compared to state-of-the-art methods such as DMPO and D4PG.

Introduction

In Reinforcement Learning (RL), a long-standing divide exists between action-value methods (like Q-learning) and policy gradient methods (like PPO or DDPG). Traditionally, Q-learning has been the tool of choice for small, discrete action spaces, such as Atari games. However, for "complex" spaces—including continuous robotic control or high-dimensional discrete actions—policy gradients have become the standard.

The primary bottleneck for Q-learning in these environments is the max operation. In an infinite or massive discrete action space, iterating through every possible action to find the optimal one is computationally impossible. Policy gradients sidestep this by explicitly parameterizing a policy. This paper challenges the necessity of that paradigm, suggesting that the success of policy gradients is due to specific architectural principles that can be successfully integrated into action-value methods.

The QMLE Framework

The authors identify three core principles that allow policy gradients to scale and incorporate them into a new framework called QMLE (Q-learning with Maximum Likelihood Estimation):

  1. Approximate Maximization: Instead of an exact max, QMLE utilizes Monte Carlo (MC) sampling. The algorithm probes the Q-function with a set of candidate actions and selects the best performer.
  2. Amortized Maximization via MLE: To avoid searching the entire action space at every step, QMLE trains an ensemble of parametric "argmax predictors." These models learn to predict the value-maximizing action for a given state by performing Maximum Likelihood Estimation (MLE) on the best actions discovered in previous steps. This effectively acts as a "memory" or "cache" for high-value actions.
  3. Action-In Architectures: Unlike "action-out" networks that output a value for every possible action, QMLE uses an "action-in" architecture where both the state and a specific action are inputs. This allows the model to learn representations that generalize across similar actions, which is essential for scaling to high-dimensional spaces.

Key Insights: Policy Gradients as Amortized Maximization

A central contribution of this work is the reframing of policy gradients. The authors demonstrate that the policy gradient update is essentially a form of weighted MLE, where the log-likelihood gradient is weighted by the Q-value. This suggests that the "policy" in actor-critic methods is not a fundamental requirement but rather a mechanism for amortized maximization.

Conceptual overview of policy improvement as tracking the modes of the Q-function. Panels (a-b) show discrete actions, while (c-d) show continuous actions where the policy evolves to maximize the underlying value function Q.

As shown in the figure above, whether in discrete (a-b) or continuous (c-d) spaces, the policy $\pi$ can be viewed as a distribution that iteratively shifts its mass toward the modes of the Q-function. By using "global sampling" (uniform samples across the whole space) in addition to "local sampling," QMLE can transcend local optima that often trap gradient-based methods in non-convex reward landscapes.

Experimental Results

The authors evaluated QMLE across several challenging benchmarks:

  • DeepMind Control Suite: QMLE matched or outperformed its closest policy gradient counterpart, DDPG, on 14 out of 16 continuous control tasks. Despite lacking common enhancements like N-step returns, it remained competitive with state-of-the-art methods like DMPO.
  • Extreme Scalability: To test discrete scalability, the authors applied a 3-bin discretization to the "Dog Walk" task, resulting in a space with $3^{38}$ (approx. 1.35 quintillion) discrete actions. QMLE successfully learned in this environment, whereas traditional DQN would fail due to memory constraints.
  • Bimodal Bandits: In toy problems with non-convex rewards, QMLE demonstrated a superior ability to find global optima compared to standard gradient-based methods.

Conclusion and Future Work

QMLE serves as a proof-of-concept that action-value methods can be just as effective as policy gradients in complex spaces. While it currently trails highly optimized methods in very high-dimensional continuous spaces (like Humanoid tasks), the authors suggest that integrating modern RL "bells and whistles"—such as distributional learning or cross-entropy classification losses—could significantly bridge this gap. Furthermore, the framework shows promise for multi-agent RL by allowing for better coordination through a disentangled joint Q-function.

Summary updated

BibTeX
@article{tavakoli2025learning,
  author = {Arash Tavakoli and Sina Ghiassian and Nemanja Rakicevic},
  title = {{Learning in complex action spaces without policy gradients}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=nOL9M6D4oM},
}
Figure