Learning and fine-tuning a generic value-selection heuristic inside a constraint programming solver

Constraint programming is known for being an efficient approach to solving combinatorial problems. Important design choices in a solver are the <i>branching heuristics</i>, designed to lead the search to the best solutions in a minimum amount of time. However, developing these heuristics is a time-consuming process that requires problem-specific expertise. This observation has motivated many efforts to use machine learning to automatically learn efficient heuristics without expert intervention. Although several generic <i>variable-selection heuristics</i> are available in the literature, the options for <i>value-selection heuristics</i> are more scarce. We propose to tackle this issue by introducing a generic learning procedure that can be used to obtain a value-selection heuristic inside a constraint programming solver. This has been achieved thanks to the combination of a <i>deep Q-learning</i> algorithm, a tailored <i>reward signal</i>, and a <i>heterogeneous graph neural network</i>. Experiments on <i>graph coloring</i>, <i>maximum independent set</i>, <i>maximum cut</i>, and <i>minimum vertex cover</i> problems show that this framework competes with the well-known impact-based and activity-based search heuristics and can find solutions close to optimality without requiring a large number of backtracks. Additionally, we observe that fine-tuning a model with a different problem class can accelerate the learning process.

Authors

Institutions

Publication Details

Journal
Constraints
Published
2024-11-23
DOI
https://doi.org/10.1007/s10601-024-09377-4
Citations
1
Primary Topic
Constraint Satisfaction and Optimization
Type
article
Field-Weighted Citation Impact
0.35

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Learning and fine-tuning a generic value-selection heuristic inside a constraint programming solver

Louis-Martin Rousseau, Pierre Tessier, Tristan François, Quentin Cappart et al.
1 citations
Constraints
Constraint Satisfaction and Optimization
0.35
article

Learning and fine-tuning a generic value-selection heuristic inside a constraint programming solver

Louis-Martin Rousseau, Pierre Tessier, Tristan François, Quentin Cappart, Léo Boisvert, Tom Marty, Louis Gautier
article en
1 citations

Abstract

Constraint programming is known for being an efficient approach to solving combinatorial problems. Important design choices in a solver are the <i>branching heuristics</i>, designed to lead the search to the best solutions in a minimum amount of time. However, developing these heuristics is a time-consuming process that requires problem-specific expertise. This observation has motivated many efforts to use machine learning to automatically learn efficient heuristics without expert intervention. Although several generic <i>variable-selection heuristics</i> are available in the literature, the options for <i>value-selection heuristics</i> are more scarce. We propose to tackle this issue by introducing a generic learning procedure that can be used to obtain a value-selection heuristic inside a constraint programming solver. This has been achieved thanks to the combination of a <i>deep Q-learning</i> algorithm, a tailored <i>reward signal</i>, and a <i>heterogeneous graph neural network</i>. Experiments on <i>graph coloring</i>, <i>maximum independent set</i>, <i>maximum cut</i>, and <i>minimum vertex cover</i> problems show that this framework competes with the well-known impact-based and activity-based search heuristics and can find solutions close to optimality without requiring a large number of backtracks. Additionally, we observe that fine-tuning a model with a different problem class can accelerate the learning process.

ConstraintsVol. 29(3-4)
École Polytechnique (FR), Mila - Quebec Artificial Intelligence Institute (CA), Polytechnique Montréal (CA)
Centre interuniversitaire de recherche sur les reseaux d'entreprise, la logistique et le transport, Natural Sciences and Engineering Research Council of Canada
Openalex Percentile: Top 36%
Constraint Satisfaction and Optimization
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.