Retrieval-based Goal-Oriented Dialogue Generation

Ana Valeria González-Garduño, Isabelle Augenstein, Anders SøgaardarXiv 2019

Abstract

Goal-oriented dialogue systems typically rely on complex pipelines and expensive manual annotations, such as dialogue acts, to maintain accuracy. This paper introduces Exemplar-HRED, a hybrid approach that combines a hierarchical neural encoder-decoder with an information retrieval step. By retrieving a relevant past conversation ("exemplar") and using it as a conditional hint, the model generates fluent and task-accurate responses without turn-level act labels. Evaluations on the MultiWOZ dataset demonstrate that Exemplar-HRED outperforms standard generative baselines and even rivals state-of-the-art models that utilize explicit dialogue act annotations.

Introduction: Bridging the Gap in Dialogue Systems

Dialogue research has traditionally been bifurcated. On one side, open-ended "chit-chat" models excel at fluency but struggle with the consistency required for task-oriented applications. On the other, goal-oriented systems use structured pipelines that are accurate but require massive amounts of manual labeling for slots and dialogue acts.

The authors address this trade-off by asking whether a standard generative model can be provided with enough context to solve specific user goals without relying on these expensive annotations.

Methodology: The Exemplar-HRED Architecture

The proposed model builds upon the Hierarchical Recurrent Encoder-Decoder (HRED), which uses Recurrent Neural Networks (RNNs) to encode individual utterances and track dialogue history. The core innovation is the addition of a retrieval-based conditioning step.

Architecture of the Exemplar-HRED model, showing the integration of a retrieved exemplar (Rel) into the context encoding process.

The process follows three main steps:

  1. Retrieve: For a given user utterance, the system performs an approximate nearest neighbor search across the training set to find the 10 most similar historical user utterances. A lightweight reranker selects the best match.
  2. Extract: The system retrieves the specific response associated with that historical utterance, termed the "exemplar."
  3. Condition: An additional RNN encodes this exemplar. The resulting vector is concatenated with the current dialogue context and fed into the decoder, serving as a structural and topical template.

Experimental Setup

The model was evaluated using the MultiWOZ dataset, a large-scale multi-domain corpus containing over 10,000 dialogues. To increase the difficulty and realism of the task, the authors used a partial delexicalization strategy. While phone and reference numbers were masked, specific entities like restaurant names, times, and prices were retained, forcing the model to manage a larger vocabulary and handle specific entities directly.

Results and Discussion

The inclusion of retrieved exemplars provides a powerful inductive bias, effectively substituting for explicit dialogue act labels. The exemplar anchors the model in the correct domain, preventing the "hallucinations" common in standard generative models.

Performance comparison of Exemplar-HRED against baselines. Note that Exemplar-HRED (No act) outperforms several models that utilize explicit dialogue act annotations (Act).

Quantitative Performance

Exemplar-HRED demonstrated significant improvements over the HRED baseline:

  • Metric Gains: It achieved higher scores in BLEU (24.1 vs 23.6) and Vector Extrema (0.65 vs 0.59). The authors noted that Vector Extrema is particularly useful for goal-oriented tasks as it emphasizes informative, domain-specific keywords.
  • Task Success: The model achieved 77.6% Inform and 70.1% Request accuracy. Notably, it outperformed the state-of-the-art HDSA model in Request accuracy (70.1% vs 68.9%), despite HDSA having access to predicted dialogue acts.

Human Evaluation

Human judges preferred the Exemplar-HRED model significantly more than the baseline. It was rated as more fluent in 58% of cases and more contextually appropriate in 59% of cases, compared to 19% and 14% for the baseline, respectively.

Conclusion and Future Work

Exemplar-HRED proves that retrieval-based conditioning is a viable alternative to expensive manual annotations for building task-oriented dialogue systems. While the model still trails the absolute state-of-the-art in "Inform" accuracy (where ground-truth acts are used), it offers a more scalable path forward. Future research could explore applying this retrieval mechanism to modern Transformer-based architectures to further enhance performance and coverage.

Summary updated

BibTeX
@misc{gonzalezgarduno2019retrieval,
  author = {Ana Valeria González-Garduño and Isabelle Augenstein and Anders Søgaard},
  title = {{Retrieval-based Goal-Oriented Dialogue Generation}},
  year = {2019},
  eprint = {1909.13717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.13717},
}
Figure