How SMILE works¶
SMILE means Statistical Model-agnostic Interpretability with Local Explanations.
At a high level, an implemented XWhy pipeline:
- selects the input instance to explain;
- creates local perturbations of meaningful input components;
- queries the target black-box model or provider;
- measures how outputs change using a suitable distance or similarity method;
- weights observations according to local relevance;
- fits or selects a surrogate model around the selected instance;
- reports estimated local contributions and evaluation metrics.
Why statistical distances matter¶
Different modalities require different definitions of change. A useful distance measure must reflect meaningful changes in model behaviour rather than only low-level input differences.
The exact distance, perturbation, and surrogate choices are modality-specific. Consult the current explainer tutorial and API reference rather than assuming that settings transfer unchanged across image and language tasks.