NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Interpreting Deep Forest through Feature Contribution and MDI Feature Importance

Yi-Xiao He, Shen-Huan Lyu, Yuan Jiang

TL;DR

This paper introduces novel methods to interpret "Deep Forests" (DFs), a powerful but complex machine learning model. They developed techniques to understand why a DF makes a specific prediction (feature contribution) and which features are most important overall (MDI feature importance), addressing a critical gap in explaining these models.

What Problem Does This Paper Address?

Deep Forests (DFs) are a class of non-differentiable, cascade-based ensemble models that have shown impressive performance, particularly on tabular and mixed-type data. Unlike traditional deep learning models (like neural networks), DFs are built from decision trees, which are inherently more interpretable. However, the "deep" aspect of DFs involves transforming features layer by layer. In deeper layers, DFs use new features generated from the outputs of previous layers. This feature transformation makes it difficult to trace the influence of the original input features through the model, rendering standard interpretation tools for models like Random Forests (RFs) ineffective. This lack of interpretability hinders trust and adoption in applications where understanding model decisions is crucial.

Methods

The authors propose a two-step approach to extend feature contribution and feature importance to Deep Forests:

  1. Estimation Step: This step aims to link the contributions of the newly generated features in a given layer back to the original features from the previous layer. It uses the training samples within a node to estimate the response change caused by a split on a new feature and then attributes this change to the original features.
  2. Calibration Step: Since the estimation step relies on predicted values, which can be imperfect, a calibration step is introduced. This step ensures that the calculated feature contributions satisfy key properties, such as the sum of contributions plus the bias equaling the final prediction. They propose three calibration methods: naive multiplicative, naive additive, and a novel partial additive calibration, which they find to be most effective.

For feature contribution, they develop a recursive method that traverses each tree in the forest. If a split uses an original feature, its contribution is directly added. If it uses a new feature, the contribution is traced back and calibrated. For feature importance (MDI), they adapt the concept of covariance between feature contribution and the target variable, extending it to the deep forest structure.

Datasets

The authors evaluate their methods on:

  • Simulated datasets: For both regression and classification tasks, designed with clear underlying data-generating mechanisms to verify the interpretability methods.
  • Real-world datasets:
    • "sim" dataset (used in related work for feature importance evaluation).
  • Five benchmark datasets (vehicle, segment, phishing, pendigits, satimage) with manipulated features (half relevant, half irrelevant) to test feature importance ranking.
  • A bike sharing dataset for a real-world application example.

Key Insights and Ideas

  • The "black box" problem of Deep Forests: The core challenge is that feature transformations in deeper layers obscure the influence of original features, making standard interpretation tools insufficient.
  • Bridging the gap: The proposed estimation and calibration steps are crucial for linking new, abstract features back to the original, understandable input features.
  • Partial additive calibration is key: The authors demonstrate that their novel partial additive calibration method is superior to simpler multiplicative or additive approaches, leading to more accurate feature contributions.
  • Deep Forest MDI reflects true importance: The proposed MDI for deep forests shows a clear refinement as layers increase, accurately capturing the underlying feature importance better than simpler RF-based methods, especially when models are complex.
  • Feature interaction is learned: The visualizations show that deep forests learn complex feature interactions in deeper layers, which is reflected in the refined feature contributions.

Key Results

  • Feature Contribution: Visualizations on simulated regression and classification data show that feature contributions become more detailed and accurate in deeper layers, matching the improved predictive performance. For instance, in the classification example, the first layer's contributions are vague, while the last layer's are precise and reveal feature interactions.
  • Feature Importance (MDI):
    • On simulated data, the MDI of relevant features increases with layers, while irrelevant features consistently have near-zero importance.
  • The proposed MDI(DF) method consistently outperforms RF-based feature importance measures (MDI(RF), MDI-oob(RF), MDA(RF)) and even MDA(DF) in terms of identifying relevant features, achieving higher AUC scores across benchmark datasets.
  • The partial additive calibration method (MDI(DF)) yields the best AUC scores for relevant feature identification compared to other calibration methods.
  • Computational Efficiency: The proposed MDI method for deep forests is computationally efficient, with a running time comparable to MDA for deep forests but with better performance.

Limitations and Future Work

  • Computational Cost: While efficient, the time complexity is still dependent on the number of trees and layers, and the number of training instances.
  • Model Complexity: The interpretation methods are designed for the specific cascade structure of deep forests. Adapting them to other deep forest variants might require further work.
  • Future Work: The authors suggest that their interpretation tools can further promote the application of deep forests and deepen the understanding of data and models. The paper demonstrates the utility of these tools on a bike-sharing dataset, hinting at broader applicability.

Summary updated

BibTeX
@article{he2023interpreting,
  author = {Yi-Xiao He and Shen-Huan Lyu and Yuan Jiang},
  title = {{Interpreting Deep Forest through Feature Contribution and MDI Feature Importance}},
  journal = {ACM Transactions on Knowledge Discovery from Data},
  year = {2023},
  url = {https://openreview.net/forum?id=T6_YJ0uIeew},
}

Loading related content...

Figure