In educational applications, the Dialogue Systems (DSs) have a disruptive impact. Artificial Intelligence Markup Language (AIML) is a standard DS framework adopted by many educators since it requires minimal programming skills and allows for fast development. However, a major drawback of AIML is its limited natural language understanding (NLU) capability. AIML relies on regular expressions applied to the surface form of the input sentence for computing meaning and this mechanism is often brittle. In contrast, industrial frameworks for developing DSs (e.g., for customer care) are generally frame-based, where the meaning of the input sentence is conveyed through a set of fillers assigned to predefined slots. In this paper we propose AIML+, a framework that extends the AIML with frame-based NLU mechanism. Our aim is to develop an advanced, more robust, version of AIML that remains easy to use, ensuring it is appealing to educators. The contributions of this paper are threefold. First, we define AIML+ by incorporating into AIML several NLU features typical of frame-based frameworks. Second, we propose and release an implementation of the AIML+ engine, which employs Large Language Models to assess the effectiveness of prompting and fine-tuning for slot filling in NLU. Third, we release an annotated corpus, in the specific educational domain of Finite State Automata, used during fine-tuning as a case study for AIML+.

AIML+: Enhancing AIML for the Educational Domain Through Frames and Large Language Models

Oliverio, Michael;Balestrucci, Pier Felice;Anselma, Luca;Mazzei, Alessandro
2025-01-01

Abstract

In educational applications, the Dialogue Systems (DSs) have a disruptive impact. Artificial Intelligence Markup Language (AIML) is a standard DS framework adopted by many educators since it requires minimal programming skills and allows for fast development. However, a major drawback of AIML is its limited natural language understanding (NLU) capability. AIML relies on regular expressions applied to the surface form of the input sentence for computing meaning and this mechanism is often brittle. In contrast, industrial frameworks for developing DSs (e.g., for customer care) are generally frame-based, where the meaning of the input sentence is conveyed through a set of fillers assigned to predefined slots. In this paper we propose AIML+, a framework that extends the AIML with frame-based NLU mechanism. Our aim is to develop an advanced, more robust, version of AIML that remains easy to use, ensuring it is appealing to educators. The contributions of this paper are threefold. First, we define AIML+ by incorporating into AIML several NLU features typical of frame-based frameworks. Second, we propose and release an implementation of the AIML+ engine, which employs Large Language Models to assess the effectiveness of prompting and fine-tuning for slot filling in NLU. Third, we release an annotated corpus, in the specific educational domain of Finite State Automata, used during fine-tuning as a case study for AIML+.
2025
26th International Conference on Artificial Intelligence in Education
Palermo, Italy
JULY 22-26, 2025
Artificial Intelligence in Education
Springer
176
189
9783031984587
9783031984594
AI Devices and Tools, Dialogue Systems, AIML, LLMs, Education
Oliverio, Michael; Balestrucci, Pier Felice; Anselma, Luca; Mazzei, Alessandro
File in questo prodotto:
File Dimensione Formato  
978-3-031-98459-4_13.pdf

Accesso aperto

Dimensione 595.69 kB
Formato Adobe PDF
595.69 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/2087750
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact