Abstract
Deep-Learning (DL) applications have been widely employed to assist in various tasks. They are constructed based on a data-driven programming paradigm that is different from conventional software applications. Given the increasing popularity and importance of DL applications, software engineering practitioners have some techniques specifically for them. However, little research is conducted to identify the challenges and lacks in practice. To fill this gap, in this paper, we surveyed 195 practitioners to understand their insight and experience in the software engineering practice of DL applications. Specifically, we asked the respondents to identify lacks and challenges in the practice of the development life cycle of DL applications. The results present 13 findings that provide us with a better understanding of software engineering practice of DL applications. Further, we distil these findings into 7 actionable recommendations for software engineering researchers and practitioners to improve the development of DL applications.
Introduction
Traditional software engineering (SE) relies on explicit logic—the classic "if x, then y" paradigm. Deep learning (DL) applications, however, represent a fundamental shift toward a "data-driven" approach where logic is embedded within neural network weights learned from massive datasets. This transition creates a "black box" problem that challenges existing SE methodologies.
While academic research has proposed numerous DL metrics and testing tools, there remains a significant gap in understanding the real-world struggles of industrial practitioners. This study maps the DL development lifecycle to identify which phases are most "painful" and whether current research aligns with industry needs. By surveying 195 professionals, the authors provide a comprehensive view of the shifting SE landscape.
Methodology
The researchers employed a rigorous three-stage empirical approach to capture industry insights:
- Literature Review: An analysis of 16 key papers from top SE conferences (e.g., ICSE, FSE) to establish the current research baseline.
- Interviews: In-depth, 60-90 minute interviews with eight senior engineers from major tech firms including Baidu, Alibaba, and Huawei to formulate core hypotheses.
- Survey: A broad questionnaire distributed to 822 practitioners, resulting in 195 valid responses from developers, testers, and architects across various experience levels.
Key Findings
The Labor-Intensive Lifecycle
One of the most striking findings is the distribution of labor across the development lifecycle. Unlike traditional SE, where coding often takes center stage, DL practitioners spend a disproportionate amount of time on requirement analysis and testing. Data is treated as the "new code," meaning that quality control (QC) during data preparation is often more critical than the implementation of the model itself.
As shown in the survey data, requirement analysis and integration testing are consistently identified as high-labor tasks across all roles, from requirement engineers to testers.
The "Three-Year Rule" and Experience Gap
The survey suggests a steep learning curve, identifying a "three-year rule" for becoming truly proficient in DL application development. Junior developers (less than one year of experience) often fail to distinguish between DL-specific challenges and conventional SE problems. In contrast, experienced practitioners focus heavily on complex issues like network model design and concurrency processing.
Environment Consistency and Robustness
DL models are notoriously sensitive to tiny numerical variations, leading to a phenomenon known as "numerical drift." Consequently, practitioners are highly focused on environment consistency across development, testing, and production. Furthermore, when evaluating models, Robustness (56.8%) is ranked as more important than simple correctness. Practitioners are less interested in whether the code runs and more concerned with whether the model has truly "learned the knowledge."
The Interpretability Gap in Maintenance
Maintenance remains a significant hurdle due to low interpretability. When a model fails in production, explaining why it failed is incredibly difficult. This lack of transparency leads to higher labor costs during the maintenance phase as teams struggle to debug the "black box."
Recommendations for Future Work
Based on these findings, the authors suggest several avenues for future SE research to better support the industry:
- Automated Data QC Tools: Developing tools to detect bias and distribution shifts in training data automatically.
- Interpretability Techniques: Creating methods to "open the black box," allowing testers to understand the reasoning behind specific predictions.
- Data Synthesis: Building tools that can generate high-quality synthetic testing data to alleviate the data scarcity problem in testing environments.
- Concurrency Support: Improving how Deep Neural Networks (DNNs) handle parallel requests to reduce latency in production.
Conclusion
Deep learning is not just a new tool; it is a new paradigm for software engineering. This study highlights that while frameworks like TensorFlow and PyTorch have matured, the processes surrounding data quality, model robustness, and interpretability still lack robust SE support. Bridging the gap between academic research and these practical industrial challenges is essential for the next generation of reliable DL applications.
Summary updated