Better Short than Greedy: Interpretable Models through Optimal Rule Boosting

Mario Boley, Simon Teshuva, Pierre Le Bodic, Geoffrey I. Webb

Abstract

Rule-based models are prized for their interpretability, yet they often lag behind more complex ensembles in predictive accuracy. This performance gap frequently stems from the use of "greedy" search heuristics, which can fail to capture intricate feature interactions. We introduce an efficient branch-and-bound algorithm designed to find mathematically optimal rules within a gradient boosting framework. Our approach produces models that are both more concise (shorter) and more accurate than traditional greedy methods, effectively bridging the gap between interpretability and performance.

Introduction

In the landscape of machine learning, a persistent tension exists between predictive power and model interpretability. Rule ensembles—sets of IF-THEN statements—are a popular choice for human-centric AI because of their inherent readability. However, standard methods like RuleFit or traditional Gradient Boosting Machines (GBMs) typically employ greedy search strategies to construct these rules.

Greedy search is inherently "myopic," selecting the best immediate split without considering the global optimality of the resulting rule. This limitation is particularly evident in problems with complex feature interactions, such as "noisy parity" tasks, where a single feature may show no immediate statistical benefit until combined with others. Consequently, greedy models often require a large number of rules to achieve competitive accuracy, which directly undermines their interpretability.

Methods: Optimal Rule Boosting

To overcome the limitations of greedy search, we adapt the second-order gradient boosting framework (as seen in XGBoost) but replace the standard tree-building base learner with an Optimal Rule Learner. Finding the optimal rule is computationally challenging (NP-hard), but we make it feasible through several key technical innovations:

  1. Tight Optimistic Estimators: We derive a mathematical bound for the rule objective function that can be computed in linear time. This allows our branch-and-bound algorithm to prune large portions of the search space that cannot possibly contain the optimal rule.
  2. Search Space Condensation: By utilizing "rule equivalence classes," we avoid redundant evaluations of different condition combinations that select the same data points.
  3. Critical Index Pruning: This technique propagates pruning information across the search tree to accelerate discovery.
  4. Anytime Property: The algorithm can be halted early to return the best rule found so far, accompanied by a theoretical guarantee of its proximity to the true optimum.
Comparison of greedy vs. optimal rule boosting across dimensions and rule counts. (a) Visualization of greedy cuts. (b) Accuracy vs. problem dimension d. (c) Accuracy vs. number of rules k.

As shown in Figure 1(b), greedy methods suffer a significant drop in accuracy as the problem dimension $d$ increases in a noisy parity setting, whereas optimal rule boosting maintains high performance. Figure 1(c) demonstrates that optimal rule boosting reaches peak accuracy with significantly fewer rules than its greedy counterparts.

Empirical Evaluation

We evaluated our approach against 24 benchmark datasets spanning classification and regression tasks, including standard Scikit-learn datasets (e.g., Iris, Breast Cancer, Digits) and real-world Kaggle datasets (e.g., Titanic, Telco Churn, World Happiness).

Key Results

Our experiments yielded several critical insights:

  • Superior Accuracy with Fewer Rules: Optimal rule boosting consistently outperformed both greedy boosting and RuleFit, particularly when the model was restricted to a small number of rules (e.g., 1–10).
  • Computational Feasibility: Despite the theoretical complexity, our pruning techniques allowed the optimal search to finish within minutes or less than an hour on a standard laptop for most datasets. For 13 of the 24 problems, the optimal search was within a factor of 5 of the speed of greedy search.
  • Capturing Interactions: In qualitative analyses, such as on the "Used Cars" dataset, the optimal learner successfully identified complex interactions (e.g., between engine power and year) that greedy learners missed.
Performance comparison (AUC) and computation time across 24 benchmark datasets.

The results in Table 5 highlight that the optimal rule learner ('opt') achieves the highest AUC across nearly all classification and regression tasks compared to RuleFit ('rf') and greedy rule boosting ('grd').

Discussion and Future Work

While our method is highly effective for medium-sized datasets, scaling to "Big Data" with millions of rows and very high dimensions remains a challenge due to the non-polynomial worst-case complexity. Currently, our approach is "stagewise," meaning it optimizes one rule at a time. Future research could explore "global optimization" to find the best set of $K$ rules simultaneously. Finally, a highly optimized C++ implementation could further reduce the execution time, making optimal rule boosting a competitive alternative to established greedy frameworks.

Summary updated

BibTeX
@inproceedings{boley2021better,
  author = {Mario Boley and Simon Teshuva and Pierre Le Bodic and Geoffrey I. Webb},
  title = {{Better Short than Greedy: Interpretable Models through Optimal Rule Boosting}},
  booktitle = {SDM},
  year = {2021},
  doi = {10.1137/1.9781611976700.40},
}
Figure