Self-Claimed Assumptions in Deep Learning Frameworks: An Exploratory Study
Chen Yang, Peng Liang, Liming Fu, Zengyang Li

TL;DR
This study explores self-claimed assumptions in deep learning frameworks through code comments, revealing their types, distribution, and potential impacts, and provides a dataset for future research to improve framework reliability.
Contribution
It is the first exploratory analysis of assumptions in DL frameworks, classifying assumptions, analyzing their impacts, and releasing a dataset for further investigation.
Findings
3,084 SCAs identified across nine DL frameworks
Four types of SCA validity and content-based classification
SCAs can influence code scope and induce technical debt
Abstract
Deep learning (DL) frameworks have been extensively designed, implemented, and used in software projects across many domains. However, due to the lack of knowledge or information, time pressure, complex context, etc., various uncertainties emerge during the development, leading to assumptions made in DL frameworks. Though not all the assumptions are negative to the frameworks, being unaware of certain assumptions can result in critical problems (e.g., system vulnerability and failures, inconsistencies, and increased cost). As the first step of addressing the critical problems, there is a need to explore and understand the assumptions made in DL frameworks. To this end, we conducted an exploratory study to understand self-claimed assumptions (SCAs) about their distribution, classification, and impacts using code comments from nine popular DL framework projects on GitHub. The results are…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
