NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Distributed Q-Learning with State Tracking for Multi-agent Networked Control

Hang Wang, Sen Lin, Hamid Jafarkhani, Junshan Zhang

Here is a summary of the paper:

TL;DR

This paper introduces a fully distributed Q-learning algorithm for multi-agent systems where agents do not know the underlying system dynamics and cannot see the full network state. By using a novel "state tracking" mechanism to share and estimate global information with immediate neighbors, agents can learn optimal control policies entirely locally. The proposed method mathematically and empirically matches the performance of centralized systems without requiring a central coordinator.

What Problem Does This Paper Address?

In multi-agent systems (MAS)—like drone swarms, robotic warehouses, or smart microgrids—agents must coordinate their actions to minimize a global cost. In control theory, this is often framed as the Linear Quadratic Regulator (LQR) problem.

Traditionally, solving the LQR problem requires knowing the exact physical dynamics of the system. Data-driven Reinforcement Learning (specifically, Q-learning) can bypass this by learning the dynamics through trial and error. However, existing multi-agent Q-learning approaches usually assume a "central brain" exists, or that every agent has full visibility of the entire global state. In massive, real-world networks, this is a privacy risk and a severe communication bottleneck.

The authors tackle a highly constrained scenario: How can agents learn the optimal global control policy when they only know their own state, can only communicate with immediate neighbors, and the physical connections (how agents physically affect one another) are completely different from the communication connections (who they can talk to)?

Methods

To solve this, the authors propose Distributed Q-learning with State Tracking (ST-Q). It consists of two main interacting components running locally on every agent:

  1. State Tracking (ST): Instead of relying on a central server to broadcast the global state, each agent maintains its own internal estimate of the entire network's state. At each time step, agents swap these estimates with their communication neighbors. They update their internal models using a weighted average (a consensus mechanism), allowing information from distant agents to continuously diffuse across the network.
  2. ST-based Policy Iteration (Q-Learning): Using their estimated global state, agents run a local policy iteration loop to learn the optimal controller.
  3. Policy Evaluation: Agents use Stochastic Gradient Descent (SGD) to estimate the parameters of their Q-function. To learn effectively, agents must explore by injecting "excitation noise" into their actions.
  4. Policy Improvement: Agents update their local controller matrix based on the newly estimated Q-function.

Datasets

Not discussed in the paper. Because this is a theoretical control and reinforcement learning paper, the authors evaluate their approach using a simulated 4-agent Linear Time-Invariant (LTI) system (similar to a microgrid setup) rather than a static dataset.

Key Insights and Ideas

  • Decentralized Global Awareness: You can achieve centralized-level optimal control in a purely decentralized way. By treating the global state as a distributed consensus problem, information diffuses through the network fast enough to accurately guide the local RL algorithms.
  • The Decaying Noise Trick: In standard RL, you need to inject noise into actions to explore the environment. But in this networked setup, constant noise would continuously perturb the system, preventing the state tracking estimates from ever converging. The authors prove that using a decaying excitation noise perfectly balances the need for initial exploration with the need for long-term state estimation stability.
  • Decoupling Physical and Cyber Layers: The algorithm successfully handles complex cyber-physical systems where the physical coupling (e.g., power lines connecting generators) is distinct from the communication topology (e.g., WiFi links between the controllers).

Key Results

  • Theoretical Guarantees: The authors provide rigorous mathematical proofs showing that (1) the local state estimates converge to the true global state, and (2) the resulting ST-Q controllers converge to the optimal global controllers.
  • Empirical Performance: In simulations, the ST-Q algorithm's performance perfectly converges to the baseline of Q-learning with full global observation.
  • Outperforming Naive Approaches: ST-Q drastically outperforms a naive partial-observation baseline (where agents simply assume the states of non-neighbors are zero). The naive approach fails to find the optimal policy, leaving a significant performance gap, whereas ST-Q closes that gap entirely.

Limitations and Future Work

The primary limitation of the current work is its reliance on ideal network conditions. The theoretical proofs and the algorithm assume a static communication network with zero communication delay.

In future work, the authors plan to tackle more realistic, messy network conditions, such as communication delays and time-varying graphs (where communication links might drop in and out). They also note an interest in formally quantifying the sample complexity—determining exactly how much data/time is required for the algorithm to converge.

Summary updated

BibTeX
@inproceedings{wang2021distributed,
  author = {Hang Wang and Sen Lin and Hamid Jafarkhani and Junshan Zhang},
  title = {{Distributed Q-Learning with State Tracking for Multi-agent Networked Control}},
  booktitle = {AAMAS},
  year = {2021},
  url = {https://openreview.net/forum?id=hw5eu_amJK},
}
Figure