IEEE Transactions on Visualization and Computer Graphics2025

RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers

Zhen Li, Weikai Yang*, Jun Yuan, Jing Wu, Changjian Chen, Yao Ming, Fan Yang, Hui Zhang, Shixia Liu

Overview figure for RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble ClassifiersView larger image
Fig. 1: RuleExplorer: (a) attribute view shows the attribute distribution and enables sample filtering; (b) matrix view shows the representative rules at a certain level of the rule hierarchy; (c) info view shows the overall statistics of the displayed rules and samples; (d) data table lists the samples covered by the displayed rules.

Paper figure

Open original
Overview figure for RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers

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.

Materials

Citation

@article{Li_2025,
  author = {Li, Zhen and Yang, Weikai and Yuan, Jun and Wu, Jing and Chen, Changjian and Ming, Yao and Yang, Fan and Zhang, Hui and Liu, Shixia},
  title = {RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers},
  journal = {IEEE Transactions on Visualization and Computer Graphics},
  publisher = {Institute of Electrical and Electronics Engineers (IEEE)},
  year = {2025},
  month = {September},
  volume = {31},
  number = {9},
  pages = {6370--6384},
  issn = {2160-9306},
  doi = {10.1109/tvcg.2024.3514115},
  url = {https://doi.org/10.1109/tvcg.2024.3514115}
}
Download .bib

Cite this work