Automatic Fault Detection for Deep Learning Programs Using Graph Transformations

Author:

Nikanjam Amin1ORCID,Braiek Houssem Ben2,Morovati Mohammad Mehdi2,Khomh Foutse2

Affiliation:

1. K. N. Toosi University of Technology, Iran and SWAT Lab., Polytechnique Montreal, Montréal (Québec) Canada

2. SWAT Lab., Polytechnique Montreal, Montréal (Québec) Canada

Abstract

Nowadays, we are witnessing an increasing demand in both corporates and academia for exploiting Deep Learning ( DL ) to solve complex real-world problems. A DL program encodes the network structure of a desirable DL model and the process by which the model learns from the training dataset. Like any software, a DL program can be faulty, which implies substantial challenges of software quality assurance, especially in safety-critical domains. It is therefore crucial to equip DL development teams with efficient fault detection techniques and tools. In this article, we propose NeuraLint , a model-based fault detection approach for DL programs, using meta-modeling and graph transformations. First, we design a meta-model for DL programs that includes their base skeleton and fundamental properties. Then, we construct a graph-based verification process that covers 23 rules defined on top of the meta-model and implemented as graph transformations to detect faults and design inefficiencies in the generated models (i.e., instances of the meta-model). First, the proposed approach is evaluated by finding faults and design inefficiencies in 28 synthesized examples built from common problems reported in the literature. Then NeuraLint successfully finds 64 faults and design inefficiencies in 34 real-world DL programs extracted from Stack Overflow posts and GitHub repositories. The results show that NeuraLint effectively detects faults and design issues in both synthesized and real-world examples with a recall of 70.5% and a precision of 100%. Although the proposed meta-model is designed for feedforward neural networks, it can be extended to support other neural network architectures such as recurrent neural networks. Researchers can also expand our set of verification rules to cover more types of issues in DL programs.

Funder

Natural Sciences and Engineering Research Council of Canada

Fonds de Recherche du Québec

Institut de VAlorisation des DOnnées

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference61 articles.

1. 2016. Retrieved February 2 2021 from https://github.com/katyprogrammer/regularization-experiment/commit/b93dd636. 2016. Retrieved February 2 2021 from https://github.com/katyprogrammer/regularization-experiment/commit/b93dd636.

2. 2017. Retrieved February 5 2021 from https://github.com/dishen12/keras_frcnn/commit/38413c6. 2017. Retrieved February 5 2021 from https://github.com/dishen12/keras_frcnn/commit/38413c6.

3. 2017. Retrieved February 5 2021 from https://github.com/yumatsuoka/comp_DNNfw/commit/30e0973. 2017. Retrieved February 5 2021 from https://github.com/yumatsuoka/comp_DNNfw/commit/30e0973.

4. 2018. Retrieved February 5 2021 from https://github.com/taashi-s/UNet_Keras/commit/b1b6d93. 2018. Retrieved February 5 2021 from https://github.com/taashi-s/UNet_Keras/commit/b1b6d93.

5. 2018. Retrieved February 5 2021 from https://github.com/keras-team/keras-applications/commit/05ff470. 2018. Retrieved February 5 2021 from https://github.com/keras-team/keras-applications/commit/05ff470.

Cited by 12 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3