An Empirical Study of Challenges in Converting Deep Learning Models
Not on the map. Why?
Abstract (arXiv)
There is an increase in deploying Deep Learning (DL)-based software systems in real-world applications. Usually DL models are developed and trained using DL frameworks that have their own internal mechanisms/formats to represent and train DL models, and usually those formats cannot be recognized by other frameworks. Moreover, trained models are usually deployed in environments different from where they were developed. To solve the interoperability issue and make DL models compatible with different frameworks/environments, some exchange formats are introduced for DL models, like ONNX and CoreML. However, ONNX and CoreML were never empirically evaluated by the community to reveal their prediction accuracy, performance, and robustness after conversion. Poor accuracy or non-robust behavior of converted models may lead to poor quality of deployed DL-based software systems. We conduct, in this paper, the first empirical study to assess ONNX and CoreML for converting trained DL models. In our systematic approach, two popular DL frameworks, Keras and PyTorch, are used to train five widely used DL models on three popular datasets. The trained models are then converted to ONNX and CoreML and transferred to two runtime environments designated for such formats, to be evaluated. We investigate the prediction accuracy before and after conversion. Our results unveil that the prediction accuracy of converted models are at the same level of originals. The performance (time cost and memory consumption) of converted models are studied as well. The size of models are reduced after conversion, which can result in optimized DL-based software deployment. Converted models are generally assessed as robust at the same level of originals. However, obtained results show that CoreML models are more vulnerable to adversarial attacks compared to ONNX.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 8 of its 33 references that are in the map. First posted on arXiv 28 Jun 2022.
Builds on
8 of 33 references.
References · 8
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2019An Empirical Study towards Characterizing Deep Learning Development and Deployment across Different Frameworks and Platformscited by 35
- 2020Compiling ONNX Neural Network Models Using MLIRcited by 18
- 2022Studying the Practices of Deploying Machine Learning Projects on Dockercited by 8
Built on by
Citing papers per year: 2023: 4; 2024: 3; 2025: 0; 2026: 1.
8 papers.
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systemscited by 4
- 2023DeltaNN: Assessing the Impact of Computational Environment Parameters on the Performance of Image Recognition Modelscited by 3
- 2024On the Impact of Black-box Deployment Strategies for Edge AI on Latency and Model Performancecited by 3
- 2023Fault Localization for Buggy Deep Learning Framework Conversions in Image Recognitioncited by 2
- 2023Deploying Deep Reinforcement Learning Systems: A Taxonomy of Challengescited by 2
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Themcited by 2
- 2024A Partial Replication of MaskFormer in TensorFlow on TPUs for the TensorFlow Model Gardencited by 1
- 2024On the Impact of White-box Deployment Strategies for Edge AI on Latency and Model Performancecited by 1
- 2026Broken on Arrival: Silently Defective LLM Artifacts in Public Model Registries and How to Catch Them5 Sep 2026
- 2024On the Impact of White-box Deployment Strategies for Edge AI on Latency and Model Performance1 Nov 2024
- 2024A Partial Replication of MaskFormer in TensorFlow on TPUs for the TensorFlow Model Garden29 Apr 2024
- 2024On the Impact of Black-box Deployment Strategies for Edge AI on Latency and Model Performance25 Mar 2024
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systems10 Oct 2023
- 2023Deploying Deep Reinforcement Learning Systems: A Taxonomy of Challenges23 Aug 2023
- 2023Fault Localization for Buggy Deep Learning Framework Conversions in Image Recognition10 Jun 2023
- 2023DeltaNN: Assessing the Impact of Computational Environment Parameters on the Performance of Image Recognition Models5 Jun 2023