Trainable Sentence Planning for Complex Information Presentations in Spoken Dialog Systems

Amanda Stent, Rashmi Prasad, Marilyn A. WalkerACL 2004

Abstract

Generating natural and coherent speech for complex information remains a significant challenge in spoken dialog systems. Traditional approaches rely on rigid templates or complex, hand-coded rules, both of which are difficult to scale and maintain. This paper introduces SPaRKy (Sentence Planning with Rhetorical Knowledge), a trainable sentence planner that utilizes a "generate-and-rank" paradigm. By combining a randomized sentence plan generator with a RankBoost-based ranker, SPaRKy automatically learns to structure information using rhetorical relations. Experimental results in the NYC restaurant domain demonstrate that SPaRKy produces high-quality output comparable to hand-tuned templates while significantly improving system portability.

Introduction

In spoken dialog systems, the "sentence planning" stage is responsible for deciding how to package information into sentences. For simple tasks, like reporting a price, templates suffice. However, for complex presentations—such as recommending a restaurant based on multiple attributes or comparing several options—templates become unwieldy.

The authors propose moving away from manual engineering toward a machine-learning approach. The goal is to create a system that can handle sophisticated linguistic tasks, such as using contrastive markers ("however," "on the other hand") and varied syntactic structures, without requiring a linguist to write exhaustive rules for every new domain.

The SPaRKy Architecture

The core of the proposed solution is the SPaRKy system. Its architecture integrates into a standard dialog pipeline, sitting between the Dialogue Manager and the Surface Realizer.

The SPaRKy architecture within the broader context of a spoken dialog system pipeline.

SPaRKy operates in two primary phases:

  1. Sentence Plan Generation (SPG): Instead of generating a single "best" sentence, the SPG produces a large pool of candidate sentence plans. It uses a set of clause-combining operations (e.g., merging, relative clause formation) and is guided by Rhetorical Structure Theory (RST). This ensures that the facts are logically connected through relations like Justify, Contrast, or Elaboration.
  2. Sentence Plan Ranking (SPR): The SPR acts as a filter. It uses the RankBoost algorithm, trained on human-rated examples, to evaluate the candidates. The ranker analyzes over 7,000 features, primarily focusing on the structural configurations of the sentence plan trees (sp-trees).

The flexibility of this approach is illustrated by the variety of ways a single set of facts can be structured. As shown in the figure below, the same underlying content can be organized into different sp-trees, highlighting how different rhetorical choices lead to different linguistic realizations.

Two alternative sentence plan trees (sp-trees) for a single content plan, demonstrating how different rhetorical relations (e.g., contrast vs. infer) can be applied to the same data.

Experimental Setup and Evaluation

The system was evaluated within the MATCH (Multimodal Access To City Help) framework, specifically for NYC restaurant recommendations. The researchers generated a corpus of 1,756 sentence plan trees from 30 representative content plans.

Human judges rated the resulting realizations on a scale of 1 to 5. These ratings served as the gold standard for training the RankBoost model. The evaluation compared SPaRKy's top-ranked outputs against a random selection baseline, the human-judged "gold standard," and hand-crafted templates from the original MATCH system.

Key Results

The evaluation yielded several significant findings:

  • High Quality: SPaRKy's top-ranked sentences were, on average, within 10% of the human-judged "best" possible realization.
  • Superiority over Baselines: The system significantly outperformed the random baseline (p < .001), confirming that the ranker successfully learned meaningful linguistic preferences.
  • Template Parity: SPaRKy performed comparably to highly-tuned, hand-written templates. In complex tasks like two-item comparisons, human judges often preferred the variety and flow of the trainable system's output over the rigid templates.

Discussion and Portability

A major advantage of the "generate-and-rank" approach is portability. Because the ranking rules are learned from data, adapting the system to a new domain (e.g., from restaurants to hotels) primarily requires collecting new ratings rather than rewriting complex code.

However, some limitations remain. The system still requires "human-in-the-loop" effort to provide training labels. Additionally, while many features are structural and domain-independent, some lexical features remain tied to the specific vocabulary of the training domain.

Conclusion

SPaRKy represents a milestone in NLG for dialog systems, proving that complex rhetorical structures can be managed through machine learning. By shifting the burden from manual rule-writing to data-driven ranking, the system achieves high-quality, natural-sounding speech that is both flexible and scalable.

Summary updated

BibTeX
@inproceedings{stent2004trainable,
  author = {Amanda Stent and Rashmi Prasad and Marilyn A. Walker},
  title = {{Trainable Sentence Planning for Complex Information Presentations in Spoken Dialog Systems}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2004},
  doi = {10.3115/1218955.1218966},
}
Figure