The PARLANCE mobile application for interactive search in English and Mandarin

Helen F. Hastie, Marie-Aude Aufaure, Panos Alexopoulos, Hugues Bouchard, Catherine Breslin, Heriberto Cuayáhuitl, Nina Dethlefs, Milica Gasic, James Henderson, Oliver Lemon, Xingkun Liu, Peter Mika, Nesrine Ben Mustapha, Tim Potter, Verena Rieser, Blaise Thomson, Pirros Tsiakoulis, Yves Vanrompay, Boris Villazón-Terrazas, Majid Yazdani, Steve J. Young, Yanchao Yu

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.

The PARLANCE architecture for the Mandarin domain, featuring a specialized segmentor server.

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:

  1. English Domain: Integrated with the Yahoo API, providing access to approximately 1,600 restaurants in San Francisco, USA.
  2. Mandarin Domain: Utilizes a translated database of 157 restaurants in Cambridge, UK.
The PARLANCE Android interface showing an English dialogue for restaurant search.

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

BibTeX
@inproceedings{hastie2014parlance,
  author = {Helen F. Hastie and Marie-Aude Aufaure and Panos Alexopoulos and Hugues Bouchard and Catherine Breslin and Heriberto Cuayáhuitl and Nina Dethlefs and Milica Gasic and James Henderson and Oliver Lemon and Xingkun Liu and Peter Mika and Nesrine Ben Mustapha and Tim Potter and Verena Rieser and Blaise Thomson and Pirros Tsiakoulis and Yves Vanrompay and Boris Villazón-Terrazas and Majid Yazdani and Steve J. Young and Yanchao Yu},
  title = {{The PARLANCE mobile application for interactive search in English and Mandarin}},
  booktitle = {SIGDIAL Conference},
  year = {2014},
  doi = {10.3115/v1/w14-4336},
}
Figure