End-to-End Evaluation of a Spoken Dialogue System for Learning Basic Mathematics

Eda Okur, Saurav Sahay, Roddy Fuentes Alba, Lama NachmanarXiv 2022

TL;DR

This paper evaluates a multimodal Spoken Dialogue System (SDS) designed for early childhood mathematics education in real-world classroom settings. The authors investigate how speech recognition errors propagate through the Natural Language Understanding (NLU) and Dialogue Management (DM) modules, revealing that while children's speech significantly degrades intent recognition, the downstream dialogue policy remains surprisingly robust. Additionally, they show that advanced domain-specific language models like MathBERT underperform compared to general conversational models when applied to foundational, play-based early math.

What Problem Does This Paper Address?

Building conversational AI for young children (ages 5–8) is notoriously difficult. Children's speech patterns, pronunciation, and high-energy environments lead to high Word Error Rates (WER) in Automatic Speech Recognition (ASR). When these systems are deployed in real-world classrooms for task-oriented applications—like teaching basic math—errors from the microphone cascade down the pipeline, confusing the NLU module and potentially breaking the interaction.

While previous research has focused on isolated components or lab-controlled environments, this paper addresses the gap in understanding end-to-end error propagation in a deployed, multimodal, play-based educational setting. It also tests whether specialized mathematical language models actually help conversational agents understand early childhood math talk.

Methods

The authors implement a modular, task-oriented SDS pipeline built on top of the open-source Rasa framework:

  • ASR Module: Uses the Google Cloud Speech-to-Text API to transcribe children's speech.
  • NLU Module (Intent Recognition): Built using the Dual Intent and Entity Transformer (DIET) architecture. The authors benchmarked several text embeddings as dense features within DIET, including standard BERT, conversational-specific ConveRT, and the math-specific MathBERT (testing both its base vocabulary and custom math vocabulary variants).
  • Dialogue Manager (DM): Employs the Transformer Embedding Dialogue (TED) policy, which uses a self-attention mechanism over dialogue history to select the next system action or response based on verbal inputs and multimodal game events.

Datasets

The system was evaluated on two distinct datasets across two gamified math activities: Planting (learning tens and ones using virtual flower pots) and Watering (practicing arithmetic on a 1-to-100 number grid).

  • KidSpace-POC: A proof-of-concept dataset curated manually in a lab setting with 5 children to bootstrap the models (~1.9k–2.1k utterances).
  • KidSpace-Deployment: A real-world dataset collected from 12 children interacting with the system deployed in an actual school classroom (~2.1k utterances).

Key Insights and Ideas

  • The MathBERT Mismatch: Counterintuitively, MathBERT performed worse than general-purpose BERT and conversational ConveRT embeddings. The "aha moment" here is a lesson in domain alignment: MathBERT was pre-trained on advanced mathematical corpora (textbooks, arXiv papers, equations), whereas early childhood math education relies on basic conversational language wrapped around simple concepts like "counting," "ones," and "tens."
  • Conversational Pre-training Wins: ConveRT embeddings consistently yielded the best results because they are pre-trained on massive conversational datasets (e.g., Reddit threads), making them far better at capturing the informal, play-based dialogue of children.
  • Dialogue Management Resilience: Even though ASR errors caused a massive drop in NLU intent classification accuracy, the downstream Dialogue Manager (TED policy) experienced only minor performance degradation. The transformer's self-attention mechanism successfully leverages dialogue history and multimodal context to maintain coherent interactions despite noisy immediate inputs.

Key Results

  • NLU Performance (Clean Transcripts): On the lab-controlled POC dataset, the DIET+ConveRT model achieved an impressive F1-score of 95.88% for Planting and 97.69% for Watering (see Figure 3). When tested on clean manual transcriptions from the real-world deployment, performance dropped by about 7% due to the noisier classroom environment (Figure 4).
NLU F1 on POC
  • The Impact of ASR Errors: The actual ASR system suffered from a ~30% Word Error Rate with the children's speech. Directly feeding this noisy text into the NLU caused F1-scores to plummet by 11% to 17%, dropping to 75.8% for Planting and 84.7% for Watering (Figure 5).
End-to-End ASR+NLU
  • End-to-End Pipeline Robustness: Despite the NLU degradation, the final response selection (DM) F1-scores only dropped by 4% to 7% in the end-to-end evaluation, achieving final operational F1-scores of 0.82 (Planting) and 0.89 (Watering). Concrete examples of these cascading errors can be seen in Figure 6.
Error samples

Limitations and Future Work

The authors highlight several practical constraints:

  1. Hardware Cost: The setup relies on expensive equipment (projectors, RGB-D cameras, LiDAR, lapel mics), making it difficult to scale to underfunded public schools.
  2. Acoustic Intrusiveness: Children had to wear lapel microphones. Attempts to use non-intrusive far-field microphone arrays failed due to the extreme drop-off in ASR quality for kids' voices in a noisy room.
  3. Data Scarcity: The datasets are relatively small due to the high cost of classroom data collection and manual annotation.

Future Directions: To mitigate the 30% ASR error rate, the team plans to explore architectures that utilize N-best ASR hypotheses rather than just the top single transcription, alongside phonetic-aware language representations to make the NLU more robust to misheard words.

Summary updated

BibTeX
@misc{okur2022end,
  author = {Eda Okur and Saurav Sahay and Roddy Fuentes Alba and Lama Nachman},
  title = {{End-to-End Evaluation of a Spoken Dialogue System for Learning Basic Mathematics}},
  year = {2022},
  eprint = {2211.03511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.03511},
}
Figure