Abstract
Model-agnostic interpretation techniques allow us to explain the behavior of any predictive model. Due to different notations and terminology, it is difficult to see how they are related. A unified view on these methods has been missing. We present the generalized SIPA (sampling, intervention, prediction, aggregation) framework of work stages for model-agnostic interpretations and demonstrate how several prominent methods for feature effects can be embedded into the proposed framework. Furthermore, we extend the framework to feature importance computations by pointing out how variance-based and performance-based importance measures are based on the same work stages. The SIPA framework reduces the diverse set of model-agnostic techniques to a single methodology and establishes a common terminology to discuss them in future work.
Introduction
The field of Interpretable Machine Learning (IML) has seen a proliferation of model-agnostic techniques—tools designed to explain any model, from linear regressions to deep neural networks. However, because methods like Individual Conditional Expectation (ICE), Accumulated Local Effects (ALE), and Permutation Feature Importance (PFI) were developed in isolation, they often use conflicting mathematical notations. This fragmentation makes it difficult to compare methods or understand why certain techniques fail in specific scenarios, such as when features are highly correlated.
This paper introduces the SIPA framework, a unified four-stage workflow that deconstructs complex interpretation methods into simple, comparable steps: Sampling, Intervention, Prediction, and Aggregation.
The SIPA Framework
The SIPA framework breaks down the interpretation process into four sequential stages:
- Sampling: Selecting a subset of the data to reduce computational overhead while maintaining representativeness.
- Intervention: The "What if?" stage. Data is manipulated by altering specific feature values. This can involve using observed values (as in Partial Dependence) or unobserved values (such as small steps used for gradients).
- Prediction: Passing the intervened data through the original black-box model to observe changes in output.
- Aggregation: Summarizing the resulting predictions into human-understandable formats. This may involve calculating an average (global effect), a variance (importance measure), or training a simpler surrogate model (as seen in LIME).
Mapping Model-Agnostic Methods
By applying this framework, the authors demonstrate that most prominent interpretation methods are simply different configurations of these four stages. The "Intervention" stage is often where the most critical differences lie. For example, Partial Dependence (PD) uses marginal distributions, whereas Accumulated Local Effects (ALE) utilizes conditional distributions to avoid extrapolating into impossible data regions.
Furthermore, the framework reveals that feature importance measures are frequently just specific aggregations of feature effects. For instance, the Feature Importance Ranking Measure (FIRM) is essentially the standard deviation (aggregation) of a Partial Dependence plot. Even LIME (Local Interpretable Model-agnostic Explanations), which is often categorized separately, can be viewed as a complex form of data aggregation where a surrogate model is trained on weighted predictions.
Key Insights and Future Work
The SIPA framework provides a "recipe book" for model-agnostic interpretations, offering a single set of symbols and logic to compare mathematical differences. While the framework currently focuses on model-agnostic methods and does not yet differentiate between functions and their statistical estimates, it establishes a foundation for a more unified view of Explainable AI (XAI).
Future work may leverage this framework to develop standardized software implementations that allow users to "mix and match" different sampling, intervention, and aggregation strategies to create custom, robust explanations for black-box models.
Summary updated