mlsanityData to 14 Oct 2026

DANDI: Diffusion as Normative Distribution for Deep Neural Network Input

arXiv 2502.02910 ↗First posted 5 Feb 2025cs.SE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Surprise Adequacy (SA) has been widely studied as a test adequacy metric that can effectively guide software engineers towards inputs that are more likely to reveal unexpected behaviour of Deep Neural Networks (DNNs). Intuitively, SA is an out-of-distribution metric that quantifies the dissimilarity between the given input and the training data: if a new input is very different from those seen during training, the DNN is more likely to behave unexpectedly against the input. While SA has been widely adopted as a test prioritization method, its major weakness is the fact that the computation of the metric requires access to the training dataset, which is often not allowed in real-world use cases. We present DANDI, a technique that generates a surrogate input distribution using Stable Diffusion to compute SA values without requiring the original training data. An empirical evaluation of DANDI applied to image classifiers for CIFAR10 and ImageNet-1K shows that SA values computed against synthetic data are highly correlated with the values computed against the training data, with Spearman Rank correlation value of 0.852 for ImageNet-1K and 0.881 for CIFAR-10. Further, we show that SA value computed by DANDI achieves can prioritize inputs as effectively as those computed using the training data, when testing DNN models mutated by DeepMutation. We believe that DANDI can significantly improve the usability of SA for practical DNN testing.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 15 of its 28 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

15 of 28 references.

References · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  8. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 311
  9. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 251
  10. 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 124
  11. 2019Taxonomy of Real Faults in Deep Learning Systemscited by 90
  12. 2018DeepMutation: Mutation Testing of Deep Learning Systemscited by 67
3 more
  1. 2020Reducing DNN Labelling Cost using Surprise Adequacy: An Industrial Case Study for Autonomous Drivingcited by 22
  2. 2020SINVAD: Search-based Image Space Navigation for DNN Image Classifier Test Input Generationcited by 15
  3. 2021Revisiting Neuron Coverage for DNN Testing: A Layer-Wise and Distribution-Aware Criterioncited by 11

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024DiffBreak: Is Diffusion-Based Purification Robust?
  2. 2024Exploring Diffusion Models' Corruption Stage in Few-Shot Fine-tuning and Mitigating with Bayesian Neural Networks
  3. 2023Diffusion-C: Unveiling the Generative Challenges of Diffusion Models through Corrupted Data
  4. 2025Inference Time Debiasing Concepts in Diffusion Models
  5. 2024Adv-KD: Adversarial Knowledge Distillation for Faster Diffusion Sampling
  6. 2025Taming Diffusion for Dataset Distillation with High Representativeness
  7. 2024Shedding Light on Large Generative Networks: Estimating Epistemic Uncertainty in Diffusion Models
  8. 2023Exposing the Fake: Effective Diffusion-Generated Images Detection