GOAL
One backbone with per-problem adapters that learns to solve many combinatorial optimization problems.
Graphs and geometry · 251 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 2.1M
- Operations
- 251
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2025
- Cited by
- 0 (as of 5 October 2026)
- Authors
- Darko Drakulic, Sofia Michel, Jean-Marc Andreoli
- Source
- GitHub: naver/goal-co
- License
- CC-BY-NC-SA-4.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14385
- Graph hash
- 49148e8b9395a2db6acc9c486a71bfb39414e473be366c04972f92cd8d3ba72c
- Skeleton hash
- 0310c6537eee2db4c3ac38d42799160d08011ae5b847ccd610179bd1dc5cd348
- Architecture hash
- 1ca044932d8b2654eabc679921990e5844ccae025a4cd8623a7f96058a6591d3
- Diagram SHA-256
- 91414a2518ac3ffeeea38e2545ee8fe5b28f2bc88a6d7e8dcd2d89821ed793ee
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
GOAL, the Generalist combinatorial Optimization Agent Learner, is a single transformer-style model from Drakulic, Michel and Andreoli that solves many combinatorial optimization problems, building a solution step by step as a sequence of node selections. The problem it addresses is that learned heuristics usually need a separate model specialised and trained for each problem, so any variation means adjusting the model and retraining from scratch.
GOAL consists of a single backbone plus light-weight problem-specific adapters for input and output processing. The backbone is built from a new form of mixed-attention blocks that handle graphs with arbitrary combinations of node, edge and instance-level features, injecting edge information inside each attention block. Problems with heterogeneous node or edge types go through a multi-type transformer in which the attention blocks are duplicated per meaningful type combination while sharing the same parameters.
Training is multi-task imitation of expert trajectories from eight classic problems spanning routing, scheduling, packing and graph problems, with solutions generated by traditional problem-specific solvers on instances of generally 100 nodes. The multi-task model is only slightly behind specialised baselines, and the authors describe it as the first multi-task model that solves a wide range of combinatorial optimization problems. Fine-tuning on eight new problems works in a few minutes with few-shot imitation or in a couple of hours without supervision. The released code covers 16 standard problems in all, with pretrained checkpoints in the repository.
Key idea. The key contribution is one shared backbone of mixed-attention blocks, with per-problem input and output adapters, that is pretrained across many combinatorial optimization problems and fine-tunes quickly to new ones.
- GOAL
- Generalist combinatorial Optimization Agent Learner
- goal-co
- neural combinatorial optimization
- multi-task CO solver
- routing problems
- scheduling problems
- TSP
- CVRP
- JSSP
- knapsack
- mixed-attention transformer
AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{drakulic2025goalgeneralistcombinatorialoptimization,
title={GOAL: A Generalist Combinatorial Optimization Agent Learner},
author={Darko Drakulic and Sofia Michel and Jean-Marc Andreoli},
year={2025},
eprint={2406.15079},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2406.15079},
}