paper-with-me

홈 › Papers

Fault Localization for Buggy Deep Learning Framework Conversions in Image Recognition

2023-06-10 · Nikolaos Louloudakis, Perry Gibson, José Cano, Ajitha Rajan

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 100%. 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.

📄 PDF Abstract BibTeX arXiv:2306.06157

Code (0)

등록된 구현이 없습니다.

Tasks

Deep LearningFault localization

Methods 이 논문이 사용한 방법론

Repair 설명 없음

Similar Papers 제목 키워드 기반

Large Language Models for Test-Free Fault Localization

2023-10-03 · Aidan Z. H. Yang, Ruben Martins, Claire Le Goues, Vincent J. Hellendoorn

Fault Localization (FL) aims to automatically localize buggy lines of code, a key first step in many manual and automatic debugging tasks. Previous FL techniques assume the provision of input tests, and often require ext…

Fault localizationLanguage ModelingLanguage Modelling

Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localization

2024-12-19 · Pedro Orvalho, Mikoláš Janota, Vasco Manquinho

Automated Program Repair (APR) for introductory programming assignments (IPAs) is motivated by the large number of student enrollments in programming courses each year. Since providing feedback on IPAs requires substanti…

Fault localizationProgram RepairZero-Shot Learning

Learning Tractable Probabilistic Models for Fault Localization

2015-07-07 · Aniruddh Nath, Pedro Domingos

In recent years, several probabilistic techniques have been applied to various debugging problems. However, most existing probabilistic debugging systems use relatively simple statistical models, and fail to generalize a…

Fault localization

Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair

2024-12-05 · Qiong Feng, Xiaotian Ma, Jiayi Sheng, Ziyuan Feng 외

LLMs have garnered considerable attention for their potential to streamline Automated Program Repair (APR). LLM-based approaches can either insert the correct code or directly generate patches when provided with buggy me…

Fault localizationProgram Repair

Mutation-based Fault Localization of Deep Neural Networks

2023-09-10 · Ali Ghanbari, Deepak-George Thomas, Muhammad Arbab Arshad, Hridesh Rajan

Deep neural networks (DNNs) are susceptible to bugs, just like other types of software systems. A significant uptick in using DNN, and its applications in wide-ranging areas, including safety-critical systems, warrant ex…

Fault localizationPosition