lnu.sePublications
Change search
Link to record
Permanent link

Direct link
Caporuscio, Mauro, ProfessorORCID iD iconorcid.org/0000-0001-6981-0966
Publications (10 of 71) Show all publications
Caporuscio, M., D' Angelo, M., Grassi, V., Mirandola, R. & Ricci, F. (2026). A self-sustainable service assembly for decentralized computing environments. Journal of Systems and Software, 235, Article ID 112755.
Open this publication in new window or tab >>A self-sustainable service assembly for decentralized computing environments
Show others...
2026 (English)In: Journal of Systems and Software, ISSN 0164-1212, E-ISSN 1873-1228, Vol. 235, article id 112755Article in journal (Refereed) Published
Abstract [en]

The landscape of modern computing systems is shifting towards architectures built by combining available services under the “everything as a service” paradigm. These architectures are deployed on distributed cloud-edge infrastructures, aiming to provide innovative services to a wide range of users. However, it is crucial for these systems to address environmental sustainability concerns. This poses challenges in operating such systems in open, dynamic, and uncertain environments while minimizing their energy consumption. To tackle these challenges, we propose a decentralized service assembly approach that ensures the assembly is energetically self-sustainable by relying on locally harvested and stored energy. In our contribution, we introduce a general service selection template that enables the derivation of different selection policies. These policies guide the construction and maintenance of the service assembly. To evaluate their effectiveness in meeting the sustainability requirements, we conduct a comprehensive set of simulation experiments, providing valuable insights.

Place, publisher, year, edition, pages
Elsevier, 2026
Keywords
Service assembly, Service composition, Software architecture, Sustainable computing, Decentralized systems
National Category
Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-143932 (URN)10.1016/j.jss.2025.112755 (DOI)001660932800001 ()2-s2.0-105027201619 (Scopus ID)
Available from: 2026-01-12 Created: 2026-01-12 Last updated: 2026-02-12Bibliographically approved
Johansson, N. & Caporuscio, M. (2026). Application of AI in Software Architecture Development at Volvo Construction Equipment. In: Domenico Bianculli; Hassan Sartaj; Vasilios Andrikopoulos; Cesare Pautasso; Tommi Mikkonen; Jennifer Perez; Tomáš Bureš; Martina De Sanctis; Henry Muccini; Elena Navarro; Mohamed Soliman; Uwe Zdun (Ed.), Software Architecture: ECSA 2025 Tracks and Workshops. Paper presented at European Conference on Software Architecture, Limassol, Cyprus, 15 – 19 September, 2025 (pp. 119-126). Springer Nature, 15982 LNCS
Open this publication in new window or tab >>Application of AI in Software Architecture Development at Volvo Construction Equipment
2026 (English)In: Software Architecture: ECSA 2025 Tracks and Workshops / [ed] Domenico Bianculli; Hassan Sartaj; Vasilios Andrikopoulos; Cesare Pautasso; Tommi Mikkonen; Jennifer Perez; Tomáš Bureš; Martina De Sanctis; Henry Muccini; Elena Navarro; Mohamed Soliman; Uwe Zdun, Springer Nature, 2026, Vol. 15982 LNCS, p. 119-126Conference paper, Published paper (Refereed)
Abstract [en]

As software systems grow in complexity, traditional development methods increasingly struggle to meet demands for scalability, agility, and efficiency. In this context, software architecture plays a central role in maintaining system quality and long-term adaptability. However, SA development faces persistent challenges such as bridging loosely defined requirements with design, managing architectural knowledge across distributed teams, and preserving structural integrity in agile settings. At Volvo Construction Equipment, Artificial Intelligence is being investigated as a means to support and enhance architectural work. Specifically, AI is applied to automate labour-intensive tasks, support design decision-making, and document architectural rationale to mitigate erosion. This paper presents four use cases at Volvo Construction Equipment, including generating Architecture Decision Records, mapping requirements to modules, supporting component design, and evaluating generative AI for module classification. These efforts illustrate AI’s potential to act as a co-pilot in the software architecture process—improving consistency, traceability, and decision support. By sharing our approach and early experiences, this paper contributes to the broader discourse on integrating AI into industrial software architecture practice.

Place, publisher, year, edition, pages
Springer Nature, 2026
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15982
Keywords
AI, AI in Software Engineering, Software Architecture
National Category
Software Engineering
Identifiers
urn:nbn:se:lnu:diva-144987 (URN)10.1007/978-3-032-04403-7_12 (DOI)2-s2.0-105016145461 (Scopus ID)9783032044020 (ISBN)
Conference
European Conference on Software Architecture, Limassol, Cyprus, 15 – 19 September, 2025
Available from: 2026-02-12 Created: 2026-02-12 Last updated: 2026-03-02Bibliographically approved
Vitale, F., Flammini, F., Caporuscio, M. & Mazzocca, N. (2026). Architecting software monitors for control-flow anomaly detection through large language models and conformance checking. Information and Software Technology, 195, Article ID 108133.
Open this publication in new window or tab >>Architecting software monitors for control-flow anomaly detection through large language models and conformance checking
2026 (English)In: Information and Software Technology, ISSN 0950-5849, E-ISSN 1873-6025, Vol. 195, article id 108133Article in journal (Refereed) Published
Abstract [en]

Context: Ensuring high levels of dependability in modern computer-based systems has become increasingly challenging due to their complexity. Although systems are validated at design time, their behavior can be different at runtime, possibly showing control-flow anomalies due to "unknown unknowns".

Objective: We aim to detect control-flow anomalies through software monitoring, which verifies runtime behavior by logging software execution and detecting deviations from expected control flow.

Methods: We propose a methodology to develop software monitors for control-flow anomaly detection through Large Language Models (LLMs) and conformance checking. The methodology builds on existing software development practices to maintain traditional V&V while providing an additional level of robustness and trustworthiness. It leverages LLMs to link design-time models and implementation code, automating source-code instrumentation. The resulting event logs are analyzed via conformance checking, an explainable and effective technique for control-flow anomaly detection.

Results: We test the methodology on a case-study scenario from the European Railway Traffic Management System/European Train Control System (ERTMS/ETCS), which is a railway standard for modern interoperable railways. The results obtained from the ERTMS/ETCS case study demonstrate that LLM-based source-code instrumentation can achieve up to 82.849% control-flow coverage of the reference design-time process model, while the subsequent conformance checking-based anomaly detection reaches a peak performance of 95.957% F1-score and 93.669% AUC.

Conclusion: Incorporating domain-specific knowledge to guide LLMs in source-code instrumentation significantly allowed obtaining reliable and quality software logs and enabled effective control-flow anomaly detection through conformance checking.

Place, publisher, year, edition, pages
Elsevier, 2026
Keywords
conformance checking, software monitoring, fuzzy runtime verification, cyber-physical systems, resilience, railways
National Category
Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-145796 (URN)10.1016/j.infsof.2026.108133 (DOI)001729790000001 ()2-s2.0-105034581936 (Scopus ID)
Available from: 2026-04-07 Created: 2026-04-07 Last updated: 2026-05-07Bibliographically approved
Giussani, S., Caporuscio, M. & Perez-Palacin, D. (2025). A Reasoning Framework for Architecting Carbon-Aware Software-as-a-Service Applications. In: Software Engineering and Advanced Applications. SEAA 2025.: . Paper presented at 51st Euromicro Conference on Software Engineering and Advanced Applications (SEAA 2025) (pp. 231-241). Springer Nature
Open this publication in new window or tab >>A Reasoning Framework for Architecting Carbon-Aware Software-as-a-Service Applications
2025 (English)In: Software Engineering and Advanced Applications. SEAA 2025., Springer Nature , 2025, p. 231-241Conference paper, Published paper (Refereed)
Abstract [en]

Software-as-a-Service solutions are increasingly being adopted when developing software applications, as they are scalable, cost-effective, and facilitate rapid deployment while providing high availability and flexibility. However, the impact of Software-as-a-Service in terms of carbon emissions is not yet adequately addressed as a design concern, and most of the existing efforts revolve around measuring and containing the carbon impact after the deployment. Our work proposes a model-driven reasoning framework that integrates UML-based software architecture modeling with carbon-aware concerns. Architectural elements are supplemented with sustainability and performance properties of interest through a dedicated Domain Specific Language; then, a model-driven transformation generates a simulation model to evaluate multiple architectural designs according to their Software Carbon Intensity and performance metrics. The results guide decision-making by assessing and comparing the trade-offs between performance and carbon intensity for the analyzed designs. In this way, the reasoning framework provides an automated, tool-supported approach to designing environmentally responsible Software-as-a-Service applications.

Place, publisher, year, edition, pages
Springer Nature, 2025
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:lnu:diva-141899 (URN)10.1007/978-3-032-04207-1_16 (DOI)2-s2.0-105016571630 (Scopus ID)
Conference
51st Euromicro Conference on Software Engineering and Advanced Applications (SEAA 2025)
Available from: 2025-10-06 Created: 2025-10-06 Last updated: 2025-10-13Bibliographically approved
Edrisi, F., Perez-Palacin, D., Caporuscio, M. & Mirandola, R. (2025). Approaching Proactive Self-Adaptation in Nonlinear Cyber-Physical Systems. In: : . Paper presented at 2025 IEEE/ACM 20th Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS) (pp. 25-31). IEEE
Open this publication in new window or tab >>Approaching Proactive Self-Adaptation in Nonlinear Cyber-Physical Systems
2025 (English)Conference paper, Published paper (Refereed)
Abstract [en]

Cyber-physical systems (CPS) are challenging to control due to the complex uncertainties arising from physical and virtual sources. Enhancing CPS with self-adaptation is beneficial in addressing these uncertainties. While reactive adaptation often struggles with reliability, proactive adaptation could be more advantageous by preparing systems to make informed decisions, considering the consequences of changes before they occur. CPS and their execution environment usually exhibit timevarying or non-linear dynamics, which are more complex to predict than linear systems, while recent proposals of proactive self-adaptation methods have focused on linear systems. This work bridges this gap by proposing a method for Proactive self-Adaptation for Nonlinear Cyber-physical Systems (PANCS). PANCS is developed through a ground vehicle running example, leveraging MAPE-K loop, and its strengths and limitations are discussed.

Place, publisher, year, edition, pages
IEEE, 2025
Keywords
CPS, Nonlinear, Adaptive Model Predictive Control
National Category
Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-143286 (URN)10.1109/SEAMS66627.2025.00011 (DOI)2-s2.0-105009127878 (Scopus ID)9798331501822 (ISBN)9798331501815 (ISBN)
Conference
2025 IEEE/ACM 20th Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS)
Available from: 2025-12-09 Created: 2025-12-09 Last updated: 2025-12-30Bibliographically approved
Giussani, S., Perez-Palacin, D., Caporuscio, M. & Edrisi, F. (2025). Business Process Lifecycle Enhancement via Digital Twin and Model-Driven Engineering. In: 2025 IEEE 22nd International Conference on Software Architecture Companion (ICSA-C): . Paper presented at FAACS '25: The 9th International Workshop on Formal Approaches for Advanced Computing Systems (pp. 300-309). IEEE
Open this publication in new window or tab >>Business Process Lifecycle Enhancement via Digital Twin and Model-Driven Engineering
2025 (English)In: 2025 IEEE 22nd International Conference on Software Architecture Companion (ICSA-C), IEEE, 2025, p. 300-309Conference paper, Published paper (Refereed)
Abstract [en]

Business process management deals with the administration of the chains of events, activities, and decisions that add value to an organization. The ever-growing complexity and inner uncertainty of business-related operations call for a paradigm shift toward new technologies, such as digital twins, to coordinate and optimize the processes belonging to an organization. In this paper, we propose an extended version ofthe business process lifecycle that includes a Digital Twin of the Organization, in charge of consistently ensuring the process’s alignment with the required performance goals and facilitating recovery from failures. We also contribute to defining the model-driven components that transform the business process model, in BPMN notation, into a compatible process representation for the digital twin, enabling simulation capabilities and scenario analyses. Through a manufacturing use case, we demonstrate how the digital twin optimizes processes pre-implementation and facilitates rapid recovery and reconfiguration following critica lfailures, underscoring its potential to improve efficiency and reliability in process management.

Place, publisher, year, edition, pages
IEEE, 2025
National Category
Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-140238 (URN)10.1109/ICSA-C65153.2025.00050 (DOI)2-s2.0-105007944721 (Scopus ID)
Conference
FAACS '25: The 9th International Workshop on Formal Approaches for Advanced Computing Systems
Available from: 2025-06-26 Created: 2025-06-26 Last updated: 2025-06-30Bibliographically approved
Giussani, S., Martins, R. M., Soares, A., Caporuscio, M. & Perez-Palacin, D. (2025). Visualizing Feature Importance of Time Series Data in Discrete-Event Simulations using Shapley Additive Explanations. In: Proceedings of the 39th ACM SIGSIM Conference on Principles of Advanced Discrete Simulation: . Paper presented at SIGSIM-PADS '25 (pp. 65-69). Association for Computing Machinery (ACM)
Open this publication in new window or tab >>Visualizing Feature Importance of Time Series Data in Discrete-Event Simulations using Shapley Additive Explanations
Show others...
2025 (English)In: Proceedings of the 39th ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, Association for Computing Machinery (ACM) , 2025, p. 65-69Conference paper, Published paper (Refereed)
Abstract [en]

As simulation applications become vital for understanding and predicting complex systems, analyzing data from repeated simulation runs is essential to gauge model uncertainty and identify optimal parameter settings. This paper presents a visualization tool for analyzing time series ensemble data generated by discrete-event simulations, focusing on feature importance within clustering results. The tool combines dimensionality reduction, clustering, and SHapley Additive exPlanations (SHAP) to highlight influential features and identify trends within clustered simulation data, advancing previous approaches focusing solely on visualization or clustering without analyzing specific feature contributions. By analyzing a manufacturing use case, we show how the visualization supports decision-makers by depicting the main features driving cluster formation and displaying time intervals critical to characterizing distinct system behaviors.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2025
Keywords
Ensemble Data Analysis, Feature-Based Clustering, Simulation Visualization
National Category
Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-140235 (URN)10.1145/3726301.3728401 (DOI)2-s2.0-105010602813 (Scopus ID)9798400715914 (ISBN)
Conference
SIGSIM-PADS '25
Available from: 2025-06-26 Created: 2025-06-26 Last updated: 2026-04-16Bibliographically approved
Edrisi, F., Perez-Palacin, D., Caporuscio, M. & Giussani, S. (2024). Developing and Evolving a Digital Twin of the Organization. IEEE Access, 12, 45475-45494
Open this publication in new window or tab >>Developing and Evolving a Digital Twin of the Organization
2024 (English)In: IEEE Access, E-ISSN 2169-3536, Vol. 12, p. 45475-45494Article in journal (Refereed) Published
Abstract [en]

Digital Twin of the Organization (DTO) is a relatively new concept that emerged to help managers have a full understanding of their organization and realize their objectives. Indeed, DTO enables connecting all the elements of an organization virtually by providing monitoring, optimization, prediction, and other capabilities through continuous simulations. Creating a flexible and evolvable DTO that covers and supports the organization's business strategies is a complex and time-consuming task that requires engineering best practices. In this context, this paper presents and evaluates the EA Blueprint Pattern, which serves as an architectural reference for the development of a DTO by allowing for mapping well-known Enterprise Architecture concepts into software components defining the DTO software architecture. The evaluation is carried on by showing how to use the pattern for creating the DTO for a given organization. Then, a thorough discussion is conducted to analyze how the developed DTO should evolve to deal with vertical and horizontal integration. The lessons learned highlight the strengths and weaknesses along with practical implications for organizations that are eager to develop their DTO according to the EA Blueprint Pattern.

Place, publisher, year, edition, pages
IEEE, 2024
Keywords
Digital twins, Decision making, Information systems, Computer architecture, Standards organizations, Pattern analysis, Organizational aspects, Software engineering, Enterprise architecture management, Digital twin, EA blueprint pattern, enterprise architecture, organizational integration, software evolution
National Category
Computer Sciences
Research subject
Computer and Information Sciences Computer Science, Computer Science
Identifiers
urn:nbn:se:lnu:diva-129002 (URN)10.1109/ACCESS.2024.3381778 (DOI)001193963600001 ()2-s2.0-85189166724 (Scopus ID)
Available from: 2024-04-22 Created: 2024-04-22 Last updated: 2025-04-30Bibliographically approved
Garg, G., Andersson, R. & Caporuscio, M. (2024). Digitalization of Work Instructions in Production Plant. In: Sustainable Production through Advanced Manufacturing, Intelligent Automation and Work Integrated Learning: . Paper presented at 11th Swedish Production Symposium, Trollhättan, Sweden, 23 - 26 April, 2024 (pp. 325-334). IOS Press, 52
Open this publication in new window or tab >>Digitalization of Work Instructions in Production Plant
2024 (English)In: Sustainable Production through Advanced Manufacturing, Intelligent Automation and Work Integrated Learning, IOS Press , 2024, Vol. 52, p. 325-334Conference paper, Published paper (Refereed)
Abstract [en]

Digitization of the manufacturing and assembly sector is important to set up Industry 4.0. In this process, one of the key factors is the channel of sharing and distributing information on the shop floor. This study highlights the implementation of digital work instructions in the manufacturing and assembly sectors and finds the benefits that it could bring to the industry. The study was conducted in a large production plant with over five hundred workers in Malaysia and was carried out for almost a year. Whereas, most of the existing studies have been conducted in a controlled environment with a group of inexperienced workers in manufacturing and assembly tasks. In this article, the benefits and challenges of digital work instructions are studied over paper-based textual representation of assembly instructions. The study was conducted among groups of people with different roles, such as electrical assembly, mechanical assembly, and final quality check. The qualitative analysis is carried out based on the survey conducted among operators with different roles. Results show that digitalization eases the work for the quality inspection group. In contrast, people with other tasks are either neutral or find it more difficult to work with digitalized versions over paper-based instructions. In addition to this, some data-driven facts are presented, which help in improving the plant operations. This includes recording material shortages, optimizing working hours, and having real-time updates on production status which leads to effective production planning. At last, with the collected information, manufacturing plants can also optimize power utilization that impacts the environment in a positive direction.

Place, publisher, year, edition, pages
IOS Press, 2024
Series
Advances in Transdisciplinary Engineering, ISSN 2352-751X, E-ISSN 2352-7528
Keywords
assembly and manufacturing industry, data-driven decision, digital work instruction, production optimization, E-learning, Production control, Data driven decision, Digitisation, Key factors, Manufacturing industries, Production plant, Work instructions, Workers', Assembly
National Category
Production Engineering, Human Work Science and Ergonomics
Identifiers
urn:nbn:se:lnu:diva-143052 (URN)10.3233/ATDE240177 (DOI)2-s2.0-85191286918 (Scopus ID)
Conference
11th Swedish Production Symposium, Trollhättan, Sweden, 23 - 26 April, 2024
Available from: 2025-11-26 Created: 2025-11-26 Last updated: 2025-11-26Bibliographically approved
Johansson, N., Caporuscio, M. & Olsson, T. (2024). Mapping Source Code to Software Architecture by Leveraging Large Language Models. In: Software Architecture: ECSA 2024 Tracks and Workshops. Paper presented at 18th European Conference on Software Architecture, Luxembourg City, Luxembourg, 3 – 6 September, 2024 (pp. 133-149). Springer Nature, 14937
Open this publication in new window or tab >>Mapping Source Code to Software Architecture by Leveraging Large Language Models
2024 (English)In: Software Architecture: ECSA 2024 Tracks and Workshops, Springer Nature, 2024, Vol. 14937, p. 133-149Conference paper, Published paper (Refereed)
Abstract [en]

Architecture refactoring is a big challenge and requires thorough analysis and labor-intensive, error-prone activities to restructure functionalities from a legacy architecture to a new intended one. Indeed, source code should be adapted to match the new structure. In this context, automatically mapping source code to the intended architecture would significantly reduce manual work and prevent technical debt. To this end, in this paper, we aim to map methods to architectural modules solely defined by textual descriptions, i.e., formulated as a machine learning text classification problem. Methods are mapped into modules using different approaches. We apply the proposed approach to an open-source software system, results show that vectorizing text and code using large language models outperforms other modern methods. The different applied machine learning classifiers perform comparably well, where the best attain accuracy of around 40% and F1-score of around 30%.

Place, publisher, year, edition, pages
Springer Nature, 2024
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349
Keywords
large language models, machine learning, software architecture, software refactoring, source code mapping to architecture
National Category
Software Engineering
Research subject
Computer Science, Software Technology
Identifiers
urn:nbn:se:lnu:diva-138378 (URN)10.1007/978-3-031-71246-3_13 (DOI)2-s2.0-85204359733 (Scopus ID)
Conference
18th European Conference on Software Architecture, Luxembourg City, Luxembourg, 3 – 6 September, 2024
Available from: 2025-05-07 Created: 2025-05-07 Last updated: 2025-05-19Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0001-6981-0966

Search in DiVA

Show all publications