A Primal-dual Perspective for Distributed TD-learning

Han-Dong Lim, Donghwan Lee

Introduction

In multi-agent reinforcement learning, agents must often cooperatively estimate a value function—a prediction of future rewards—while restricted to their local observations. This process, known as distributed policy evaluation, is a cornerstone of decentralized decision-making. However, traditional algorithms for this task face a significant practical hurdle: they typically require "doubly stochastic" communication matrices to ensure consensus among agents.

Maintaining such matrices is difficult in real-world scenarios, such as wireless ad-hoc networks or broadcast-based systems, where node degrees are unknown or fluctuate due to message loss. This paper introduces a new distributed Temporal Difference (TD) learning algorithm that bypasses these strict weighting constraints by framing the problem through the lens of primal-dual optimization and control theory.

Methodology: From ODEs to Discrete Algorithms

The authors approach distributed TD-learning as a constrained optimization problem, utilizing a three-step methodology:

  1. Primal-Dual ODE Analysis: The framework begins in the continuous-time domain, analyzing the stability of primal-dual ordinary differential equation (ODE) dynamics. Using a specialized Lyapunov function, the authors prove that these dynamics converge exponentially, even when the underlying system matrix is rank-deficient.
  2. Algorithm Development: These insights are translated into a discrete-time stochastic algorithm. Unlike standard methods relying on weighted averages, this update rule incorporates the graph Laplacian ($L$) directly.
  3. The Tuning Parameter ($\eta$): A critical component of the algorithm is the parameter $\eta$, which acts as a control knob to manage update variance across the network. This allows the system to remain stable even in highly connected topologies, such as star graphs, where standard updates might otherwise diverge.
The impact of the tuning parameter η on Mean Squared Error (MSE) convergence.

Theoretical Contributions and Convergence

The core of the paper is a rigorous finite-time analysis of the algorithm's mean-squared error (MSE). The authors evaluate two primary data scenarios:

  • i.i.d. Observations: Where data samples are independent.
  • Markovian Observations: A more complex case where temporal correlations exist between states, reflecting realistic reinforcement learning environments.

The analysis demonstrates a convergence rate of $O(1/k)$ for diminishing step-sizes, matching the state-of-the-art for centralized TD-learning. Crucially, the convergence rate is explicitly linked to the spectral gap of the network (the smallest non-zero eigenvalue of the Laplacian), providing a mathematical bridge between network connectivity and learning speed.

Experimental Results and Scalability

The algorithm was tested on synthetic Multi-Agent Markov Decision Process (MAMDP) environments using various topologies, including cycle, star, and random graphs.

Comparison of MSE convergence for different agent counts (N=8 and N=32), demonstrating the algorithm's scalability.

Key findings from the experiments include:

  • Topology Independence: The algorithm maintained consistent performance across different graph structures without requiring the re-calculation of doubly stochastic weights.
  • Scalability: The derived error bounds do not scale explicitly with the number of agents ($N$). As shown in the experimental results, the convergence behavior for $N=32$ remains highly competitive with $N=8$, suggesting the method is well-suited for large-scale deployments.
  • Robustness: While an optimal $\eta$ exists (related to the largest eigenvalue of the Laplacian), the algorithm remains functional across a broad range of values.

Conclusion and Future Directions

By leveraging a primal-dual perspective, this work provides a robust, "plug-and-play" framework for distributed TD-learning that is significantly more viable for decentralized networks than previous approaches. While currently focused on linear function approximation, the authors suggest that extending this framework to non-linear approximations (such as deep neural networks) and time-varying topologies represents a promising frontier for future research.

Summary updated

BibTeX
@inproceedings{lim2025primal,
  author = {Han-Dong Lim and Donghwan Lee},
  title = {{A Primal-dual Perspective for Distributed TD-learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/634},
}
Figure