Automated Detection of Inter-Language Design Smells in Multi-Language Deep Learning Frameworks
Zengyang Li, Xiaoyong Zhang, Wenshuo Wang, Peng Liang, Ran Mo, Jie, Tan, Hui Liu

TL;DR
This paper presents an automated approach and tool for detecting inter-language design smells in multi-language deep learning frameworks, specifically those using Python and C/C++, providing high accuracy and insights into ILDS prevalence and evolution.
Contribution
It introduces a novel detection method and tool for ILDS in multi-language DLFs, along with a comprehensive study on ILDS characteristics and trends.
Findings
Achieved 98.17% detection accuracy with CPSMELL.
Identified high prevalence of ILDS in TensorFlow, PyTorch, PaddlePaddle.
ILDS instances tend to increase over the evolution of DLFs.
Abstract
Nowadays, most DL frameworks (DLFs) use multilingual programming of Python and C/C++, facilitating the flexibility and performance of the DLF. However, inappropriate interlanguage interaction may introduce design smells involving multiple programming languages (PLs), i.e., Inter-Language Design Smells (ILDS). Despite the negative impact of ILDS on multi-language DLFs, there is a lack of an automated approach for detecting ILDS in multi-language DLFs and a comprehensive understanding on ILDS in such DLFs. This work automatically detects ILDS in multi-language DLFs written in the combination of Python and C/C++, and to obtain a understanding on such ILDS in DLFs. We first developed an approach to automatically detecting ILDS in the multi-language DLFs written in the combination of Python and C/C++, including a number of ILDS and their detection rules defined based on inter-language…
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.
Taxonomy
TopicsNatural Language Processing Techniques
