Skip to main content
QUICK REVIEW

[Paper Review] Controlled Online Optimization Learning (COOL): Finding the ground state of spin Hamiltonians with reinforcement learning

Kyle Mills, Pooya Ronagh|arXiv (Cornell University)|Feb 28, 2020
Neural Networks and Reservoir ComputingComputer Science52 references5 citations
TL;DR

This paper introduces Controlled Online Optimization Learning (COOL), a reinforcement learning (RL) framework that autonomously learns optimal temperature schedules for simulated annealing in spin Hamiltonians. Using proximal policy optimization, the RL agent outperforms standard heuristic schedules, generalizes across Hamiltonian classes, and achieves nearly two orders of magnitude better scaling performance on L=14² systems by dynamically adjusting temperature to escape local minima and reach the ground state.

ABSTRACT

Reinforcement learning (RL) has become a proven method for optimizing a procedure for which success has been defined, but the specific actions needed to achieve it have not. We apply the so-called "black box" method of RL to what has been referred as the "black art" of simulated annealing (SA), demonstrating that an RL agent based on proximal policy optimization can, through experience alone, arrive at a temperature schedule that surpasses the performance of standard heuristic temperature schedules for two classes of Hamiltonians. When the system is initialized at a cool temperature, the RL agent learns to heat the system to "melt" it, and then slowly cool it in an effort to anneal to the ground state; if the system is initialized at a high temperature, the algorithm immediately cools the system. We investigate the performance of our RL-driven SA agent in generalizing to all Hamiltonians of a specific class; when trained on random Hamiltonians of nearest-neighbour spin glasses, the RL agent is able to control the SA process for other Hamiltonians, reaching the ground state with a higher probability than a simple linear annealing schedule. Furthermore, the scaling performance (with respect to system size) of the RL approach is far more favourable, achieving a performance improvement of one order of magnitude on L=14x14 systems. We demonstrate the robustness of the RL approach when the system operates in a "destructive observation" mode, an allusion to a quantum system where measurements destroy the state of the system. The success of the RL agent could have far-reaching impact, from classical optimization, to quantum annealing, to the simulation of physical systems.

Motivation & Objective

  • To develop a reinforcement learning method that autonomously learns optimal temperature schedules for simulated annealing in spin glass systems.
  • To enable generalization of the learned policy across diverse Hamiltonians within a class, without explicit knowledge of the Hamiltonian structure.
  • To improve the scaling performance of simulated annealing with respect to system size compared to classical linear schedules.
  • To evaluate the robustness of the RL approach under destructive observation conditions, relevant to quantum and physical experiments.
  • To demonstrate that RL can discover non-trivial, adaptive control policies for complex optimization tasks in statistical physics.

Proposed method

  • The method employs a proximal policy optimization (PPO) agent trained to control the temperature schedule during simulated annealing.
  • The agent observes the system's energy and spin configuration at each step, treating the process as a Markov decision process with the goal of minimizing energy.
  • A convolutional neural network processes the spin configuration to estimate the value function and policy, enabling scalability with system size.
  • The agent learns through trial and error, receiving sparse rewards based on whether the final state is the ground state.
  • The training uses a 'destructive observation' mode, simulating scenarios where measurements collapse the system state.
  • The policy is evaluated on both fixed and randomly generated Hamiltonians, including nearest-neighbor spin glasses and weak-strong cluster models.

Experimental results

Research questions

  • RQ1Can a reinforcement learning agent learn an effective temperature schedule for simulated annealing without prior knowledge of the Hamiltonian?
  • RQ2How well does the RL agent generalize its policy across different instances of the same class of spin Hamiltonians?
  • RQ3What is the scaling behavior of the RL-based annealing approach compared to classical linear schedules as system size increases?
  • RQ4How does the RL agent perform under destructive observation conditions, where measurements collapse the system state?
  • RQ5Can the RL agent discover non-trivial strategies such as heating before cooling to escape local minima?

Key findings

  • The RL agent consistently outperforms standard heuristic temperature schedules in reaching the ground state across multiple Hamiltonian classes.
  • On L=14² systems, the RL approach achieves a performance improvement of nearly two orders of magnitude over linear annealing schedules.
  • The agent learns to heat the system when initialized at a low temperature to escape local minima, then cool gradually to reach the ground state.
  • The policy generalizes effectively to new Hamiltonians within the same class, even when the couplings are randomly generated and unseen during training.
  • The value function learned by the agent exhibits an intuitive representation of phase space, attributing higher value to configurations near the ground state.
  • The method remains robust under destructive observation conditions, demonstrating feasibility for physical and quantum applications where measurements are costly or destructive.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.