mlsanityData to 14 Oct 2026

DocVCE: Diffusion-based Visual Counterfactual Explanations for Document Image Classification

arXiv 2508.04233 ↗First posted 6 Aug 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

As black-box AI-driven decision-making systems become increasingly widespread in modern document processing workflows, improving their transparency and reliability has become critical, especially in high-stakes applications where biases or spurious correlations in decision-making could lead to serious consequences. One vital component often found in such document processing workflows is document image classification, which, despite its widespread use, remains difficult to explain. While some recent works have attempted to explain the decisions of document image classification models through feature-importance maps, these maps are often difficult to interpret and fail to provide insights into the global features learned by the model. In this paper, we aim to bridge this research gap by introducing generative document counterfactuals that provide meaningful insights into the model's decision-making through actionable explanations. In particular, we propose DocVCE, a novel approach that leverages latent diffusion models in combination with classifier guidance to first generate plausible in-distribution visual counterfactual explanations, and then performs hierarchical patch-wise refinement to search for a refined counterfactual that is closest to the target factual image. We demonstrate the effectiveness of our approach through a rigorous qualitative and quantitative assessment on 3 different document classification datasets -- RVL-CDIP, Tobacco3482, and DocLayNet -- and 3 different models -- ResNet, ConvNeXt, and DiT -- using well-established evaluation criteria such as validity, closeness, and realism. To the best of the authors' knowledge, this is the first work to explore generative counterfactual explanations in document image analysis.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 41 of its 57 references that are in the map. First posted on arXiv 6 Aug 2025.

Builds on

41 of 57 references.

References · 41

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  4. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  5. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  6. 2022Generative Adversarial Networkscited by 5,627
  7. 2013Intriguing properties of neural networkscited by 5,155
  8. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  9. 2022A ConvNet for the 2020scited by 3,579
  10. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  11. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  12. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
29 more
  1. 2020Exploring Simple Siamese Representation Learningcited by 2,866
  2. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  3. 2013Visualizing and Understanding Convolutional Networkscited by 2,290
  4. 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
  5. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
  6. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
  7. 2017SmoothGrad: removing noise by adding noisecited by 1,109
  8. 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 485
  9. 2021OCR-free Document Understanding Transformercited by 407
  10. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 297
  11. 2015Evaluation of Deep Convolutional Nets for Document Image Classification and Retrievalcited by 213
  12. 2020Characterising Bias in Compressed Modelscited by 167
  13. 2022DiT: Self-supervised Pre-training for Document Image Transformercited by 152
  14. 2022DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysiscited by 148
  15. 2022Unifying Vision, Text, and Layout for Universal Document Processingcited by 140
  16. 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
  17. 2020Explainable Deep Learning: A Field Guide for the Uninitiatedcited by 127
  18. 2021Explaining in Style: Training a GAN to explain a classifier in StyleSpacecited by 122
  19. 2022Diffusion Visual Counterfactual Explanationscited by 96
  20. 2021LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysiscited by 58
  21. 2016On the Safety of Machine Learning: Cyber-Physical Systems, Decision Sciences, and Data Productscited by 52
  22. 2017Cutting the Error by Half: Investigation of Very Deep CNN and Advanced Training Strategies for Document Image Classificationcited by 22
  23. 2024RoDLA: Benchmarking the Robustness of Document Layout Analysis Modelscited by 13
  24. 2020Improving accuracy and speeding up Document Image Classification through parallel systemscited by 11
  25. 2024IDNet: A Novel Dataset for Identity Document Analysis and Fraud Detectioncited by 6
  26. 2022Revisiting the Shape-Bias of Deep Learning for Dermoscopic Skin Lesion Classificationcited by 4
  27. 2024Weakly Supervised Training for Hologram Verification in Identity Documentscited by 4
  28. 2024DocXplain: A Novel Model-Agnostic Explainability Method for Document Image Classificationcited by 4
  29. 2024Latent Diffusion for Guided Document Table Generationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Diffusion-based Visual Counterfactual Explanations -- Towards Systematic Quantitative Evaluation
  2. 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach
  3. 2022Diffusion Models for Counterfactual Explanations
  4. 2026Concept-based Visual Counterfactual Explanations with Diffusion Models
  5. 2025From Visual Explanations to Counterfactual Explanations with Latent Diffusion
  6. 2024CoLa-DCE -- Concept-guided Latent Diffusion Counterfactual Explanations
  7. 2025Diffusion Counterfactuals for Image Regressors
  8. 2024Global Counterfactual Directions