DeepStellar: Model-based quantitative analysis of stateful deep learning systems
Deep Learning (DL) has achieved tremendous success in many cutting-edge applications. However, the state-of-the-art DL systems still suffer from quality issues. While some recent progress has been made on the analysis of feed-forward DL systems, little study has been done on the Recurrent Neural Net...
Saved in:
Main Authors: | , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2019
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/7068 https://ink.library.smu.edu.sg/context/sis_research/article/8071/viewcontent/3338906.3338954.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-8071 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-80712022-04-07T08:16:56Z DeepStellar: Model-based quantitative analysis of stateful deep learning systems DU, Xiaoning XIE, Xiaofei LI, Yi MA, Lei LIU, Yang ZHAO, Jianjun Deep Learning (DL) has achieved tremendous success in many cutting-edge applications. However, the state-of-the-art DL systems still suffer from quality issues. While some recent progress has been made on the analysis of feed-forward DL systems, little study has been done on the Recurrent Neural Network (RNN)-based stateful DL systems, which are widely used in audio, natural languages and video processing, etc. In this paper, we initiate the very first step towards the quantitative analysis of RNN-based DL systems. We model RNN as an abstract state transition system to characterize its internal behaviors. Based on the abstract model, we design two trace similarity metrics and five coverage criteria which enable the quantitative analysis of RNNs. We further propose two algorithms powered by the quantitative measures for adversarial sample detection and coverage-guided test generation. We evaluate DeepStellar on four RNN-based systems covering image classification and automated speech recognition. The results demonstrate that the abstract model is useful in capturing the internal behaviors of RNNs, and confirm that (1) the similarity metrics could effectively capture the differences between samples even with very small perturbations (achieving 97% accuracy for detecting adversarial samples) and (2) the coverage criteria are useful in revealing erroneous behaviors (generating three times more adversarial samples than random testing and hundreds times more than the unrolling approach). 2019-08-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7068 info:doi/10.1145/3338906.3338954 https://ink.library.smu.edu.sg/context/sis_research/article/8071/viewcontent/3338906.3338954.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 Deep learning recurrent neural network model-based analysis adversarial sample testing 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 |
Deep learning recurrent neural network model-based analysis adversarial sample testing OS and Networks Software Engineering |
spellingShingle |
Deep learning recurrent neural network model-based analysis adversarial sample testing OS and Networks Software Engineering DU, Xiaoning XIE, Xiaofei LI, Yi MA, Lei LIU, Yang ZHAO, Jianjun DeepStellar: Model-based quantitative analysis of stateful deep learning systems |
description |
Deep Learning (DL) has achieved tremendous success in many cutting-edge applications. However, the state-of-the-art DL systems still suffer from quality issues. While some recent progress has been made on the analysis of feed-forward DL systems, little study has been done on the Recurrent Neural Network (RNN)-based stateful DL systems, which are widely used in audio, natural languages and video processing, etc. In this paper, we initiate the very first step towards the quantitative analysis of RNN-based DL systems. We model RNN as an abstract state transition system to characterize its internal behaviors. Based on the abstract model, we design two trace similarity metrics and five coverage criteria which enable the quantitative analysis of RNNs. We further propose two algorithms powered by the quantitative measures for adversarial sample detection and coverage-guided test generation. We evaluate DeepStellar on four RNN-based systems covering image classification and automated speech recognition. The results demonstrate that the abstract model is useful in capturing the internal behaviors of RNNs, and confirm that (1) the similarity metrics could effectively capture the differences between samples even with very small perturbations (achieving 97% accuracy for detecting adversarial samples) and (2) the coverage criteria are useful in revealing erroneous behaviors (generating three times more adversarial samples than random testing and hundreds times more than the unrolling approach). |
format |
text |
author |
DU, Xiaoning XIE, Xiaofei LI, Yi MA, Lei LIU, Yang ZHAO, Jianjun |
author_facet |
DU, Xiaoning XIE, Xiaofei LI, Yi MA, Lei LIU, Yang ZHAO, Jianjun |
author_sort |
DU, Xiaoning |
title |
DeepStellar: Model-based quantitative analysis of stateful deep learning systems |
title_short |
DeepStellar: Model-based quantitative analysis of stateful deep learning systems |
title_full |
DeepStellar: Model-based quantitative analysis of stateful deep learning systems |
title_fullStr |
DeepStellar: Model-based quantitative analysis of stateful deep learning systems |
title_full_unstemmed |
DeepStellar: Model-based quantitative analysis of stateful deep learning systems |
title_sort |
deepstellar: model-based quantitative analysis of stateful deep learning systems |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2019 |
url |
https://ink.library.smu.edu.sg/sis_research/7068 https://ink.library.smu.edu.sg/context/sis_research/article/8071/viewcontent/3338906.3338954.pdf |
_version_ |
1770576198451068928 |