Quantum-Train-Based Distributed Multi-Agent Reinforcement Learning

Kuan-Cheng Chen, Samuel Yen-Chi Chen, Chen-Yu Liu, Kin K. Leung · DOI

Introduction

Reinforcement Learning (RL) has demonstrated remarkable success in solving complex decision-making tasks. However, as the complexity of environments increases, the neural networks required to model policies grow exponentially, leading to a "curse of dimensionality" regarding trainable parameters. While Quantum Machine Learning (QML) promises computational advantages, current Quantum Neural Networks (QNNs) face significant challenges, including data encoding bottlenecks and hardware dependency. This paper introduces Distributed Quantum-Train Reinforcement Learning (Dist-QTRL), a hybrid framework that leverages quantum circuits as parameter generators for classical neural networks, achieving significant model compression and training acceleration.

Methodology

The Dist-QTRL framework utilizes the Quantum-Train (QT) approach, where a quantum computer is not the primary inference engine but rather a generator for the weights of a classical policy network.

Figure 1: Architecture of the Dist-QTRL framework, illustrating the interaction between quantum parameter generation and the classical RL environment.

The architecture consists of three primary stages:

  1. Quantum Parameter Generation: A Parameterized Quantum Circuit (PQC) with $n$ qubits represents a state space of $2^n$. By optimizing a small set of quantum rotational angles ($\phi$), the system can control a vast number of classical parameters.
  2. Classical Mapping ($M_\beta$): Probabilities derived from quantum measurements are processed by a lightweight classical mapping function to produce the weights ($\theta$) for a standard classical neural network.
  3. Distributed Training: The workload is distributed across multiple agents, each associated with a Quantum Processing Unit (QPU). These agents interact with parallel environment instances, synchronize gradients, and update a shared global model.

Experimental Evaluation

The framework was tested on the MiniGrid-Empty-5x5-v0 navigation task. The performance of Dist-QTRL was compared against a standard classical RL model and centralized QTRL models of varying depths ($L$).

Key Results

The proposed Dist-QTRL model demonstrated high efficiency in both parameter usage and convergence speed.

Table 1: Comparison of model topology, average reward, and parameter size across classical and quantum-train models.
  • Model Compression: As shown in Table 1, the Dist-QTRL-3 model (with 4 agents) achieved a competitive average reward of 0.901 while utilizing only 1,749 parameters. In contrast, the classical policy model required 4,835 parameters to achieve a reward of 0.9244.
  • Linear Speedup: The distributed architecture exhibited near-linear scaling in training speed. Increasing the number of agents from 1 to 8 resulted in a 5.33x faster convergence to target reward levels.
  • Depth Compensation: A significant finding was that distributing the training across multiple agents allowed a shallow quantum circuit ($L=3$) to match the performance of a much deeper centralized circuit ($L=13$), effectively reducing the requirements on quantum hardware coherence.

Discussion and Future Work

Dist-QTRL successfully addresses the scalability issues of RL by providing a hardware-agnostic inference model that benefits from quantum-enhanced training. By shifting the quantum workload to the training phase, the resulting classical model can be deployed on standard hardware without the typical I/O bottlenecks of QML.

Future research will focus on evaluating the framework in high-dimensional continuous control environments and addressing the challenges of quantum noise in multi-QPU systems. Additionally, exploring asynchronous training methods could further mitigate communication overhead as the number of agents scales.

Summary updated

BibTeX
@misc{chen2024quantum,
  author = {Kuan-Cheng Chen and Samuel Yen-Chi Chen and Chen-Yu Liu and Kin K. Leung},
  title = {{Quantum-Train-Based Distributed Multi-Agent Reinforcement Learning}},
  year = {2024},
  eprint = {2412.08845},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.08845},
}
Figure