Reinforcement Learning Methods for Neighborhood Selection in Local Search
Yannick Molinghen, Augustin Delecluse, Renaud De Landtsheer, Stefano Michelini
TL;DR
This work investigates reinforcement learning approaches for selecting local-search neighborhoods in NP-hard combinatorial optimization across TSP, PDPTW, and CSP. It systematically compares multi-armed bandits (ε-greedy, UCB) and deep RL methods (DDQN, PPO) using three reward schemes designed to align learning with the LS objective, including a theoretically ideal reward, a log-adjusted reward, and a duration-aware reward. Results show substantial performance variation by problem and reward design, with ε-greedy providing robust, efficient performance in many cases, while DRL methods offer potential gains only with longer runtimes and carefully crafted rewards. The findings stress practical constraints: DRL is not a plug-in replacement for classical LS heuristics and should be weighed against strong, low-overhead baselines, particularly under realistic time budgets. Future work is encouraged to explore generalization across solvers, pretraining trade-offs, and broader integration strategies that preserve simplicity and scalability.
Abstract
Reinforcement learning has recently gained traction as a means to improve combinatorial optimization methods, yet its effectiveness within local search metaheuristics specifically remains comparatively underexamined. In this study, we evaluate a range of reinforcement learning-based neighborhood selection strategies -- multi-armed bandits (upper confidence bound, $ε$-greedy) and deep reinforcement learning methods (proximal policy optimization, double deep $Q$-network) -- and compare them against multiple baselines across three different problems: the traveling salesman problem, the pickup and delivery problem with time windows, and the car sequencing problem. We show how search-specific characteristics, particularly large variations in cost due to constraint violation penalties, necessitate carefully designed reward functions to provide stable and informative learning signals. Our extensive experiments reveal that algorithm performance varies substantially across problems, although that $ε$-greedy consistently ranks among the best performers. In contrast, the computational overhead of deep reinforcement learning approaches only makes them competitive with a substantially longer runtime. These findings highlight both the promise and the practical limitations of deep reinforcement learning in local search.
