UML and ER diagrams are foundational in computer science education but come with challenges for learners due to the need for abstract thinking, contextual understanding, and mastery of both syntax and semantics. These complexities are difficult to address through traditional teaching methods, which often struggle to provide scalable, personalized feedback, especially in large classes. We introduce DUET (Diagrammatic UML & ER Tutor), a prototype of an LLM-based tool, which converts a reference diagram and a student-submitted diagram into a textual representation and provides structured feedback based on the differences. It uses a multi-stage LLM pipeline to compare diagrams and generate reflective feedback. Furthermore, the tool enables analytical insights for educators, aiming to foster self-directed learning and inform instructional strategies. We evaluated DUET through semi-structured interviews with six participants, including two educators and four teaching assistants. They identified strengths such as accessibility, scalability, and learning support alongside limitations, including reliability and potential misuse. Participants also suggested potential improvements, such as bulk upload functionality and interactive clarification features. DUET presents a promising direction for integrating LLMs into modeling education and offers a foundation for future classroom integration and empirical evaluation.
翻译:UML与ER图是计算机科学教育的基石,但由于需要抽象思维、上下文理解以及语法和语义的掌握,给学习者带来了挑战。这些复杂性难以通过传统教学方法解决,传统方法往往难以提供可扩展的个性化反馈,尤其是在大班教学中。我们介绍了DUET(图示化UML与ER辅导系统),这是一个基于LLM的工具原型,它将参考图和学生提交的图转换为文本表示,并根据差异提供结构化反馈。该系统采用多阶段LLM流程来比较图表并生成反思性反馈。此外,该工具还能为教育工作者提供分析洞察,旨在促进自主学习和指导教学策略。我们通过对六名参与者(包括两名教育工作者和四名助教)进行半结构化访谈来评估DUET。他们指出了该工具的优势,如可访问性、可扩展性和学习支持,同时也指出了局限性,包括可靠性和潜在误用。参与者还提出了可能的改进建议,例如批量上传功能和交互式澄清功能。DUET为将LLM整合到建模教育中提供了一个有前景的方向,并为未来的课堂整合和实证评估奠定了基础。