LGAIMar 9, 2024

Towards a Generic Representation of Combinatorial Problems for Learning-Based Approaches

arXiv:2403.06026v28 citationsh-index: 15Has CodeCPAIOR
Originality Incremental advance
AI Analysis

This addresses the problem of lack of generality in existing representations for combinatorial problems, enabling easier transfer across different problems for researchers and practitioners in optimization and machine learning, though it is incremental as it builds on prior attempts.

The paper tackles the challenge of encoding combinatorial problems into a structure compatible with learning-based approaches by proposing a generic representation using abstract syntax trees and a graph neural network architecture, achieving performance comparable to dedicated architectures on four combinatorial problems.

In recent years, there has been a growing interest in using learning-based approaches for solving combinatorial problems, either in an end-to-end manner or in conjunction with traditional optimization algorithms. In both scenarios, the challenge lies in encoding the targeted combinatorial problems into a structure compatible with the learning algorithm. Many existing works have proposed problem-specific representations, often in the form of a graph, to leverage the advantages of \textit{graph neural networks}. However, these approaches lack generality, as the representation cannot be easily transferred from one combinatorial problem to another one. While some attempts have been made to bridge this gap, they still offer a partial generality only. In response to this challenge, this paper advocates for progress toward a fully generic representation of combinatorial problems for learning-based approaches. The approach we propose involves constructing a graph by breaking down any constraint of a combinatorial problem into an abstract syntax tree and expressing relationships (e.g., a variable involved in a constraint) through the edges. Furthermore, we introduce a graph neural network architecture capable of efficiently learning from this representation. The tool provided operates on combinatorial problems expressed in the XCSP3 format, handling all the constraints available in the 2023 mini-track competition. Experimental results on four combinatorial problems demonstrate that our architecture achieves performance comparable to dedicated architectures while maintaining generality. Our code and trained models are publicly available at \url{https://github.com/corail-research/learning-generic-csp}.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes