Skip to main navigation Skip to search Skip to main content

DeepMutation: Mutation Testing of Deep Learning Systems

  • Lei Ma*
  • , Fuyuan Zhang
  • , Jiyuan Sun
  • , Minhui Xue
  • , Bo Li
  • , Felix Juefei-Xu
  • , Chao Xie
  • , Li Li
  • , Yang Liu
  • , Jianjun Zhao
  • , Yadong Wang
  • *Corresponding author for this work
  • Harbin Institute of Technology
  • Nanyang Technological University
  • Kyushu University
  • University of Illinois at Urbana-Champaign
  • Carnegie Mellon University
  • Monash University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Deep learning (DL) defines a new data-driven programming paradigm where the internal system logic is largely shaped by the training data. The standard way of evaluating DL models is to examine their performance on a test dataset. The quality of the test dataset is of great importance to gain confidence of the trained models. Using an inadequate test dataset, DL models that have achieved high test accuracy may still lack generality and robustness. In traditional software testing, mutation testing is a well-established technique for quality evaluation of test suites, which analyzes to what extent a test suite detects the injected faults. However, due to the fundamental difference between traditional software and deep learning-based software, traditional mutation testing techniques cannot be directly applied to DL systems. In this paper, we propose a mutation testing framework specialized for DL systems to measure the quality of test data. To do this, by sharing the same spirit of mutation testing in traditional software, we first define a set of source-level mutation operators to inject faults to the source of DL (i.e., training data and training programs). Then we design a set of model-level mutation operators that directly inject faults into DL models without a training process. Eventually, the quality of test data could be evaluated from the analysis on to what extent the injected faults could be detected. The usefulness of the proposed mutation testing techniques is demonstrated on two public datasets, namely MNIST and CIFAR-10, with three DL models.

Original languageEnglish
Title of host publicationProceedings - 29th IEEE International Symposium on Software Reliability Engineering, ISSRE 2018
EditorsSudipto Ghosh, Bojan Cukic, Robin Poston, Roberto Natella, Nuno Laranjeiro
PublisherIEEE Computer Society
Pages100-111
Number of pages12
ISBN (Electronic)9781538683217
DOIs
StatePublished - 16 Nov 2018
Externally publishedYes
Event29th IEEE International Symposium on Software Reliability Engineering, ISSRE 2018 - Memphis, United States
Duration: 15 Oct 201818 Oct 2018

Publication series

NameProceedings - International Symposium on Software Reliability Engineering, ISSRE
Volume2018-October
ISSN (Print)1071-9458

Conference

Conference29th IEEE International Symposium on Software Reliability Engineering, ISSRE 2018
Country/TerritoryUnited States
CityMemphis
Period15/10/1818/10/18

Keywords

  • Deep learning, Software testing, Deep neural networks, Mutation testing

Fingerprint

Dive into the research topics of 'DeepMutation: Mutation Testing of Deep Learning Systems'. Together they form a unique fingerprint.

Cite this