skip to main content
10.1109/ICSE-NIER58687.2023.00008acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Towards Using Few-Shot Prompt Learning for Automating Model Completion

Published: 20 September 2023 Publication History

Abstract

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.

References

[1]
J. D. Rocco, C. D. Sipio, D. D. Ruscio, and P. T. Nguyen, "A gnn-based recommender system to assist the specification of metamodels and models," in 24th International Conference on Model Driven Engineering Languages and Systems (MODELS 2022). IEEE, 2021, pp. 70--81. [Online].
[2]
M. Weyssow, H. A. Sahraoui, and E. Syriani, "Recommending metamodel concepts during modeling activities with pre-trained language models," Software and Systems Modeling, vol. 21, no. 3, pp. 1071--1089, 2022. [Online].
[3]
R. Saini, G. Mussbacher, J. L. C. Guo, and J. Kienzle, "Automated, interactive, and traceable domain modelling empowered by artificial intelligence," Software and Systems Modeling, vol. 21, no. 3, pp. 1015--1045, 2022. [Online].
[4]
T. Capuano, H. A. Sahraoui, B. Frénay, and B. Vanderose, "Learning from code repositories to recommend model classes," Journal of Object Technology, vol. 21, no. 3, pp. 3:1--11, 2022. [Online].
[5]
L. Burgueño, R. Clarisó, S. Gérard, S. Li, and J. Cabot, "An nlp-based architecture for the autocompletion of partial domain models," in Prof. of the 33rd International Conference on Advanced Information Systems Engineering (CAiSE 2021), ser. Lecture Notes in Computer Science, M. L. Rosa, S. W. Sadiq, and E. Teniente, Eds., vol. 12751. Springer, 2021, pp. 91--106. [Online].
[6]
"GitHub Copilot your ai pair programmer," https://github.com/features/copilot/, [Online; accessed 10-January-2023].
[7]
T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei, "Language models are few-shot learners," in Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6--12, 2020, virtual, H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, and H. Lin, Eds., 2020.
[8]
J. Rumbaugh, I. Jacobson, and G. Booch, Unified Modeling Language Reference Manual, version 2.1.1. OMG, 2007. [Online]. Available: http://www.omg.org/technology/documents/formal/uml.htm
[9]
"UML activity diagram examples," https://www.uml-diagrams.org/activity-diagrams-examples.html, [Online; accessed 12-October-2022].
[10]
J. A. Hernández López, J. L. Cánovas Izquierdo, and J. Sánchez Cuadrado, "Modelset: a dataset for machine learning in model-driven engineering," Software and Systems Modeling, vol. 21, no. 3, pp. 967--986, 2022.
[11]
M. B. Chaaben, L. Burgueño, and H. Sahraoui, 2023. [Online]. Available: http://hdl.handle.net/20.500.12004/1/C/ICSE/2023/001

Cited By

View all
  • (2024)Towards Synthetic Trace Generation of Modeling Operations using In-Context Learning ApproachProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695058(619-630)Online publication date: 27-Oct-2024
  • (2024)Towards an In-Context LLM-Based Approach for Automating the Definition of Model ViewsProceedings of the 17th ACM SIGPLAN International Conference on Software Language Engineering10.1145/3687997.3695650(29-42)Online publication date: 17-Oct-2024
  • (2024)Unsupervised Adversarial Domain Adaptation for Estimating Occupancy and Recognizing Activities in Smart BuildingsProceedings of the 2024 9th International Conference on Intelligent Information Technology10.1145/3654522.3654541(114-123)Online publication date: 23-Feb-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ICSE-NIER '23: Proceedings of the 45th International Conference on Software Engineering: New Ideas and Emerging Results
May 2023
159 pages
ISBN:9798350300390
  • Conference Chairs:
  • Gabriele Bavota,
  • Dan Hao

Sponsors

In-Cooperation

  • IEEE CS

Publisher

IEEE Press

Publication History

Published: 20 September 2023

Check for updates

Author Tags

  1. language models
  2. few-shot learning
  3. prompt learning
  4. domain modeling
  5. model completion

Qualifiers

  • Research-article

Conference

ICSE-NIER '23
Sponsor:

Acceptance Rates

Overall Acceptance Rate 276 of 1,856 submissions, 15%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)49
  • Downloads (Last 6 weeks)8
Reflects downloads up to 24 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Towards Synthetic Trace Generation of Modeling Operations using In-Context Learning ApproachProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695058(619-630)Online publication date: 27-Oct-2024
  • (2024)Towards an In-Context LLM-Based Approach for Automating the Definition of Model ViewsProceedings of the 17th ACM SIGPLAN International Conference on Software Language Engineering10.1145/3687997.3695650(29-42)Online publication date: 17-Oct-2024
  • (2024)Unsupervised Adversarial Domain Adaptation for Estimating Occupancy and Recognizing Activities in Smart BuildingsProceedings of the 2024 9th International Conference on Intelligent Information Technology10.1145/3654522.3654541(114-123)Online publication date: 23-Feb-2024
  • (2024)PathOCL: Path-Based Prompt Augmentation for OCL Generation with GPT-4Proceedings of the 2024 IEEE/ACM First International Conference on AI Foundation Models and Software Engineering10.1145/3650105.3652290(108-118)Online publication date: 14-Apr-2024
  • (2024)ModelMate: A recommender for textual modeling languages based on pre-trained language modelsProceedings of the ACM/IEEE 27th International Conference on Model Driven Engineering Languages and Systems10.1145/3640310.3674089(183-194)Online publication date: 22-Sep-2024
  • (2024)A Systematic Literature Review of Model-Driven Engineering Using Machine LearningIEEE Transactions on Software Engineering10.1109/TSE.2024.343051450:9(2269-2293)Online publication date: 18-Jul-2024

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media