LLMs for Model-driven Engineering

A Systematic Literature Review

What can LLMs do for MDE, how are they used, and how well are they evaluated? A systematic review of application scope, technical characterization, and evaluation practices.

3,412Initial search
5Databases
235Primary studies
Oct 2025Final collection update

About the paper

Abstract

Published in ACM Transactions on Software Engineering and Methodology.
doi:10.1145/3859883

Model-Driven Engineering (MDE) supports the development of large-scale, complex systems through abstraction, automation, and traceability. The rise of Large Language Models (LLMs) has renewed interest in reshaping MDE, with recent studies exploring their use in tasks such as model generation, model comprehension, as well as model to code and test generation. While early results suggest improved productivity and lower barriers to modeling, their overall impact remains unclear. To address this, we conduct a Systematic Literature Review (SLR) and analyze 235 primary studies. We examine MDE tasks addressed, how LLMs were leveraged, benchmarking and evaluation practices, and the availability of tools and datasets. Results indicate a rapidly growing research trend, covering 25 types of MDE tasks, with model generation as the dominant focus. Unified Modeling Language (UML), Domain-Specific Languages (DSLs), and Business Process Model and Notation (BPMN) are the most frequently targeted formalisms. GPT-family models and zero-shot prompting are most commonly used, with fine-tuning and retrieval-augmented generation (RAG) as typical enhancement techniques. API-based LLM access and single-LLM architectures are the prevailing design choices. Benchmarking and evaluation studies remain narrow in scope. Evaluations primarily emphasize correctness, with limited benchmarking in realistic settings and insufficiently comprehensive replication materials.

01 / APPLICATION SCOPE

Models, tasks & engineering contexts

SE activities and tasks, MDE tasks, modeling languages, model types, and application domains.

Explore this category
02 / TECHNICAL CHARACTERIZATION

LLM techniques & integration

Foundation models, prompting, enhancement techniques, MDE tool integration, and human involvement.

Explore this category
03 / EVALUATION PRACTICES

Benchmarks, metrics & replication

Benchmarking studies, effectiveness and cost metrics, comparison baselines, and public replication materials.

Explore this category

Study collection

How the primary studies were collected

Download the full dataset

On 16 June 2025, we searched ACM, IEEE Xplore, Scopus, Springer Nature Link, and Web of Science using two groups of search terms: one covering MDE concepts, modeling languages, and notations, and the other covering LLMs, generative and agentic AI, and major model families. Terms within each group were joined with OR, and the two groups were combined with AND. The searches retrieved 3,412 records published between 2017 and 2025.

After removing duplicates, we applied the inclusion and exclusion criteria to identify English-language papers addressing software engineering activities and specific MDE tasks, including upstream tasks that support MDE. Eligible studies proposed LLM-based methods or visions, or benchmarked LLM-based approaches. We excluded surveys and systematic literature reviews, doctoral symposium papers, and publication types such as books, editorials, and letters. The three authors independently applied the criteria and discussed disagreements until consensus was reached, producing an initial set of 128 primary studies.

Using these studies as the starting point, we performed backward and forward snowballing on 31 October 2025, examining their references and publications citing them. We applied the same selection criteria throughout and continued until no additional relevant publications could be identified. Backward snowballing added 26 studies and forward snowballing added 81 studies. Through discussion and agreement among all three authors, these 107 additional studies were combined with the initial set to form the final collection of 235 primary studies.

Study collection. Select the image to enlarge it.
Inclusion and exclusion criteria 7 selection rules

The same criteria were applied during database screening and snowballing.

Inclusion requirements

All four requirements must be met.

    Exclusion rules

    Publication types outside the review scope.

      Search terms and strategy 2 groups joined by AND

      The search requires a match from both groups. Within each group, alternative terms are joined by OR, following Figure 1 of the paper.

      MDE-related terms

      Match any · OR
        AND

        LLM-related terms

        Match any · OR
          View the complete search query

          Definitions and Classifications

          Browse the classified studies

          Developed using a bottom-up strategy informed by the primary studies and existing literature, these definitions support consistent classification and comparison. Explore a category to find relevant studies.

          The four paper types defined in the review. Counts cover all 235 primary studies.

          Findings

          01

          Bibliometric Analysis

          Publications in this area have increased dramatically in recent years, particularly from 2023 to October 2025. The review covers 235 primary studies, with 26 published in 2023, 84 in 2024, and 119 through October 2025.

          The venues are highly diverse. MODELS and its companion proceedings, RE workshops, ER, and SoSyM attract multiple studies. Overall, the majority appear in conferences and workshops: 147 conference papers, 49 workshop papers, and 39 journal papers.

          Most studies propose concrete methods: 159 (67.66%) introduce solutions, 57 report benchmarking and evaluation, 15 present new ideas or visions, and 4 demonstrate tools. The 159 proposed-method studies underpin the analyses of application scope and technical characterization.

          02

          Application Scope

          Model generation is the most targeted task, followed by model comprehension, completion, and analysis. Most primary studies do not target specific SE phases: roughly two thirds address SE Models and Methods, and requirements engineering dominates the remainder. Regarding modeling languages, UML is the most targeted, followed by DSL and BPMN. The most common combination is UML + model generation, followed by DSL + model generation and BPMN + model generation.

          The studies are roughly balanced between structural and behavioral models. Class diagrams dominate the structural category, while process models dominate the behavioral category.

          Overall, the considered model types are diverse. Most studies propose domain-agnostic MDE methods, tools, or frameworks, emphasizing general applicability rather than domain-specific validation.

          03

          Technical Characterization

          GPT overwhelmingly dominates the primary studies, with other foundation models used far less frequently in a clear long-tail distribution. Moreover, API-based access and single-LLM architectures are the prevailing design choices, while chat-based interaction and heterogeneous multi-LLM solutions remain relatively uncommon. Zero-shot and few-shot are the most frequently applied single prompting techniques, and some effort has been made on experimenting hybrid prompting strategies.

          Only 26.4% of the primary studies employed enhancement techniques, with RAG and fine-tuning being the most commonly adopted. LLaMA and GPT are dominantly combined with fine-tuning and RAG.

          PlantUML and EMF are the most frequently used tools with PlantUML mainly applied to class models and EMF to DSMs, while many other tools support diverse MDE tasks. Humans are mostly involved to provide feedback on refining generated artifacts.

          04

          Benchmarking and Evaluation Practices

          Benchmarking and evaluation studies remain narrow in scope, focusing on established MDE tasks, general domains, UML and BPMN, and mainstream LLM and prompting comparisons.

          Current evaluations of the effectiveness of LLM-based MDE solutions rely on a diverse set of metrics, which can be broadly categorized into semantic and syntactic dimensions. Among these, correctness is the primary focus, alongside other aspects such as completeness, hallucination, and complexity. Time and resource costs are also considered in some primary studies, although more fine-grained time-related metrics are still needed.

          LLMs are commonly used as baselines when assessing proposed LLM-based MDE approaches. However, existing benchmarks are largely confined to controlled academic settings, and there is a notable lack of transparency and publicly available replication materials.

          Future Research Roadmap

          LLM-based MDE is still at an early but rapidly expanding stage. The review identifies six research directions to broaden MDE lifecycle support, improve generalization across modeling languages and model types, strengthen human involvement and tool integration, and advance empirical evaluation and industrial validation.

          Broader support across the MDE lifecycle

          Extend beyond isolated generation to model evolution, transformation, validation, synchronization, traceability, testing, verification, and code generation within complete MDE workflows.

          Generalization across languages and model types

          Examine which techniques transfer and where language-specific prompting, metamodel-aware generation, or fine-tuning is needed. Reuse verified models and associated evidence for training and evaluation.

          LLM-based modeling with humans in the loop

          Study interactive modeling assistants, explainability, uncertainty communication, conversational refinement, and responsibility sharing. Learn from human edits, corrections, and validation decisions.

          LLM techniques and tool integration for MDE

          Incorporate metamodels, constraints, graph structures, repositories, validation feedback, and reusable modeling skills. Connect LLMs with existing modeling, transformation, and verification tools.

          Empirical evaluation and benchmarking

          Evaluate syntax, semantics, completeness, metamodel conformance, maintainability, and downstream usefulness. Prioritize transparent reporting, reusable benchmarks, and public replication materials.

          Industrial and domain-specific validation

          Evaluate specialized constraints, modeling conventions, legacy artifacts, and toolchains in real settings. Establish where general-purpose LLMs suffice and where domain adaptation is needed.

          Use & Cite

          The catalog makes the study-level classifications accessible alongside the paper. Download the original data and the study ID–reference mapping to trace the findings.