Analysis of Failures and Risks in Deep Learning Model Converters: A Case Study in the ONNX Ecosystem
Not on the map. Why?
Abstract (arXiv)
Software engineers develop, fine-tune, and deploy deep learning (DL) models using a variety of development frameworks and runtime environments. DL model converters move models between frameworks and to runtime environments. Conversion errors compromise model quality and disrupt deployment. However, the failure characteristics of DL model converters are unknown, adding risk when using DL interoperability technologies. This paper analyzes failures in DL model converters. We survey software engineers about DL interoperability tools, use cases, and pain points (N=92). Then, we characterize failures in model converters associated with the main interoperability tool, ONNX (N=200 issues in PyTorch and TensorFlow). Finally, we formulate and test two hypotheses about structural causes for the failures we studied. We find that the node conversion stage of a model converter accounts for ~75% of the defects and 33% of reported failure are related to semantically incorrect models. The cause of semantically incorrect models is elusive, but models with behaviour inconsistencies share operator sequences. Our results motivate future research on making DL interoperability software simpler to maintain, extend, and validate. Research into behavioural tolerances and architectural coverage metrics could be fruitful.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 68 references that are in the map. First posted on arXiv 30 Mar 2023.
Builds on
9 of 68 references.
References · 9
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 403
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
- 2019An Empirical Study towards Characterizing Deep Learning Development and Deployment across Different Frameworks and Platformscited by 35
- 2022Muffin: Testing Deep Learning Libraries via Neural Architecture Fuzzingcited by 16
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
- 2017Survey Research in Software Engineering: Problems and Strategiescited by 4
- 2023Regexes are Hard: Decision-making, Difficulties, and Risks in Programming Regular Expressionscited by 4
Built on by
Not cited yet.