RRRiccardo Rubei

Riccardo Rubei

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Riccardo Rubei has a total of 27 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    From Informal to Conformant Models: Benchmarking Vision--Language Models for UML Generation

    by Cecilia Eklund, Tom Jonsson, Riccardo Rubei, Alessio Bucaioni

    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

    Foster the Use of Hackathons in Collaborative Research Projects: Methodology, Experience Report, and Lesson Learned

    by Claudio Di Sipio, Romina Eramo, Vittoriano Muttillo, Riccardo Rubei

    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

    Energy-Aware Prompt Engineering for Large Language Models: An Empirical Study on Software Engineering Tasks

    by Riccardo Rubei, Davide Di Ruscio

    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

    Engineering LLM-based Multi-Agent Systems: A Taxonomy of Emerging Frameworks

    by Davide Di Ruscio, Phuong T. Nguyen, Claudio Di Sipio, Riccardo Rubei, Juri Di Rocco

  • Open Access

    Is code coverage of performance tests related to source code features? An empirical study on open-source Java systems

    by Muhammad Imran, Vittorio Cortellessa, Davide Di Ruscio, Riccardo Rubei, Luca Traini

    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.


  • On the Energy Consumption of ATL Transformations

    by Riccardo Rubei, Juri di Rocco, Davide di Ruscio

    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

    On the use of large language models in model-driven engineering

    by Juri Di Rocco, Davide Di Ruscio, Claudio Di Sipio, Phuong T. Nguyen, Riccardo Rubei


  • Open Access

    Prompt engineering and its implications on the energy consumption of Large Language Models

    by Riccardo Rubei, Aicha Moussaid, Claudio di Sipio, Davide di Ruscio

    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.