Multi-step Iterative Automated Domain Modeling with Large Language Models

被引:0
|
作者
Yang, Yujing [1 ]
Chen, Boqi [1 ]
Chen, Kua [1 ]
Mussbacher, Gunter [1 ]
Varro, Daniel [1 ,2 ]
机构
[1] McGill Univ, Montreal, PQ, Canada
[2] Linkoping Univ, Linkoping, Sweden
关键词
domain modeling; large language models; few-shot learning; prompt engineering;
D O I
10.1145/3652620.3687807
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Domain modeling, which represents the concepts and relationships in a problem domain, is an essential part of software engineering. As large language models (LLMs) have recently exhibited remarkable ability in language understanding and generation, many approaches are designed to automate domain modeling with LLMs. However, these approaches usually formulate all input information to the LLM in a single step. Our previous single-step approach resulted in many missing modeling elements and advanced patterns. This paper introduces a novel framework designed to enhance fully automated domain model generation. The proposed multi-step automated domain modeling approach extracts model elements (e.g., classes, attributes, and relationships) from problem descriptions. The approach includes instructions and human knowledge in each step and uses an iterative process to identify complex patterns, repeatedly extracting the pattern from various instances and then synthesizing these extractions into a summarized overview. Furthermore, the framework incorporates a self-reflection mechanism. This mechanism assesses each generated model element, offering self-feedback for necessary modifications or removals, and integrates the domain model with the generated self-feedback. The proposed approach is assessed in experiments, comparing it with a baseline single-step approach from our earlier work. Experiments demonstrate a significant improvement over our earlier work, with a 22.71% increase in the F-1-score for identifying classes, 75.18% for relationships, and a 10.39% improvement for identifying the player-role pattern, with comparable performance for attributes. Our approach, dataset, and evaluation provide valuable insight for future research in automated LLM-based domain modeling.
引用
收藏
页码:587 / 595
页数:9
相关论文
共 50 条
  • [31] Multi-step potential modeling of methane by DMD/TPT
    Elliott, JR
    Cui, JY
    FOUNDATIONS OF MOLECULAR MODELING AND SIMULATION, 2001, 97 (325): : 159 - 162
  • [32] Trend modeling and multi-step taxi demand prediction
    Jiang, Shan
    Feng, Yuming
    Liao, Xiaofeng
    Onasanya, B. O.
    ITALIAN JOURNAL OF PURE AND APPLIED MATHEMATICS, 2024, (51): : 275 - 294
  • [33] Multi-step learning and underlying structure in statistical models
    Fraser, Maia
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 29 (NIPS 2016), 2016, 29
  • [34] Multivariable Large Delay System Neural Network Multi-step Predictive Dynamic Modeling Research
    Shi Buhai
    Fang Zhixiong
    2011 30TH CHINESE CONTROL CONFERENCE (CCC), 2011, : 1604 - 1609
  • [35] Distilling Multi-Step Reasoning Capabilities into Smaller Language Model
    Yim, Yauwai
    Wang, Zirui
    2024 16TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND COMPUTING, ICMLC 2024, 2024, : 530 - 535
  • [36] Transient modeling of chemical vapor infiltration of methane using multi-step reaction and deposition models
    Li, Aijun
    Deutschmann, Olaf
    CHEMICAL ENGINEERING SCIENCE, 2007, 62 (18-20) : 4976 - 4982
  • [37] Effectiveness of Multi-Step Crossover in Extrapolation Domain for Genetic Programming
    Kuroda, Mao
    Hanada, Yoshiko
    Ono, Keiko
    2018 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2018, : 3654 - 3659
  • [38] Multi-Agent Reinforcement Learning with Multi-Step Generative Models
    Krupnik, Orr
    Mordatch, Igor
    Tamar, Aviv
    CONFERENCE ON ROBOT LEARNING, VOL 100, 2019, 100
  • [39] Multi-step approach for automated scaling of photogrammetric micro-measurements
    A. Frangione
    A. J. Sanchez Salmeron
    F. Modica
    G. Percoco
    The International Journal of Advanced Manufacturing Technology, 2019, 102 : 747 - 757
  • [40] Multi-step approach for automated scaling of photogrammetric micro-measurements
    Frangione, A.
    Sanchez Salmeron, A. J.
    Modica, F.
    Percoco, G.
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2019, 102 (1-4): : 747 - 757