Asynchronous Policy Evaluation in Distributed Reinforcement Learning over Networks.

Xingyu Sha, Jiaqi Zhang, Kaiqing Zhang, Keyou You, Tamer BaşararXiv 2020

Introduction

Distributed Reinforcement Learning (DisRL) is essential for scaling multi-agent systems and parallel learning tasks. However, traditional synchronous algorithms are often bottlenecked by the slowest node, known as the "straggler" problem. While asynchronous methods exist, they frequently rely on undirected gossip protocols that can lead to deadlocks or fail to converge exactly due to gradient variance.

This paper introduces APP-SAG (Asynchronous Push-Pull Stochastic Average Gradient), a fully asynchronous algorithm designed for policy evaluation over directed networks. By combining a push-pull communication strategy with variance reduction techniques, APP-SAG achieves exact linear convergence and remains robust to network delays and stragglers.

The APP-SAG Algorithm

The authors formulate policy evaluation as a Mean Square Projected Bellman Error (MSPBE) saddle-point problem. APP-SAG solves this through two primary mechanisms:

  • Push-Pull Communication: Nodes maintain local buffers for incoming messages. When a node updates, it "pulls" the average of its buffer, computes a new state, and "pushes" it to out-neighbors. This decoupled approach allows nodes to operate independently without a global clock, naturally handling directed networks.
  • Distributed Stochastic Average Gradient (SAG): To overcome the noise inherent in standard stochastic gradients, nodes track a scaled average of past gradients. This variance reduction allows for a constant step size while still converging to the exact optimal solution, bypassing the usual noise-induced convergence floor.

Theoretical Framework: Augmented Graphs

Proving convergence in a system with chaotic, multi-timescale asynchronous updates is a significant challenge. The authors address this by introducing a novel mathematical framework called Push-Pull Augmented Graphs.

Push-Pull Augmented Graphs: This framework uses virtual nodes to map asynchronous, directed updates into a single-timescale system for rigorous convergence analysis.

As shown in the figure above, this tool utilizes "virtual nodes" to represent the state of information at different delays. By mapping the asynchronous process onto these augmented structures, the authors mathematically prove that APP-SAG converges at a linear rate of $\mathcal{O}(c^k)$, where $c \in (0,1)$.

Experimental Evaluation

The algorithm was tested on two distinct scenarios to evaluate robustness and scalability:

  • Networked Multi-Agent RL (MARL): In a user-access problem with 9 agents, APP-SAG demonstrated superior robustness. When one node was artificially slowed, APP-SAG maintained its convergence trajectory, whereas synchronous competitors (like PD-DistIAG) suffered massive performance drops.
  • Parallel RL (Mountain Car): Using a dataset of 24,000 transitions distributed across up to 16 nodes, the authors observed a linear speedup property—doubling the number of computing nodes roughly halved the time required to reach a target error level.

Conclusion and Future Work

APP-SAG represents a significant step forward in truly asynchronous distributed learning. By treating communication as inherently directed and utilizing SAG for exact convergence, it bypasses the limitations of traditional gossip-based or synchronous methods.

While the current implementation requires nodes to store recent gradients for their local datasets—which may be memory-intensive for very large scales—the underlying framework of push-pull augmented graphs provides a robust foundation. Future work will look to extend this framework to solve more general primal-dual optimization problems beyond reinforcement learning.

Summary updated

BibTeX
@misc{sha2020asynchronous,
  author = {Xingyu Sha and Jiaqi Zhang and Kaiqing Zhang and Keyou You and Tamer Başar},
  title = {{Asynchronous Policy Evaluation in Distributed Reinforcement Learning over Networks.}},
  year = {2020},
  eprint = {2003.00433},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.00433},
}
Figure