GOAL: A Generalist Combinatorial Optimization Agent Learner
About
Machine Learning-based heuristics have recently shown impressive performance in solving a variety of hard combinatorial optimization problems (COPs). However, they generally rely on a separate neural model, specialized and trained for each single problem. Any variation of a problem requires adjustment of its model and re-training from scratch. In this paper, we propose GOAL (for Generalist combinatorial Optimization Agent Learner), a generalist model capable of efficiently solving multiple COPs and which can be fine-tuned to solve new COPs. GOAL consists of a single backbone plus light-weight problem-specific adapters for input and output processing. The backbone is based on a new form of mixed-attention blocks which allows to handle problems defined on graphs with arbitrary combinations of node, edge and instance-level features. Additionally, problems which involve heterogeneous types of nodes or edges are handled through a novel multi-type transformer architecture, where the attention blocks are duplicated to attend the meaningful combinations of types while relying on the same shared parameters. We train GOAL on a set of routing, scheduling and classic graph problems and show that it is only slightly inferior to the specialized baselines while being the first multi-task model that solves a wide range of COPs. Finally we showcase the strong transfer learning capacity of GOAL by fine-tuning it on several new problems. Our code is available at https://github.com/naver/goal-co/.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Capacitated Vehicle Routing Problem | CVRP N=100 | Objective Value16.3 | 73 | |
| Traveling Salesman Problem | TSP N=20 | Optimality Gap0.26 | 33 | |
| Traveling Salesman Problem | TSP N=100 | Cost (%)2.84 | 29 | |
| Capacitated Vehicle Routing Problem | CVRP 20 | Optimality Gap (%)1.5 | 27 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP In-distribution | Cost84.341 | 22 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP Out-of-distribution city | Cost84.097 | 22 | |
| Asymmetric Capacitated Vehicle Routing Problem | Real-world ACVRP Out-of-distribution cluster | Cost34.318 | 22 | |
| Capacitated Vehicle Routing Problem | CVRP N=50 | Objective Value10.73 | 17 | |
| Asymmetric Capacitated Vehicle Routing Problem with Time Windows | Real-world ACVRPTW Out-of-distribution cluster | Solution Cost47.966 | 14 | |
| Asymmetric Traveling Salesman Problem | Real-world ATSP In-distribution | Solution Cost41.976 | 14 |