Arrow Research search
Back to AAMAS

AAMAS 2025

Reinforcement Learning Based Simulated Annealing

Conference Paper Research Paper Track Autonomous Agents and Multiagent Systems

Abstract

Simulated Annealing (SA) is a stochastic optimization algorithm widely employed to approximate the global optimum of an energy function in both discrete and continuous problem domains. As an extension of conventional gradient descent methods, SA probabilistically accepts worse solutions to escape local optima, thereby enhancing the exploration of the solution space. SA’s performance is highly contingent upon specific components, notably the neighbor proposal distribution and the temperature annealing schedule. Recent advancements such as Neural SA have improved upon traditional SA by adopting a reinforcement learning perspective, interpreting the neighbor proposal distribution as a learnable policy. Neural SA outperforms vanilla SA algorithms across various combinatorial optimization benchmarks and exhibits scalability and computational efficiency for larger problems. However, its performance remains inferior to standard commercial solvers, and it is not very generalizable across continuous problems. In this work, we introduce Reinforcement Learning Based Simulated Annealing (RL Based SA), a significant enhancement over Neural SA in terms of performance and generalizability. RL Based SA modifies the state parameters to include the change in energy from SA. It also replaces the multilayer perceptron neural networks trained using proximal policy optimization (PPO) with long short-term memory (LSTM) neural networks. This substitution enables the processing of timeseries inputs of variable lengths, allowing the utilization of the entire SA rollout as input. We demonstrate that RL Based SA achieves superior results over Neural SA, vanilla SA, and adaptive SA, while attaining performance comparable to standard solvers in terms of solution quality and runtime across a spectrum of discrete and continuous problems. The benchmarks evaluated include the Knapsack, Bin Packing, and Traveling Salesperson problems, as well as continuous optimization functions such as Rosenbrock, Ackley, and Eggholder functions, and we presented training and convergence time comparisons on each function to highlight the computational trade-offs of our approach. Additionally, we show that RL Based SA is generalizable across different continuous problems, robustly scalable with respect to problem size, and computationally efficient.

Authors

Keywords

  • Reinforcement Learning
  • Simulated Annealing
  • Combinatorial Optimization
  • This work is licensed under a Creative Commons Attribution International 4. 0 License.
  • Proc. of the 24th International Conference on Autonomous Agents and Multiagent Systems
  • (AAMAS 2025)
  • Y. Vorobeychik
  • S. Das
  • A. Nowé (eds.)
  • May 19 – 23
  • 2025
  • Detroit
  • Michigan
  • USA. © 2025 International Foundation for Autonomous Agents and Multiagent Systems
  • (www. ifaamas. org).

Context

Venue
International Conference on Autonomous Agents and Multiagent Systems
Archive span
2002-2026
Indexed papers
8043
Paper id
125887420269956726
v2026.09.13