skip to main content
10.1145/3613372.3613405acmotherconferencesArticle/Chapter ViewAbstractPublication PagessbesConference Proceedingsconference-collections
research-article

DoME: An Architecture for Domain Model Evolution at Runtime Using NLP

Published: 25 September 2023 Publication History

Abstract

In traditional information systems, domain models are represented as database tables with attributes and relationships. Changes in the domain models exist due to system evolution and the emergence of new requirements. In these applications, domain models evolve using CRUD operations requested by users. However, it is necessary to support changes in domain models during the applications’ runtime when new (unforeseen) situations may occur. This work presents an architecture called DoME, which relies on natural language processing (NLP) to allow users to trigger changes in the domain models and self-adaptation techniques to update the models at runtime. It is instantiated in a concrete architecture using a chatbot in Telegram and Transformers Libraries for NLP. The architecture has been preliminary evaluated regarding its assertiveness and user satisfaction, resulting in an 82.55% hit rate and confirming that NL provides good usability and facilitates data manipulation.

References

[1]
Henning Agt-Rickauer. 2020. Supporting domain modeling with automated knowledge acquisition and modeling recommendations. Technische Universitaet Berlin.
[2]
Chetan Arora, Mehrdad Sabetzadeh, Lionel Briand, and Frank Zimmer. 2016. Extracting Domain Models from Natural-Language Requirements: Approach and Industrial Evaluation. In Proceedings of the ACM/IEEE 19th International Conference on Model Driven Engineering Languages and Systems (Saint-malo, France) (MODELS ’16). 250–260.
[3]
Marco Brambilla, Jordi Cabot, and Manuel Wimmer. 2017. Model-driven software engineering in practice. Synthesis lectures on software engineering 3, 1 (2017).
[4]
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, 2020. Language models are few-shot learners. Advances in neural information processing systems 33 (2020), 1877–1901.
[5]
Loli Burgueño, Robert Clarisó, Sébastien Gérard, Shuai Li, and Jordi Cabot. 2021. An NLP-based architecture for the autocompletion of partial domain models. In Advanced Information Systems Engineering: 33rd International Conference, CAiSE 2021, Melbourne, VIC, Australia, June 28–July 2, 2021. Springer, 91–106.
[6]
Paul Denny, Viraj Kumar, and Nasser Giacaman. 2022. Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language. CoRR abs/2210.15157 (2022). arxiv:2210.15157 [cs.AI] https://doi.org/10.48550/arXiv.2210.15157
[7]
Juri Di Rocco, Claudio Di Sipio, Davide Di Ruscio, and Phuong T Nguyen. 2021. A GNN-based recommender system to assist the specification of metamodels and models. In 2021 ACM/IEEE 24th International Conference on Model Driven Engineering Languages and Systems (MODELS). IEEE, 70–81.
[8]
Juri Di Rocco, Claudio Di Sipio, Phuong T Nguyen, Davide Di Ruscio, and Alfonso Pierantonio. 2022. Finding with NEMO: a recommender system to forecast the next modeling operations. In Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems. 154–164.
[9]
David Elworthy. 2000. Question Answering Using a Large NLP System. In TREC.
[10]
Christophe Feltus, Qin Ma, Henderik A Proper, and Pierre Kelsen. 2021. Towards AI assisted domain modeling. In Advances in Conceptual Modeling: ER 2021 Workshops CoMoNoS, EmpER, CMLS St. John’s, NL, Canada, October 18–21, 2021, Proceedings 40. Springer, 75–89.
[11]
Sara M. Hezavehi, Danny Weyns, Paris Avgeriou, Radu Calinescu, Raffaela Mirandola, and Diego Perez-Palacin. 2021. Uncertainty in Self-Adaptive Systems: A Research Community Perspective. ACM Trans. Auton. Adapt. Syst. 15, 4, Article 10 (dec 2021), 36 pages.
[12]
Andrew K. Lampinen, Ishita Dasgupta, Stephanie C. Y. Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L. McClelland, Jane X. Wang, and Felix Hill. 2022. Can language models learn from explanations in context?https://doi.org/10.48550/ARXIV.2204.02329
[13]
Kevin Lano, Sobhan Yassipour-Tehrani, and M. A. Umar. 2021. Automated Requirements Formalisation for Agile MDE. In 2021 ACM/IEEE Int. Conf. on Model Driven Engineering Languages and Systems Companion. 173–180.
[14]
Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2021. Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing. Comput. Surveys 55 (2021), 1–35.
[15]
Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2023. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. Comput. Surveys 55, 9 (2023), 1–35.
[16]
Bonan Min, Hayley Ross, Elior Sulem, Amir Pouran Ben Veyseh, Thien Huu Nguyen, Oscar Sainz, Eneko Agirre, Ilana Heinz, and Dan Roth. 2021. Recent advances in natural language processing via large pre-trained language models: A survey. arXiv preprint arXiv:2111.01243 (2021).
[17]
Ilham A. Qasse, Shailesh Mishra, and Mohammad Hamdaqa. 2021. Chat2Code: Towards conversational concrete syntax for model specification and code generation, the case of smart contracts. ArXiv abs/2112.11101 (2021). https://arxiv.org/abs/2112.11101
[18]
Maria Razno. 2019. Machine learning text classification model with NLP approach. In COLINS 2019. Volume II: Workshop.
[19]
Rijul Saini, Gunter Mussbacher, Jin LC Guo, and Jörg Kienzle. 2020. DoMoBOT: a bot for automated and interactive domain modelling. In Proc. 23rd ACM/IEEE Int. Conf. on model driven engineering languages and systems. 1–10.
[20]
Rijul Saini, Gunter Mussbacher, Jin L. C. Guo, and Jörg Kienzle. 2022. Machine Learning-Based Incremental Learning in Interactive Domain Modelling. In Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems (Montreal, Quebec, Canada). 176–186.
[21]
Mazeiar Salehie and Ladan Tahvildari. 2009. Self-Adaptive Software: Landscape and Research Challenges. ACM Trans. Auton. Adapt. Syst. 4, 2 (may 2009).
[22]
Peng Sun, Xuezhen Yang, Xiaobing Zhao, and Zhijuan Wang. 2018. An overview of named entity recognition. In 2018 International Conference on Asian Language Processing (IALP). IEEE, 273–278.
[23]
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention Is All You Need. In Proc. 31st Int. Conf. on Neural Information Processing Systems. NIPS, 6000–6010.
[24]
Chengyu Wang, Minghui Qiu, Taolin Zhang, Tingting Liu, Lei Li, Jianing Wang, Ming Wang, Jun Huang, and Wei Lin. 2022. EasyNLP: A Comprehensive and Easy-to-use Toolkit for Natural Language Processing. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. Abu Dhabi, UAE, 22–29.
[25]
Danny Weyns. 2020. An Introduction to Self‐Adaptive Systems: A Contemporary Software Engineering Perspective. Wiley.
[26]
Sarah Wiegreffe, Ana Marasović, and Noah A Smith. 2021. Measuring Association Between Labels and Free-Text Rationales. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP).

Index Terms

  1. DoME: An Architecture for Domain Model Evolution at Runtime Using NLP

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    SBES '23: Proceedings of the XXXVII Brazilian Symposium on Software Engineering
    September 2023
    570 pages
    ISBN:9798400707872
    DOI:10.1145/3613372
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 25 September 2023

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Domain Modelling.
    2. Generative Artificial Intelligence
    3. Natural Language Processing
    4. Software Architecture

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Funding Sources

    • Brazilian Ministry of Science, Technology and Innovation

    Conference

    SBES 2023
    SBES 2023: XXXVII Brazilian Symposium on Software Engineering
    September 25 - 29, 2023
    Campo Grande, Brazil

    Acceptance Rates

    Overall Acceptance Rate 147 of 427 submissions, 34%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 55
      Total Downloads
    • Downloads (Last 12 months)25
    • Downloads (Last 6 weeks)3
    Reflects downloads up to 05 Mar 2025

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media