Global-to-local Memory Pointer Networks for Task-Oriented Dialogue

Chien-Sheng Wu, Richard Socher, Caiming Xiong

Introduction

Task-oriented dialogue systems often struggle to accurately pull specific information—like addresses, phone numbers, or point-of-interest names—from large, dynamic knowledge bases (KBs). To address this, researchers have introduced Global-to-Local Memory Pointer (GLMP) networks. This dual-pointer architecture first identifies relevant "neighborhoods" of information within a KB and then precisely "copies" the correct entities into a response template. This approach significantly improves accuracy, particularly when dealing with out-of-vocabulary (OOV) words that the model hasn't seen during training.

The Challenge of Bridging Language and Data

Developing a bot capable of booking a restaurant or navigating a car is difficult because the system must bridge the gap between fluid natural language and structured data. Traditional "pipeline" systems use separate modules for natural language understanding, dialogue state tracking, and response generation. While interpretable, these are expensive to build, domain-specific, and prone to cascading errors.

End-to-end models are easier to scale but suffer from a "copying" problem. For example, if a user asks for the address of a specific gas station, the model might understand the intent but fail to pick the correct address from a large KB. It may fail entirely if the address contains words it hasn't encountered before. Existing memory networks struggle to filter the "noise" of a large, dynamic KB while maintaining a stable conversation flow.

The GLMP Architecture

The authors propose a "Global-to-Local" architecture that shares an external memory containing both the KB and the dialogue history. This approach breaks the generation process into intuitive, manageable steps.

Block diagram of the Global-to-Local Memory Pointer (GLMP) network architecture.

1. Global Memory Encoder

This module encodes the conversation history. Crucially, it doesn't just read the KB; it generates a Global Memory Pointer. Think of this as a "soft filter" that highlights which parts of the KB are relevant to the current user's intent, effectively narrowing down the search space.

2. External Knowledge

The system utilizes a shared memory space where KB entries are stored as triplets (e.g., Valero, Address, 200 Alester Ave). This structured memory allows the model to associate entities with their specific attributes.

3. Local Memory Decoder and the "Hand-off"

Instead of generating a full sentence word-by-word, the decoder first uses a Sketch RNN to create a delexicalized template (e.g., "The address is @address").

Detailed view of the Global Memory Encoder and Local Memory Decoder with Sketch RNN.

When the Sketch RNN generates a placeholder tag like @address, it triggers a hand-off. The model uses the previously generated Global Memory Pointer to filter the KB, and then generates a Local Memory Pointer to pick the exact entity (e.g., "200 Alester Ave") to fill the slot.

Key Insights

  • The "Mad Libs" Strategy: By generating a "sketch" response first, the model separates the logic of the conversation (knowing it needs to provide an address) from the retrieval of the data (finding the specific address).
  • Filtering the Noise: Large KBs are inherently noisy. The Global Memory Pointer acts as a coarse-grained filter, making the Local Memory Pointer's job much easier. It is akin to locating the correct shelf in a library before searching for a specific book.
  • Mitigating OOV Errors: Because the model learns to point to a memory location rather than just predict a word from a fixed vocabulary, it can successfully "copy" words it has never seen before, provided they exist in the KB.

Datasets and Results

The model was evaluated on two major benchmarks:

  • bAbI Dialogue: A simulated dataset with five tasks in the restaurant domain, including a specific test set for Out-of-Vocabulary (OOV) entities.
  • Stanford Multi-domain Dialogue (SMD): A complex, human-human dataset covering navigation, weather, and calendar scheduling.

Performance Highlights: * bAbI Dialogue: GLMP achieved 92.0% per-response accuracy on the full dialogue task, outperforming previous state-of-the-art models by 7.5%. In OOV scenarios, it demonstrated significantly higher resilience than standard memory-to-sequence models. * SMD Dataset: The model reached a record 14.79 BLEU score and a 59.97% Entity F1 score, substantially beating prior benchmarks. * Human Evaluation: In blind tests, human evaluators rated GLMP as more "appropriate" and "human-like" than previous models, confirming that automated metric improvements translated to a better user experience.

Limitations and Future Work

While highly effective, the authors noted a few areas for improvement:

  • Ambiguity: When the KB contains multiple similar options (e.g., two different doctor appointments at similar times), the model sometimes struggles to distinguish which one the user is referring to.
  • Tag Mismatch: Occasionally, the model might generate a sketch tag (like @address) but the pointer accidentally pulls a different type of entity (like @distance), leading to nonsensical answers.
  • Domain Specificity: The current model lacks explicit domain supervision. This can lead to "wrong delexicalized responses" where the bot follows the conversational logic of the wrong domain.

The researchers suggest that incorporating more explicit domain-specific intent supervision could be a promising next step to resolve these edge cases.

Summary updated

BibTeX
@inproceedings{wu2019global,
  author = {Chien-Sheng Wu and Richard Socher and Caiming Xiong},
  title = {{Global-to-local Memory Pointer Networks for Task-Oriented Dialogue}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
}
Figure