Introduction
As artificial intelligence is increasingly deployed in high-risk sectors such as finance and healthcare, the demand for "trustworthiness" has transitioned from a preference to a legal necessity, exemplified by frameworks like the EU AI Act. eXplainable AI (XAI) serves this need by identifying the features—such as income, age, or medical history—that drive a model's decision.
However, current XAI methodologies face two critical hurdles. First is the disagreement problem: different explanation methods or model architectures often yield conflicting explanations for the same data point, creating user confusion. Second is a lack of robustness: popular methods like LIME and SHAP are often "jittery," where minor, insignificant perturbations to an input can lead to drastic changes in the resulting explanation, undermining their credibility.
A Multi-Model Aggregation Framework
To address these challenges, this research proposes a shift from explaining individual "black-box" models to aggregating explanations across an ensemble of diverse model types. The framework integrates three distinct model classes: k-Nearest Neighbors (k-NN), Random Forests (RF), and Neural Networks (NN).
Custom Feature Attribution Methods
Because standard model-agnostic tools often lack robustness, the authors developed or adapted model-specific attribution methods:
- k-NN: Attribution is calculated based on the average feature-wise distance between the input and its $k$ nearest neighbors of the same class versus the opposite class.
- Random Forest: The method tracks "node impurity" (Gini index) along decision paths across all trees, weighted by the model's class probability scores.
- Neural Networks: The framework utilizes DeepLIFT, a backpropagation-based method designed to attribute changes in the output to specific input features.
Aggregation Strategy
After normalizing the attribution vectors from each model to a common scale, the system computes a simple arithmetic average. This "ensemble explanation" naturally penalizes features where models disagree (as opposing signs cancel out) and highlights features where there is a strong consensus. This approach aims to provide a more conservative, trustworthy explanation that correlates with model agreement.
Experimental Results and Robustness
The approach was validated across five tabular datasets: Adult (income), Bank (marketing), Heloc (credit), Cancer (diagnosis), and White Wine (quality). Robustness was evaluated by generating "on-manifold" perturbations—realistic variations of the original data—and measuring the stability of the explanation using Spearman’s rank correlation.
Key Insights
- Aggregation as a Stabilizer: The aggregated explanation ("Agg") consistently acts as a stabilizer. While Neural Networks (using DeepLIFT) often showed the highest individual robustness (reaching 98.4% on the Cancer dataset), the Agg method provided a reliable middle ground, ensuring the explanation was not an outlier tied to a single model's specific quirks.
- Agreement Correlates with Quality: A significant finding is the strong correlation between model concordance and explanation robustness. When all three models agree on a prediction, the resulting explanation is significantly more stable. For the Cancer dataset, the Area Under the Curve (AUC) for predicting robustness based on model agreement reached 0.92.
- Superiority over Model-Agnostic Methods: Comparative testing revealed that LIME and SHAP performed poorly in terms of robustness compared to these model-specific counterparts, justifying the decision to build custom attribution logic for the ensemble.
Conclusion and Future Directions
By moving beyond single-model explanations, this framework leverages the predictive power of complex models (like NNs) while using the consensus of simpler models (like k-NN) to "vet" the explanation. While simple arithmetic averaging proved effective, future work will explore more complex aggregation logic to handle cases where models agree on feature importance but disagree on direction. Additionally, the authors plan to extend this ensemble effect to non-tabular data types and more diverse XAI approaches.
Summary updated