[Paper Review] Q-Learning for Continuous Actions with Cross-Entropy Guided Policies
This paper proposes Cross-Entropy Guided Policies (CGP), a stable and efficient method for continuous-action Q-learning that combines iterative Cross-Entropy Method (CEM) sampling with a neural policy network trained to imitate CEM’s action selection. CGP achieves state-of-the-art performance with lower training variance, better hyperparameter robustness, and 3–6× faster inference than CEM, while maintaining low computational cost at inference time.
Off-Policy reinforcement learning (RL) is an important class of methods for many problem domains, such as robotics, where the cost of collecting data is high and on-policy methods are consequently intractable. Standard methods for applying Q-learning to continuous-valued action domains involve iteratively sampling the Q-function to find a good action (e.g. via hill-climbing), or by learning a policy network at the same time as the Q-function (e.g. DDPG). Both approaches make tradeoffs between stability, speed, and accuracy. We propose a novel approach, called Cross-Entropy Guided Policies, or CGP, that draws inspiration from both classes of techniques. CGP aims to combine the stability and performance of iterative sampling policies with the low computational cost of a policy network. Our approach trains the Q-function using iterative sampling with the Cross-Entropy Method (CEM), while training a policy network to imitate CEM's sampling behavior. We demonstrate that our method is more stable to train than state of the art policy network methods, while preserving equivalent inference time compute costs, and achieving competitive total reward on standard benchmarks.
Motivation & Objective
- To address the instability and hyperparameter sensitivity of off-policy deep reinforcement learning in continuous control tasks.
- To reduce inference-time computational cost in Q-learning while preserving performance, especially for real-time robotics applications.
- To explore whether CEM-based action sampling can serve as a robust supervision signal for training neural policy networks.
- To develop a method that maintains the stability of iterative sampling while achieving the inference efficiency of a policy network.
- To evaluate the effectiveness of online vs. offline policy training in the context of CEM-guided policy learning.
Proposed method
- CGP trains a Q-function using iterative CEM sampling to select actions, leveraging the method’s robustness to noise and local optima.
- A deterministic neural network policy is trained in parallel to imitate the action selections produced by CEM during Q-function training.
- The policy network is trained via supervised learning on demonstrations generated by CEM, using a loss function that minimizes action prediction error.
- The method supports both online and offline policy training: online updates occur in sync with Q-function updates, while offline training occurs after Q-function convergence.
- Inference uses only the trained policy network, avoiding iterative sampling and achieving constant, low-latency inference time.
- The approach is compatible with standard deep Q-learning frameworks and can be combined with existing algorithms like DDPG, TD3, or SAC.
Experimental results
Research questions
- RQ1Can CEM-based action sampling serve as a stable and effective supervision signal for training a neural policy network in continuous-action Q-learning?
- RQ2Does combining CEM sampling with a learned policy improve training stability and hyperparameter robustness compared to end-to-end policy gradient methods?
- RQ3How does the inference-time efficiency of the learned policy compare to using CEM directly during inference?
- RQ4Does online policy training provide advantages over offline policy training in the context of CGP?
- RQ5Can CGP achieve performance competitive with state-of-the-art methods like SAC or TD3 while maintaining lower variance across random seeds and hyperparameter settings?
Key findings
- CGP achieves performance comparable to state-of-the-art methods like SAC and TD3 on standard continuous-control benchmarks, including HalfCheetah-v2 and Walker2d-v2.
- CGP demonstrates significantly lower training variance across random seeds and hyperparameter combinations than DDPG and TD3, indicating improved stability.
- The inference time of CGP is 3–6× faster than CEM-based inference, with a constant runtime of ~2.35 seconds per episode on HalfCheetah-v2, independent of CEM iteration count.
- CGP outperforms the underlying CEM policy in both total return and inference speed, showing that imitation learning enhances both performance and efficiency.
- Online policy training in CGP yields slightly better performance than offline training, suggesting that learning from a non-stationary Q-function provides implicit regularization.
- The CEM policy is a more effective supervision signal than direct Q-function optimization, as the latter shows higher instability and hyperparameter sensitivity in the QGP baseline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.