Litcius/Paper detail

CIT4DNN: Generating Diverse and Rare Inputs for Neural Networks Using Latent Space Combinatorial Testing

Swaroopa Dola, R. McDaniel, Matthew B. Dwyer, Mary Lou Soffa

202412 citationsDOIOpen Access PDF

Abstract

Deep neural networks (DNN) are being used in a wide range of applications including safety-critical systems. Several DNN test generation approaches have been proposed to generate fault-revealing test inputs. However, the existing test generation approaches do not systematically cover the input data distribution to test DNNs with diverse inputs, and none of the approaches investigate the relationship between rare inputs and faults. We propose cit4dnn, an automated black-box approach to generate DNN test sets that are feature-diverse and that comprise rare inputs. cit4dnn constructs diverse test sets by applying combinatorial interaction testing to the latent space of generative models and formulates constraints over the geometry of the latent space to generate rare and fault-revealing test inputs. Evaluation on a range of datasets and models shows that cit4dnn generated tests are more feature diverse than the state-of-the-art, and can target rare fault-revealing testing inputs more effectively than existing methods.

Topics & Concepts

Computer scienceCover (algebra)Range (aeronautics)Feature (linguistics)Artificial neural networkTest dataBlack boxArtificial intelligenceMachine learningGenerative grammarFault (geology)Space (punctuation)Feature vectorOrthogonal array testingPattern recognition (psychology)SoftwareEngineeringMechanical engineeringSoftware systemSeismologyLinguisticsOperating systemSoftware constructionGeologyProgramming languagePhilosophyAerospace engineeringAdversarial Robustness in Machine LearningSoftware Testing and Debugging TechniquesSoftware Engineering Research
CIT4DNN: Generating Diverse and Rare Inputs for Neural Networks Using Latent Space Combinatorial Testing | Litcius