When Superpixels Fail on Documents: A Study of Segmentation for LIME Explanations
Not on the map. Why?
Abstract (arXiv)
Post-hoc explanation methods are widely used to inspect image classifiers, but their reliability depends on design choices that are often treated as implementation details. We study this issue for LIME on document image classification, focusing on the segmentation step that defines the interpretable units being perturbed. Standard image-based LIME typically relies on natural-image superpixels, which are poorly aligned with document structure such as text regions, layout blocks, and identification codes. Using RVL-CDIP, we compare Quickshift and SLIC with document-aware segmentations based on OCR bounding boxes and regular grids. Our results show that segmentation strongly affects explanation consistency, correctness, and local fidelity. Document-aware segmentations produce more stable and faithful explanations, require fewer perturbations to converge, and expose shortcut behaviour based on document identification codes, a known RVL-CDIP bias that superpixel-based LIME often obscures. These findings show that reliable post-hoc explanation requires domain-aware interpretable representations, and that segmentation should be treated as part of the explanation method rather than as neutral preprocessing.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 32 references that are in the map. First posted on arXiv 7 Sep 2026.
Builds on
17 of 32 references.
References · 17
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 838
- 2023Explainability for Large Language Models: A Surveycited by 333
- 2022From Anecdotal Evidence to Quantitative Evaluation Methods: A Systematic Review on Evaluating Explainable AIcited by 302
- 2015Evaluation of Deep Convolutional Nets for Document Image Classification and Retrievalcited by 213
- 2025PaddleOCR 3.0 Technical Reportcited by 143
- 2021S-LIME: Stabilized-LIME for Model Explanationcited by 52
- 2020BayLIME: Bayesian Local Interpretable Model-Agnostic Explanationscited by 51
- 2020Statistical stability indices for LIME: obtaining reliable explanations for Machine Learning modelscited by 40
- 2021To trust or not to trust an explanation: using LEAF to evaluate local linear XAI methodscited by 26
- 2020An Analysis of LIME for Text Datacited by 25
- 2020Looking Deeper into Tabular LIMEcited by 20
5 more
- 2024Beyond Pixels: Enhancing LIME with Hierarchical Features and Segmentation Foundation Modelscited by 8
- 2025Which LIME should I trust? Concepts, Challenges, and Solutionscited by 8
- 2023On Evaluation of Document Classification using RVL-CDIPcited by 5
- 2024DocXplain: A Novel Model-Agnostic Explainability Method for Document Image Classificationcited by 4
- 2024Segmentation and Smoothing Affect Explanation Quality More Than the Choice of Perturbation-based XAI Method for Image Explanationscited by 2
Built on by
Not cited yet.