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 条
  • [21] Semilocal Convergence of a Multi-Step Parametric Family of Iterative Methods
    Villalba, Eva G.
    Martinez, Eulalia
    Triguero-Navarro, Paula
    SYMMETRY-BASEL, 2023, 15 (02):
  • [22] Multi-Step Iterative Algorithm for Feature Selection on Dynamic Documents
    Bafna, Prafulla Bharat
    Shirwaikar, Shailaja
    Pramod, Dhanya
    INTERNATIONAL JOURNAL OF INFORMATION RETRIEVAL RESEARCH, 2016, 6 (02) : 24 - 40
  • [23] SOME MULTI-STEP ITERATIVE SCHEMES FOR SOLVING NONLINEAR EQUATIONS
    Rafiq, Arif
    Pasha, Ayesha Inam
    Lee, Byung-Soo
    JOURNAL OF THE KOREAN SOCIETY OF MATHEMATICAL EDUCATION SERIES B-PURE AND APPLIED MATHEMATICS, 2013, 20 (04): : 277 - 286
  • [24] Genetic Multi-Step Search in Interpolation and Extrapolation Domain
    Hanada, Yoshiko
    Hiroyasu, Tomoyuki
    Mitsunori, Miki
    GECCO 2007: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOL 1 AND 2, 2007, : 1242 - 1249
  • [25] Large Language Models for Automated Open-domain Scientific Hypotheses Discovery
    Yang, Zonglin
    Du, Xinya
    Li, Junxian
    Zheng, Jie
    Poria, Soujanya
    Cambria, Erik
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: ACL 2024, 2024, : 13545 - 13565
  • [26] Let's Synthesize Step by Step: Iterative Dataset Synthesis with Large Language Models by Extrapolating Errors from Small Models
    Wang, Ruida
    Zhou, Wangchunshu
    Sachan, Mrinmaya
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EMNLP 2023), 2023, : 11817 - 11831
  • [27] Automated Assessment of Multi-Step Answers for Mathematical Word Problems
    Kadupitiya, J. C. S.
    Ranathunga, Surangika
    Dias, Gihan
    2016 SIXTEENTH INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER) - 2016, 2016, : 66 - 71
  • [28] An automated multi-step calibration procedure for a river system model
    Hughes, J. D.
    Dutta, D.
    Vaze, J.
    Kim, S. S. H.
    Podger, G.
    ENVIRONMENTAL MODELLING & SOFTWARE, 2014, 51 : 173 - 183
  • [29] Multi-Step Knowledge-Aided Iterative ESPRIT for Direction Finding
    Pinto, Silvio F. B.
    de Lamare, Rodrigo C.
    2017 22ND INTERNATIONAL CONFERENCE ON DIGITAL SIGNAL PROCESSING (DSP), 2017,
  • [30] Constructing an efficient multi-step iterative scheme for nonlinear system of equations
    Lotfi, Taher
    Momenzadeh, Mohammad
    COMPUTATIONAL METHODS FOR DIFFERENTIAL EQUATIONS, 2021, 9 (03): : 710 - 721