English

Recommending Metamodel Concepts during Modeling Activities with Pre-Trained Language Models

Software Engineering 2022-02-22 v3 Computation and Language

Abstract

The design of conceptually sound metamodels that embody proper semantics in relation to the application domain is particularly tedious in Model-Driven Engineering. As metamodels define complex relationships between domain concepts, it is crucial for a modeler to define these concepts thoroughly while being consistent with respect to the application domain. We propose an approach to assist a modeler in the design of a metamodel by recommending relevant domain concepts in several modeling scenarios. Our approach does not require to extract knowledge from the domain or to hand-design completion rules. Instead, we design a fully data-driven approach using a deep learning model that is able to abstract domain concepts by learning from both structural and lexical metamodel properties in a corpus of thousands of independent metamodels. We evaluate our approach on a test set containing 166 metamodels, unseen during the model training, with more than 5000 test samples. Our preliminary results show that the trained model is able to provide accurate top-55 lists of relevant recommendations for concept renaming scenarios. Although promising, the results are less compelling for the scenario of the iterative construction of the metamodel, in part because of the conservative strategy we use to evaluate the recommendations.

Keywords

Cite

@article{arxiv.2104.01642,
  title  = {Recommending Metamodel Concepts during Modeling Activities with Pre-Trained Language Models},
  author = {Martin Weyssow and Houari Sahraoui and Eugene Syriani},
  journal= {arXiv preprint arXiv:2104.01642},
  year   = {2022}
}

Comments

18+2 pages

R2 v1 2026-06-24T00:50:26.341Z