In traditional machine learning, we treat models as static artifacts. We train them on a fixed dataset, freeze their weights, and then use interpretability tools like Partial Dependence Plots (PDP) or Permutation Feature Importance (PFI) to understand their logic.
However, real-world data is rarely static. In streaming environments, models must adapt to concept drift—changes in the underlying data distribution that render old patterns obsolete. If a model’s logic is constantly evolving, a "frozen" explanation becomes a liability. Recent research led by Maximilian Muschalik, Fabian Fumagalli, and their colleagues has pioneered a shift toward incremental global explanations, allowing us to track a model's "thinking" in real-time.
The Problem: The Explanatory Gap
When a model processes a continuous stream of data, batch-based explanation methods face a fundamental dilemma. If you calculate importance based on the entire history of the stream, the explanation becomes "stale," diluted by old data that no longer reflects the model's current behavior. If you instead re-calculate the explanation from scratch every time new data arrives, the computational cost explodes.
As noted in On Feature Removal for Explainability in Dynamic Environments, traditional measures fail to account for how model behavior evolves. Without a way to "forget" the past, practitioners cannot detect when a feature that was once critical has become irrelevant due to a shift in the environment.
The Solution: Recursive Updates and Exponential Smoothing
The core intuition behind this research direction is to replace batch averages with recursive update rules. Instead of storing all historical data to compute a global average, these methods update the current explanation using only the most recent observation.
The mechanism relies on exponential smoothing. By applying an exponential moving average to feature importance or effect values, the explanation prioritizes recent model behavior while gradually phasing out the influence of older, potentially irrelevant data. This approach, formalized in the iPFI (Incremental Permutation Feature Importance) algorithm by Fabian Fumagalli et al. in Incremental Permutation Feature Importance (iPFI): Towards Online Explanations on Data Streams, allows for "anytime" explanations. At any point in the stream, the user can query the current state of the model's logic.
Tracking Importance vs. Tracking Effects
This incremental framework has been applied to the two primary ways we understand global model behavior:
- Feature Importance (iPFI): Fumagalli and Muschalik demonstrate in Incremental Permutation Feature Importance (iPFI): Towards Online Explanations on Data Streams how to track which features are most influential. By using reservoir sampling and constant-time updates, iPFI detects immediately when a feature's relevance shifts.
- Feature Effects (iPDP): In iPDP: On Partial Dependence Plots in Dynamic Modeling Scenarios, Maximilian Muschalik and Eyke Hüllermeier extend this to Partial Dependence Plots. This allows researchers to see not just that a feature is important, but how the model's predicted relationship with that feature changes over time (e.g., a linear relationship becoming non-linear as more data arrives).
Efficiency: Constant Time and Memory
A critical requirement for streaming XAI is that the explanation shouldn't slow down the model. The framework proposed by Maximilian Muschalik, Fabian Fumagalli, Barbara Hammer, and Eyke Hüllermeier in Explaining Change in Models and Data with Global Feature Importance and Effects achieves constant-time complexity per update.
Because the update rules are recursive, the computational cost does not scale with the length of the data stream. This makes it feasible to monitor complex models in high-velocity environments where traditional batch processing would be impossible. By reducing the complexity from linear (relative to history) to constant, these "Incremental Model-Agnostic Global Explanations" (MAGE) provide a scalable path toward truly transparent autonomous systems.