Investigating the Impact of SOLID Design Principles on Machine Learning Code Understanding. Cabral, R., Kalinowski, M., Baldassarre, M. T., Villamizar, H., Escovedo, T., & Lopes, H. In Proceedings of the IEEE/ACM 3rd International Conference on AI Engineering - Software Engineering for AI, of CAIN '24, pages 7–17, 2024. Association for Computing Machinery. Best Paper of CAIN 2024 - ACM Distinguished Paper Award!
Author version doi abstract bibtex 3 downloads [Context] Applying design principles has long been acknowledged as beneficial for understanding and maintainability in traditional software projects. These benefits may similarly hold for Machine Learning (ML) projects, which involve iterative experimentation with data, models, and algorithms. However, ML components are often developed by data scientists with diverse educational backgrounds, potentially resulting in code that doesn't adhere to software design best practices. [Goal] In order to better understand this phenomenon, we investigated the impact of the SOLID design principles on ML code understanding. [Method] We conducted a controlled experiment with three independent trials involving 100 data scientists. We restructured real industrial ML code that did not use SOLID principles. Within each trial, one group was presented with the original ML code, while the other was presented with ML code incorporating SOLID principles. Participants of both groups were asked to analyze the code and fill out a questionnaire that included both open-ended and closed-ended questions on their understanding. [Results] The study results provide statistically significant evidence that the adoption of the SOLID design principles can improve code understanding within the realm of ML projects. [Conclusion] We put forward that software engineering design principles should be spread within the data science community and considered for enhancing the maintainability of ML code.
@inproceedings{CabralKBVEL24,
author = {Cabral, Raphael and Kalinowski, Marcos and Baldassarre, Maria Teresa and Villamizar, Hugo and Escovedo, Tatiana and Lopes, H\'{e}lio},
title = {Investigating the Impact of SOLID Design Principles on Machine Learning Code Understanding},
note={<font color="red">Best Paper of CAIN 2024 - ACM Distinguished Paper Award!</font>},
year = {2024},
isbn = {9798400705915},
publisher = {Association for Computing Machinery},
urlAuthor_version = {http://www.inf.puc-rio.br/~kalinowski/publications/CabralKBVEL24.pdf},
doi = {10.1145/3644815.3644957},
abstract = {[Context] Applying design principles has long been acknowledged as beneficial for understanding and maintainability in traditional software projects. These benefits may similarly hold for Machine Learning (ML) projects, which involve iterative experimentation with data, models, and algorithms. However, ML components are often developed by data scientists with diverse educational backgrounds, potentially resulting in code that doesn't adhere to software design best practices. [Goal] In order to better understand this phenomenon, we investigated the impact of the SOLID design principles on ML code understanding. [Method] We conducted a controlled experiment with three independent trials involving 100 data scientists. We restructured real industrial ML code that did not use SOLID principles. Within each trial, one group was presented with the original ML code, while the other was presented with ML code incorporating SOLID principles. Participants of both groups were asked to analyze the code and fill out a questionnaire that included both open-ended and closed-ended questions on their understanding. [Results] The study results provide statistically significant evidence that the adoption of the SOLID design principles can improve code understanding within the realm of ML projects. [Conclusion] We put forward that software engineering design principles should be spread within the data science community and considered for enhancing the maintainability of ML code.},
booktitle = {Proceedings of the IEEE/ACM 3rd International Conference on AI Engineering - Software Engineering for AI},
pages = {7–17},
numpages = {11},
keywords = {SOLID design principles, machine learning, code understanding},
location = {Lisbon, Portugal},
series = {CAIN '24}
}
Downloads: 3
{"_id":"BYpiHuJAh77pHXfkd","bibbaseid":"cabral-kalinowski-baldassarre-villamizar-escovedo-lopes-investigatingtheimpactofsoliddesignprinciplesonmachinelearningcodeunderstanding-2024","author_short":["Cabral, R.","Kalinowski, M.","Baldassarre, M. T.","Villamizar, H.","Escovedo, T.","Lopes, H."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"propositions":[],"lastnames":["Cabral"],"firstnames":["Raphael"],"suffixes":[]},{"propositions":[],"lastnames":["Kalinowski"],"firstnames":["Marcos"],"suffixes":[]},{"propositions":[],"lastnames":["Baldassarre"],"firstnames":["Maria","Teresa"],"suffixes":[]},{"propositions":[],"lastnames":["Villamizar"],"firstnames":["Hugo"],"suffixes":[]},{"propositions":[],"lastnames":["Escovedo"],"firstnames":["Tatiana"],"suffixes":[]},{"propositions":[],"lastnames":["Lopes"],"firstnames":["Hélio"],"suffixes":[]}],"title":"Investigating the Impact of SOLID Design Principles on Machine Learning Code Understanding","note":"<font color=\"red\">Best Paper of CAIN 2024 - ACM Distinguished Paper Award!</font>","year":"2024","isbn":"9798400705915","publisher":"Association for Computing Machinery","urlauthor_version":"http://www.inf.puc-rio.br/~kalinowski/publications/CabralKBVEL24.pdf","doi":"10.1145/3644815.3644957","abstract":"[Context] Applying design principles has long been acknowledged as beneficial for understanding and maintainability in traditional software projects. These benefits may similarly hold for Machine Learning (ML) projects, which involve iterative experimentation with data, models, and algorithms. However, ML components are often developed by data scientists with diverse educational backgrounds, potentially resulting in code that doesn't adhere to software design best practices. [Goal] In order to better understand this phenomenon, we investigated the impact of the SOLID design principles on ML code understanding. [Method] We conducted a controlled experiment with three independent trials involving 100 data scientists. We restructured real industrial ML code that did not use SOLID principles. Within each trial, one group was presented with the original ML code, while the other was presented with ML code incorporating SOLID principles. Participants of both groups were asked to analyze the code and fill out a questionnaire that included both open-ended and closed-ended questions on their understanding. [Results] The study results provide statistically significant evidence that the adoption of the SOLID design principles can improve code understanding within the realm of ML projects. [Conclusion] We put forward that software engineering design principles should be spread within the data science community and considered for enhancing the maintainability of ML code.","booktitle":"Proceedings of the IEEE/ACM 3rd International Conference on AI Engineering - Software Engineering for AI","pages":"7–17","numpages":"11","keywords":"SOLID design principles, machine learning, code understanding","location":"Lisbon, Portugal","series":"CAIN '24","bibtex":"@inproceedings{CabralKBVEL24,\n author = {Cabral, Raphael and Kalinowski, Marcos and Baldassarre, Maria Teresa and Villamizar, Hugo and Escovedo, Tatiana and Lopes, H\\'{e}lio},\n title = {Investigating the Impact of SOLID Design Principles on Machine Learning Code Understanding},\n note={<font color=\"red\">Best Paper of CAIN 2024 - ACM Distinguished Paper Award!</font>},\n year = {2024},\n isbn = {9798400705915},\n publisher = {Association for Computing Machinery},\n urlAuthor_version = {http://www.inf.puc-rio.br/~kalinowski/publications/CabralKBVEL24.pdf}, \n doi = {10.1145/3644815.3644957},\n abstract = {[Context] Applying design principles has long been acknowledged as beneficial for understanding and maintainability in traditional software projects. These benefits may similarly hold for Machine Learning (ML) projects, which involve iterative experimentation with data, models, and algorithms. However, ML components are often developed by data scientists with diverse educational backgrounds, potentially resulting in code that doesn't adhere to software design best practices. [Goal] In order to better understand this phenomenon, we investigated the impact of the SOLID design principles on ML code understanding. [Method] We conducted a controlled experiment with three independent trials involving 100 data scientists. We restructured real industrial ML code that did not use SOLID principles. Within each trial, one group was presented with the original ML code, while the other was presented with ML code incorporating SOLID principles. Participants of both groups were asked to analyze the code and fill out a questionnaire that included both open-ended and closed-ended questions on their understanding. [Results] The study results provide statistically significant evidence that the adoption of the SOLID design principles can improve code understanding within the realm of ML projects. [Conclusion] We put forward that software engineering design principles should be spread within the data science community and considered for enhancing the maintainability of ML code.},\n booktitle = {Proceedings of the IEEE/ACM 3rd International Conference on AI Engineering - Software Engineering for AI},\n pages = {7–17},\n numpages = {11},\n keywords = {SOLID design principles, machine learning, code understanding},\n location = {Lisbon, Portugal},\n series = {CAIN '24}\n}\n\n","author_short":["Cabral, R.","Kalinowski, M.","Baldassarre, M. T.","Villamizar, H.","Escovedo, T.","Lopes, H."],"bibbaseid":"cabral-kalinowski-baldassarre-villamizar-escovedo-lopes-investigatingtheimpactofsoliddesignprinciplesonmachinelearningcodeunderstanding-2024","role":"author","urls":{"Author version":"http://www.inf.puc-rio.br/~kalinowski/publications/CabralKBVEL24.pdf"},"keyword":["SOLID design principles","machine learning","code understanding"],"metadata":{"authorlinks":{}},"downloads":3},"bibtype":"inproceedings","biburl":"https://bibbase.org/f/2Gq6bNPQ845THHiMW/KalinowskiPapers.bib","dataSources":["q7rgFjFgwoTSGkm3G","56kphca3KPjtFZJC6","JxJm4GfaRAd3NEw2w","iSfhee4nHcHz4F2WQ","dksQDZQ4WEEdjjcyn"],"keywords":["solid design principles","machine learning","code understanding"],"search_terms":["investigating","impact","solid","design","principles","machine","learning","code","understanding","cabral","kalinowski","baldassarre","villamizar","escovedo","lopes"],"title":"Investigating the Impact of SOLID Design Principles on Machine Learning Code Understanding","year":2024,"downloads":3}