[Paper Review] DLIME: A Deterministic Local Interpretable Model-Agnostic Explanations Approach for Computer-Aided Diagnosis Systems
DLIME replaces random perturbation in LIME with hierarchical clustering and KNN to produce deterministic, stable explanations for medical predictions, demonstrated on three UCI healthcare datasets.
Local Interpretable Model-Agnostic Explanations (LIME) is a popular technique used to increase the interpretability and explainability of black box Machine Learning (ML) algorithms. LIME typically generates an explanation for a single prediction by any ML model by learning a simpler interpretable model (e.g. linear classifier) around the prediction through generating simulated data around the instance by random perturbation, and obtaining feature importance through applying some form of feature selection. While LIME and similar local algorithms have gained popularity due to their simplicity, the random perturbation and feature selection methods result in "instability" in the generated explanations, where for the same prediction, different explanations can be generated. This is a critical issue that can prevent deployment of LIME in a Computer-Aided Diagnosis (CAD) system, where stability is of utmost importance to earn the trust of medical professionals. In this paper, we propose a deterministic version of LIME. Instead of random perturbation, we utilize agglomerative Hierarchical Clustering (HC) to group the training data together and K-Nearest Neighbour (KNN) to select the relevant cluster of the new instance that is being explained. After finding the relevant cluster, a linear model is trained over the selected cluster to generate the explanations. Experimental results on three different medical datasets show the superiority for Deterministic Local Interpretable Model-Agnostic Explanations (DLIME), where we quantitatively determine the stability of DLIME compared to LIME utilizing the Jaccard similarity among multiple generated explanations.
Motivation & Objective
- Motivate stability concerns in local model-agnostic explanations for CAD systems.
- Propose a deterministic alternative to LIME (DLIME) using HC and KNN.
- Show DLIME yields consistent explanations across iterations on medical datasets.
Proposed method
- Replace random perturbation in LIME with agglomerative hierarchical clustering to form clusters.
- Use KNN to identify the predominant cluster for a test instance.
- Train a linear regression model on the selected cluster to generate explanations.
- Demonstrate determinism by using clustering-derived samples rather than random perturbations.
- Evaluate stability via Jaccard similarity (or distance) across multiple explanations.
- Provide public code and data repository for reproducibility.
Experimental results
Research questions
- RQ1Can a deterministic framework like DLIME provide explanations that are stable across repeated explanations for the same instance?
- RQ2How does the stability of DLIME compare to LIME when explaining predictions on medical datasets?
- RQ3What is the impact of using hierarchical clustering and KNN-based sampling on explanation quality in CAD contexts.
Key findings
- DLIME produces deterministic explanations with zero Jaccard distance across 10 iterations on all tested datasets and models.
- LIME shows nonzero, substantial variability in explanations across iterations, indicating instability.
- Experiments on three healthcare datasets (Breast Cancer, Liver, Hepatitis) show DLIME stability superior to LIME.
- Table results indicate DLIME’s stability is consistently zero for all dataset-model combinations, whereas LIME exhibits notable instability (nonzero Jaccard distances).
- The study confirms that DLIME can maintain explanation consistency while LIME perturbations lead to fluctuating feature importance.
- All datasets and code are available in the referenced GitHub repository for reproducibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.