# MeLIME: Meaningful Local Explanation for Machine Learning Models

arXiv: https://arxiv.org/abs/2009.05818 · HTML: https://mlsanity.com/paper/2009.05818/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 12 Sep 2020.

## Built on by (most cited first, 9 of 9)

- [The Road to Explainability is Paved with Bias: Measuring the Fairness of Explanations](https://mlsanity.com/paper/2205.03295/) (2022)
- [On Locality of Local Explanation Models](https://mlsanity.com/paper/2106.14648/) (2021)
- [Auditing Local Explanations is Hard](https://mlsanity.com/paper/2407.13281/) (2024)
- [Which LIME should I trust? Concepts, Challenges, and Solutions](https://mlsanity.com/paper/2503.24365/) (2025)
- [Contrastive Explanations for Explaining Model Adaptations](https://mlsanity.com/paper/2104.02459/) (2021)
- [Locally Invariant Explanations: Towards Stable and Unidirectional Explanations through Local Invariant Learning](https://mlsanity.com/paper/2201.12143/) (2022)
- [Model interpretation using improved local regression with variable importance](https://mlsanity.com/paper/2209.05371/) (2022)
- [ITL-LIME: Instance-Based Transfer Learning for Enhancing Local Explanations in Low-Resource Data Settings](https://mlsanity.com/paper/2508.13672/) (2025)
- [Activation-Deactivation: A General Framework for Robust Post-hoc Explainable AI](https://mlsanity.com/paper/2510.01038/) (2025)

## Abstract (arXiv)

Most state-of-the-art machine learning algorithms induce black-box models, preventing their application in many sensitive domains. Hence, many methodologies for explaining machine learning models have been proposed to address this problem. In this work, we introduce strategies to improve local explanations taking into account the distribution of the data used to train the black-box models. We show that our approach, MeLIME, produces more meaningful explanations compared to other techniques over different ML models, operating on various types of data. MeLIME generalizes the LIME method, allowing more flexible perturbation sampling and the use of different local interpretable models. Additionally, we introduce modifications to standard training algorithms of local interpretable models fostering more robust explanations, even allowing the production of counterfactual examples. To show the strengths of the proposed approach, we include experiments on tabular data, images, and text; all showing improved explanations. In particular, MeLIME generated more meaningful explanations on the MNIST dataset than methods such as GuidedBackprop, SmoothGrad, and Layer-wise Relevance Propagation. MeLIME is available on https://github.com/tiagobotari/melime.
