<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">EduClare -An Intelligent Tutoring Chatbot for Teaching Declarative Process Modeling</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Sabine</forename><surname>Nagel</surname></persName>
							<email>snagel@uni-koblenz.de</email>
							<affiliation key="aff0">
								<orgName type="institution">University of Koblenz</orgName>
								<address>
									<addrLine>Universitätsstr. 1</addrLine>
									<postCode>56070</postCode>
									<settlement>Koblenz</settlement>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Anna</forename><surname>Wolters</surname></persName>
							<email>awolters@uni-koblenz.de</email>
							<affiliation key="aff0">
								<orgName type="institution">University of Koblenz</orgName>
								<address>
									<addrLine>Universitätsstr. 1</addrLine>
									<postCode>56070</postCode>
									<settlement>Koblenz</settlement>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Dennis</forename><forename type="middle">M</forename><surname>Riehle</surname></persName>
							<email>riehle@uni-koblenz.de</email>
							<affiliation key="aff0">
								<orgName type="institution">University of Koblenz</orgName>
								<address>
									<addrLine>Universitätsstr. 1</addrLine>
									<postCode>56070</postCode>
									<settlement>Koblenz</settlement>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Patrick</forename><surname>Delfmann</surname></persName>
							<email>delfmann@uni-koblenz.de</email>
							<affiliation key="aff0">
								<orgName type="institution">University of Koblenz</orgName>
								<address>
									<addrLine>Universitätsstr. 1</addrLine>
									<postCode>56070</postCode>
									<settlement>Koblenz</settlement>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">EduClare -An Intelligent Tutoring Chatbot for Teaching Declarative Process Modeling</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">819B5BE98BFB8E74E76AB580F11EE3AA</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T16:32+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Declare, Declarative Process Models, Education, Intelligent Tutoring Systems, Chatbot Metadata description Value (P. Delfmann) 0000-0003-4838-8246 (S. Nagel)</term>
					<term>0000-0002-4075-5737 (A. Wolters)</term>
					<term>0000-0002-5071-2589 (D. M. Riehle)</term>
					<term>0000-0003-4441-0311 (P. Delfmann)</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>In this work, we introduce EduClare, a web-based intelligent tutoring chatbot to support Declarative Process Model (DPM) education in the modeling language Declare. This innovative hybrid chatbot combines principles from intelligent tutoring systems and large language models to create an interactive and user-friendly educational tool. In addition to explaining fundamental concepts of Declare, the chatbot generates an arbitrary number of tasks with increasing difficulty levels, covering basic reasoning, model execution, and active modeling of declarative specifications, with a focus on constraint interplay and inconsistency. Users benefit from instant answer validation, feedback, and the ability to ask for clarification, receiving customized guidance throughout their entire learning process.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction and Related Work</head><p>Declarative Process Models (DPMs) offer a flexible approach to process modeling by specifying a set of constraints that implicitly define process behavior rather than explicitly modeling a fixed sequence of activities <ref type="bibr" target="#b0">[1]</ref>. However, the implicit nature of DPMs introduces significant challenges in comprehension and application <ref type="bibr" target="#b1">[2]</ref>, which stresses the need for effective educational tools. Existing approaches, such as the one developed by De Smedt et al. <ref type="bibr" target="#b2">[3]</ref> primarily focus on exploring hidden dependencies within DPMs. More recently, Nagel and Delfmann <ref type="bibr" target="#b3">[4]</ref> proposed an e-learning framework designed to support learners in gradually becoming familiar with Declare. This framework addresses the common challenges identified in understanding Declare by offering a structured set of tasks that cover various aspects of the modeling language. However, there remains a significant gap in the availability of interactive, technology-enhanced educational tools for teaching Declare.</p><p>Within the field of technology-enhanced education, Pedagogical Conversational Agents (PCAs) <ref type="bibr" target="#b4">[5]</ref> are widely used. PCAs, which are conversational agents (CAs) applied in educational contexts, offer an interactive learning experience that aligns with the ICAP framework, emphasizing the importance of active engagement in learning <ref type="bibr" target="#b5">[6]</ref>. Recent advancements in CAs, particularly those using Large Language Models (LLMs), have opened new possibilities for increasing the interactivity and effectiveness of educational tools. While CAs have been explored in the context of business process modeling, their application to declarative process modeling has been relatively limited. Notable exceptions include Declo, a chatbot introduced by Alman et al. <ref type="bibr" target="#b6">[7]</ref> for defining DPMs using natural language, and the CA developed by Fontenla-Seco et al. <ref type="bibr" target="#b7">[8]</ref> for supporting declarative process mining. Still, the development of tools for DPM education remains unexplored.</p><p>To address this gap, we present EduClare, an intelligent tutoring chatbot designed to teach the declarative modeling language Declare. Our solution applies the latest advances in CA research and provides a structured, task-based learning experience that adapts to the learner's progress. The remainder of this paper is structured as follows. In Section 2 we describe the application, its functionality, and architecture in more detail. In Section 3 we explain usage and report on the results of a first usability study to discuss the tool's maturity. We conclude and discuss directions for future work in Section 4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Tool Description</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Functionality</head><p>EduClare is a comprehensive educational tool designed to support learning Declare through an interactive and personalized experience. The tutoring chatbot guides users through three main phases: (1) introducing the tutoring and explaining relevant Declare concepts, (2) providing tasks of different types and with increasing difficulty as part of the task-based learning and (3) interactively answering questions to provide continuous support. The task-based learning phase builds on previous work <ref type="bibr" target="#b3">[4]</ref>, where we developed the foundation for an e-learning concept for teaching Declare and provided a comprehensive collection of tasks covering concepts such as constraint definitions, model behavior, and inconsistency within DPMs. In the following, we will describe the tool's functionality in more detail.</p><p>Introduction In this phase, the chatbot assesses the user's prior experience with Declare. New users are provided with a detailed introduction, while more experienced users can choose to skip this section or only refresh their prior knowledge. This phase is interactive, with the chatbot regularly prompting users to ask questions to ensure that uncertainties are immediately addressed.  <ref type="formula">4</ref>) redundancy tasks where users are asked to add or remove constraints to/from a model without changing its behavior. Furthermore, EduClare currently supports three task types (true/false, choice and input) to reinforce comprehension through both recognition and recall. Instant Answer Validation and Feedback Any answers given by the user are evaluated on the fly and the chatbot provides instant feedback on each task, indicating whether the answer was correct and providing explanations when mistakes were made (cf. Figure <ref type="figure" target="#fig_0">1</ref>). Customized Guidance and Continuous Support Users can interrupt the task flow at any time to interact with the chatbot and receive customized guidance, as illustrated in Figure <ref type="figure" target="#fig_0">1</ref>. Here, possibilities include asking for a new task, an exemplary answer or hint, and asking any other task-related questions, such as the definition of Declare templates used in a task. The chatbot's ability to maintain conversation history allows it to provide contextually relevant answers and continue discussions seamlessly. Learning Progression The chatbot supports learning progression as the tutoring process is designed based on levels, allowing users to gradually build their skills. Each level is designed to incrementally increase in difficulty (beginner, intermediate, and expert) and interaction complexity (true/false, choice, input). Eligibility to advance to a new level is based on a pre-defined number of consecutive correct answers, but users can decide to keep practicing at any point, which enables continuous learning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Architecture</head><p>EduClare is implemented as a Java SpringBoot web application. To integrate LLMs, we used the LangChain4j<ref type="foot" target="#foot_0">1</ref> framework and selected OpenAI's GPT-4o model as the underlying LLM. We will now describe the architecture and design of our application (cf. Figure <ref type="figure" target="#fig_1">2</ref>) in more detail.  Frontend The frontend was developed using JavaScript, HTML and CSS. It allows the user to interact with the tutoring chatbot, either in textual form via the input field or by selecting one of the provided options. The chatbot additionally allows customized interactions, such as allowing users to input shorthand commands or full sentences, which are then correctly interpreted by the system. This allows for more flexibility and accessibility. Assistants Assistants manage the interaction between users and the system's underlying tools and algorithms. The Service Selector is the first to process user messages by determining their intent, i.e., whether it is requesting a new task, responding to a task, or asking a general question. Based on this intent, the Service Selector directs the request to the appropriate assistant. The Task Generation Assistant handles requests for new tasks by invoking the Task Generator Tool, formatting the output for user display. The Task Evaluation Assistant manages task responses by identifying and evaluating user-provided artifacts using specific algorithms. The General Assistant addresses all other queries, such as answering general questions or providing exemplary answers, relying on predefined tools or the language model for more complex responses. To increase the validity of the answer to any general question, a system prompt was designed that provides the LLM with general information on Declare as well as further instructions on how to communicate with the users. Therefore, any general question that is not covered by a tool is directly processed by the prompted LLM. Each assistant ensures user interactions are efficiently processed and appropriately handled. Tools The tools within our tutoring chatbot architecture perform specific tasks as directed by the assistants. They are defined by natural language descriptions that enable assistants to select and invoke the correct function for user requests. For example, the Task Generator Tool creates new tasks based on user context, while the Task Evaluation Tool validates user responses by comparing them with expected outcomes or calling the corresponding evaluation algorithm. This ensures efficient system performance by reducing reliance on the LLM for straightforward tasks. Lastly, tools accessed by the General Assistant handle routine requests, like providing exemplary answers or repeating tasks. Algorithms We developed various Java algorithms to generate and evaluate tasks. For task generation, we created specific algorithms tailored to each task category, which enables the chatbot to create arbitrary amounts of tasks covering a variety of Declare-related concepts with progressively increased difficulty. To generate and assess both correct and incorrect answers, we employed additional algorithms using deterministic finite automata (DFA) via dk-brics-automaton <ref type="foot" target="#foot_1">2</ref> . By transforming each Declare model into a corresponding DFA, we validated traces against models, compared languages of different models (e.g., to check for redundant constraints), and ensured model consistency (as inconsistent models have an empty language).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ASSISTANTS TOOLS ALGORITHMS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Usage and Maturity</head><p>A demo version of EduClare is available here <ref type="foot" target="#foot_2">3</ref> , a local version can be obtained from our Git repository and requires an own OpenAI API key.</p><p>To gain first insights into the usability of our initial concept, we conducted a small study with four PhD students that had varying levels of prior experience with Declare. It comprised of an exploration phase, where the participants were instructed to try out the chatbot on their own and explore its functionality, usability and intuitiveness, while voicing their thoughts . To gain additional insights, we then asked some follow-up questions, focusing on encountered difficulties, suggestions for improvement or extension and general feedback. Overall, the tutoring chatbot, its innovative approach and overall usability was perceived positively. Users appreciated the chatbot's ability to make Declare more accessible, with two participants mentioning that they found the interaction with the chatbot more engaging and enjoyable compared to conventional methods, such as textbooks or literature. The chatbot's guidance throughout the learning process was also well-received, with one participant mentioning an increased curiosity to explore beyond the necessary tasks, indicating a high level of user engagement. Additionally, some feedback suggested areas for improvement, such as shortening introductory messages and incorporating visual aids, as well as further customization based on individual learning styles. Furthermore, suggestions were made for introducing gamification elements and adjusting task difficulty based on user experience. The feedback also indicated interest in including visual representations of Declare, which could be a direction for future development.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusion</head><p>In this work, we developed an intelligent tutoring chatbot with a hybrid architecture to support Declare education. Our approach integrates a structured learning path with task-based learning and continuous interactive support, tailored to different experience levels. The LLM-based chatbot effectively generates and evaluates tasks, while assisting users in learning Declare. Future work will address current limitations, such as a risk of producing incorrect outputs, by iteratively improving and expanding the chatbot's functionality. This includes visual DPM representations, multilingual support, and personalized learning experiences. That way, we aim to not only enhance Business Process Management (BPM) education but also provide a valuable tool for process mining researchers.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Exemplary Chatbot Conversations</figDesc><graphic coords="3,91.52,86.69,201.74,237.55" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Overview of Chatbot Architecture</figDesc><graphic coords="4,91.73,229.84,64.01,111.18" type="bitmap" /></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">https://docs.langchain4j.dev</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1">https://www.brics.dk/automaton/</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2">https://educlare.de/</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgments</head><p>This paper was funded by the Deutsche Forschungsgemeinschaft (grant number DE 1983/9-3) and the Federal Ministry of Education and Research (BMBF) under grant number 16DHBKI039.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Declarative Process Specifications: Reasoning, Discovery, Monitoring</title>
		<author>
			<persName><forename type="first">C</forename><surname>Di Ciccio</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Montali</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Process Mining Handbook</title>
				<meeting>ess Mining Handbook</meeting>
		<imprint>
			<publisher>Springer Int. Publ</publisher>
			<date type="published" when="2022">2022</date>
			<biblScope unit="volume">448</biblScope>
			<biblScope unit="page" from="108" to="152" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Understanding Declare models: strategies, pitfalls, empirical results</title>
		<author>
			<persName><forename type="first">C</forename><surname>Haisjackl</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Barba</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Zugal</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Soffer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Hadar</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Reichert</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Pinggera</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Weber</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Software &amp; Systems Modeling</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="page" from="325" to="352" />
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Gamification of Declarative Process Models for Learning and Model Verification</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">De</forename><surname>Smedt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>De Weerdt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Serral</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Vanthienen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Business Process Management Workshops</title>
				<meeting><address><addrLine>Cham</addrLine></address></meeting>
		<imprint>
			<publisher>Springer International Publishing</publisher>
			<date type="published" when="2016">2016</date>
			<biblScope unit="volume">256</biblScope>
			<biblScope unit="page" from="432" to="443" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Towards an E-Learning Approach for Declarative Process Modeling</title>
		<author>
			<persName><forename type="first">S</forename><surname>Nagel</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Delfmann</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the BPM 2024 Blockchain/RPA/CEE/Educators/Industry Forum</title>
				<meeting>the BPM 2024 Blockchain/RPA/CEE/Educators/Industry Forum<address><addrLine>Krakow, Poland</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2024">2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Pedagogical Agents for Interactive Learning: A Taxonomy of Conversational Agents in Education</title>
		<author>
			<persName><forename type="first">F</forename><surname>Weber</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Rüttimann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Wambsganss</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Söllner</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">ICIS Proceedings</title>
				<imprint>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">The ICAP Framework: Linking Cognitive Engagement to Active Learning Outcomes</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">T H</forename><surname>Chi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Wylie</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Educational Psychologist</title>
		<imprint>
			<biblScope unit="volume">49</biblScope>
			<biblScope unit="page" from="219" to="243" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Declo: A Chatbot for User-friendly Specification of Declarative Process Models</title>
		<author>
			<persName><forename type="first">A</forename><surname>Alman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">J</forename><surname>Balder</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><forename type="middle">M</forename><surname>Maggi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Best Dissertation Award, Doctoral Consortium, and Demonstration &amp; Resources Track at BPM 2020</title>
				<meeting>the Best Dissertation Award, Doctoral Consortium, and Demonstration &amp; Resources Track at BPM 2020</meeting>
		<imprint>
			<date type="published" when="2020">2020</date>
			<biblScope unit="page" from="122" to="126" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">The Droid You&apos;re Looking For: C-4PM, a Conversational Agent for Declarative Process Mining</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Fontenla-Seco</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Winkler</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Gianola</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Montali</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Lama</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Bugarín-Diz</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Best Dissertation Award, Doctoral Consortium, and Demonstration &amp; Resources Forum at BPM 2023</title>
				<meeting>the Best Dissertation Award, Doctoral Consortium, and Demonstration &amp; Resources Forum at BPM 2023<address><addrLine>Utrecht, Netherlands</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
