Cluster-Based Random Forest Visualization and Interpretation

Max Sondag, Christofer Meinecke, Dennis Collaris, Tatiana von Landesberger, Stef van den Elzen
7/30/2025
cs.LGcs.HC

No official code found. Best implementation: maxie12/RandomForestVis (0 stars, last commit 2025-08-11).

Abstract

Random forests are a machine learning method used to automatically classify datasets and consist of a multitude of decision trees. While these random forests often have higher performance and generalize better than a single decision tree, they are also harder to interpret. This paper presents a visualization method and system to increase interpretability of random forests. We cluster similar trees which enables users to interpret how the model performs in general without needing to analyze each individual decision tree in detail, or interpret an oversimplified summary of the full forest. To meaningfully cluster the decision trees, we introduce a new distance metric that takes into account both the decision rules as well as the predictions of a pair of decision trees. We also propose two new visualization methods that visualize both clustered and individual decision trees: (1) The Feature Plot, which visualizes the topological position of features in the decision trees, and (2) the Rule Plot, which visualizes the decision rules of the decision trees. We demonstrate the efficacy of our approach through a case study on the "Glass" dataset, which is a relatively complex standard machine learning dataset, as well as a small user study.

View on arXivView PDF

Code Implementations(1)

Visualizes a forest of decision trees using a cluster-based approach. Full description of the techniques is available at https://arxiv.org/abs/2507.22665 in the paper "Cluster-Based Random Forest Visualization and Interpretation"

00Python, JavaScriptJul 31, 20251 years ago

Similar Papers

Cite this paper

@article{sondag2025clusterbased,
  title  = {Cluster-Based Random Forest Visualization and Interpretation},
  author = {Max Sondag and Christofer Meinecke and Dennis Collaris and Tatiana von Landesberger and Stef van den Elzen},
  year   = {2025},
  eprint = {2507.22665},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.22665v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.22665.svg)](https://codeofpaper.com/paper/2507.22665)

Discussion