Introduction
In Deep Reinforcement Learning (RL), "sample efficiency"—the ability of an agent to learn a task with as few environment interactions as possible—is the holy grail. This is especially true for real-world robotics, where every second of operation is costly and time-consuming.
Recent leaders in the field, such as REDQ and DroQ, have improved sample efficiency by significantly increasing the Update-to-Data (UTD) ratio. Instead of performing one gradient update per environment step (UTD=1), they perform 20 (UTD=20). While this allows them to learn from fewer samples, it makes training incredibly slow and computationally expensive. Furthermore, to prevent the agent from becoming overconfident (overestimation bias), these methods rely on complex tricks like large ensembles of 10+ neural networks or specialized dropout layers.
To address this, researchers introduce CrossQ, a lightweight RL algorithm that achieves state-of-the-art sample efficiency by doing something counter-intuitive: it removes the "target networks" traditionally used for stability and replaces them with a clever application of Batch Normalization (BN). By doing so, it matches the performance of complex, computationally heavy algorithms while being significantly faster and simpler to implement.
Methods: Rethinking Target Networks and Batch Normalization
CrossQ is built on top of the popular Soft Actor-Critic (SAC) algorithm but introduces critical design shifts to streamline the learning process.
- Removing Target Networks: Most RL algorithms use "target networks"—slow-moving copies of the main network—to provide stable targets for learning. CrossQ scraps them entirely, allowing the agent to learn directly from the most recent information.
- The Batch Normalization "Trick": Historically, BN has performed poorly in RL because of a distribution shift: the data used to calculate the "target" (next state) looks different from the "current" data. CrossQ solves this by concatenating the current state-action pairs and the next state-action pairs into a single batch for a joint forward pass. This ensures the BN statistics are calculated on a 50/50 mixture of both distributions, effectively neutralizing the shift.
- Wider Networks: To maximize the benefits of the first two changes, CrossQ uses wider critic layers (2048 units instead of the standard 256).
Crucially, CrossQ maintains a UTD ratio of 1, meaning it only performs one update per environment step, drastically reducing the computational burden.
Datasets and Evaluation
The authors evaluated CrossQ on standard continuous control benchmarks to ensure robustness:
- MuJoCo (Gymnasium): Included challenging tasks like Humanoid and HumanoidStandup, as well as Ant, Walker2d, HalfCheetah, and Hopper.
- DeepMind Control Suite: Used for additional verification on tasks like Reacher, Finger-spin, and Fish-swim.
Key Insights
- Target Networks are a Handbrake: The paper suggests that while target networks provide stability, they also act as a "delay" that slows down online learning. By finding a different way to stabilize the network using BN, this handbrake is removed.
- BN as a Regularizer: In RL, BN doesn't just speed up optimization. When used with the concatenation trick, it prevents the explosive growth of Q-values that typically occurs when target networks are removed.
- Simplicity is Scalable: Because CrossQ is computationally efficient, it opens the door for truly online learning on real robots, where the agent needs to update its policy in real-time as it moves.
Key Results
CrossQ demonstrates that high sample efficiency does not require high computational complexity.
- Sample Efficiency: CrossQ (UTD=1) matched or outperformed REDQ and DroQ (UTD=20) in sample efficiency across almost all tasks. On the difficult Humanoid tasks, it significantly surpassed them.
- Computational Speed: Because it performs 20x fewer gradient steps, CrossQ is roughly 4x faster in terms of wall-clock time compared to the previous state-of-the-art.
- Algorithmic Simplicity: The core trick of CrossQ requires only a few lines of code to implement on top of a standard SAC implementation. It eliminates the need for large ensembles or complex bias-reduction schemes.
Limitations and Future Work
While CrossQ is highly efficient, the authors note a few areas for further exploration. First, while the total computation is lower, the individual gradient steps are slightly more expensive due to the wider layers (2048 units). Second, the paper is primarily empirical; a deeper theoretical understanding of exactly why BN and bounded activations prevent divergence in the absence of target networks is still needed. Finally, the current study focuses on state-based inputs (joint angles, velocities). Testing CrossQ on high-dimensional visual inputs (pixels) or directly on physical robot hardware is the logical next step for the community.
Summary updated