Abstract
This paper investigates the application of quantum annealing to reinforcement learning (RL) by employing Quantum Boltzmann Machines (QBMs) as function approximators for optimal policies. Using Simulated Quantum Annealing (SQA) to model quantum sampling, the study demonstrates that deep and quantum-inspired architectures significantly outperform traditional Restricted Boltzmann Machines (RBMs) in complex tasks such as maze traversal, particularly in stochastic environments. The results suggest that quantum-inspired sampling can effectively overcome the computational bottlenecks associated with training deep generative models for reinforcement learning.
Introduction
Reinforcement learning (RL) often relies on function approximators to estimate the Q-function, which represents the expected value of taking a specific action in a given state. While Restricted Boltzmann Machines (RBMs) have been used for this purpose, they struggle to capture complex, higher-order dependencies without an impractical number of neurons. Deep Boltzmann Machines (DBMs) offer greater representational power but are notoriously difficult to train due to the high computational cost of classical sampling. This research explores whether quantum hardware, specifically quantum annealers, can solve this sampling bottleneck and provide a more efficient path for RL.
Methodology
The authors developed a framework for Q-learning where the Q-function is approximated by the negative free energy of a Boltzmann Machine. They compared three distinct architectures:
- RBM-RL: A classical baseline using a single hidden layer.
- DBM-RL: A deep architecture with multiple hidden layers, sampled using classical Simulated Annealing (SA).
- QBM-RL: A quantum approach where the network is treated as a transverse-field Ising model, simulated via Simulated Quantum Annealing (SQA).
The core innovation lies in using the "clamped" free energy of these networks—where state and action nodes are fixed to specific values—to drive the temporal-difference gradient descent used in RL. The DBM layouts map naturally to the bipartite connectivity found in current quantum annealing hardware, making them practical candidates for near-term quantum applications.
Experimental Benchmarks
The algorithms were evaluated using various Maze Traversal benchmarks of increasing complexity:
- Clear Mazes: $3 \times 5$ grids with deterministic rewards and obstacles.
- Stochastic Mazes: Mazes with probabilistic (Bernoulli) reward distributions.
- Windy Mazes: Mazes with non-deterministic transitions, where an action has a specific success rate (e.g., 80%) and a chance of failing into adjacent cells.
- Scaling Benchmarks: A family of $n \times 5$ mazes (where $n$ ranges from 2 to 10) to test performance under increasing state-space complexity.
Results and Discussion
Experimental results indicate that depth is a critical factor; even without quantum effects, DBMs trained more effectively than RBMs with the same number of nodes. However, the QBM-RL method (using a significant transverse field) consistently outperformed the classical DBM-RL. This suggests that quantum-inspired sampling provides a better approximation of the Gibbs state during the learning process.
In "windy" mazes with complex transition kernels, the performance gap widened significantly. Furthermore, as the maze size increased, RBM-RL performance decayed rapidly toward the level of a random policy, while DBM-RL and QBM-RL maintained significantly higher average fidelity, demonstrating superior scalability for larger state spaces.
Conclusion
The study provides a proof-of-concept for quantum-enhanced reinforcement learning. While primarily utilizing simulations, the findings highlight the potential for actual quantum hardware to provide a learning advantage in complex, stochastic environments. Future work will involve testing these architectures on physical quantum annealers and exploring even larger, more complex state-action spaces to further characterize the potential quantum advantage.
Summary updated