An Empirical Study on Performance Bugs in Deep Learning Frameworks
- 1 October 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 35-46
Abstract
Machine Learning (ML) and Deep Learning (DL) applications are becoming more popular due to the availability of DL frameworks such as TensorFlow and PyTorch. Therefore, the quality of DL frameworks is essential to ensure DL/ML application quality. Given the computationally expensive nature of DL tasks (e.g., training), performance is a critical aspect of DL frameworks. However, optimizing DL frameworks may have its own unique challenges due to the peculiarities of DL (e.g., hardware integration and the nature of the computation). In this paper, we conduct an empirical study on the performance bugs in DL frameworks. We conduct our study on TensorFlow and PyTorch by identifying the performance and non-performance bugs by mining the GitHub repositories. We find that 1) the proportion of newly reported performance bugs increases faster than fixed performance bugs, and the ratio of performance bugs among all bugs increases over time; 2) performance bugs take more time to fix, have larger fix sizes, and more community engagement (e.g., discussion) compared to non-performance bugs; and 3) we manually derived a taxonomy of 12 categories and 19 sub-categories of the root causes of performance bugs by studying all performance bug fixes. Finally, we present some actionable implications for researchers and developers.Keywords
This publication has 36 references indexed in Scilit:
- An Empirical Study on Performance Bugs for Highly Configurable Software Systems2016
- Finding and Evaluating the Performance Impact of Redundant Data Access for Applications that are Developed Using Object-Relational Mapping FrameworksIEEE Transactions on Software Engineering, 2016
- On Polyglot Programming in the Web2016
- Discovering, reporting, and fixing performance bugs2013
- Representation Learning: A Review and New PerspectivesIEEE Transactions on Pattern Analysis and Machine Intelligence, 2013
- Understanding and detecting real-world performance bugs2012
- Deep Machine Learning - A New Frontier in Artificial Intelligence Research [Research Frontier]IEEE Computational Intelligence Magazine, 2010
- Towards dense linear algebra for hybrid GPU accelerated manycore systemsParallel Computing, 2010
- Application of redundant computation in software performance analysis2005
- SOME QUICK SIGN TESTS FOR TREND IN LOCATION AND DISPERSIONBiometrika, 1955