An Integer Linear Programming Framework for Mining Constraints from Data
Tao Meng, Kai-Wei Chang
Abstract
Structured output prediction problems (e.g., sequential tagging, hierarchical multi-class classification) often involve constraints over the output label space. These constraints interact with the learned models to filter infeasible solutions and facilitate in building an accountable system. However, although constraints are useful, they are often based on hand-crafted rules. This raises a question -can we mine constraints and rules from data based on a learning algorithm? In this paper, we present a general framework for mining constraints from data. In particular, we consider the inference in structured output prediction as an integer linear programming (ILP) problem. Then, given the coefficients of the objective function and the corresponding solution, we mine the underlying constraints by estimating the outer and inner polytopes of the feasible set. We verify the proposed constraint mining algorithm in various synthetic and real-world applications and demonstrate that the proposed approach successfully identifies the feasible set at scale. In particular, we show that our approach can learn to solve 9x9 Sudoku puzzles and minimal spanning tree problems from examples without providing the underlying rules. Our algorithm can also integrate with a neural network model to learn the hierarchical label structure of a multi-label classification task. Besides, we provide a theoretical analysis about the tightness of the polytopes and the reliability of the mined constraints.
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.
Cited by top-tier papers4
- Techniques for Symbol Grounding with SATNetSever Topan, David Rolnick, Xujie SiNeurIPS 2021 · 32 citations
- A Solver-free Framework for Scalable Learning in Neural ILP ArchitecturesYatin Nandwani, Rishabh Ranjan, Mausam, Parag SinglaNeurIPS 2022 · 13 citations
- Learning Reliable Logical Rules with SATNetZhaoyu Li, Jinpei Guo, Yuhe Jiang, Xujie SiNeurIPS 2023 · 5 citations
- What Are the Rules? Discovering Constraints from DataBoris Wiegand, Dietrich Klakow, Jilles VreekenAAAI 2024 · 2 citations
Builds on3
- Learning Linear Programs from Optimal DecisionsYingcong Tan, Daria Terekhov, Andrew DelongNeurIPS 2020 · 37 citations
- Learning Constraints for Structured Prediction Using Rectifier NetworksXingyuan Pan, Maitrey Mehta, Vivek SrikumarACL 2020 · 6 citations
- Integrating Relation Constraints with Neural Relation ExtractorsYuan Ye, Yansong Feng, Bingfeng Luo, Yuxuan Lai et al.AAAI 2020 · 5 citations
Related papers
- Neural Learning of One-of-Many Solutions for Combinatorial Problems in Structured Output SpacesYatin Nandwani, Deepanshu Jindal, Mausam, Parag SinglaICLR 2021 · 14 citations
- Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
- Learning Valid Dual Bounds in Constraint Programming: Boosted Lagrangian Decomposition with Self-Supervised LearningSwann Bessa, Darius Dabert, Max Bourgeat, Louis-Martin Rousseau et al.AAAI 2025
- Approximate Denial ConstraintsEster Livshits, Alireza Heidari, Ihab F. Ilyas, Benny KimelfeldVLDB 2020 · 60 citations
- Accelerating Primal Solution Findings for Mixed Integer Programs Based on Solution PredictionJian-Ya Ding, Chao Zhang, Lei Shen, Shengyin Li et al.AAAI 2020 · 119 citations
