An Empirical Study of Challenges in Converting Deep Learning Models
Moses Openja, Amin Nikanjam, Ahmed Haj Yahmed, Foutse Khomh, Zhen Ming, (Jack) Jiang

TL;DR
This empirical study evaluates the accuracy, performance, and robustness of DL model conversions using ONNX and CoreML, revealing that conversions generally preserve accuracy and robustness but differ in vulnerability to adversarial attacks.
Contribution
First comprehensive empirical assessment of ONNX and CoreML conversions, analyzing accuracy, performance, and robustness across multiple frameworks, models, and datasets.
Findings
Converted models maintain original accuracy levels.
Model size is reduced after conversion, aiding deployment.
CoreML models are more vulnerable to adversarial attacks than ONNX.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Software Engineering Research · Advanced Malware Detection Techniques
