Abstract
In machine learning, the "Rashomon Effect" describes the phenomenon where multiple models achieve nearly identical performance on a dataset while utilizing fundamentally different internal decision-making strategies. This study investigates how this effect impacts Explainable AI (XAI), specifically focusing on the stability and reliability of feature attribution methods. By evaluating models across tabular and text datasets, the research demonstrates that the Rashomon Effect introduces significant fragility into model explanations, making them sensitive to random initialization and hyperparameter choices.
1. Introduction
A common assumption in predictive modeling is that high-performing models trained on the same data will converge toward a similar logic. However, the "Rashomon Effect" suggests the existence of a "Rashomon Set"—a collection of models that are functionally equivalent in terms of accuracy but diverse in their internal representations. This paper explores the implications of this diversity for XAI. If two models produce the same output for the same reason, their explanations should be identical. If they differ, the trust placed in XAI for scientific discovery or regulatory compliance may be misplaced.
2. Problem Statement: The XAI Disagreement Problem
While it is well-documented that different XAI methods (e.g., SHAP vs. LIME) often disagree on feature importance, this research identifies a deeper issue: the interaction between the Rashomon Effect and explanation stability. The authors categorize the challenges into three distinct scenarios:
- Numerical Stability (1-1-1): Does the same method provide the same explanation for the same model and sample across multiple runs? This is critical for methods involving stochastic sampling.
- Solution Diversity (0-1-1): Do different models within the same Rashomon Set provide different explanations for the same sample using the same method?
- The Disagreement Problem (1-1-0): How do different XAI methods disagree when applied to the same model and sample, and does this disagreement vary across the Rashomon Set?
3. Methodology
The authors developed a unified framework to test these scenarios using five prominent attribution methods: Vanilla Gradient, SmoothGrad, Integrated Gradients, KernelSHAP, and LIME.
3.1 Experimental Setup
The study utilized four datasets:
- AG News: Text classification using Bi-LSTM architectures.
- Dry Bean, Breast Cancer Wisconsin, and Ionosphere: Tabular classification tasks using fully connected Feed-Forward Neural Networks.
To construct the Rashomon Sets, the authors trained 100 instances of each model, varying only the random seed for initialization. Only models performing within 5% of the top-performing model's accuracy were retained, ensuring functional equivalence.
4. Key Findings
4.1 Hyperparameter Sensitivity and Stability
A significant finding is that numerical stability is not a global property of an XAI method but is highly dependent on the specific model instance. For perturbation-based methods like KernelSHAP and LIME, the number of samples required to reach a stable explanation varied by up to 12x between models in the same Rashomon Set. This suggests that default XAI hyperparameters are often insufficient and must be tuned for every individual model.
4.2 Solution Diversity
Even when models exhibited nearly identical output distributions (measured via Jensen-Shannon Distance), their explanations remained highly diverse. This confirms that models in the Rashomon Set are finding "different ways to be right." The distance between explanations was particularly high for perturbation-based methods, indicating that these models rely on different feature subspaces to achieve similar accuracy.
4.3 Model-Dependent Disagreement
The study found that the way different XAI methods (like SHAP and LIME) disagree is not consistent. The ranking of feature importance can shift dramatically depending on which specific model from the Rashomon Set is being analyzed. There is no universal "similarity" between XAI methods; their alignment is a function of the model's internal geometry.
5. Discussion and Conclusion
The Rashomon Effect poses a significant challenge for the use of ML as an epistemic tool. If multiple, equally valid logical paths exist to solve a problem, an explanation from a single model may be an artifact of random initialization rather than a reflection of a fundamental truth in the data.
Practitioners are cautioned against relying on a single metric or a single model's explanation. Future research should focus on whether models can be regularized to not only perform well but also to adhere to a consistent explanatory profile, potentially narrowing the Rashomon Set to more "interpretable" or "stable" solutions.
Summary updated