DictaNum: a dialogue system for numbers dictation (DictaNum : système de dialogue incrémental pour la dictée de numéros.) [in French]

Hatim Khouzaimi, Romain Laroche, Fabrice LefèvreTALN 2014

Introduction

In traditional voice-activated systems, the interaction model is typically "batch-oriented." The system listens to a complete utterance, waits for a significant pause, and only then processes the input. For tasks requiring high precision, such as dictating a 10-digit phone number, this latency creates a frustrating user experience. If an error occurs early in the sequence, the user often remains unaware until the very end, necessitating a full restart of the process.

Presented at the 2014 TALN conference, DictaNum addresses this challenge through an incremental dialogue approach. Rather than requiring a complete architectural overhaul, DictaNum introduces a "wrapper" architecture that transforms standard dialogue systems into reactive, real-time interfaces.

The Challenge of Incremental Dialogue

Incremental systems process speech word-by-word or fragment-by-fragment, allowing for immediate feedback and correction. However, building these systems from scratch is notoriously complex and expensive. They typically require specialized architectures capable of tracking conversational states at a millisecond level. DictaNum bridges this gap by simulating incremental behavior using a middleware layer, providing the benefits of reactivity without the high cost of native incremental engines.

The DictaNum Architecture: The Scheduler

The core innovation of DictaNum is its Scheduler-based architecture. This middleware layer sits between the user and a standard dialogue service (specifically the Disserto suite by Orange Labs), managing the flow of information through "micro-turns."

Stability Detection and Micro-silences

The system monitors partial results from the Automatic Speech Recognition (ASR) engine at regular intervals. It employs a logic based on output stability to determine when to speak:

  • Micro-silence: If the ASR output remains unchanged for a specific number of micro-turns ($n$), the system interprets this as a "micro-silence." This suggests the user has paused after a fragment (e.g., "01... 45...").
  • Full Silence: If the output remains stable for a longer duration ($m$), it signals the end of the input.

By detecting these micro-silences, the Scheduler can trigger immediate feedback, such as repeating the last fragment to confirm the system's understanding in real-time.

Barge-in and Contextual Reactivity

To handle interruptions effectively, DictaNum manages Text-to-Speech (TTS) playback in blocks separated by markers. If a user interrupts (a "barge-in"), the client communicates exactly which block was being played to the Scheduler. This allows the system to react contextually—for instance, acknowledging a correction specifically for the last-spoken segment rather than the entire number.

Functional Walkthrough and Error Recovery

The primary benefit of this architecture is local error recovery. In a typical interaction, the system provides:

  1. Reactive Confirmation: As the user dictates pairs of digits, the system repeats them during micro-silences, building user confidence.
  2. Immediate Correction: If the system misrecognizes a segment (e.g., hearing "38" instead of "28"), the user can interrupt immediately. The system recognizes the correction, updates the specific segment, and continues the dialogue.
  3. Final Validation: A final recap is provided at the end. Because most errors are caught "locally" during the dictation process, the final validation becomes a quick confirmation rather than a point of failure.

Implementation and Tech Stack

The demonstration system utilizes a robust tech stack to achieve its goals:

  • Backend: Orange Labs' Disserto suite for dialogue management.
  • Frontend: An HTML/AJAX interface for accessibility.
  • ASR/TTS: Google Web Speech API for real-time speech processing and synthesis.

Conclusion and Future Directions

DictaNum demonstrates that a "simulation" approach to incrementality is a viable path for improving user experience in dialogue systems. By managing timing and ASR stability at the middleware level, developers can achieve high reactivity with traditional backends.

While the current Scheduler uses relatively elementary logic, future work aims to evolve it into a sophisticated decision-making module. This would involve deeper contextual analysis, better detection of user frustration, and more nuanced error-handling strategies that go beyond simple repetition to provide a more human-like conversational experience.

Summary updated

BibTeX
@inproceedings{khouzaimi2014dictanum,
  author = {Hatim Khouzaimi and Romain Laroche and Fabrice Lefèvre},
  title = {{DictaNum: a dialogue system for numbers dictation (DictaNum : système de dialogue incrémental pour la dictée de numéros.) [in French]}},
  booktitle = {TALN},
  year = {2014},
}
Figure