[Paper Review] Forest Floor Visualizations of Random Forests
This paper introduces 'forest floor,' a novel visualization methodology for random forest models that uses feature contributions and dimensionality reduction to reveal non-linear relationships and interactions without averaging, enabling interpretable, high-dimensional visualizations that expose hidden interactions and improve model interpretability beyond traditional partial dependence plots.
We propose a novel methodology, forest floor, to visualize and interpret random forest (RF) models. RF is a popular and useful tool for non-linear multi-variate classification and regression, which yields a good trade-off between robustness (low variance) and adaptiveness (low bias). Direct interpretation of a RF model is difficult, as the explicit ensemble model of hundreds of deep trees is complex. Nonetheless, it is possible to visualize a RF model fit by its mapping from feature space to prediction space. Hereby the user is first presented with the overall geometrical shape of the model structure, and when needed one can zoom in on local details. Dimensional reduction by projection is used to visualize high dimensional shapes. The traditional method to visualize RF model structure, partial dependence plots, achieve this by averaging multiple parallel projections. We suggest to first use feature contributions, a method to decompose trees by splitting features, and then subsequently perform projections. The advantages of forest floor over partial dependence plots is that interactions are not masked by averaging. As a consequence, it is possible to locate interactions, which are not visualized in a given projection. Furthermore, we introduce: a goodness-of-visualization measure, use of colour gradients to identify interactions and an out-of-bag cross validated variant of feature contributions.
Motivation & Objective
- To address the challenge of interpreting complex, high-dimensional random forest models, which are often treated as black boxes despite their strong predictive performance.
- To overcome the limitations of partial dependence plots, which mask interactions due to averaging across projections.
- To develop a visualization framework that guides users in identifying and understanding influential interactions in random forest models.
- To introduce a goodness-of-visualization measure and color gradient techniques to highlight unvisualized interactions in feature contribution plots.
- To enhance interpretability by using out-of-bag and cross-validated feature contributions to reduce overfitting and improve reliability.
Proposed method
- The method uses feature contributions to decompose each tree in a random forest into contributions from individual features, enabling attribution of predictions to specific input variables.
- It applies dimensional reduction via projection to visualize high-dimensional model mappings in 2D or 3D, preserving local structure and interactions.
- The approach replaces averaging across parallel projections (as in partial dependence) with targeted visualization of feature contributions, reducing masking of interaction effects.
- A new goodness-of-visualization metric evaluates whether a feature's contribution can be meaningfully interpreted in isolation or requires contextual interaction.
- Color gradients are used in visualizations to highlight regions where interactions are present but not yet captured in the current projection.
- Out-of-bag and n-fold cross-validated variants of feature contributions are introduced to reduce overfitting and improve generalization of the visualization.
Experimental results
Research questions
- RQ1Can feature contributions and targeted projections reveal interactions in random forest models that are masked by averaging in partial dependence plots?
- RQ2How can a visualization framework guide users to locate and assess the influence of hidden interactions in high-dimensional random forest models?
- RQ3To what extent can feature contributions and goodness-of-visualization metrics improve the interpretability of random forest models?
- RQ4Can out-of-bag cross-validated feature contributions reduce overfitting in model visualization without sacrificing interpretability?
- RQ5What are the limitations of random forests in fitting higher-order interactions, and how does this affect the visualizability of model structures?
Key findings
- Forest floor successfully visualizes complex, non-linear, and interacting relationships in random forest models by focusing on feature contributions rather than averaged projections.
- The method reveals interactions that are obscured in partial dependence plots, as demonstrated by color gradients identifying unvisualized interaction effects.
- Out-of-bag cross-validated feature contributions reduce overfitting and improve the reliability of visualizations, especially in noisy or high-dimensional settings.
- The goodness-of-visualization metric effectively identifies when a feature’s contribution cannot be interpreted in isolation, signaling the need for contextual interaction visualization.
- Simulations suggest that random forests poorly fit third- and higher-order interactions, even with 10,000 noise-free observations, limiting the need for visualizations beyond two- or three-way interactions.
- The framework enables interpretable, context-aware visualizations of random forest models, challenging the perception of random forests as inherently non-interpretable black boxes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.