mlsanityData to 7 Oct 2026

Guiding Deep Learning System Testing using Surprise Adequacy

arXiv 1808.08444 ↗First posted 25 Aug 2018cs.SE cs.NEcited by 123

Not on the map. Why?

Abstract (arXiv)

Deep Learning (DL) systems are rapidly being adopted in safety and security critical domains, urgently calling for ways to test their correctness and robustness. Testing of DL systems has traditionally relied on manual collection and labelling of data. Recently, a number of coverage criteria based on neuron activation values have been proposed. These criteria essentially count the number of neurons whose activation during the execution of a DL system satisfied certain properties, such as being above predefined thresholds. However, existing coverage criteria are not sufficiently fine grained to capture subtle behaviours exhibited by DL systems. Moreover, evaluations have focused on showing correlation between adversarial examples and proposed criteria rather than evaluating and guiding their use for actual testing of DL systems. We propose a novel test adequacy criterion for testing of DL systems, called Surprise Adequacy for Deep Learning Systems (SADL), which is based on the behaviour of DL systems with respect to their training data. We measure the surprise of an input as the difference in DL system's behaviour between the input and the training data (i.e., what was learnt during training), and subsequently develop this as an adequacy criterion: a good test input should be sufficiently but not overtly surprising compared to training data. Empirical evaluation using a range of DL systems from simple image classifiers to autonomous driving car platforms shows that systematic sampling of inputs based on their surprise can improve classification accuracy of DL systems against adversarial examples by up to 77.5% via retraining.

Key facts. Cited by 123 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Aug 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 30; 2022: 23; 2023: 20; 2024: 26; 2025: 13; 2026: 11.

123 papers.

Sort:

By area:

  1. 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 65
  2. 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 40
  3. 2021DeepHyperion: Exploring the Feature Space of Deep Learning-Based Systems through Illumination Searchcited by 29
  4. 2022Simple Techniques Work Surprisingly Well for Neural Network Test Prioritization and Active Learning (Replicability Study)cited by 27
  5. 2021Can Offline Testing of Deep Neural Networks Replace Their Online Testing?cited by 24
  6. 2022Towards Comprehensive Testing on the Robustness of Cooperative Multi-agent Reinforcement Learningcited by 21
  7. 2021Black-Box Testing of Deep Neural Networks Through Test Case Diversitycited by 18
  8. 2022When and Why Test Generators for Deep Learning Produce Invalid Inputs: an Empirical Studycited by 18
  9. 2022NPC: Neuron Path Coverage via Characterizing Decision Logic of Deep Neural Networkscited by 17
  10. 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
  11. 2024AcTracer: Active Testing of Large Language Model via Multi-Stage Samplingcited by 16
  12. 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
38 more
  1. 2021Attack as Defense: Characterizing Adversarial Examples using Robustnesscited by 14
  2. 2021Automatic Fairness Testing of Neural Classifiers through Adversarial Samplingcited by 14
  3. 2024Harnessing Neuron Stability to Improve DNN Verificationcited by 13
  4. 2024Are LLMs Correctly Integrated into Software Systems?cited by 13
  5. 2021Towards Practical Robustness Analysis for DNNs based on PAC-Model Learningcited by 12
  6. 2021DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Scorecited by 12
  7. 2021Understanding Performance Problems in Deep Learning Systemscited by 12
  8. 2021PatchCensor: Patch Robustness Certification for Transformers via Exhaustive Testingcited by 11
  9. 2021MDPFuzz: Testing Models Solving Markov Decision Processescited by 11
  10. 2023DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networkscited by 11
  11. 2024Predicting Safety Misbehaviours in Autonomous Driving Systems using Uncertainty Quantificationcited by 11
  12. 2024A Cross-Domain Benchmark for Active Learningcited by 11
  13. 2021A Review and Refinement of Surprise Adequacycited by 9
  14. 2021Performance Analysis of Out-of-Distribution Detection on Various Trained Neural Networkscited by 9
  15. 2021Revisiting Neuron Coverage for DNN Testing: A Layer-Wise and Distribution-Aware Criterioncited by 9
  16. 2022Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimationcited by 9
  17. 2022Generating and Detecting True Ambiguity: A Forgotten Danger in DNN Supervision Testingcited by 8
  18. 2024Machine Learning Robustness: A Primercited by 8
  19. 2024Large Language Models Synergize with Automated Machine Learningcited by 8
  20. 2021TestRank: Bringing Order into Unlabeled Test Instances for Deep Learning Taskscited by 7
  21. 2021ArchRepair: Block-Level Architecture-Oriented Repairing for Deep Neural Networkscited by 7
  22. 2022Performance Analysis of Out-of-Distribution Detection on Trained Neural Networkscited by 7
  23. 2023A Scenario-Based Functional Testing Approach to Improving DNN Performancecited by 7
  24. 2024A Unified Approach Towards Active Learning and Out-of-Distribution Detectioncited by 7
  25. 2021Measuring Discrimination to Boost Comparative Testing for Multiple Deep Learning Modelscited by 6
  26. 2021Distribution Awareness for AI System Testingcited by 6
  27. 2021Fairness Testing of Deep Image Classification with Adequacy Metricscited by 6
  28. 2022CodeS: Towards Code Model Generalization Under Distribution Shiftcited by 6
  29. 2023DeepLens: Interactive Out-of-distribution Data Detection in NLP Modelscited by 5
  30. 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
  31. 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forwardcited by 5
  32. 2021Corner case data description and detectioncited by 4
  33. 2021NEUROSPF: A tool for the Symbolic Analysis of Neural Networkscited by 4
  34. 2022Simulator-based explanation and debugging of hazard-triggering events in DNN-based safety-critical systemscited by 4
  35. 2023CertPri: Certifiable Prioritization for Deep Neural Networks via Movement Cost in Feature Spacecited by 4
  36. 2023Evaluating the Robustness of Test Selection Methods for Deep Neural Networkscited by 4
  37. 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
  38. 2021Test Automation with Grad-CAM Heatmaps -- A Future Pipe Segment in MLOps for Vision AI?cited by 3

50 most cited of 123 All 123 (JSON)