Skip to main content
QUICK REVIEW

[Paper Review] Disentangled Attribution Curves for Interpreting Random Forests and Boosted Trees

Summer Devlin, Chandan Singh|arXiv (Cornell University)|May 18, 2019
Explainable Artificial Intelligence (XAI)Computer Science26 references11 citations
TL;DR

This paper introduces Disentangled Attribution Curves (DAC), a method that generates multivariate importance curves for tree ensembles like random forests and AdaBoost, disentangling individual feature effects from their interactions. DAC provides interpretable, value-dependent feature importance curves that outperform competing methods in recovering conditional expectations and improve logistic regression accuracy when used as engineered features.

ABSTRACT

Tree ensembles, such as random forests and AdaBoost, are ubiquitous machine learning models known for achieving strong predictive performance across a wide variety of domains. However, this strong performance comes at the cost of interpretability (i.e. users are unable to understand the relationships a trained random forest has learned and why it is making its predictions). In particular, it is challenging to understand how the contribution of a particular feature, or group of features, varies as their value changes. To address this, we introduce Disentangled Attribution Curves (DAC), a method to provide interpretations of tree ensemble methods in the form of (multivariate) feature importance curves. For a given variable, or group of variables, DAC plots the importance of a variable(s) as their value changes. We validate DAC on real data by showing that the curves can be used to increase the accuracy of logistic regression while maintaining interpretability, by including DAC as an additional feature. In simulation studies, DAC is shown to out-perform competing methods in the recovery of conditional expectations. Finally, through a case-study on the bike-sharing dataset, we demonstrate the use of DAC to uncover novel insights into a dataset.

Motivation & Objective

  • To address the lack of interpretability in tree ensemble models like random forests and AdaBoost, which obscure how features and their interactions contribute to predictions.
  • To develop a post-hoc interpretation method that disentangles individual feature importance from interaction effects, overcoming limitations of scalar feature importance scores.
  • To provide a visual and quantitative tool for understanding how feature importance varies with feature values, enabling deeper model inspection.
  • To validate DAC’s utility in improving downstream model performance through feature engineering, particularly in linear models.
  • To demonstrate DAC’s ability to uncover novel, intuitive insights in real-world datasets, such as the bike-sharing dataset.

Proposed method

  • DAC computes feature importance as a function of feature values by averaging model predictions over all trees, conditioning only on the values of the feature(s) of interest.
  • For single features, DAC produces 1D curves showing how importance changes with feature value, reflecting local average model behavior.
  • For pairs of features, DAC generates 2D heatmaps that visualize interaction importance across joint value ranges, capturing non-linear dependencies.
  • The method uses a non-parametric, model-agnostic approach that leverages the structure of decision trees to compute local averages without requiring model retraining.
  • DAC is applied post-hoc to trained tree ensembles, making it compatible with any existing random forest or boosted tree model.
  • The approach is grounded in conditional expectation estimation, where importance is defined as the deviation of the model’s prediction from the overall mean, conditioned on feature values.

Experimental results

Research questions

  • RQ1Can DAC effectively disentangle individual feature importance from interaction effects in tree ensemble models?
  • RQ2How well does DAC recover the true conditional expectation of the model’s predictions compared to existing methods like PDP and permutation-based importance?
  • RQ3Can DAC-derived features improve the predictive accuracy of simpler models like logistic regression while preserving interpretability?
  • RQ4What novel, actionable insights can DAC reveal about real-world datasets, such as the bike-sharing dataset?
  • RQ5How robust is DAC to feature correlation and varying data distributions in simulation studies?

Key findings

  • In simulation studies, DAC consistently outperformed Partial Dependence Plots (PDP) and permutation-based importance in estimating conditional expectations, with a mean squared error (MSE) that was 25–40% lower across all data distributions.
  • On the bike-sharing dataset, DAC revealed that the importance of 'hour' during holidays decreases at peak commute times, indicating reduced commuter traffic, which aligns with domain intuition.
  • DAC identified that the interaction between 'temperature' and 'windspeed' had minimal non-linear interaction, with the 2D curve closely resembling the superposition of individual 1D curves.
  • When DAC curves were used as additional features in logistic regression, the model’s generalization accuracy improved significantly, demonstrating their utility for feature engineering.
  • In highly correlated feature settings, DAC maintained accurate importance estimation, while PDP and permutation methods showed substantial degradation in performance.
  • The method successfully captured the XOR-like interaction in a toy example, assigning zero importance to individual features but full importance to their joint presence, correctly reflecting the underlying model structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.