paper-with-me

홈 › Papers

FetaFix: Automatic Fault Localization and Repair of Deep Learning Model Conversions

2023-12-22 · Nikolaos Louloudakis, Perry Gibson, José Cano, Ajitha Rajan

Converting deep learning models between frameworks is a common step to maximize model compatibility across devices and leverage optimization features that may be exclusively provided in one deep learning framework. However, this conversion process may be riddled with bugs, making the converted models either undeployable or problematic, considerably degrading their prediction correctness. In this paper, we propose an automated approach for fault localization and repair, FetaFix, during model conversion between deep learning frameworks. FetaFix is capable of detecting and fixing faults introduced in model input, parameters, hyperparameters, and the model graph during conversion. FetaFix uses a set of fault types (mined from surveying common conversion issues reported in code repositories and forums) to localize potential conversion faults in the converted target model and then repair them appropriately, e.g., replacing the parameters of the target model with those from the source model. This is done iteratively for every image in the dataset, comparing output label differences between the source model and the converted target model until all differences are resolved. We evaluate the effectiveness of FetaFix in fixing model conversion bugs of three widely used image recognition models converted across four different deep learning frameworks. Overall, FetaFix was able to fix $462$ out of $755$ detected conversion faults, either completely repairing or significantly improving the performance of $14$ out of the $15$ erroneous conversion cases.

📄 PDF Abstract BibTeX arXiv:2312.15101

Code (0)

등록된 구현이 없습니다.

Tasks

Deep LearningFault localization

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar 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 accu…

Deep LearningFault localization

A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks

2026-03-31 · Joseph Townsend, Chandresh Pravin, Kwun Ho Ngan, Matthieu Parizy arxiv

Automatic program repair can be a challenging task, especially when resolving complex issues at a repository-level, which often involves issue reproduction, fault localization, code repair, testing and validation. Issues…

Program RepairCode Repair

Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency

2026-08-14 · Junchi Liu, Ali Bigdeli, Roya Daneshi, Atu Ambala 외 arxiv

Background: Software bugs remain a critical challenge in development, necessitating effective Automated Program Repair (APR) techniques. While Large Language Model (LLM)-based APR systems have shown promise, prior studie…

Program Repair

R3A: Reliable RTL Repair Framework with Multi-Agent Fault Localization and Stochastic Tree-of-Thoughts Patch Generation

2025-11-25 · Zizhang Luo, Fan Cui, Kexing Zhou, Runlin Guo 외 arxiv

Repairing RTL bugs is crucial for hardware design and verification. Traditional automatic program repair (APR) methods define dedicated search spaces to locate and fix bugs with program synthesis. However, they heavily r…

Program SynthesisProgram Repair

ConDefects: A New Dataset to Address the Data Leakage Concern for LLM-based Fault Localization and Program Repair

2023-10-25 · Yonghao Wu, Zheng Li, Jie M. Zhang, Yong liu

With the growing interest on Large Language Models (LLMs) for fault localization and program repair, ensuring the integrity and generalizability of the LLM-based methods becomes paramount. The code in existing widely-ado…

BenchmarkingFault localizationProgram Repair