A conversational tool for AI-driven feedback for UML modeling
Abstract Teaching the unified modeling language (UML) is a critical task that can benefit from emerging artificial intelligence-based solutions. This paper presents UML Miner, a visual paradigm plugin designed to support the teaching and learning of UML by capturing and analyzing students’ modeling activities to deliver personalized, context-aware feedback. The tool records fine-grained software modeling actions, storing them in an event log. For each diagram, a natural language description and its XML representation are stored separately. Modeling behavior is reconstructed through process mining techniques and compared with a reference model created by the instructor using conformance checking. This analysis adopts a declarative approach, leveraging the declare language to specify behavioral constraints without enforcing a rigid action sequence, thereby accommodating multiple valid modeling strategies while preserving semantic rigor. The detected violations, together with the diagram’s natural language and XML representations, are integrated into a retrieval-augmented generation-enabled large language model, which combines accumulated knowledge with the discovered process constraints to generate enriched, pedagogically meaningful feedback in real time. An exploratory case study conducted in a real-world learning scenario evaluates the tool’s performance from both qualitative and quantitative perspectives, demonstrating its potential to improve learning outcomes and student engagement.
Authors
- Marta Cimitile (ORCID: https://orcid.org/0000-0003-2403-8313)
- Mario Luca Bernardi (ORCID: https://orcid.org/0000-0002-3223-7032)
- Michele Scalera (ORCID: https://orcid.org/0000-0002-2455-2032)
- Pasquale Ardimento (ORCID: https://orcid.org/0000-0001-6134-2993)
Institutions
- University of Sannio (IT)
- Unitelma Sapienza University (IT)
- University of Bari Aldo Moro (IT)
Publication Details
- Journal
- Software & Systems Modeling
- Published
- 2026-04-17
- DOI
- https://doi.org/10.1007/s10270-026-01373-x
- Primary Topic
- Business Process Modeling and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00