Exact Formulas for Finite-Time Estimation Errors of Decentralized Temporal Difference Learning with Linear Function Approximation

Xingang Guo, Bin HuarXiv 2022

Introduction

In the field of Multi-Agent Reinforcement Learning (MARL), agents must often cooperate to evaluate a global policy by sharing information across a network. Temporal Difference (TD) learning, specifically when combined with linear function approximation, is a foundational algorithm for this task. However, providing a precise characterization of its performance has historically been a significant challenge.

While previous research has established asymptotic convergence (behavior as time approaches infinity) or provided conservative "upper bounds" for finite-time errors, these approaches often fail to capture the exact trajectory of the learning process. This paper addresses this gap by providing the first exact, closed-form formulas for the finite-time mean-squared estimation errors of decentralized TD learning.

Problem Statement

Decentralized policy evaluation requires a group of agents to estimate the value function of a fixed policy while only observing local rewards and transitioning through a shared environment. The difficulty lies in the coupling of two processes: the stochastic nature of the environment (modeled as a Markov chain) and the consensus-based communication between agents over a network.

Existing literature typically relies on inequalities to bound the error. While useful for proving stability, these bounds are often too loose to guide the fine-tuning of hyperparameters like the learning rate ($\alpha$) or to understand the specific impact of network topology on the error evolution at each discrete time step.

Methodology: The MJLS Framework

The authors introduce a novel perspective by reframing the decentralized TD update rule as a Markov Jump Linear System (MJLS). This approach allows the researchers to leverage established tools from control engineering to analyze reinforcement learning.

1. Algorithm Structure

The study focuses on Decentralized TD(0). In this setting, agents maintain local weight vectors and update them using a combination of local TD errors and a weighted average of their neighbors' parameters.

2. Mapping to MJLS

The core innovation is showing that the evolution of the estimation error can be represented as a linear system where the system matrices "jump" between different values based on the state transitions of the underlying Markov chain. By doing so, the stochasticity of the environment is embedded directly into the system's dynamics.

3. Transformation to LTI Systems

Using MJLS theory, the authors transform the stochastic error evolution into a deterministic Linear Time-Invariant (LTI) system. This deterministic system tracks the evolution of the mean and covariance of the error across the entire network, providing a path to exact calculation rather than approximation.

4. Perturbation Analysis

To understand the influence of the learning rate, the authors apply eigenvalue perturbation theory. This allows them to analyze how the system's stability and steady-state error behave as the learning rate $\alpha$ approaches zero, revealing the fundamental trade-offs inherent in the algorithm.

Key Theoretical Results

Theorem 1: The Exact Formula

The primary contribution of the paper is a closed-form expression for the mean-squared error (MSE) $\delta^k$ at any time step $k$. This formula is an equality, not an inequality, and is a function of:

  • The initial error state.
  • The network weight matrix ($W$).
  • The feature vectors used in the linear approximation.
  • The transition probabilities of the Markov Decision Process (MDP).

Stability and Convergence

The authors identify a necessary and sufficient stability condition: the system is stable if and only if a specific matrix ($H_{22}$), derived from the network and TD updates, is Schur stable (i.e., all its eigenvalues lie within the unit circle). Under these conditions, the MSE is proven to converge to an exact limit at an exponential rate.

The Learning Rate Trade-off

The derived formulas quantify a classic trade-off in RL. A smaller learning rate $\alpha$ reduces the final steady-state error, which is shown to be $O(\alpha)$. However, this reduction comes at the cost of convergence speed, as a smaller $\alpha$ pushes the system's dominant eigenvalue closer to 1, slowing the transition to the steady state.

Discussion and Future Work

By providing exact formulas, this work allows for a much finer-grained understanding of decentralized TD learning than was previously possible. It bypasses the need for complex "consensus error vs. optimality error" decompositions that characterized earlier proofs.

However, several avenues for future research remain:

  • Non-linear Approximation: The current analysis relies on the linear structure of the update rules. Extending this to non-linear approximators like deep neural networks would require new mathematical frameworks, as the MJLS structure would no longer hold.
  • Policy Improvement: The study is limited to policy evaluation. Applying these exact methods to the control problem (finding the optimal policy) is a logical next step.
  • Network Interpretability: While the formulas include the network matrix $W$, further work is needed to explicitly link the "spectral gap" of the network to the error formulas in a way that provides intuitive guidance for network design.

In conclusion, this research provides a rigorous mathematical toolkit that moves the analysis of decentralized RL from conservative approximations to exact characterizations, offering a new standard for theoretical clarity in the field.

Summary updated

BibTeX
@misc{guo2022exact,
  author = {Xingang Guo and Bin Hu},
  title = {{Exact Formulas for Finite-Time Estimation Errors of Decentralized Temporal Difference Learning with Linear Function Approximation}},
  year = {2022},
  eprint = {2204.09801},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.09801},
}
Figure