Towards Synthetic Trace Generation of Modeling Operations using In-Context Learning Approach

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Muttillo, Vittoriano, Di Sipio, Claudio, Rubei, Riccardo, Berardinelli, Luca, Dehghani, MohammadHadi
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909295900098560
author Muttillo, Vittoriano
Di Sipio, Claudio
Rubei, Riccardo
Berardinelli, Luca
Dehghani, MohammadHadi
author_facet Muttillo, Vittoriano
Di Sipio, Claudio
Rubei, Riccardo
Berardinelli, Luca
Dehghani, MohammadHadi
contents Producing accurate software models is crucial in model-driven software engineering (MDE). However, modeling complex systems is an error-prone task that requires deep application domain knowledge. In the past decade, several automated techniques have been proposed to support academic and industrial practitioners by providing relevant modeling operations. Nevertheless, those techniques require a huge amount of training data that cannot be available due to several factors, e.g., privacy issues. The advent of large language models (LLMs) can support the generation of synthetic data although state-of-the-art approaches are not yet supporting the generation of modeling operations. To fill the gap, we propose a conceptual framework that combines modeling event logs, intelligent modeling assistants, and the generation of modeling operations using LLMs. In particular, the architecture comprises modeling components that help the designer specify the system, record its operation within a graphical modeling environment, and automatically recommend relevant operations. In addition, we generate a completely new dataset of modeling events by telling on the most prominent LLMs currently available. As a proof of concept, we instantiate the proposed framework using a set of existing modeling tools employed in industrial use cases within different European projects. To assess the proposed methodology, we first evaluate the capability of the examined LLMs to generate realistic modeling operations by relying on well-founded distance metrics. Then, we evaluate the recommended operations by considering real-world industrial modeling artifacts. Our findings demonstrate that LLMs can generate modeling events even though the overall accuracy is higher when considering human-based operations.
format Preprint
id arxiv_https___arxiv_org_abs_2408_14259
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Synthetic Trace Generation of Modeling Operations using In-Context Learning Approach
Muttillo, Vittoriano
Di Sipio, Claudio
Rubei, Riccardo
Berardinelli, Luca
Dehghani, MohammadHadi
Software Engineering
Producing accurate software models is crucial in model-driven software engineering (MDE). However, modeling complex systems is an error-prone task that requires deep application domain knowledge. In the past decade, several automated techniques have been proposed to support academic and industrial practitioners by providing relevant modeling operations. Nevertheless, those techniques require a huge amount of training data that cannot be available due to several factors, e.g., privacy issues. The advent of large language models (LLMs) can support the generation of synthetic data although state-of-the-art approaches are not yet supporting the generation of modeling operations. To fill the gap, we propose a conceptual framework that combines modeling event logs, intelligent modeling assistants, and the generation of modeling operations using LLMs. In particular, the architecture comprises modeling components that help the designer specify the system, record its operation within a graphical modeling environment, and automatically recommend relevant operations. In addition, we generate a completely new dataset of modeling events by telling on the most prominent LLMs currently available. As a proof of concept, we instantiate the proposed framework using a set of existing modeling tools employed in industrial use cases within different European projects. To assess the proposed methodology, we first evaluate the capability of the examined LLMs to generate realistic modeling operations by relying on well-founded distance metrics. Then, we evaluate the recommended operations by considering real-world industrial modeling artifacts. Our findings demonstrate that LLMs can generate modeling events even though the overall accuracy is higher when considering human-based operations.
title Towards Synthetic Trace Generation of Modeling Operations using In-Context Learning Approach
topic Software Engineering
url https://arxiv.org/abs/2408.14259