Optimizing simple Boolean rule networks for accurate classification
Optimizing Sparse Boolean Rule Networks using Mixed Integer Linear Programming
Machine Learning
Summary
Many computer programs make decisions based on complex rules that are hard to understand. This paper looks at making simple yes/no decision rules that are easy to understand and use, called Boolean rules. The authors propose a way to mathematically find the best simple rules for a task by balancing making fewer mistakes with using fewer rules. Their approach speeds up the search for these rules and produces clear, reliable rule sets. Tests show their method is competitive with other popular rule-learning tools on standard data.
What this means in practice
- •For machine learning engineers: Build interpretable classifiers that provide simple decision rules with explicit control over accuracy and complexity trade-offs.
- •For data scientists in healthcare: Generate transparent rule-based models that aid clinical decision-making through easily understood logical rules.
Authors
Thomas Pammer, Johannes Fürnkranz, Markus Sinnl
Abstract
We study the problem of learning accurate and cognitively simple binary classifiers that are directly interpretable as Boolean rules. We propose mixed integer linear programming (MILP) formulations for training sparse disjunctive normal form (DNF) networks, viewed as small networks with a conjunctive hidden layer and a disjunctive output layer. Contrary to previous work that uses MILP for inductive rule learning, we start with a fixed network structure, for which we then find optimal weights. A regularized objective explicitly trades off misclassification costs against sparsity, yielding globally optimized rule sets. Our main technical contribution is an enhanced formulation that substantially reduces the number of integer decision variables and eliminates redundant constraints, while preserving exact Boolean semantics for all feasible solutions. Furthermore, we develop a combined approach based on initialization and dropout to break symmetries in the weights between rules, mitigating redundancy, and encouraging more diverse and stable rule representations. Experiments on synthetic benchmarks and UCI datasets show that the advanced formulation improves computational efficiency and achieves competitive or superior accuracy compared to established interpretable baselines, including SAT-based DNF learning and well-known rule- and tree-based learners. Overall, our approach provides a principled optimization framework for learning compact Boolean rule sets with explicit control over accuracy and sparsity trade-offs.