NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Online Control of Adaptive Large Neighborhood Search Using Deep Reinforcement Learning

Robbert Reijnen, Yingqian Zhang, Hoong Chuin Lau, Zaharah Bukhsh

TL;DR

This paper introduces DR-ALNS, a novel approach that uses Deep Reinforcement Learning (DRL) to dynamically control the parameters of the Adaptive Large Neighborhood Search (ALNS) algorithm. By learning to adapt operator selection, destroy severity, and acceptance criteria online, DR-ALNS significantly improves solution quality and efficiency for complex optimization problems, outperforming traditional and state-of-the-art methods.

What Problem Does This Paper Address?

Combinatorial Optimization Problems (COPs) are ubiquitous in fields like logistics, scheduling, and resource allocation, involving finding the best discrete solution from a vast search space. Heuristics like Large Neighborhood Search (LNS) and its adaptive variant, ALNS, are powerful tools for tackling these problems. However, ALNS's performance is highly sensitive to the configuration of its parameters, such as which "destroy" and "repair" operators to use and how to accept potentially worse solutions to escape local optima. Manually tuning these parameters is a complex, time-consuming, and often problem-specific endeavor. Existing methods for automating this tuning, like Bayesian optimization, are resource-intensive and produce static configurations that don't adapt to the evolving search process. This paper addresses the challenge of creating an ALNS that can intelligently and adaptively configure itself during the search, leading to better solutions with less manual effort.

Methods

The core innovation is the integration of Deep Reinforcement Learning (DRL) into ALNS, creating DR-ALNS. This approach frames the ALNS configuration process as a Markov Decision Process (MDP).

  • DRL Agent: A DRL agent learns a policy to make decisions about ALNS configuration.
  • State Space (S): The agent observes the current state of the search, represented by a vector of seven problem-agnostic features. These include whether the current solution is the best found, if it was recently improved or accepted, the cost difference from the best solution, stagnation count, and remaining search budget.
  • Action Space (A): The agent can choose from four types of actions:
  • Select a "destroy" operator.
  • Select a "repair" operator.
  • Configure the "destroy severity" (how much of the solution to destroy).
  • Set the "acceptance criterion" parameter (specifically, the temperature for Simulated Annealing).
  • Environment: The ALNS algorithm itself acts as the environment. It takes the agent's chosen actions, applies them to the current solution, and returns the next state and a reward.
  • Reward Function (R): A reward is given when a new solution is found that is better than the best-found solution so far.
  • Algorithm: The Proximal Policy Optimization (PPO) algorithm is used to train the DRL agent's policy.

Crucially, DR-ALNS is designed to be problem-agnostic. The MDP formulation (state, action, reward) does not rely on specific problem instance details, only requiring the definition of available operators and the action space.

Datasets

The primary dataset used for evaluation is from the IJCAI AI4TSP competition, specifically instances of the Orienteering Problem with Stochastic Weights and Time Windows (OPSWTW). These instances come in three sizes: 20, 50, and 100 customers. The paper also demonstrates the generalizability of DR-ALNS on other routing problems, using instances for Capacitated Vehicle Routing Problem (CVRP), Traveling Salesman Problem (TSP), and multi Traveling Salesman Problem (mTSP).

Key Insights and Ideas

  • Online, Adaptive Control is Key: The most significant insight is that dynamically adjusting ALNS parameters during the search, rather than relying on static, pre-tuned configurations, leads to substantial performance gains. The DRL agent learns to react to the search's progress and adapt its strategy accordingly.
  • Problem-Agnostic DRL for Optimization: The paper demonstrates that a DRL agent can be trained in a problem-agnostic manner, making it highly adaptable to different COPs with minimal modifications. This is a major advantage over many existing DRL approaches that are tailored to specific problem structures.
  • Synergy of Components: An ablation study revealed that while operator selection alone provides benefits, combining it with DRL-controlled destroy severity and acceptance criteria yields the best results, highlighting the synergistic effect of these adaptive components.
  • Efficiency Gains: DR-ALNS not only finds better solutions but often does so in fewer iterations than traditional ALNS variants, and significantly faster than other DRL-based approaches that use computationally expensive operators.

Key Results

  • Superior Solution Quality: DR-ALNS consistently outperformed vanilla ALNS and ALNS tuned with Bayesian optimization on OPSWTW instances across various sizes. It also surpassed two state-of-the-art DRL-based competition-winning methods (Rise_up and Ratel).
  • Faster Convergence: DR-ALNS found the best solutions in significantly fewer iterations compared to ALNS-Vanilla and ALNS-BO, as visualized in convergence plots.
  • Generalizability:
    • Models trained on smaller OPSWTW instances generalized well to larger ones, and vice-versa.
  • A policy trained for one routing problem (e.g., mTSP) could be directly applied to solve others (e.g., TSP, CVRP) with competitive performance, demonstrating strong transferability.
  • Computational Efficiency: While DR-ALNS has some overhead compared to vanilla ALNS, it achieves much better solutions. Crucially, its inference time is orders of magnitude faster than methods like Rise_up, making it more practical for real-world applications.

Limitations and Future Work

  • Limitations:
    • The paper notes that while DR-ALNS is problem-agnostic in its MDP formulation, the action space needs to be defined based on the available operators for a specific problem.
  • The performance of other DRL-based methods like DRLH was limited by their reliance on computationally expensive operators, which made them less effective and harder to train for demanding problems.
  • Future Work: The authors plan to investigate the performance of their DR-ALNS framework on a wider range of combinatorial optimization problems beyond routing.

Summary updated

BibTeX
@inproceedings{reijnen2024online,
  author = {Robbert Reijnen and Yingqian Zhang and Hoong Chuin Lau and Zaharah Bukhsh},
  title = {{Online Control of Adaptive Large Neighborhood Search Using Deep Reinforcement Learning}},
  booktitle = {ICAPS},
  year = {2024},
  doi = {10.1609/icaps.v34i1.31507},
}
Figure