How does permutation feature importance measure a feature’s contribution, why must it be computed on held-out validation data rather than training data, and what happens when two strongly correlated features () are evaluated with it?
ML systems and evaluation, Interpretability
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you know the permutation importance algorithm, why overfitting distorts training importance, and how multicollinearity hides feature signal.
Key idea
Permutation importance measures the increase in model loss (or drop in score) when column of the feature matrix is randomly shuffled into for fitted model and targets ; correlated features cover for one another when shuffled individually, depressing both importances.
Steps
- Describe the algorithm: evaluate baseline loss on validation data ; for feature , randomly permute column across rows (breaking its relationship with while keeping its marginal distribution), recompute loss , and report (averaged over several shuffles).
- Explain why validation data is needed: on training data, an overfitted model can rely on pure noise features to memorise training labels, making irrelevant features appear highly important even though they hurt generalisation.
- Explain the correlation pitfall: if and a linear or tree model splits weight between them, shuffling alone barely hurts predictions because still carries almost the same signal—or even worse, creates unrealistic combinations off the data manifold.
- State the remedy: group correlated features and permute them together, or inspect conditional permutation importance.
Common mistakes
- Confusing tree impurity reduction (Gini/entropy importance, computed during training and biased toward high-cardinality features) with permutation importance.
- Concluding that a feature with near-zero permutation importance has no causal or predictive value when it is strongly collinear with another feature.
How long your answer should be
4–5 sentences.
Last checked on 4 December 2026.
Read this
Previous in ML systems and evaluation: On four binary outcomes , Forecaster A predicts and Forecaster B predicts . What are their Brier scores, and how do you prove that the Brier score is a strictly proper scoring rule?
Next in ML systems and evaluation: A weight tensor of 100 million parameters stored in FP32 (4 bytes each) spans the range . What are the unsigned INT8 () affine scale and zero-point , what are the quantised and dequantised values and error for , and how much parameter memory is saved?