RL4CO: a Unified Reinforcement Learning for Combinatorial Optimization Library

Published: 28 Oct 2023, Last Modified: 21 Dec 2023NeurIPS 2023 GLFrontiers Workshop OralEveryoneRevisionsBibTeX
Keywords: Reinforcement Learning, Neural Combinatorial Optimization, Combinatorial Optimization, Library, Benchmark
TL;DR: RL4CO: a Reinforcement Learning for Combinatorial Optimization library with a focus on standardized implementation and evaluation techniques
Abstract: Deep reinforcement learning offers notable benefits in addressing combinatorial problems over traditional solvers, reducing the reliance on domain-specific knowl- edge and expert solutions, and improving computational efficiency. Despite the recent surge in interest in neural combinatorial optimization, practitioners often do not have access to a standardized code base. Moreover, different algorithms are frequently based on fragmentized implementations that hinder reproducibility and fair comparison. To address these challenges, we introduce RL4CO, a uni- fied Reinforcement Learning (RL) for Combinatorial Optimization (CO) library. We employ state-of-the-art software and best practices in implementation, such as modularity and configuration management, to be flexible, easily modifiable, and extensible by researchers. Thanks to our unified codebase, we benchmark baseline RL solvers with different evaluation schemes on zero-shot performance, general- ization, and adaptability on diverse tasks. Notably, we find that some recent meth- ods may fall behind their predecessors depending on the evaluation settings. We hope RL4CO will encourage the exploration of novel solutions to complex real- world tasks, allowing the community to compare with existing methods through a unified framework that decouples the science from software engineering. We open-source our library at https://github.com/ai4co/rl4co.
Submission Number: 37
Loading