Lune

ICSE2023Top-tier venue

When and Why Test Generators for Deep Learning Produce Invalid Inputs: an Empirical Study

Vincenzo Riccio, Paolo Tonella

Abstract

Testing Deep Learning (DL) based systems inherently requires large and representative test sets to evaluate whether DL systems generalise beyond their training datasets. Diverse Test Input Generators (TIGs) have been proposed to produce artificial inputs that expose issues of the DL systems by triggering misbehaviours. Unfortunately, such generated inputs may be invalid, i.e., not recognisable as part of the input domain, thus providing an unreliable quality assessment. Automated validators can ease the burden of manually checking the validity of inputs for human testers, although input validity is a concept difficult to formalise and, thus, automate. In this paper, we investigate to what extent TIGs can generate valid inputs, according to both automated and human validators. We conduct a large empirical study, involving 2 different automated validators, 220 human assessors, 5 different TIGs and 3 classification tasks. Our results show that 84% artificially generated inputs are valid, according to automated validators, but their expected label is not always preserved. Automated validators reach a good consensus with humans (78% accuracy), but still have limitations when dealing with feature-rich datasets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • See the Forest, not Trees: Unveiling and Escaping the Pitfalls of Error-Triggering Inputs in Neural Network Testing cites Is neuron coverage a meaningful measure for testing deep neural networks?
  • Model-based exploration of the frontier of behaviours for deep learning system testing cites Taxonomy of real faults in deep learning systems
  • TestifAI: Tomography-Based Testing for Deep Learning Systems cites Is neuron coverage a meaningful measure for testing deep neural networks?
  • DeepHyperion: exploring the feature space of deep learning-based systems through illumination search cites Model-based exploration of the frontier of behaviours for deep learning system testing
  • DeepHyperion: exploring the feature space of deep learning-based systems through illumination search cites Taxonomy of real faults in deep learning systems
  • AudioTest: Prioritizing Audio Test Cases cites Misbehaviour prediction for autonomous driving systems
  • AudioTest: Prioritizing Audio Test Cases cites Model-based exploration of the frontier of behaviours for deep learning system testing
  • Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systems cites Misbehaviour prediction for autonomous driving systems
  • Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving Systems cites Model-based exploration of the frontier of behaviours for deep learning system testing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Bridging the Gap between Real-world and Synthetic Images for Testing Autonomous Driving SystemsMohammad Hossein Amini, Shiva NejatiASE 2024 · 2 citations
  2. See the Forest, not Trees: Unveiling and Escaping the Pitfalls of Error-Triggering Inputs in Neural Network TestingYuanyuan Yuan, Shuai Wang, Zhendong SuISSTA 2024 · 1 citation
  3. AudioTest: Prioritizing Audio Test CasesYinghua Li, Xueqi Dang, Wendkûuni C. Ouédraogo, Jacques Klein et al.ISSTA 2025 · 1 citation
  4. TestifAI: Tomography-Based Testing for Deep Learning SystemsArooj Arif, Tobias Hartung, Elena Botoeva, Alexandros KoliousisICSE 2026

Builds on9

  1. Taxonomy of real faults in deep learning systemsNargiz Humbatova, Gunel Jahangirova, Gabriele Bavota, Vincenzo Riccio et al.ICSE 2020 · 281 citations
  2. Is neuron coverage a meaningful measure for testing deep neural networks?Fabrice Harel-Canada, Lingxiao Wang, Muhammad Ali Gulzar, Quanquan Gu et al.FSE 2020 · 149 citations
  3. Misbehaviour prediction for autonomous driving systemsAndrea Stocco, Michael Weiss, Marco Calzana, Paolo TonellaICSE 2020 · 138 citations
  4. Model-based exploration of the frontier of behaviours for deep learning system testingVincenzo Riccio, Paolo TonellaFSE 2020 · 134 citations
  5. DeepHyperion: exploring the feature space of deep learning-based systems through illumination searchTahereh Zohdinasab, Vincenzo Riccio, Alessio Gambi, Paolo TonellaISSTA 2021 · 76 citations

Related papers

  1. Distribution-Aware Testing of Neural Networks Using Generative ModelsSwaroopa Dola, Matthew B. Dwyer, Mary Lou SoffaICSE 2021 · 3 citations
  2. DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation ScoreVincenzo Riccio, Nargiz Humbatova, Gunel Jahangirova, Paolo TonellaASE 2021 · 41 citations
  3. ACETest: Automated Constraint Extraction for Testing Deep Learning OperatorsJingyi Shi, Yang Xiao, Yuekang Li, Yeting Li et al.ISSTA 2023 · 24 citations
  4. Repairing Failure-inducing Inputs with Input ReflectionYan Xiao, Yun Lin, Ivan Beschastnikh, Changsheng Sun et al.ASE 2022 · 8 citations
  5. Deep Verifier Networks: Verification of Deep Discriminative Models with Deep Generative ModelsTong Che, Xiaofeng Liu, Site Li, Yubin Ge et al.AAAI 2021 · 54 citations
Dusk over the sea between two cliffs drawn in fine vertical lines