TY - GEN
T1 - MLmisFinder
T2 - 33rd IEEE International Conference on Software Analysis, Evolution, and Reengineering, SANER 2026
AU - Amor, Hadil Ben
AU - Selvanayagam, Niruthiha
AU - Abdellatif, Manel
AU - Ghaleb, Taher A.
AU - Moha, Naouel
N1 - Publisher Copyright:
© 2026 IEEE.
PY - 2026
Y1 - 2026
N2 - Machine Learning (ML) cloud services, offered by leading providers such as Amazon, Google, and Microsoft, enable the integration of ML components into software systems without building models from scratch. However, the rapid adoption of ML services, coupled with the growing complexity of business requirements, has led to widespread misuses, compromising the quality, maintainability, and evolution of ML service-based systems. Though prior research has studied patterns and antipatterns in service-based and ML-based systems separately, automatic detection of ML service misuses remains a challenge. In this paper, we propose MLmisFinder, an automatic approach to detect ML service misuses in software systems, aiming to identify instances of improper use of ML services to help developers properly integrate ML components in ML service-based systems. We propose a metamodel that captures the data needed to detect misuses in ML service-based systems and apply a set of rulebased detection algorithms for seven misuse types. We evaluated MLmisFinder on 107 software systems collected from opensource GitHub repositories and compared it with a state-of-theart baseline. Our results show that MLmisFinder effectively detects ML service misuses, achieving an average precision of 96.7% and recall of 97%, outperforming the state-of-the-art baseline. MLmisFinder also scaled efficiently to detect misuses across 817 ML service-based systems and revealed that such misuses are widespread, especially in areas such as data drift monitoring and schema validation.
AB - Machine Learning (ML) cloud services, offered by leading providers such as Amazon, Google, and Microsoft, enable the integration of ML components into software systems without building models from scratch. However, the rapid adoption of ML services, coupled with the growing complexity of business requirements, has led to widespread misuses, compromising the quality, maintainability, and evolution of ML service-based systems. Though prior research has studied patterns and antipatterns in service-based and ML-based systems separately, automatic detection of ML service misuses remains a challenge. In this paper, we propose MLmisFinder, an automatic approach to detect ML service misuses in software systems, aiming to identify instances of improper use of ML services to help developers properly integrate ML components in ML service-based systems. We propose a metamodel that captures the data needed to detect misuses in ML service-based systems and apply a set of rulebased detection algorithms for seven misuse types. We evaluated MLmisFinder on 107 software systems collected from opensource GitHub repositories and compared it with a state-of-theart baseline. Our results show that MLmisFinder effectively detects ML service misuses, achieving an average precision of 96.7% and recall of 97%, outperforming the state-of-the-art baseline. MLmisFinder also scaled efficiently to detect misuses across 817 ML service-based systems and revealed that such misuses are widespread, especially in areas such as data drift monitoring and schema validation.
KW - antipatterns
KW - misuse
KW - ml service
KW - software quality
UR - https://www.scopus.com/pages/publications/105044779283
U2 - 10.1109/SANER67736.2026.00037
DO - 10.1109/SANER67736.2026.00037
M3 - Contribution to conference proceedings
AN - SCOPUS:105044779283
T3 - Proceedings - 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2026
SP - 264
EP - 274
BT - Proceedings - 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2026
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 17 March 2026 through 20 March 2026
ER -