English

RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers

Machine Learning 2025-01-03 v2 Graphics

Abstract

The high performance of tree ensemble classifiers benefits from a large set of rules, which, in turn, makes the models hard to understand. To improve interpretability, existing methods extract a subset of rules for approximation using model reduction techniques. However, by focusing on the reduced rule set, these methods often lose fidelity and ignore anomalous rules that, despite their infrequency, play crucial roles in real-world applications. This paper introduces a scalable visual analysis method to explain tree ensemble classifiers that contain tens of thousands of rules. The key idea is to address the issue of losing fidelity by adaptively organizing the rules as a hierarchy rather than reducing them. To ensure the inclusion of anomalous rules, we develop an anomaly-biased model reduction method to prioritize these rules at each hierarchical level. Synergized with this hierarchical organization of rules, we develop a matrix-based hierarchical visualization to support exploration at different levels of detail. Our quantitative experiments and case studies demonstrate how our method fosters a deeper understanding of both common and anomalous rules, thereby enhancing interpretability without sacrificing comprehensiveness.

Keywords

Cite

@article{arxiv.2409.03164,
  title  = {RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers},
  author = {Zhen Li and Weikai Yang and Jun Yuan and Jing Wu and Changjian Chen and Yao Ming and Fan Yang and Hui Zhang and Shixia Liu},
  journal= {arXiv preprint arXiv:2409.03164},
  year   = {2025}
}

Comments

15 pages, 10 figures

R2 v1 2026-06-28T18:34:45.585Z