Affiliation:
1. Institute for Software and Systems Engineering, Clausthal University of Technology, 38678 Clausthal-Zellerfeld, Germany
Abstract
This paper explores the application of inferring software architecture rules from examples using Machine Learning (ML). We investigate different methods from Inductive Rule Learning and utilize Large Language Models (LLMs). Traditional manual rule specification approaches are time-consuming and error-prone, motivating the need for automated rule discovery. Leveraging a dataset of software architecture instances and a meta-model capturing implementation facts, we used inductive learning algorithms and LLMs to extract meaningful rules. The induced rules are evaluated against a predefined hypothesis and their generalizability across different system subsets is investigated. The research highlights the capabilities and limitations of ML-based rule learning in the area of software architecture, aiming to inspire further innovation in data-driven rule discovery for more intelligent software architecture practices.
Reference48 articles.
1. Schindler, C., and Rausch, A. (2024, January 3–6). Towards Inductive Learning of Formal Software Architecture Rules. Proceedings of the 57th Annual Hawaii International Conference on System Sciences (HICSS), Hawaiian Village, HI, USA.
2. Komolov, S., Dlamini, G., Megha, S., and Mazzara, M. (2022). Towards Predicting Architectural Design Patterns: A Machine Learning Approach. Computers, 11.
3. Tibermacine, C., Sadou, S., Dony, C., and Fabresse, L. (2011, January 21–23). Component-based Specification of Software Architecture Constraints. Proceedings of the 14th International ACM Sigsoft Symposium on Component Based Software Engineering, Boulder, CO, USA.
4. Deiters, C., Dohrmann, P., Herold, S., and Rausch, A. (2009, January 1–4). Rule-based Architectural Compliance Checks for Enterprise Architecture Management. Proceedings of the 2009 IEEE International Enterprise Distributed Object Computing Conference, Auckland, New Zealand.
5. Pruijt, L., Wiersema, W., van der Werf, J.M.E., and Brinkkemper, S. (2016, January 5–8). Rule Type Based Reasoning on Architecture Violations: A Case Study. Proceedings of the 2016 Qualitative Reasoning about Software Architectures (QRASA), Venice, Italy.