Strobl et al 2007 - Bias in RF Variable Importance - Overview

Summary

Question. Can random-forest variable importance be trusted for variable selection when predictors differ in scale of measurement or number of categories? Answer. Not with Breiman’s original forest. In a simulation with one continuous and four categorical predictors (2-20 levels), and 1000 runs, selection frequency and especially Gini importance prefer many-category and continuous noise variables, and permutation importance, though unbiased in mean, has a variance that grows with cardinality, so noise can outrank the true driver in a single run. Two causes: split-selection bias in CART trees (best-of-many-cutpoints = hidden multiple testing) and bootstrap-induced association (resampling with replacement makes independent variables look associated, more so with more categories, at any ). Solution: cforest — a forest of unbiased conditional inference trees — grown on subsamples without replacement; it raises the correct-identification rate (e.g. 0.413 → 0.729 at relevance 0.1) and slightly improves accuracy.

Overview

Contribution. (1) Illustrations: a clean simulation showing cardinality-driven artefacts in all three standard RF importance measures. (2) Sources: two separable mechanisms, each demonstrated with a stripped-down experiment (single trees, Fig. 10; tests on bootstrap samples, Fig. 11). (3) A solution: unbiased trees plus subsampling, validated in simulation and on a real RNA-editing data set. The paper’s subtitle names exactly these three parts.

Why it matters for model validation. Importance charts are routinely used to justify decisions (“these are the drivers”). This paper shows that an importance score can reflect how a variable is coded rather than how it relates to the outcome, and that the default pipeline (CART trees, bootstrap, Gini importance) is the worst case. The same defaults survive in many gradient-boosting “gain” importances.

Key numbers.

QuantityDefault randomForest (bootstrap)cforest (subsampling)Source
Correct identification of , unscaled PI, relevance 0.05 / 0.1 / 0.20.194 / 0.413 / 0.9280.370 / 0.729 / 0.994Table 3
Mean test misclassification, relevance 0.20.40280.3384Table 4
C-to-U data mean misclassification (100 splits)0.28960.2788Table 5
C-to-U run time0.24 s4.82 sConclusion

Main Content

Note Set

NoteWhat it holds
Strobl 2007 - RF Importance Measures and the cforest AlternativeBackground/motivation; random forest; definitions of selection frequency, Gini importance, permutation importance (scaled/unscaled); ctree/cforest; bootstrap vs 0.632 subsampling
Strobl 2007 - Null and Power Case Simulation DesignTables 1-2, ADEMP reading, protocol, effect sizes
Strobl 2007 - Null and Power Case ResultsFigs 1-8, Tables 3-4, Monte Carlo SE checks
Strobl 2007 - Split-Selection Bias in CART TreesMechanism 1, propagation to all measures, Fig. 10, root-split reproduction
Strobl 2007 - Bootstrap-Induced AssociationMechanism 2, Fig. 11, Bickel & Ren, proof sketch, reproduction at and
Strobl 2007 - C-to-U RNA Editing ApplicationData, Fig. 9, Table 5, seed advice, timings
Strobl 2007 - Conclusions, Scope and Practical GuidanceScope statement, recommendations checklist, cost, future work, limitations, metadata

Source Map

Source section / elementContentNote
Background (10 paras: 1-3 motivation, 4-6 applications survey, 7 scope claim, 8-10 roadmap)small-/large-; SNP-SNP, microarray, sequence-to-phenotype, protein-interaction and other applications; scope claim; roadmap (simulations, two sources, cforest + C-to-U re-analysis) — paragraph-by-paragraph tableStrobl 2007 - RF Importance Measures and the cforest Alternative
Methods introRF as ensemble of unpruned trees on bootstrap samples, mtry, interpretability problemStrobl 2007 - RF Importance Measures and the cforest Alternative
Methods §Random forest variable importance measuresselection frequency, Gini importance, permutation importance; advantage over univariate screeningStrobl 2007 - RF Importance Measures and the cforest Alternative
Methods §Simulation studies paras 1-4randomForest vs cforest; bootstrap vs 0.632 subsampling; subagging; Politis–Romano–WolfStrobl 2007 - RF Importance Measures and the cforest Alternative
Methods §Simulation studies paras 5-7; Table 1; Table 2predictor and response distributions; null and power case success criteria (incl. “even more so with increasing degree of dependence”); Strobl 2007 - Null and Power Case Simulation Design, Strobl 2007 - Null and Power Case Simulation Design
Results and discussion (intro)headline: all randomForest measures unreliable, Gini worstStrobl 2007 - Null and Power Case Results
§Null case — Fig. 1selection frequencyStrobl 2007 - Null and Power Case Results
§Null case — Fig. 2Gini importanceStrobl 2007 - Null and Power Case Results
§Null case — Figs 3, 4unscaled/scaled permutation importance; scaled depends on number of treesStrobl 2007 - Null and Power Case Results
§Power case — Fig. 5selection frequencyStrobl 2007 - Null and Power Case Results
§Power case — Fig. 6Gini importanceStrobl 2007 - Null and Power Case Results
§Power case — Figs 7, 8unscaled/scaled permutation importanceStrobl 2007 - Null and Power Case Results
§Power case — Table 3correct-identification rates, 8 rows (scaled/unscaled × 2 methods × 2 resampling schemes) × 4 relevance levels = 32 cells; monotone rise with relevanceStrobl 2007 - Null and Power Case Results
§Power case — paras before Table 4; Table 4many-category noise “fools” randomForest; cforest “can also be superior” in accuracy; mean misclassification rates with SEsStrobl 2007 - Null and Power Case Results
§Application to C-to-U conversion data — para. 1 and data listCummings & Myers’ three species (A. thaliana, B. napus, O. sativa); only Arabidopsis re-analysed; 876 obs, 43 predictorsStrobl 2007 - C-to-U RNA Editing Application
§Application — Fig. 9scaled permutation importance, four methodsStrobl 2007 - C-to-U RNA Editing Application
§Application — seed stability advicerepeat with several seedsStrobl 2007 - C-to-U RNA Editing Application
§Application — Table 5100 × 2:1 split misclassificationStrobl 2007 - C-to-U RNA Editing Application
§Sources of variable importance biastwo mechanisms overviewStrobl 2007 - Split-Selection Bias in CART Trees
§Variable selection bias in individual trees; Fig. 10cutpoint multiple testing; ctree -value selection; propagation to PI varianceStrobl 2007 - Split-Selection Bias in CART Trees, Strobl 2007 - Split-Selection Bias in CART Trees
§Effects induced by bootstrapping; Fig. 11 -value shift; cell counts; -invariance; Bickel & Ren; relative size of mechanismsStrobl 2007 - Bootstrap-Induced Association
Conclusionparas 1-2 (RF reach and the two reasons for its popularity); principle, scope, recommendations, computation time, van der Laan future workStrobl 2007 - Conclusions, Scope and Practical Guidance
Authors’ contributions; Additional file 1; Acknowledgementsroles, R code supplement, funding, thanks (Augustin, Leisch, Tutz, Bühlmann, referees); contributor informationStrobl 2007 - Conclusions, Scope and Practical Guidance

No theorems or proofs in the formal sense: the paper’s “results” are simulation findings and mechanism arguments, captured as [!theorem]-style callouts with block IDs.

Examples

Example: what the paper predicts for a typical marketing driver chart

Setup. A tree ensemble ranks drivers of a weekly KPI using continuous spend columns, a binary holiday flag, a 4-level promotion type and a 20-level region code, with default CART trees, bootstrap resampling and Gini (“gain”) importance.

Prediction from the paper. Gini importance will favour the 20-level code and the continuous spend columns even if they carry no signal (Results N2/P2), and the binary flag will be disadvantaged even if it is the true driver. Permutation importance removes the mean bias but its spread still grows with cardinality, so in a single run the region code can outrank the flag (Result P3; at an effect size like relevance 0.1, default randomForest ranks the true binary driver first in only 41.3% of runs, Table 3).

Remedy. Unbiased (conditional inference) trees, subsampling without replacement, permutation importance repeated over several seeds (^alg-checklist), plus a placebo run of the same pipeline (^ex-placebo-design).

Connections

See Also