Skip to main content
QUICK REVIEW

[Paper Review] Multilevel Modelling and Domain-Specific Languages

Fernando Macías|arXiv (Cornell University)|Oct 8, 2019
Model-Driven Software Engineering TechniquesComputer Science6 citations
TL;DR

This paper proposes a formal, category theory-based framework for multilevel modelling (MLM) and multilevel coupled model transformations (MCMTs), enabling flexible, reusable, and extensible modelling of domain-specific languages (DSMLs) across unbounded abstraction levels. It integrates multiple typing, dynamic hierarchy evolution, and orthogonal type extensions, with formal proofs and empirical validation showing strong expressiveness and reusability in DSML design and semantics specification.

ABSTRACT

Modern software engineering deals with demanding problems that yield large and complex software. The area of Model-Driven Software Engineering tackles this issue by using models during the development process, but it does not address some of the communication problems among different stakeholders. Domain-Specific Modelling Languages (DSML) aim at involving domain experts with non-technical profiles in that process. DSMLs define concepts with different levels of abstraction, but traditional modelling does not allow enough flexibility to organise them adequately. Multilevel Modelling (MLM) approaches provide an unbounded number of levels of abstraction, plus other features that perfectly fit DSMLs. Their development can also benefit from Model Transformations (MT), especially when these encode the behaviour of DSMLs. MTs can be exploited by MLM, becoming a precise and reusable definition of behaviour. This thesis presents a MLM and Multilevel MT approach which tackles open issues in the field and compares it with the state of the art through literature review and experiments, providing its formalisation and its implementation in the tool MultEcore, together with case studies.

Motivation & Objective

  • Address the growing complexity in software engineering by enabling high-level, domain-specific modelling with abstraction flexibility.
  • Overcome limitations of traditional modelling approaches in organizing concepts across multiple abstraction levels.
  • Empower non-technical domain experts to participate in software development via Domain-Specific Modelling Languages (DSMLs).
  • Integrate model transformations (MTs) to formally specify behavioural semantics of DSMLs in a multilevel context.
  • Develop a unified, flexible, and formally sound framework for multilevel modelling and transformations that supports reuse and extensibility.

Proposed method

  • Formalise multilevel modelling using graph theory and category theory, with a three-valued potency system enabling flexible type instantiation across levels.
  • Introduce Multilevel Coupled Model Transformations (MCMTs) that perform graph rewriting on multilevel models while preserving typing relations across transitive hierarchies.
  • Support multiple typing by allowing elements to have both primary and supplementary types, enabling orthogonal transformation application per type.
  • Enable horizontal and vertical flexibility in rule application: rules can be applied across different branches and across arbitrarily long transitive typing chains.
  • Implement a lazy matching mechanism where MCMT rules do not require full transitive typing to be specified, enhancing reusability.
  • Build an EMF-based tool framework that supports dynamic hierarchy creation, type extension, and rule application with formal consistency guarantees.

Experimental results

Research questions

  • RQ1Is there a common framework that generalises state-of-the-art MLM techniques in a consistent and flexible manner?
  • RQ2Can a formalisation of MLM be achieved using category theory that is both sound and directly applicable to model transformations?
  • RQ3Can a multilevel transformation approach integrate diverse MLM techniques while preserving reusability and expressiveness?
  • RQ4How does the proposed framework support evolving hierarchies, multiple typing, and orthogonal extension in practice?
  • RQ5To what extent does the framework improve the specification of DSML semantics through reusable, formally verified transformations?

Key findings

  • The proposed conceptual framework successfully unifies key MLM concepts—multiple typing, potency, and flexible instantiation—into a consistent, extensible model.
  • The formalisation using category theory provides a sound and elegant foundation for multilevel modelling and transformations, enabling rigorous proofs of correctness.
  • The MCMT approach supports vertical flexibility by allowing rule applications to match across arbitrarily long transitive typing chains without requiring full type reflection.
  • Empirical evaluation demonstrates that the framework enables the creation of reusable, extensible modelling hierarchies that support dynamic evolution and multiple abstraction levels.
  • Case studies show that the framework effectively models DSML semantics through transformations, with clear separation of concerns and strong support for domain expert participation.
  • The implementation in an EMF-based toolchain confirms the practical feasibility of the approach, with support for dynamic type addition, hierarchy modification, and rule application across branches.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.