Artificial Intelligence for Modeling Support, Model Transformations, Generative Approaches, Reverse Engineering, Domain-Specific Modeling.
Abstract :
[en] Simulation helps software engineering teams explore complex system behavior, yet NetLogo code remains hard to interpret without design-level documentation. Reverse engineering using generative agents offers a solution to reconstruct models that visually document design. This paper reports on an experiment using generative AI to reverse engineer NetLogo simulations into restricted UML sequence diagrams that represent execution scenarios, produced by specialized generative agents. To ensure compliant model generation, we orchestrate the generative AI task in multiple specialized steps with intermediate compliance audits, each step guided by personas and domain-specific rules. We evaluate the approach on ten public NetLogo simulations paired with eight generative AI models, for a total of 80 experimental runs. Results show that Gemini 2.5 Flash achieves the best results, followed by GPT-5-mini, GPT-5, Devstral; Qwen3, Maverick remain promising, whereas GPT-5-nano underperforms. The experiment shows that orchestrating generative agents with iterative compliance audits improves model compliance.
Disciplines :
Computer science
Author, co-author :
RIES, Benoit ; University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
GUELFI, Nicolas ; University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
DE JESUS SOUSA, Tiago Alexandre ; University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
External co-authors :
no
Language :
English
Title :
Towards Model Compliance Using Generative Agents: A NetLogo to Sequence Diagrams Experiment
Publication date :
March 2026
Event name :
MODELSWARD 2026
Event date :
March 7-9, 2026
Audience :
International
Main work title :
Proceedings of the 14th International Conference on Model-Based Software and Systems Engineering