Towards Multi-agent Reinforcement Learning using Quantum Boltzmann Machines

Tobias Müller, Christoph Roch, Kyrill Schmid, Philipp Altmann

TL;DR

This paper explores how to stabilize and scale Quantum Reinforcement Learning (QRL) by applying classical Deep Q-Network (DQN) techniques—specifically experience replay and target networks—to Quantum Boltzmann Machines (QBMs). The authors demonstrate that these additions allow QBM-based agents to solve more complex multi-agent grid-world problems that were previously unreachable for quantum-enhanced architectures.

What Problem Does This Paper Address?

Reinforcement Learning (RL) has seen massive success using Deep Neural Networks (DNNs), but researchers are increasingly looking toward quantum computing to overcome computational bottlenecks. Boltzmann Machines (BMs) are a type of stochastic neural network that are theoretically powerful but computationally expensive to train on classical hardware because they require sampling from complex probability distributions.

Quantum annealing (and its simulated counterpart) offers a way to speed up this sampling. However, previous attempts to use Quantum Boltzmann Machines for RL were extremely limited, only working on tiny $2 \times 2$ grids or simple single-agent tasks. They suffered from high instability—where the agent's performance would suddenly collapse—and struggled to scale to multi-agent environments where agents must coordinate or compete.

Methods

The authors propose an architecture that treats a Deep Quantum Boltzmann Machine as a function approximator for Q-values. To make this work for more complex tasks, they "borrow" two foundational stability tricks from the classical DQN era:

  1. Experience Replay Buffer (ERB): Instead of learning from experiences as they happen (which are highly correlated in time), the agent stores transitions $(s, a, r, s')$ in a buffer and samples random "mini-batches" to train on. This breaks the temporal correlation and smooths out changes in the data distribution.
  2. Target Networks: In standard Q-learning, the "target" value you are trying to reach changes every time you update your weights, leading to a "chasing your own tail" effect. The authors use a separate, slowly-updated network to calculate these targets, providing a stable objective for the policy network.
  3. Quantum Sampling: They utilize Simulated Quantum Annealing (SQA) to sample the configuration of hidden neurons. This process involves formulating the energy minimization of the Boltzmann machine as a Quadratic Unconstrained Binary Optimization (QUBO) problem.
  4. Multi-Agent Strategies: They test both Independent Learning (each agent has its own QBM) and Parameter Sharing (agents share a centralized QBM but receive individual observations).

Datasets

The study uses custom-designed discrete grid-world environments:

  • $3 \times 3$ Grid: A basic environment used to benchmark against previous state-of-the-art QRL.
  • $5 \times 3$ Grid: A more complex environment with additional penalty states (pits) to test the limits of the architecture.
  • Multi-Agent Variants: Scenarios featuring two agents that must navigate to their respective goals without picking up the other's items (which results in a penalty).

Key Insights and Ideas

  • Classical Stability is Universal: The most significant finding is that the instabilities inherent in DNN-based RL are also present in QBM-based RL. Techniques like ERB and Target Networks are not just "nice-to-haves" but are essential for quantum architectures to handle non-stationary data distributions.
  • The Scaling Wall: Moving from a $3 \times 3$ to a $5 \times 3$ grid isn't just a small step; it significantly increases the size of the QUBO problem. The authors note that the input size is currently the primary bottleneck for QBMs due to the limited number of qubits available on current Quantum Processing Units (QPUs).
  • The Parameter Sharing Paradox: Surprisingly, in the $3 \times 3$ multi-agent case, sharing parameters between agents actually decreased performance compared to independent learners. The authors hypothesize that the two agents' optimal policies might have "canceled each other out" during the centralized training process, suggesting that coordination in QBMs requires more nuanced communication protocols.

Key Results

  • Single-Agent Stability: In the $3 \times 3$ domain, the combined architecture (ERB + Target Network) achieved a near-optimal median reward of +205, whereas the traditional QBM-RL agent showed massive variance and frequent performance collapses.
  • Solving Larger Grids: The enhanced architecture successfully stabilized learning in the $5 \times 3$ grid, a task where traditional QBM-RL failed to converge entirely.
  • Multi-Agent Success: The authors successfully trained two agents to solve a $3 \times 3$ grid with a median reward of approximately +350. This represents a step forward from previous work that was limited to $2 \times 2$ domains.
  • Convergence Speed: While the paper focuses on stability, it reinforces the idea that quantum-sampling-based RL can potentially converge in fewer time-steps than classical DRL, provided the training is stable.

Limitations and Future Work

The primary limitation is hardware constraints. The size of the Boltzmann machine is strictly limited by the QPU's qubit count and connectivity. As the state space grows (e.g., larger grids or more agents), the QUBO formulation becomes too large for current devices.

Future work is directed toward testing these architectures on actual D-Wave quantum hardware (rather than simulations) and exploring more sophisticated multi-agent communication methods to solve the "parameter sharing" issues observed in this study. The authors also suggest investigating how the relation between QPU size and domain complexity can be optimized to handle even larger state inputs.

Summary updated

BibTeX
@inproceedings{muller2022towards,
  author = {Tobias Müller and Christoph Roch and Kyrill Schmid and Philipp Altmann},
  title = {{Towards Multi-agent Reinforcement Learning using Quantum Boltzmann Machines}},
  booktitle = {ICAART},
  year = {2022},
  doi = {10.5220/0010762100003116},
}
Figure