Projects per year
Abstract
When deploying Deep Neural Networks (DNNs), developers often convert models from one deep learning framework to another (e.g., TensorFlow to PyTorch). However, this process is error-prone and can impact target model accuracy. To identify the extent of such impact, we perform and briefly present a differential analysis against three DNNs widely used for image recognition (MobileNetV2, ResNet101, and InceptionV3) converted across four well-known deep learning frameworks (PyTorch, Keras, TensorFlow (TF), and TFLite), which revealed numerous model crashes and output label discrepancies of up to 72%. To mitigate such errors, we present a novel approach towards fault localization and repair of buggy deep learning framework conversions, focusing on pre-trained image recognition models. Our technique consists of four stages of analysis: 1) conversion tools, 2) model parameters, 3) model hyperparameters, and 4) graph representation. In addition, we propose various strategies towards fault repair of the faults detected. We implement our technique on top of the Apache TVM deep learning compiler, and we test it by conducting a preliminary fault localization analysis for the conversion of InceptionV3 from TF to TFLite. Our approach detected a fault in a common DNN converter tool, which introduced precision errors in weights, reducing model accuracy. After our fault localization, we repaired the issue, reducing our conversion error to zero.
Original language | English |
---|---|
Title of host publication | 38th IEEE/ACM International Conference on Automated Software Engineering |
Publisher | Institute of Electrical and Electronics Engineers |
Pages | 1795-1799 |
Number of pages | 5 |
ISBN (Electronic) | 979-8-3503-2996-4 |
ISBN (Print) | 979-8-3503-2997-1 |
DOIs | |
Publication status | Published - 8 Nov 2023 |
Event | 38th IEEE/ACM International Conference on Automated Software Engineering - Kirchberg, Luxembourg Duration: 11 Sept 2023 → 15 Sept 2023 Conference number: 38 https://conf.researchr.org/home/ase-2023 |
Publication series
Name | IEEE/ACM International Conference on Automated Software Engineering (ASE) |
---|---|
ISSN (Print) | 1938-4300 |
ISSN (Electronic) | 2643-1572 |
Conference
Conference | 38th IEEE/ACM International Conference on Automated Software Engineering |
---|---|
Abbreviated title | ASE 2023 |
Country/Territory | Luxembourg |
City | Kirchberg |
Period | 11/09/23 → 15/09/23 |
Internet address |
Fingerprint
Dive into the research topics of 'Fault Localization for Buggy Deep Learning Framework Conversions in Image Recognition'. Together they form a unique fingerprint.Projects
- 1 Finished
-
UKRI Trustworthy Autonomous Systems Node in Governance and Regulation
Ramamoorthy, R. (Principal Investigator), Belle, V. (Co-investigator), Bundy, A. (Co-investigator), Jackson, P. (Co-investigator), Lascarides, A. (Co-investigator) & Rajan, A. (Co-investigator)
1/11/20 → 30/04/24
Project: Research