EUVIMEDObjevte EUVIMED
Crossref

Toward Understanding Deep Learning Framework Bugs

Junjie Chen, Yihua Liang, Qingchao Shen, Jiajun Jiang, Shuochuan Li

ACM Transactions on Software Engineering and Methodology · 2023-11-30 · 32 (6) · 1-31

DOI: 10.1145/3587155 ↗

At a glance

Journal article in ACM Transactions on Software Engineering and Methodology, published online on 2023-09-29. Written by Junjie Chen and 4 co-authors. Cited 85 times so far (Crossref); 82 references. Funded by: National Natural Science Foundation of China.

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

DL frameworks are the basis of constructing all DL programs and models, and thus their bugs could lead to the unexpected behaviors of any DL program or model relying on them. Such a wide effect demonstrates the necessity and importance of guaranteeing DL frameworks’ quality. Understanding the characteristics of DL framework bugs is a fundamental step for this quality assurance task, facilitating designing effective bug detection and debugging approaches. Hence, in this work, we conduct the most large-scale study on 1,000 bugs from four popular and diverse DL frameworks (i.e., TensorFlow, PyTorch, MXNet, and DL4J). By analyzing the root causes and symptoms of DL framework bugs associated with five components decomposed from DL frameworks, as well as measuring test coverage achieved by three state-of-the-art testing techniques, we obtain 12 major findings for the comprehensive understanding of DL framework bugs and the current status of existing DL framework testing practice, and then provide a series of actionable guidelines for better DL framework bug detection and debugging. Finally, based on the guidelines, we design and implement a prototype DL-framework testing tool, called TenFuzz , which is evaluated to be effective and finds three unknown bugs on the latest TensorFlow framework in a preliminary study, indicating the significance of our guidelines.

Funding

  • National Natural Science Foundation of China

Cite

APA

Chen, J., Liang, Y., Shen, Q., Jiang, J., & Li, S. (2023). Toward Understanding Deep Learning Framework Bugs. ACM Transactions on Software Engineering and Methodology, 32(6), 1-31. https://doi.org/10.1145/3587155

Vancouver

Chen J, Liang Y, Shen Q, Jiang J, Li S. Toward Understanding Deep Learning Framework Bugs. ACM Transactions on Software Engineering and Methodology. 2023;32(6):1-31. doi:10.1145/3587155

BibTeX
@article{Chen2023,
  author = {Chen, Junjie and Liang, Yihua and Shen, Qingchao and Jiang, Jiajun and Li, Shuochuan},
  title = {Toward Understanding Deep Learning Framework Bugs},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2023},
  volume = {32},
  number = {6},
  pages = {1--31},
  doi = {10.1145/3587155}
}
Start for free →