Learning Domain-Specific Edit Operations from Model Repositories with Frequent Subgraph Mining

Christof Tinnes,Timo Kehrer,Mitchell Joblin,Uwe Hohenstein,Andreas Biesdorf,Sven Apel
DOI: https://doi.org/10.21203/rs.3.rs-1558716/v1
2022-04-18
Abstract:Abstract Model transformations play a fundamental role in model-driven software development. They can be used to solve or support central tasks, such as creating models, handling model co-evolution, and model merging. In the past, various (semi-)automatic approaches have been proposed to derive model transformations from meta-models or from examples. These approaches require time-consuming handcrafting or the recording of concrete examples, or they are unable to derive complex transformations. We propose a novel unsupervised approach, called Ockham, which is able to learn edit operations from model histories in model repositories. Ockham is based on the idea that meaningful domain-specific edit operations are the ones that compress the model differences. It employs frequent sub-graph mining to discover frequent structures in model difference graphs. Learning Domain-Specific Edit Operations We evaluate our approach in two controlled experiments and one real-world case study of a large-scale industrial model-driven architecture project in the railway domain. We found that our approach is able to discover frequent edit operations that have actually been applied before. Furthermore, Ockham is able to extract edit operations that are meaningful to practitioners in an industrial setting. We also discuss some of the use cases for the discovered edit operations in this industrial setting.
What problem does this paper attempt to address?