A model-agnostic method explains a machine-learning black box using its inputs and outputs rather than its internal architecture. It can therefore support global explanations of overall behavior or local explanations of individual predictions. section 9.3 section 9.0
Model-agnostic explainability includes:
- Global methods such as permutation feature importance, partial dependence plots, and global surrogate models describe behavior across many examples. section 9.0
- Local methods such as LIME and SHAP explain individual predictions so users can decide what to do next. section 9.0 section 9.3
LIME makes the idea concrete. For one example, it creates nearby surrogate examples, weights them by distance, and fits an interpretable linear model that approximates the black box locally. The method balances fidelity to the black box against interpretability, including the number of features used by the surrogate. section 9.4.1
Explaining a subscription prediction
A LIME explanation can show why an XGBoost prediction for a marketing test example was positive or negative: features supporting subscription appear on one side, while features opposing it appear on the other.
