Deep Policy Gradient Methods Without Batch Updates, Target Networks, or Replay Buffers

Gautham Vasan, Mohamed Elsayed, Seyed Alireza Azimi, Jiamin He, Fahim Shahriar, Colin Bellinger, Martha White, Rupam Mahmood

Abstract

Modern deep reinforcement learning (RL) algorithms typically rely on large-scale replay buffers, target networks, and computationally intensive batch updates to maintain stability. While effective in simulation, these requirements often prove prohibitive for real-world robotics and edge computing applications. This paper introduces Action Value Gradient (AVG), a novel incremental RL algorithm that eliminates these "crutches." By leveraging reparameterization gradients alongside a specialized suite of normalization and scaling techniques, AVG achieves performance comparable to state-of-the-art batch methods while operating as a pure streaming learner. We demonstrate AVG's efficacy across various benchmarks and its successful deployment on physical robotic platforms with limited onboard computation.

Introduction

State-of-the-art deep RL algorithms like Soft Actor-Critic (SAC) and Proximal Policy Optimization (PPO) have achieved remarkable success in complex control tasks. However, their reliance on experience replay and batch optimization creates significant barriers for real-time, on-device learning. For mobile robots or autonomous systems with limited memory and processing power, storing millions of transitions or pausing for heavy optimization steps is often impossible.

When standard algorithms are stripped of these features—for instance, by reducing the buffer size to a single sample—they typically suffer from catastrophic divergence. The Action Value Gradient (AVG) framework addresses this gap, providing a stable, incremental learning mechanism that updates the policy and critic immediately after every action, without the need for historical data storage or delayed target updates.

Methodology

The AVG Architecture

AVG is built upon three primary architectural pillars designed to ensure stability in a single-sample update regime:

  1. Reparameterization Gradient (RG) Estimator: Unlike traditional incremental methods that utilize Likelihood Ratio estimators (e.g., Incremental Actor-Critic), AVG employs the RG estimator. This choice significantly reduces gradient variance, which is a critical requirement when learning from individual transitions rather than averaged batches.
  2. Stability and Normalization Stack: To manage the noise inherent in streaming updates, AVG integrates three specific techniques:
  3. Observation Normalization: Utilizing Welford’s algorithm to maintain running statistics of input data, ensuring the network receives consistently scaled features.
  4. Penultimate Normalization (pnorm): The activations of the final hidden layer are normalized to a unit vector. This prevents "dead neurons" and preserves the network's plasticity over long training durations.
  5. TD Error Scaling: The temporal difference (TD) error is automatically scaled based on the variance of rewards and returns, preventing gradient explosions regardless of the specific reward scale of the task.
  6. Direct Critic Updates: While batch RL uses target networks to provide a stable learning target, the authors found that these networks introduce a detrimental lag in the incremental setting. AVG updates its critic directly and immediately, relying on the normalization stack rather than delayed updates for stability.

Experimental Evaluation

The researchers benchmarked AVG against a diverse set of environments to test its robustness and efficiency:

  • Continuous Control: Standard MuJoCo tasks (Ant-v4, Hopper-v4, Humanoid-v4) and DeepMind Control Suite benchmarks (Finger Spin, Dog Stand/Trot/Walk).
  • Visual RL: A Visual Reacher task requiring the agent to learn control policies directly from pixel input.
  • Real-World Deployment: AVG was deployed on a UR5 robotic arm and an iRobot Create 2 mobile platform. Computation was performed onboard using a Jetson Nano (4GB), a representative edge computing device.

Key Insights and Results

Efficiency and Real-Time Performance

AVG demonstrates significant computational advantages. On the Jetson Nano, an AVG update cycle took approximately 37ms, nearly twice as fast as an incremental version of SAC (67ms). This efficiency allows robots to learn at higher control frequencies, which is essential for high-speed or high-precision tasks.

Stability Without Batching

Experimental results show that AVG (with a buffer size of 1) can match the final performance of SAC and TD3 (with buffer sizes of 1,000,000) on several MuJoCo tasks. Crucially, while other incremental variants of SAC or TD3 diverged on complex tasks like Humanoid, AVG remained stable and continued to improve throughout training. This suggests that the combination of RG estimators and the proposed normalization stack effectively replaces the stability benefits of batching.

Target Networks in Streaming RL

A key finding of this research is that target networks—a staple of modern deep RL—are actually counterproductive in a streaming context. In the absence of batching, the delay introduced by target networks hinders the agent's ability to adapt to new information, whereas AVG’s direct updates allow for faster convergence without sacrificing stability.

Limitations and Future Directions

Despite its successes, AVG has certain limitations. It currently requires more total environment steps to reach peak performance compared to traditional batch methods, representing a trade-off between computational efficiency and sample efficiency. Additionally, the algorithm is currently limited to continuous action spaces and can be sensitive to hyperparameters like learning rates and entropy coefficients.

Future work may involve integrating eligibility traces to improve credit assignment and sample efficiency. Furthermore, extending the AVG framework to discrete action spaces would broaden its applicability to a wider range of RL problems.

Conclusion

Action Value Gradient (AVG) represents a significant step toward making deep RL viable for real-time, resource-constrained robotics. By proving that stable learning is possible without replay buffers or target networks, AVG opens new possibilities for truly autonomous agents that can learn and adapt in the real world, one step at a time.

Summary updated

BibTeX
@inproceedings{vasan2024deep,
  author = {Gautham Vasan and Mohamed Elsayed and Seyed Alireza Azimi and Jiamin He and Fahim Shahriar and Colin Bellinger and Martha White and Rupam Mahmood},
  title = {{Deep Policy Gradient Methods Without Batch Updates, Target Networks, or Replay Buffers}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=DX5GUwMFFb},
}
Figure