Metamorphic Testing with the Rashomon Set: Explanation Faithfulness in Machine Learning

Helge Spieker, Jørn Eirik Betten, Arnaud Gotlieb
6/4/2026
cs.SEcs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Multiple machine learning models can achieve near-equivalent predictive performance on the same task, yet provide divergent feature-based explanations. This is called the Rashomon effect of (explainable) machine learning, and it raises the question of which explanations, if any, are trustworthy. We propose a framework based on metamorphic testing that assesses explanation faithfulness without requiring ground-truth labels by exploring attributed feature importance from post-hoc explanation methods. Five metamorphic relations formalize expected consistency properties between model behavior and feature attributions. We apply this general framework to two tabular regression datasets and two post-hoc explainers (SHAP and LIME) to demonstrate the approach. The framework offers a practical, model-agnostic tool for selecting accurate models with reliable and trustworthy explanations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{spieker2026metamorphic,
  title  = {Metamorphic Testing with the Rashomon Set: Explanation Faithfulness in Machine Learning},
  author = {Helge Spieker and Jørn Eirik Betten and Arnaud Gotlieb},
  year   = {2026},
  eprint = {2606.06056},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.06056v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.06056.svg)](https://codeofpaper.com/paper/2606.06056)

Discussion