DeepHunter: A coverage-guided fuzz testing framework for deep neural networks

The past decade has seen the great potential of applying deep neural network (DNN) based software to safety-critical scenarios, such as autonomous driving. Similar to traditional software, DNNs could exhibit incorrect behaviors, caused by hidden defects, leading to severe accidents and losses. In th...

Full description

Saved in:
Bibliographic Details
Main Authors: XIE, Xiaofei, MA, Lei, JUEFEI-XU, Felix, XUE, Minhui, CHEN, Hongxu, LIU, Yang, ZHAO, Jianjun, LI, Bo, YIN, Jianxiong, SEE, Simon
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2019
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/7064
https://ink.library.smu.edu.sg/context/sis_research/article/8067/viewcontent/3293882.3330579.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-8067
record_format dspace
spelling sg-smu-ink.sis_research-80672022-04-07T08:19:19Z DeepHunter: A coverage-guided fuzz testing framework for deep neural networks XIE, Xiaofei MA, Lei JUEFEI-XU, Felix XUE, Minhui CHEN, Hongxu LIU, Yang ZHAO, Jianjun LI, Bo YIN, Jianxiong SEE, Simon The past decade has seen the great potential of applying deep neural network (DNN) based software to safety-critical scenarios, such as autonomous driving. Similar to traditional software, DNNs could exhibit incorrect behaviors, caused by hidden defects, leading to severe accidents and losses. In this paper, we propose DeepHunter, a coverage-guided fuzz testing framework for detecting potential defects of general-purpose DNNs. To this end, we first propose a metamorphic mutation strategy to generate new semantically preserved tests, and leverage multiple extensible coverage criteria as feedback to guide the test generation. We further propose a seed selection strategy that combines both diversity-based and recency-based seed selection. We implement and incorporate 5 existing testing criteria and 4 seed selection strategies in DeepHunter. Large-scale experiments demonstrate that (1) our metamorphic mutation strategy is useful to generate new valid tests with the same semantics as the original seed, by up to a 98% validity ratio; (2) the diversity-based seed selection generally weighs more than recency-based seed selection in boosting the coverage and in detecting defects; (3) DeepHunter outperforms the state of the arts by coverage as well as the quantity and diversity of defects identified; (4) guided by corner-region based criteria, DeepHunter is useful to capture defects during the DNN quantization for platform migration. 2019-07-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7064 info:doi/10.1145/3293882.3330579 https://ink.library.smu.edu.sg/context/sis_research/article/8067/viewcontent/3293882.3330579.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University OS and Networks Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic OS and Networks
Software Engineering
spellingShingle OS and Networks
Software Engineering
XIE, Xiaofei
MA, Lei
JUEFEI-XU, Felix
XUE, Minhui
CHEN, Hongxu
LIU, Yang
ZHAO, Jianjun
LI, Bo
YIN, Jianxiong
SEE, Simon
DeepHunter: A coverage-guided fuzz testing framework for deep neural networks
description The past decade has seen the great potential of applying deep neural network (DNN) based software to safety-critical scenarios, such as autonomous driving. Similar to traditional software, DNNs could exhibit incorrect behaviors, caused by hidden defects, leading to severe accidents and losses. In this paper, we propose DeepHunter, a coverage-guided fuzz testing framework for detecting potential defects of general-purpose DNNs. To this end, we first propose a metamorphic mutation strategy to generate new semantically preserved tests, and leverage multiple extensible coverage criteria as feedback to guide the test generation. We further propose a seed selection strategy that combines both diversity-based and recency-based seed selection. We implement and incorporate 5 existing testing criteria and 4 seed selection strategies in DeepHunter. Large-scale experiments demonstrate that (1) our metamorphic mutation strategy is useful to generate new valid tests with the same semantics as the original seed, by up to a 98% validity ratio; (2) the diversity-based seed selection generally weighs more than recency-based seed selection in boosting the coverage and in detecting defects; (3) DeepHunter outperforms the state of the arts by coverage as well as the quantity and diversity of defects identified; (4) guided by corner-region based criteria, DeepHunter is useful to capture defects during the DNN quantization for platform migration.
format text
author XIE, Xiaofei
MA, Lei
JUEFEI-XU, Felix
XUE, Minhui
CHEN, Hongxu
LIU, Yang
ZHAO, Jianjun
LI, Bo
YIN, Jianxiong
SEE, Simon
author_facet XIE, Xiaofei
MA, Lei
JUEFEI-XU, Felix
XUE, Minhui
CHEN, Hongxu
LIU, Yang
ZHAO, Jianjun
LI, Bo
YIN, Jianxiong
SEE, Simon
author_sort XIE, Xiaofei
title DeepHunter: A coverage-guided fuzz testing framework for deep neural networks
title_short DeepHunter: A coverage-guided fuzz testing framework for deep neural networks
title_full DeepHunter: A coverage-guided fuzz testing framework for deep neural networks
title_fullStr DeepHunter: A coverage-guided fuzz testing framework for deep neural networks
title_full_unstemmed DeepHunter: A coverage-guided fuzz testing framework for deep neural networks
title_sort deephunter: a coverage-guided fuzz testing framework for deep neural networks
publisher Institutional Knowledge at Singapore Management University
publishDate 2019
url https://ink.library.smu.edu.sg/sis_research/7064
https://ink.library.smu.edu.sg/context/sis_research/article/8067/viewcontent/3293882.3330579.pdf
_version_ 1770576205913784320