Riccardo Rubei
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Riccardo Rubei has a total of 27 co-authors. Here are the top co-authors by number of shared publications:
- Claudio Di Sipio
Institute of Software System Engineering Johannes Kepler University Linz Linz Austria
19 shared publications - Davide Di Ruscio
University of L'Aquila, L'Aquila, Italy
19 shared publications - Juri Di Rocco
Department of Information Engineering, Computer Science and Mathematics, Universitá degli Studi dell'Aquila, L'Aquila, Italy
14 shared publications - Phuong T. Nguyen
Department of Information Engineering, Computer Science and Mathematics, University of L’Aquila, L’Aquila, Italy
13 shared publications - Massimiliano Di Penta
University of Sannio, Benevento, Italy
4 shared publications - Luca Berardinelli
Business Informatics Software Engineering, Johannes Kepler University Linz, Linz, Austria
3 shared publications
Latest Publications
- Open Access
- 4 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 703-711
From Informal to Conformant Models: Benchmarking Vision--Language Models for UML Generation
Software teams routinely sketch and draw informal diagrams to capture design intent, yet these artifacts rarely evolve into conformant models that automated tooling can process or that can support later stages of development. This tension motivates flexible modeling, which aims to bridge free-form sketching and canonical modeling by enabling progressive formalization. Recent advances in vision–language models suggest a new mechanism for operationalizing this bridge by translating informal visuals into canonical modeling artifacts, but evidence on current capabilities remains limited. In this paper, we provide a systematic empirical benchmark of cross-diagram, cross-model performance of four vision–language models: Claude 3.7 Sonnet, GPT-4o, Llama 4 Maverick, and Gemini 2.5 Pro, for generating five UML diagram types: class, sequence, activity, use case, and state machine. We used a dataset of informal and schematic diagrams extracted from scientific publications and evaluated outputs using automated syntactic validation and structured manual semantic assessment of element and relationship correspondence to the source. Our results showed that most models produced syntactically valid diagrams with high accuracy, particularly for sequence and use case diagrams, while semantic fidelity remained substantially lower and varied across models and diagram types. Activity diagrams were easiest to generate semantically, whereas use case diagrams were most challenging due to conceptual ambiguity, highlighting a stable syntax–semantics gap that currently limits fully automated design formalization.
- 4 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 703-711
Open AccessFrom Informal to Conformant Models: Benchmarking Vision--Language Models for UML Generation
Software teams routinely sketch and draw informal diagrams to capture design intent, yet these artifacts rarely evolve into conformant models that automated tooling can process or that can support later stages of development. This tension motivates flexible modeling, which aims to bridge free-form sketching and canonical modeling by enabling progressive formalization. Recent advances in vision–language models suggest a new mechanism for operationalizing this bridge by translating informal visuals into canonical modeling artifacts, but evidence on current capabilities remains limited. In this paper, we provide a systematic empirical benchmark of cross-diagram, cross-model performance of four vision–language models: Claude 3.7 Sonnet, GPT-4o, Llama 4 Maverick, and Gemini 2.5 Pro, for generating five UML diagram types: class, sequence, activity, use case, and state machine. We used a dataset of informal and schematic diagrams extracted from scientific publications and evaluated outputs using automated syntactic validation and structured manual semantic assessment of element and relationship correspondence to the source. Our results showed that most models produced syntactically valid diagrams with high accuracy, particularly for sequence and use case diagrams, while semantic fidelity remained substantially lower and varied across models and diagram types. Activity diagrams were easiest to generate semantically, whereas use case diagrams were most challenging due to conceptual ambiguity, highlighting a stable syntax–semantics gap that currently limits fully automated design formalization.
- Open Access
- 3 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 456-462
Beyond Single-run Correctness: Nondeterminism-aware Evaluation of LLM-based Model Transformations
- 3 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 456-462
Open AccessBeyond Single-run Correctness: Nondeterminism-aware Evaluation of LLM-based Model Transformations
- Open Access
- 11 July 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 35 (7) , 1-49
Foster the Use of Hackathons in Collaborative Research Projects: Methodology, Experience Report, and Lesson Learned
In recent years, the growing complexity of ICT projects and the increasing need for effective multi-stakeholder collaboration have prompted the search for innovative methods to enhance project outcomes. This article proposes a structured methodology for integrating hackathons into the lifecycle of ICT collaborative multi-partner research projects. Drawing on our experience with the ECSEL Joint Undertaking AIDOaRt project, we demonstrate how a series of internally organized hackathons can serve as effective tools for fostering stakeholder engagement, accelerating innovation, and aligning project activities with strategic objectives. Our approach involves a clearly defined process comprising a pre-hackathon phase for challenge definition, intensive hackathon sessions for collaborative solution development, and a post-hackathon phase for iterative refinement. Quantitative analysis of challenge evolution and participant engagement, together with qualitative feedback from a questionnaire survey, reveals that iterative hackathon cycles not only enhance technical outcomes, such as rapid prototyping and tool integration, but also promote sustained collaboration among industry and academic partners. The article concludes with risks, lessons learned, and practical guidelines to support the adoption of our hackathon-based methodology in multi-partner research projects, highlighting their potential to manage complexity, drive innovation in the ICT ecosystem, and foster continuous and effective collaboration among stakeholders.
- 11 July 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 35 (7) , 1-49
Open AccessFoster the Use of Hackathons in Collaborative Research Projects: Methodology, Experience Report, and Lesson Learned
In recent years, the growing complexity of ICT projects and the increasing need for effective multi-stakeholder collaboration have prompted the search for innovative methods to enhance project outcomes. This article proposes a structured methodology for integrating hackathons into the lifecycle of ICT collaborative multi-partner research projects. Drawing on our experience with the ECSEL Joint Undertaking AIDOaRt project, we demonstrate how a series of internally organized hackathons can serve as effective tools for fostering stakeholder engagement, accelerating innovation, and aligning project activities with strategic objectives. Our approach involves a clearly defined process comprising a pre-hackathon phase for challenge definition, intensive hackathon sessions for collaborative solution development, and a post-hackathon phase for iterative refinement. Quantitative analysis of challenge evolution and participant engagement, together with qualitative feedback from a questionnaire survey, reveals that iterative hackathon cycles not only enhance technical outcomes, such as rapid prototyping and tool integration, but also promote sustained collaboration among industry and academic partners. The article concludes with risks, lessons learned, and practical guidelines to support the adoption of our hackathon-based methodology in multi-partner research projects, highlighting their potential to manage complexity, drive innovation in the ICT ecosystem, and foster continuous and effective collaboration among stakeholders.
- Open Access
- 1 June 2026
- Published by Elsevier in SSRN Electronic Journal
Energy-Aware Prompt Engineering for Large Language Models: An Empirical Study on Software Engineering Tasks
The growing environmental impact of AI-based software systems, particularly those leveraging large language models (LLMs), necessitates urgent investigation into their substantial resource consumption, which contributes significantly to data center load and carbon emissions. This paper extends our prior work on LLM energy consumption, which focused solely on Llama 3.0 for code completion, by empirically analyzing the influence of Prompt Engineering Techniques (PETs) on the energy footprint of two prominent LLMs: the general-purpose Llama 3.1 and the specialized Code Llama. Our investigation spans two distinct natural language tasks: code completion and textual summarization of GitHub README.md files. Specifically, we examine the impact of custom prompts on code completion and the effect of input formatting (comparing plain text, Markdown, and HTML representations) on the textual summarization task. Our findings indicate that prompt customization positively influences the energy efficiency of both Llama 3.1 and Code Llama. However, for the textual summarization task, the specific input format (plain text, Markdown, HTML) appears to have a less pronounced contribution to energy consumption. Notably, Code Llama consistently exhibited a substantially higher energy footprint compared to Llama 3.1 throughout the majority of our experimental evaluations, highlighting potential differences in resource demands between general-purpose and specialized models.
- 1 June 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessEnergy-Aware Prompt Engineering for Large Language Models: An Empirical Study on Software Engineering Tasks
The growing environmental impact of AI-based software systems, particularly those leveraging large language models (LLMs), necessitates urgent investigation into their substantial resource consumption, which contributes significantly to data center load and carbon emissions. This paper extends our prior work on LLM energy consumption, which focused solely on Llama 3.0 for code completion, by empirically analyzing the influence of Prompt Engineering Techniques (PETs) on the energy footprint of two prominent LLMs: the general-purpose Llama 3.1 and the specialized Code Llama. Our investigation spans two distinct natural language tasks: code completion and textual summarization of GitHub README.md files. Specifically, we examine the impact of custom prompts on code completion and the effect of input formatting (comparing plain text, Markdown, and HTML representations) on the textual summarization task. Our findings indicate that prompt customization positively influences the energy efficiency of both Llama 3.1 and Code Llama. However, for the textual summarization task, the specific input format (plain text, Markdown, HTML) appears to have a less pronounced contribution to energy consumption. Notably, Code Llama consistently exhibited a substantially higher energy footprint compared to Llama 3.1 throughout the majority of our experimental evaluations, highlighting potential differences in resource demands between general-purpose and specialized models.
- Open Access
- 1 January 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Software
- Vol. 43 (5) , 1-8
Engineering LLM-based Multi-Agent Systems: A Taxonomy of Emerging Frameworks
- 1 January 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Software
- Vol. 43 (5) , 1-8
Open AccessEngineering LLM-based Multi-Agent Systems: A Taxonomy of Emerging Frameworks
- Open Access
- 30 August 2025
- Published by Springer Nature in Empirical Software Engineering
- Vol. 30 (6) , 1-46
Is code coverage of performance tests related to source code features? An empirical study on open-source Java systems
Performance testing aims to ensure the operational efficiency of software systems. However, many factors influencing the efficacy and adoption of performance tests in practice are not yet fully understood. For instance, while code coverage is widely regarded as a key quality metric for evaluating the efficacy of functional testing suites, there is limited knowledge about the types and levels of coverage that performance tests specifically achieve. Another important factor, often perceived as a barrier to the broader adoption of performance tests yet remaining relatively unexplored, is their extended execution time. In this paper, we examine (i) the coverage of performance testing suites, (ii) the characteristics of source code associated with performance-tested components, and (iii) the time cost of executing performance tests. Our analysis on open-source Java systems reveals that performance tests achieve significantly lower code coverage than functional tests, as expected, and it highlights a significant trade-off between coverage and execution time. Our results also indicate a lack of generalizable characteristics in the source code covered by performance tests.
- 30 August 2025
- Published by Springer Nature in Empirical Software Engineering
- Vol. 30 (6) , 1-46
Open AccessIs code coverage of performance tests related to source code features? An empirical study on open-source Java systems
Performance testing aims to ensure the operational efficiency of software systems. However, many factors influencing the efficacy and adoption of performance tests in practice are not yet fully understood. For instance, while code coverage is widely regarded as a key quality metric for evaluating the efficacy of functional testing suites, there is limited knowledge about the types and levels of coverage that performance tests specifically achieve. Another important factor, often perceived as a barrier to the broader adoption of performance tests yet remaining relatively unexplored, is their extended execution time. In this paper, we examine (i) the coverage of performance testing suites, (ii) the characteristics of source code associated with performance-tested components, and (iii) the time cost of executing performance tests. Our analysis on open-source Java systems reveals that performance tests achieve significantly lower code coverage than functional tests, as expected, and it highlights a significant trade-off between coverage and execution time. Our results also indicate a lack of generalizable characteristics in the source code covered by performance tests.
- Open Access
- 16 June 2025
- Published by Elsevier in Information and Software Technology
- Vol. 186
Leveraging synthetic trace generation of modeling operations for intelligent modeling assistants using large language models
- 16 June 2025
- Published by Elsevier in Information and Software Technology
- Vol. 186
Open AccessLeveraging synthetic trace generation of modeling operations for intelligent modeling assistants using large language models
- 14 February 2025
- Published by Wiley in Software: Practice and Experience
- Vol. 55 (7) , 1145-1164
On the Energy Consumption of ATL Transformations
Background: Model transformations play a crucial role in Model‐Driven Engineering (MDE), with the ATLAS Transformation Language (ATL) being a powerful technology for developing model‐to‐model transformations.Methods: This paper presents a comprehensive investigation into the energy consumption of ATL transformations, aiming to identify possible correlations among transformation rules, model size, and metamodel structural characteristics. We conducted experiments on 52 ATL transformations, analyzing power usage and extending our inquiry to understand the impact of mutations on both models and transformations.Results: The experimental findings reveal relationships between the energy utilization of ATL transformations and the structural characteristics of metamodels. Furthermore, we establish a connection between energy consumption, model size, and the complexity of transformation processes.Conclusion: The insights gained from this research lay the groundwork for devising future energy‐efficient strategies while developing model transformations.
- 14 February 2025
- Published by Wiley in Software: Practice and Experience
- Vol. 55 (7) , 1145-1164
On the Energy Consumption of ATL Transformations
Background: Model transformations play a crucial role in Model‐Driven Engineering (MDE), with the ATLAS Transformation Language (ATL) being a powerful technology for developing model‐to‐model transformations.Methods: This paper presents a comprehensive investigation into the energy consumption of ATL transformations, aiming to identify possible correlations among transformation rules, model size, and metamodel structural characteristics. We conducted experiments on 52 ATL transformations, analyzing power usage and extending our inquiry to understand the impact of mutations on both models and transformations.Results: The experimental findings reveal relationships between the energy utilization of ATL transformations and the structural characteristics of metamodels. Furthermore, we establish a connection between energy consumption, model size, and the complexity of transformation processes.Conclusion: The insights gained from this research lay the groundwork for devising future energy‐efficient strategies while developing model transformations.
- Top Cited Papers
- 31 January 2025
- Published by Springer Nature in Software and Systems Modeling
- Vol. 24 (3) , 923-948
On the use of large language models in model-driven engineering
- 31 January 2025
- Published by Springer Nature in Software and Systems Modeling
- Vol. 24 (3) , 923-948
Top Cited PapersOn the use of large language models in model-driven engineering
- Open Access
Prompt engineering and its implications on the energy consumption of Large Language Models
Reducing the environmental impact of AI-based software systems has become critical. The intensive use of large language models (LLMs) in software engineering poses severe challenges regarding computational resources, data centers, and carbon emissions. In this paper, we investigate how prompt engineering techniques (PETs) can impact the carbon emission of the Llama 3 model for the code generation task. We experimented with the CodeXGLUE benchmark to evaluate both energy consumption and the accuracy of the generated code using an isolated testing environment. Our initial results show that the energy consumption of LLMs can be reduced by using specific tags that distinguish different prompt parts. Even though a more in-depth evaluation is needed to confirm our findings, this work suggests that prompt engineering can reduce LLMs' energy consumption during the inference phase without compromising performance, paving the way for further investigations.
Open AccessPrompt engineering and its implications on the energy consumption of Large Language Models
Reducing the environmental impact of AI-based software systems has become critical. The intensive use of large language models (LLMs) in software engineering poses severe challenges regarding computational resources, data centers, and carbon emissions. In this paper, we investigate how prompt engineering techniques (PETs) can impact the carbon emission of the Llama 3 model for the code generation task. We experimented with the CodeXGLUE benchmark to evaluate both energy consumption and the accuracy of the generated code using an isolated testing environment. Our initial results show that the energy consumption of LLMs can be reduced by using specific tags that distinguish different prompt parts. Even though a more in-depth evaluation is needed to confirm our findings, this work suggests that prompt engineering can reduce LLMs' energy consumption during the inference phase without compromising performance, paving the way for further investigations.