You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact webmaster@ide.mdh.se

Beyond single-run correctness: nondeterminism-aware evaluation of LLM-based model transformations

Fulltext:


Authors:

Riccardo Rubei, Alessio Bucaioni, Amleto Di Salle

Publication Type:

Conference/Workshop Paper

Venue:

ACM/IEEE 29th International Conference on Model Driven Engineering Languages and Systems (MODELS)


Abstract

Model transformation is a core model-driven engineering (MDE) operation in which reproducibility is expected: under fixed meta- models, source model, and transformation rules, a deterministic engine should produce a stable target model. Large Language Mod- els (LLMs) are increasingly explored for MDE tasks, but evaluations often focus on whether an acceptable artifact can be produced once. For deterministic and quasi-deterministic MDE workflows, this single-run correctness view is necessary but insufficient. This paper introduces nondeterminism-aware evaluation for LLM- based MDE. Using model-to-model transformation as a stress case, we compare LLM-generated target models against deterministic ATL references and across repeated executions. Our exploratory evaluation covers five ATL Zoo transformation scenarios, four prompt configurations, three LLMs, and ten executions per trans- formation -scenario–configuration–LLM combination. We analyze reference deviation, inter-run variation, and morphological differ- ences. The results show that transformation explicitness does not guar- antee convergence. Even when the complete ATL transformation is provided, 13 out of 15 transformation-scenario–LLM combina- tions show non-zero mean and median deviation from the ATL reference, and 10 out of 15 exhibit non-zero inter-run variation. We further observe stable but not ATL-equivalent behavior and cases where a single exact match coexists with non-zero median deviation. These findings suggest that LLM-based MDE evaluation should treat correctness, reproducibility, and variation meaning as distinct dimensions.

Bibtex

@inproceedings{Rubei7430,
author = {Riccardo Rubei and Alessio Bucaioni and Amleto Di Salle},
title = {Beyond single-run correctness: nondeterminism-aware evaluation of LLM-based model transformations},
month = {October},
year = {2026},
booktitle = {ACM/IEEE 29th International Conference on Model Driven Engineering Languages and Systems (MODELS)},
url = {http://www.es.mdu.se/publications/7430-}
}