Introduction
Spoken dialogue systems (SDS) are typically developed and evaluated within controlled laboratory environments. However, a significant "reality gap" exists between these settings and the noisy, unpredictable conditions of real-world mobile usage. Presented at SIGDIAL 2014, the PARLANCE mobile application addresses this by providing a robust, modular framework for testing SDS components "in the wild."
System Architecture
The PARLANCE system employs a client-server architecture to bridge the gap between mobile convenience and complex computational research.
Front-end and Back-end Integration
The front-end is an Android application that manages the user interface, leveraging Google’s Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) APIs. The back-end, a Java Socket Server, hosts the core research modules.
Core Components
- Spoken Language Understanding (SLU): This module converts text into semantic triples. For Mandarin, a specialized Stanford Chinese word segmentor is used to identify word boundaries before parsing.
- Interaction Manager (IM): The "brain" of the system uses a Partially Observable Markov Decision Process (POMDP) framework. Specifically, the Bayesian Update of Dialogue State (BUDS) manager tracks user intentions as a probability distribution (belief state), which is vital for handling ASR errors in noisy environments.
- Natural Language Generation (NLG): The system evaluates a surface realizer based on Conditional Random Fields (CRFs) against traditional template-based methods.
Multi-lingual Domains and Data
The application facilitates interactive restaurant searches in two distinct domains:
- English Domain: Integrated with the Yahoo API, providing access to approximately 1,600 restaurants in San Francisco, USA.
- Mandarin Domain: Utilizes a translated database of 157 restaurants in Cambridge, UK.
Key Insights
The PARLANCE framework demonstrates several critical advancements for mobile dialogue systems:
- Uncertainty Management: The POMDP approach allows the system to maintain a belief state rather than making hard guesses, improving robustness against background noise.
- Modular Evaluation: The architecture allows researchers to swap specific components (like the NLG model) to compare performance in a live environment.
- Cross-Lingual Portability: While the core interaction logic remains language-agnostic, the system shows how language-specific pre-processing (like Mandarin segmentation) can be integrated into a unified pipeline.
Conclusion and Future Work
The PARLANCE application successfully integrates high-level research components like BUDS and CRF-based NLG with consumer-grade APIs. It provides a functional pipeline where, for instance, a Mandarin speaker can search for restaurants in Cambridge.
Future developments aim to reduce reliance on third-party ASR/TTS by implementing in-house audio streaming. Additionally, the researchers plan to incorporate hyperlocal context (GPS) and social data to further personalize recommendations and improve the user experience in real-world deployments.
Reference: Hastie, H., et al. (2014). The PARLANCE mobile application for interactive search in English and Mandarin. Proceedings of the SIGDIAL 2014 Conference, pages 260–262.
Summary updated