arXiv:2609.35281cs.SESep 2026

Manuscript Offprint

arXiv:2609.35281

Is there a future for models in the LLM era?

Marco Calamo, Massimo Mecella, Monique Snoeck

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Marco Calamo

calamo@diag.uniroma1.it

Dipartimento di Ingegneria

Informatica Automatica e Gestionale

Antonio Ruberti

Sapienza Università di Roma

Rome, Italy

Massimo Mecella

mecella@diag.uniroma1.it

Dipartimento di Ingegneria

Informatica Automatica e Gestionale

Antonio Ruberti

Sapienza Università di Roma

Rome, Italy

Monique Snoeck

monique.snoeck@kuleuven.be

Research Centre for Information

Systems Engineering (LIRIS)

KU Leuven

Leuven, Belgium

Conceptual Model

AI MAGIC

Legacy Code

???

Refactored Code

Figure 1: Can we combine the reliability of MDE with usability of LLMs to refactor Java legacy code?

Abstract

In an era where software development is deeply tied with Large Language Models, does Model Driven Engineering (MDE) still make sense? This raises the question of the extent to which MDE can be successfully combined with an LLM approach to address the downsides of each approach separately. In this paper, we try to answer that question by investigating a central Research Question: Can Agents powered by Large Language Models improve code generated from UML diagrams and text specifications by Model Driven Engineering (MDE) tools? To investigate this problem, we developed a novel LLM-powered Multi-Agentic approach called ARTHUR (Architecture Refactoring Through Hybrid UML Reasoning), a framework that aims at combining the reliability of MDE and the ease of use of LLMs. ARTHUR is designed to refactor legacy Java code produced by traditional, rule-based, MDE code generators from UML diagrams. To assess this question, we refactored the legacy code of several projects from our custom dataset crafted for this purpose. ARTHUR made it possible to add support for modern frameworks like Spring Boot, while ensuring compliance with Model-Based Testing techniques to verify that the code still corresponds to the initial model's specifications. We then measured the results obtained in terms of time and cost, passing test rate, and compile@k, pass@k and pass k^{k} metrics. We also observed the effect of generating code directly from the conceptual model without the refactoring. Our preliminary test results show that MDE could not be further from retirement, after all.

Keywords

Large Language Models, Conceptual Models, Code Refactoring, Model Driven Engineering, Model Driven Testing, Agentic AI