arXiv:2610.20170cs.LGOct 2026

Manuscript Offprint

arXiv:2610.20170

Optimizing Sparse Boolean Rule Networks using Mixed Integer Linear Programming

Thomas Pammer, Johannes Fürnkranz, Markus Sinnl

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Thomas Pammer 1^{1}[0009–0009–1140–1890], Johannes Fürnkranz 1,2^{1,2}[0000–0002–1207–0159], and Markus Sinnl 3^{3}[0000–0003–1439–8702]

1^{1} Institute for Application-Oriented Knowledge Processing (FAW)

2^{2} LIT AI Lab

3^{3} Institute of Business Analytics & Technology Transformation/JKU Business School

Johannes Kepler University Linz, Austria

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.

Keywords: DNF Networks · Mixed Integer Linear Programming · Rule Learning · Classification.

1 Introduction

The importance of interpretable classifiers is gaining attention in machine learning, with strong links to logic, optimization, and knowledge representation. Although neural networks achieve remarkable predictive performance, their black-box nature often limits their practical applicability in domains where transparency is essential. A promising direction toward interpretable models is to

Pammer et al.

represent classifiers as Boolean circuits, where outputs arise from logical combinations of input features. Such circuits are structurally simple, semantically clear, and align naturally with rule-based reasoning. Among various representations, disjunctive normal form (DNF) structures, which essentially represent sets of rules, are particularly appealing for their interpretability and compatibility with efficient reasoning. However, exact learning of Boolean circuits from data remains difficult because the space of possible configurations grows exponentially with the number of features and constraints.

Mixed integer linear programming (MILP) provides a principled way to combine logical consistency with optimization. By embedding Boolean relationships directly into linear constraints, MILP enables the learning of accurate and compact classifiers with explicit control of sparsity and model complexity. Our approach employs a parallel disjunctive structure where multiple conjunctive nodes act simultaneously, and the classifier predicts a positive outcome whenever any learned rule is satisfied.

We introduce two complementary MILP formulations for learning such Boolean circuit classifiers and we additionally compare two slightly different variants of the more advanced formulation. They can be viewed as small rule networks, where input features feed into hidden conjunctive nodes connected by a disjunction to the output. Each hidden node defines a rule of the form “if the active features are present, then predict positive”, where the activation of a feature depends on its weight. In the basic formulation, hidden nodes are restricted to take binary values, whereas in the advanced formulations they are either relaxed to continuous variables or handled in aggregated constraints. Using reformulated constraints, parts of the decision variables can be removed, further improving the computational efficiency of both advanced formulations. Empirical results on synthetic and benchmark datasets show that we achieve competitive accuracy.

Our contributions are summarized as follows:

– A basic MILP formulation for learning interpretable classification rules.

– An advanced formulation that improves efficiency while maintaining interpretability.

– A reformulation of the advanced MILP formulation using aggregated constraints to improve computational efficiency.

– A comparison with rule-, decision tree- and SAT-based methods demonstrating competitive accuracy and exact optimization.

– A combined approach using informed initialization and variable reduction for our advanced formulation to tackle larger problems.

The remainder of this paper is structured as follows. Section 2 shows an overview of related work. Section 3 formally introduces sparse Boolean rule networks, while Section 4 presents the MILP formulations developed in this paper. Section 5 reports the computational results obtained with the proposed MILP models and compares them with well-established classification algorithms. Section 6 introduces a novel combined approach for efficiently solving larger problem instances. Finally, Section 7 summarizes the main findings of this work and outlines promising directions for future research.

References (30)