arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.14259cs.SE
收藏

基于上下文学习方法迈向建模操作的合成轨迹生成

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

Vittoriano Muttillo, Claudio Di Sipio, Riccardo Rubei, Luca Berardinelli, MohammadHadi Dehghani

AI总结:

针对模型驱动工程中训练数据匮乏的问题,提出结合事件日志、智能助手和LLMs生成建模操作的概念框架,并验证了LLMs生成合成建模事件的有效性。

摘要:

在模型驱动软件工程(MDE)中,生成准确的软件模型至关重要。然而,对复杂系统进行建模是一项容易出错的任务,需要深厚的应用领域知识。在过去十年中,人们提出了几种自动化技术,通过提供相关的建模操作来支持学术和工业从业者。尽管如此,这些技术需要大量的训练数据,但由于隐私问题等多种因素,这些数据往往无法获取。大型语言模型(LLMs)的出现可以支持合成数据的生成,尽管最先进的方法尚不支持生成建模操作。为了填补这一空白,我们提出了一个概念框架,该框架结合了建模事件日志、智能建模助手以及使用LLMs生成建模操作。具体而言,该架构包含建模组件,这些组件帮助设计者规范系统,在图形化建模环境中记录其操作,并自动推荐相关操作。此外,我们通过调用目前可用的最突出的LLMs,生成了一个全新的建模事件数据集。作为概念验证,我们使用一组在不同欧洲项目的工业用例中采用的现有建模工具实例化了所提出的框架。为了评估所提出的方法,我们首先依赖有充分依据的距离度量来评估所考察的LLMs生成逼真建模操作的能力。然后,我们通过考虑现实世界的工业建模工件来评估推荐的操作。我们的研究结果表明,尽管在考虑基于人类的操作时总体准确率更高,但LLMs能够生成建模事件。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑