Abstract
Combinatorial optimization problems, such as Max-Cut, are central to various fields but remain computationally challenging. This work introduces a Reinforcement Learning (RL) framework to dynamically tune the hyperparameters of SimCIM, a quantum-inspired algorithm that simulates the physics of a Coherent Ising Machine (CIM). By utilizing a Proximal Policy Optimization (PPO) agent with a novel "Rescaled Ranked Reward" (R3) system and transfer learning via FiLM layers, the approach enables active steering of the optimization process. Experimental results on the Gset benchmark show that the RL agent achieves superior solution quality compared to manual tuning and state-of-the-art black-box optimizers, effectively escaping local optima through dynamic parameter oscillation.
Introduction
Many critical real-world challenges, ranging from portfolio optimization to protein folding, can be mapped to the Ising model, which is equivalent to the Max-Cut problem on graphs. Recently, "quantum-inspired" classical algorithms like SimCIM have emerged as powerful tools for solving these NP-hard problems by treating them as continuous optimization tasks. SimCIM simulates the dynamics of a Coherent Ising Machine, where performance depends heavily on a time-dependent regularization parameter representing gain and loss in the physical system.
However, finding the optimal schedule for this parameter is difficult due to its high dimensionality. Traditional hyperparameter optimization techniques, such as grid search or Bayesian optimization, often struggle with such dynamic functions. This paper addresses this by framing hyperparameter scheduling as a control problem, employing an RL agent to adjust parameters on the fly based on the current state of the optimization.
Methods
The proposed architecture pairs the SimCIM algorithm with a Proximal Policy Optimization (PPO) actor-critic RL agent.
Dynamic Control and SimCIM
Instead of a pre-defined static schedule, the RL agent observes the state of the optimization—specifically the amplitudes of simulated pulses in the eigenbasis of the problem matrix—and adjusts the regularization parameter at regular intervals. This allows the agent to respond to the specific trajectory of the optimization.
Rescaled Ranked Reward (R3)
To overcome the issue of local optima in combinatorial landscapes, the authors introduced the Rescaled Ranked Reward (R3). In this scheme, the environment maintains a leaderboard of recent solutions. The agent receives a reward only if its current solution exceeds the 99th percentile of this leaderboard. This "moving goalpost" mechanism forces the agent to continuously seek better solutions rather than settling for "good enough" local minima.
Transfer Learning via FiLM
To ensure the agent generalizes across different problem instances, the authors utilized Feature-wise Linear Modulation (FiLM) layers. These layers inject static features of the problem matrix (such as scaled $l_1$ norms of its eigenvectors) into the neural network. This allows an agent pre-trained on 30,000 random Erdös-Rényi graphs to adapt quickly to novel, unseen graph structures.
Key Insights and Results
The RL-enhanced approach yielded several critical insights:
- Active Tuning: The agent learns to oscillate the regularization function. This dynamic "shaking" helps the system escape deep local optima that typically trap standard heuristics.
- Eigenbasis Observations: By observing the system in the eigenbasis of the problem matrix, the agent learns generalized optimization dynamics, facilitating transfer learning to out-of-distribution graphs (e.g., weighted graphs with negative edges).
Performance Evaluation
The agent was evaluated on the Gset benchmark (instances G1–G10). Key results include:
- Solution Quality: The RL agent ("Agent-500") found the best-known solutions for 80% of the instances, outperforming manual tuning (66.7%) and the CMA-ES evolutionary optimizer (60%).
- Median Performance: The agent achieved a median normalized cut value of 0.9979, compared to 0.9942 for a linear decay baseline and 0.9933 for CMA-ES.
Conclusion and Future Work
While the RL-enhanced SimCIM demonstrates superior performance, it currently faces limitations regarding fixed problem sizes due to the use of fully-connected layers. Future work aims to incorporate Graph Neural Networks (GNNs) to make the agent size-agnostic and utilize meta-learning to improve sample efficiency during the fine-tuning phase. Despite these challenges, the integration of RL for dynamic parameter control represents a significant step forward in making quantum-inspired algorithms more robust and effective for complex combinatorial optimization.
Summary updated