# Poster 27692

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/27692

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello to everyone, my name is Darko Drakulic and I'm going to present you our work on a generalist combinatorial optimization agent learner.
Here we are interested in neural approximator optimization in using machine learning to learn heuristics from data instead of manually devising them. There are different approaches in these domains like using transformer-based, GCN-based, or diffusion-based models. Current state-of-the-art models are problem -specific, that means that they cannot solve multiple classes of CO problems without changing the model and or retraining them from scratch. Our question is can we design and train a single model so that it
that it can solve a variety of CO problems and efficiently fine-tune to downstream tasks. This approach is already investigated in other domains, but it is novel in NCO domain.
Solving a co-problem instance can be formulated as a sequential decision procedure and modeled as a Markov decision process. We use the Beq-MDP which are defined for tail recursive problems. In Beq-MDP action space are construction steps and state space in instance changing only.
And there is an illustration on path TSP, so if we have an instance of BQMDP and we want to find the path from green to blue point, so in the first step we choose an instance node number one, so that means that in the next step we will have a new instance of finding path from green from node number one to blue node. And repeating this process we can solve the problem.
So as I said we want we are interested in building a multitask model to single model to solve a variety of different problems so first we need to represent each instance of different problems in the same way. In this work we represent each instance as a set of n abstract nodes together with features and the set of relations between nodes which can be seen as an edge between these nodes and also we have some instance feature.
To solving our problem we use a transformer based architecture with few difference. First we have problem specific input and output adapter and we have common backbone which is shared between all problems. But in the common backbone we need to do some modification first because the standard vanilla attention cannot handle.
So we proposed a new architecture for mixed attention mechanism here on the right. So we have representation how we do that. In fact, we first compute standard key-query values for nodes and we compute key and queries for edges and then we sum them with queries and keys for nodes and apply a standard equation of vanilla attention.
So why this is important, because if we ignore these red parts, we have vanilla tension. So that means that in this architecture, we can solve both problems with and without edge features.
The second problem is that for some for some problems we have different types of notes so for example in job shop scheduling problem we had machines and jobs so they are really big so we have multi multi type graph and we need somehow to handle the multi type graph with the same architecture so in this case we propose a modification of the backbone so we first we compute the self attention between one type and self
self attention between second type and then cross attention between these two types and we can incorporate edge feature for all of these blocks. Why this is important? Because that all blocks share the same parameters, even feed forward network, so that means that we can use the same backbone for single and multi type problems.
To show how our model works, we train it on eight classic and variety of problems, and they are listed here. So we train by imitation learning on small problem size up to 100 nodes, and we train two models, single task goal model and multi-task goal model, and we can see for single task model we reach state of the art on seven of eight problems, and for multi-task model we also reach very good results.
And for some problems like in asymmetric TSP we also reach state of the art comparing to other baselines. Then we try to fine-tune our model to new tasks by using self -improvement and we see in all cases we are much better than training from scratch. This is nice because using self-improvement we do not need any data but the problem is that it takes a bit of time.
Time, so it's around five hours. But if you have some labelled data, we show that we can do it very efficiently in only a few minutes. Thank you for your attention.
