Fault Localization in Deep Learning-based Software: A System-level Approach

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Morovati, Mohammad Mehdi, Nikanjam, Amin, Khomh, Foutse
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929589196947456
author Morovati, Mohammad Mehdi
Nikanjam, Amin
Khomh, Foutse
author_facet Morovati, Mohammad Mehdi
Nikanjam, Amin
Khomh, Foutse
contents Over the past decade, Deep Learning (DL) has become an integral part of our daily lives. This surge in DL usage has heightened the need for developing reliable DL software systems. Given that fault localization is a critical task in reliability assessment, researchers have proposed several fault localization techniques for DL-based software, primarily focusing on faults within the DL model. While the DL model is central to DL components, there are other elements that significantly impact the performance of DL components. As a result, fault localization methods that concentrate solely on the DL model overlook a large portion of the system. To address this, we introduce FL4Deep, a system-level fault localization approach considering the entire DL development pipeline to effectively localize faults across the DL-based systems. In an evaluation using 100 faulty DL scripts, FL4Deep outperformed four previous approaches in terms of accuracy for three out of six DL-related faults, including issues related to data (84%), mismatched libraries between training and deployment (100%), and loss function (69%). Additionally, FL4Deep demonstrated superior precision and recall in fault localization for five categories of faults including three mentioned fault types in terms of accuracy, plus insufficient training iteration and activation function.
format Preprint
id arxiv_https___arxiv_org_abs_2411_08172
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Fault Localization in Deep Learning-based Software: A System-level Approach
Morovati, Mohammad Mehdi
Nikanjam, Amin
Khomh, Foutse
Software Engineering
Machine Learning
Over the past decade, Deep Learning (DL) has become an integral part of our daily lives. This surge in DL usage has heightened the need for developing reliable DL software systems. Given that fault localization is a critical task in reliability assessment, researchers have proposed several fault localization techniques for DL-based software, primarily focusing on faults within the DL model. While the DL model is central to DL components, there are other elements that significantly impact the performance of DL components. As a result, fault localization methods that concentrate solely on the DL model overlook a large portion of the system. To address this, we introduce FL4Deep, a system-level fault localization approach considering the entire DL development pipeline to effectively localize faults across the DL-based systems. In an evaluation using 100 faulty DL scripts, FL4Deep outperformed four previous approaches in terms of accuracy for three out of six DL-related faults, including issues related to data (84%), mismatched libraries between training and deployment (100%), and loss function (69%). Additionally, FL4Deep demonstrated superior precision and recall in fault localization for five categories of faults including three mentioned fault types in terms of accuracy, plus insufficient training iteration and activation function.
title Fault Localization in Deep Learning-based Software: A System-level Approach
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2411.08172