Towards using Few-Shot Prompt Learning for Automating Model Completion

被引:29
作者
Ben Chaaben, Meriem [1 ]
Burgueno, Lola [2 ,3 ]
Sahraoui, Houari [1 ]
机构
[1] Univ Montreal, DIRO, Montreal, PQ, Canada
[2] Univ Malaga, Malaga, Spain
[3] UOC, Barcelona, Spain
来源
2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING-NEW IDEAS AND EMERGING RESULTS, ICSE-NIER | 2023年
基金
加拿大自然科学与工程研究理事会;
关键词
language models; few-shot learning; prompt learning; domain modeling; model completion;
D O I
10.1109/ICSE-NIER58687.2023.00008
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a simple yet a novel approach to improve completion in domain modeling activities. Our approach exploits the power of large language models by using few-shot prompt learning without the need to train or fine-tune those models with large datasets that are scarce in this field. We implemented our approach and tested it on the completion of static and dynamic domain diagrams. Our initial evaluation shows that such an approach is effective and can be integrated in different ways during the modeling activities.
引用
收藏
页码:7 / 12
页数:6
相关论文
共 11 条
[1]  
[Anonymous], GITHUB COP YOUR AI P
[2]  
[Anonymous], UML ACT DIAGR EX
[3]  
Brown TB, 2020, ADV NEUR IN, V33
[4]   An NLP-Based Architecture for the Autocompletion of Partial Domain Models [J].
Burgueno, Loli ;
Clariso, Robert ;
Gerard, Sebastien ;
Li, Shuai ;
Cabot, Jordi .
ADVANCED INFORMATION SYSTEMS ENGINEERING (CAISE 2021), 2021, 12751 :91-106
[5]   Learning from Code Repositories to Recommend Model Classes [J].
Capuano, Thibaut ;
Sahraoui, Houari ;
Frenay, Benoit ;
Vanderose, Benoit .
JOURNAL OF OBJECT TECHNOLOGY, 2022, 21 (03)
[6]  
Chaaben M. B., 2023, US
[7]   A GNN-based Recommender System to Assist the Specification of Metamodels and Models [J].
Di Rocco, Juri ;
Di Sipio, Claudio ;
Di Ruscio, Davide ;
Nguyen, Phuong T. .
24TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2021), 2021, :70-81
[8]   ModelSet: a dataset for machine learning in model-driven engineering [J].
Hernandez Lopez, Jose Antonio ;
Canovas Izquierdo, Javier Luis ;
Sanchez Cuadrado, Jesus .
SOFTWARE AND SYSTEMS MODELING, 2022, 21 (03) :967-986
[9]  
Rumbaugh J., 2007, UNIFIED MODELING LAN
[10]   Automated, interactive, and traceable domain modelling empowered by artificial intelligence [J].
Saini, Rijul ;
Mussbacher, Gunter ;
Guo, Jin L. C. ;
Kienzle, Jorg .
SOFTWARE AND SYSTEMS MODELING, 2022, 21 (03) :1015-1045