Learning MAX-SAT from Contextual Examples for Combinatorial Optimisation
Mohit Kumar, Samuel Kolb, Stefano Teso, Luc De Raedt
Abstract
Combinatorial optimization problems are ubiquitous in artificial intelligence. Designing the underlying models, however, requires substantial expertise, which is a limiting factor in practice. The models typically consist of hard and soft constraints, or combine hard constraints with an objective function. We introduce a novel setting for learning combinatorial optimisation problems from contextual examples. These positive and negative examples show -in a particular context -whether the solutions are good enough or not. We develop our framework using the MAX-SAT formalism as it is simple yet powerful setting having these features. We study the learnability of MAX-SAT models. Our theoretical results show that high-quality MAX-SAT models can be learned from contextual examples in the realizable and agnostic settings, as long as the data satisfies an intuitive "representativeness" condition. We also contribute two implementations based on our theoretical results: one leverages ideas from syntax-guided synthesis while the other makes use of stochastic local search techniques. The two implementations are evaluated by recovering synthetic and benchmark models from contextual examples. The experimental results support our theoretical analysis, showing that MAX-SAT models can be learned from contextual examples. Among the two implementations, the stochastic local search learner scales much better than the syntax-guided implementation while providing comparable or better models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f93d1a30-af0f-4ba0-92ff-e15b22212c86Cited by top-tier papers2
- Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the ConstraintsJayanta Mandi, Marianne Defresne, Senne Berden, Tias GunsNeurIPS 2025 · 9 citations
- What Are the Rules? Discovering Constraints from DataBoris Wiegand, Dietrich Klakow, Jilles VreekenAAAI 2024 · 2 citations
Related papers
- Constrained LTL Specification Learning from ExamplesChangjian Zhang, Parv Kapoor, Ian Dardik, Leyi Cui et al.ICSE 2025 · 4 citations
- Maximum Realizability for LTL Modulo TheoriesAndoni Rodríguez, César SánchezFM 2026
- On Continuous Local BDD-Based Search for Hybrid SAT SolvingAnastasios Kyrillidis, Moshe Y. Vardi, Zhiwei ZhangAAAI 2021 · 10 citations
- Ordered Objectives in Maximum SatisfiabilityJeremias Berg, André Schidler, Matti JärvisaloAAAI 2026
- Exact and approximate methods for proving unrealizability of syntax-guided synthesis problemsQinheping Hu, John Cyphert, Loris D'Antoni, Thomas W. RepsPLDI 2020 · 22 citations
