mlsanityData to 7 Oct 2026

Fault Localization for Buggy Deep Learning Framework Conversions in Image Recognition

arXiv 2306.06157 ↗First posted 10 Jun 2023cs.CV cs.LG cs.SEcited by 2

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 14 of its 32 references that are in the map. First posted on arXiv 10 Jun 2023.

Builds on

14 of 32 references.

References · 14

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  4. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  5. 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
  6. 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 37
  7. 2019DeepFault: Fault Localization for Deep Neural Networkscited by 29
  8. 2021An Empirical Study on Deployment Faults of Deep Learning Based Mobile Applicationscited by 20
  9. 2022An Empirical Study of Challenges in Converting Deep Learning Modelscited by 8
  10. 2021Using Machine Learning to Generate Test Oracles: A Systematic Literature Reviewcited by 7
  11. 2020Learning to Encode and Classify Test Executionscited by 6
  12. 2020M3: Semantic API Migrationscited by 4
2 more
  1. 2022Exploring Effects of Computational Parameter Changes to Image Recognition Systemscited by 3
  2. 2019Explaining Image Classifiers using Statistical Fault Localizationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 1.

2 papers.