Probabilistic Truly Unordered Rule Sets
Organizations: LIACS, Leiden University Niels Bohrweg 1, 2333 CA, Leiden, The Netherlands
Abstract
Rule set learning has recently been frequently revisited because of its interpretability. Existing methods have several shortcomings though. First, most existing methods impose orders among rules, either explicitly or implicitly, which makes the models less comprehensible. Second, due to the difficulty of handling conflicts caused by overlaps (i.e., instances covered by multiple rules), existing methods often do not consider probabilistic rules. Third, learning classification rules for multi-class target is understudied, as most existing methods focus on binary classification or multi-class classification via the one-versus-rest" approach. To address these shortcomings, we propose TURS, for Truly Unordered Rule Sets. To resolve conflicts caused by overlapping rules, we propose a novel model that exploits the probabilistic properties of our rule sets, with the intuition of only allowing rules to overlap if they have similar probabilistic outputs. We next formalize the problem of learning a TURS model based on the MDL principle and develop a carefully designed heuristic algorithm. We benchmark against a wide range of rule-based methods and demonstrate that our method learns rule sets that have lower model complexity and highly competitive predictive performance. In addition, we empirically show that rules in our model are empirically independent" and hence truly unordered.
Figures & tables
| Algorithm | Model Type | Strategy | Prob. | Overlap Handling |
| CBA ( Liu et al., 1998 ) | ordered rule list | div. and conq. | explicit order | |
| CN2-ordered ( Clark and Niblett, 1989 ) | ordered rule list | div. and conq. | explicit order | |
| PART ( Frank and Witten, 1998 ) | ordered rule list | div. and conq. | explicit order | |
| CLASSY ( Proença and van Leeuwen, 2020 ) | ordered rule list | div. and conq. | explicit order | |
| RIPPER ( Cohen, 1995 ) | ordered list of rule sets | div. and conq. | explicit order | |
| C4.5Rules ( Quinlan, 2014 ) | ordered list of rule sets | one-vs-rest | explicit order |
| Data | # rows | # columns | # classes | max. class prob. | min. class prob. |
|---|---|---|---|---|---|
| aloi | 49534 | 28 | 2 | 0.970 | 0.030 |
| backdoor | 95329 | 197 | 2 | 0.976 | 0.024 |
| backnote | 1372 | 5 | 2 | 0.555 | 0.445 |
| chess | 3196 | 37 | 2 | 0.522 | 0.478 |
| diabetes | 768 | 9 | 2 | 0.651 | 0.349 |
| glass-2 | 214 | 8 | 2 | 0.958 | 0.042 |
| Data | BRS | C45 | CART | CLASSY | Ripper | CN2 | DRS | IDS | TURS (diff to best) |
| aloi | 0.519 | 0.398 | 0.621 | 0.654 | 0.485 | 0.569 | — | 0.509 | 0.617 (-0.037) |
| backdoor | 0.917 | 0.990 | 0.979 | 0.996 | 0.976 | 0.997 | — | — | 0.997 |
| backnote | 0.957 | 0.987 | 0.983 | 0.990 | 0.982 | 0.993 | 0.988 | 0.776 | 0.983 (-0.01) |
| chess | 0.957 | 0.998 | 0.995 | 0.992 | 0.995 | 0.532 | 0.809 | 0.677 | 0.990 (-0.008) |
| diabetes | 0.725 | 0.710 | 0.667 | 0.737 | 0.641 | 0.709 | 0.727 | 0.594 | 0.748 |
| glass-2 | 0.676 | 0.890 | 0.790 | 0.730 | 0.793 | 0.941 | 0.926 | 0.912 | 0.949 |
| Data | BRS | C45 | CART | CLASSY | RIPPER | CN2 | DRS | IDS | TURS |
|---|---|---|---|---|---|---|---|---|---|
| aloi | 3 | 2659.1 ∗ | 26952.8 | 52.3 | 26.2 ∗ | 2121 | — | 14 ∗ | 41.7 |
| backdoor | 13 | 701.5 | 2460.5 | 72.6 | 101.5 | 264.6 | — | — | 50.7 |
| backnote | 35.8 | 79.6 | 116.7 | 22.7 | 22.3 | 42.7 | 54 | 13.2 ∗ | 16.2 |
| chess | 19.2 | 250.2 | 340.5 | 33 | 57.9 | 298.7 ∗ | 54.2 ∗ | 14.5 ∗ | 43.7 |
| diabetes | 15.6 | 107.6 | 700.5 | 5 | 6.6 ∗ | 170 | 82.5 | 13.2 ∗ | 6 |
| glass-2 | 10.8 ∗ | 19.7 | 6.7 ∗ | 3 ∗ | 5.9 ∗ | 3.9 | 37.2 | 15.5 | 1 |
| Data | BRS | C45 | CART | CLASSY | RIPPER | CN2 | DRS | IDS | TURS |
|---|---|---|---|---|---|---|---|---|---|
| aloi | 1 | 157.2 ∗ | 1056 | 12.4 | 4.2 ∗ | 468.8 | — | 7 ∗ | 10 |
| backdoor | 4.6 | 61.2 | 130.4 | 19 | 19 | 76.6 | — | — | 17.6 |
| backnote | 12 | 14.8 | 23.4 | 8 | 6.4 | 13.6 | 20.4 | 7 ∗ | 7 |
| chess | 6.8 | 28.6 | 41.2 | 9.4 | 14.2 | 83.4 ∗ | 12 ∗ | 7.2 ∗ | 13.4 |
| diabetes | 5.2 | 18 | 87.2 | 2.6 | 2 ∗ | 31.2 | 21.4 | 6.6 ∗ | 3.4 |
| glass-2 | 3.6 ∗ | 5.2 | 3.6 ∗ | 1 ∗ | 1.8 ∗ | 2.8 | 12.6 | 8.2 | 1 |
| Data | BRS | C45 | CART | CLASSY | RIPPER | CN2 | DRS | IDS | TURS |
|---|---|---|---|---|---|---|---|---|---|
| aloi | 3 | 16.9 ∗ | 25.5 | 4.2 | 6.2 ∗ | 4.5 | — | 2 ∗ | 4.2 |
| backdoor | 2.8 | 11.5 | 18.9 | 3.8 | 5.3 | 3.5 | — | — | 2.9 |
| backnote | 3 | 5.4 | 5 | 2.8 | 3.5 | 3.1 | 2.6 | 1.9 ∗ | 2.3 |
| chess | 2.8 | 8.7 | 8.3 | 3.5 | 4.1 | 3.6 ∗ | 4.5 ∗ | 2 ∗ | 3.3 |
| diabetes | 3 | 6 | 8 | 1.9 | 3.3 ∗ | 5.4 | 3.9 | 2 ∗ | 1.8 |
| glass-2 | 3 ∗ | 3.8 | 1.9 ∗ | 3 ∗ | 3.3 ∗ | 1.4 | 3 | 1.9 | 1 |
| Local testing | # rules | rule length | ROC-AUC | MDL-based score | train/test prob. diff. |
|---|---|---|---|---|---|
| No | 12.48( 1.56) | 5.597( 0.42) | 0.722( 0.02) | 2191.189( 65.91) | 0.049( 0.01) |
| Yes | 1( 0) | 1( 0) | 0.724( 0.01) | 2050.087( 68.88) | 0.007( 0) |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Aspect | Previous work ( Yang and van Leeuwen, 2022 ) | This paper |
|---|---|---|
| Probabilistic model | 1) No probabilistic model formally defined; 2) intuitive probabilistic interpretation; 3) overlaps motivated by uncertainty and exceptionalness | Formally defined probabilistic TURS model without rule ordering with theoretical justification |
| Overlap handling | Separate treatment of nested and non-nested overlaps | Unified overlap modeling framework |
| Model selection | MDL-based model selection criterion but the code length is excluded to achieve better practical performance | MDL-based criterion with a principled encoding with the code length of the model included |
| Search heuristic | FOIL-like MDL compression gain | Learning speed score (MDL reduction per additionally covered instance) |
| Rule learning algorithm | Diverse beam search; surrogate CART-based evaluation for uncovered instances | Redesigned beam search with MDL-based local testing and patience-diversified beam strategy |
| Experimental evaluation | Predictive performance and model complexity on 10 datasets | 1) Large-scale predictive study (31 datasets); 2) empirical overlap consistency; 3) interpretability with both model complexity and the generalizability of individual rules’ outputs; 4) efficiency (runtimes); 5) large-scale ablation studies |