XQC: Well-conditioned Optimization Accelerates Deep Reinforcement Learning

Daniel Palenicek, Florian Vogt, Joe Watson, Ingmar Posner, Jan Peters

Introduction

Deep reinforcement learning (RL) often relies on massive, complex models to improve sample efficiency. However, this "bigger is better" paradigm is computationally expensive and frequently relies on empirical guesswork rather than theoretical grounding. In XQC: Well-conditioned Optimization Accelerates Deep Reinforcement Learning, the authors demonstrate that simply improving the optimization landscape is a far more effective strategy.

By combining Batch Normalization, Weight Normalization, and a Cross-Entropy loss, they introduce XQC, an algorithm that achieves state-of-the-art sample efficiency on 70 continuous control tasks while using significantly fewer parameters and less compute than leading alternatives.

The Problem: Sample Efficiency and Optimization

Sample efficiency—learning a good policy from as few environment interactions as possible—is a massive hurdle in deep RL, especially for real-world applications like robotics. Recently, the field has tackled this by throwing more compute at the problem: larger networks, higher update-to-data ratios, and complex architectural tweaks.

The authors ask a fundamental question: instead of adding complexity, can we just make the underlying math easier to solve? Specifically, they investigate the optimization landscape of the "critic" network (which evaluates how good an action is) to understand why some architectures learn efficiently while others struggle with instability and loss of plasticity.

Convergence speed across different condition numbers

They take a principled, second-order optimization approach by analyzing the Hessian matrix (which describes the curvature of the loss landscape) of the critic network to measure its "condition number" ($\kappa$). A high condition number means the landscape is steep in some directions and flat in others, causing gradient descent to struggle and converge slowly. A lower condition number yields a smoother landscape, directly translating to faster, more stable RL.

Methods: Building XQC

Based on this analysis, the authors build XQC, an extension of the Soft Actor-Critic (SAC) algorithm. XQC relies on three synergistic components designed to perfectly condition the network:

  1. Batch Normalization (BN): Applied to the inputs and after each linear layer to keep the eigenspectrum of the loss landscape compact and stable.
  2. Weight Normalization (WN): Projects weights to a unit sphere, which stabilizes the effective learning rate (ELR).
  3. Categorical Cross-Entropy (CE) Loss: Instead of predicting a single scalar value with Mean Squared Error (MSE), the critic predicts a distribution of returns using a C51-style CE loss.

Why Cross-Entropy?

The standard MSE loss has unbounded gradients. In RL, where targets are non-stationary, this leads to wild spikes in the effective learning rate and a loss of network plasticity. Using a distributional critic with a CE loss naturally bounds the gradient norms. The authors mathematically prove that CE loss yields a much better-conditioned optimization landscape than MSE, keeping the effective learning rate remarkably stable throughout training. While BN, WN, and CE loss each independently improve the loss landscape, together they create a synergistic effect that eliminates the need for massive parameter counts or complex regularizers.

Key Results

The authors evaluate XQC across a massive suite of 70 continuous control tasks to prove its generality. This includes 55 proprioceptive tasks (learning from joint angles/positions) spanning DeepMind Control Suite (DMC), HumanoidBench, MyoSuite, and MuJoCo, as well as 15 vision-based tasks (learning directly from pixels).

XQC performance summary: condition number, parameter count, and sample efficiency
  • State-of-the-art performance: XQC matches or outperforms heavy-hitting baselines (SIMBA-V2, BRO, MRQ, BRC) across all 55 proprioceptive tasks, particularly excelling on the hardest HumanoidBench and DMC-hard environments.
  • Massive efficiency gains: XQC achieves this using ~4.5x fewer parameters and ~5x fewer FLOP/S than its closest competitor, SIMBA-V2. Compared to BRC, it uses >100x fewer FLOP/S.
  • Faster wall-clock time: Because the network is smaller and well-conditioned, XQC trains with 60% higher frames-per-second (FPS) on a standard RTX 4090 GPU.
  • Vision-based success: On the 15 pixel-based DMC tasks, XQC significantly improves sample efficiency over the strong DRQ-V2 baseline, especially on complex, long-running humanoid tasks.

Limitations and Future Work

To theoretically prove the bounds on the condition number for the CE loss, the authors had to assume the use of weight decay to ensure the Hessian was positive definite. In practice, XQC doesn't actually need weight decay to perform well, meaning the real-world Hessian isn't always positive definite, slightly diverging from the strict theoretical bounds.

Ultimately, this paper suggests that the RL community should pivot away from brute-force scaling laws. Focusing on optimization fundamentals—creating a better-conditioned problem—can yield greater performance and efficiency than simply scaling up models.

Summary updated

BibTeX
@inproceedings{palenicek2026xqc,
  author = {Daniel Palenicek and Florian Vogt and Joe Watson and Ingmar Posner and Jan Peters},
  title = {{XQC: Well-conditioned Optimization Accelerates Deep Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=tx1ZvypKqS},
}
Figure