TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzing

By Augustus Odena, Ian J. Goodfellow. International Conference on Machine Learning, 2018

368 citations recorded by the source corpus.

Machine learning models are notoriously difficult to interpret and debug. This is particularly true of neural networks. In this work, we introduce automated software testing techniques for neural networks that are well-suited to discovering errors which occur only for rare inputs. Specifically, we develop coverage-guided fuzzing (CGF) methods for neural networks. In CGF, random mutations of inputs to a neural network are guided by a coverage metric toward the goal of satisfying user-specified constraints. We describe how fast approximate nearest neighbor algorithms can provide this coverage metric. We then discuss the application of CGF to the following goals: finding numerical errors in trained neural networks, generating disagreements between neural networks and quantized versions of those networks, and surfacing undesirable behavior in character level language models. Finally, we release an open source library called TensorFuzz that implements the described techniques.

Subfields: Artificial Intelligence, Software

View Paper: https://www.semanticscholar.org/paper/0735bc67a2149d5c6f38a2e97b2ef8678666d577

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Xiaowei Huang
  2. Wenjie Ruan
  3. Daniel Kroening
  4. Youcheng Sun
  5. Min Wu
  6. Yang Liu
  7. Bo Li
  8. James Sharp

In Software

  1. Yang Liu
  2. Jie M. Zhang
  3. Lei Ma
  4. Julie Arnold Shah
  5. Daniel Kroening
  6. Jianjun Zhao
  7. Mark Harman
  8. Xinping Yi

Citations in the corpus