Aging Memories Generate More Fluent Dialogue Responses with Memory Networks

Omar U. Florez, Erik T. MuellerarXiv 2019

TL;DR

This paper introduces "memory dropout," a novel regularization technique for Memory Augmented Neural Networks (MANN) used in dialogue systems. By introducing an "age" to memory components and sampling from redundant memories, it effectively combats overfitting, leading to more fluent and accurate responses, and surprisingly, requires smaller memory sizes.

What Problem Does This Paper Address?

Dialogue systems aim to generate natural and contextually relevant responses. A key challenge is grounding these responses in external knowledge, often stored in Knowledge Bases (KBs). While Memory Networks (MANN) are effective at integrating KBs by storing embeddings, they suffer from overfitting as their memory fills up with highly correlated representations. Traditional methods of increasing memory size to mitigate this lead to further overfitting. This paper addresses the lack of effective regularization techniques for the memory component of MANNs.

Methods

The core contribution is memory dropout, a novel regularization mechanism for MANNs. Unlike standard dropout that randomly drops activations, memory dropout operates on the memory component itself. When a new latent vector needs to be written to memory:

  • Aging: The "age" of existing memory entries is incremented.
  • Sampling: Instead of directly overwriting, the system samples a new latent vector (h') from a Gaussian Mixture Model (GMM) parameterized by the P most similar existing keys (neighbors). This sampling process leverages the information from redundant memories.
  • Delayed Regularization: The sampled vector h' and the new vector h are used to update the most similar key. Redundant memories are "aged" to increase their probability of being overwritten later, making it a delayed regularization. This process is fully differentiable.

Datasets

The proposed method was evaluated on two standard dialogue datasets:

  • Stanford Multi-Turn Dialogue (SMTD): Focuses on in-car assistant dialogues with KBs for schedules, weather, and navigation.
  • Cambridge Restaurant (CamRest): Focuses on restaurant reservation dialogues.

Both datasets were split into training, development, and testing sets using standard ratios (8:1:1 for SMTD, 3:1:1 for CamRest).

Key Insights and Ideas

  • Memory Correlation is a Problem: The paper experimentally shows that conventional MANNs store highly correlated latent vectors in their memory, leading to overfitting.
  • Memory Dropout as a Solution: Memory dropout effectively combats this correlation by introducing an age mechanism and sampling from neighboring memories. This encourages diversity in stored representations.
  • Smaller Memories, Better Performance: Counter-intuitively, memory dropout allows the model to achieve higher accuracy with smaller memory sizes, as less redundant information needs to be stored.
  • Delayed Regularization: The "age" mechanism provides a form of delayed regularization, allowing memories to contribute for a while before being potentially overwritten, rather than being immediately discarded.

Key Results

The proposed MANN+MD model achieved state-of-the-art results on both datasets:

  • SMTD:
    • BLEU score: 81.8 (improvement over FDSM/ST's 80.1)
    • Entity F1 score: 21.3 (improvement over FDSM/ST's 20.1)
  • CamRest:
    • BLEU score: 85.6 (improvement over FDSM/ST's 83.6)
    • Entity F1 score: 26.3 (improvement over FDSM/ST's 24.2)

Ablation studies showed that memory dropout significantly improved Entity F1 scores by 3.6% on SMTD and 4.8% on CamRest compared to the same architecture without dropout. Figure 4 demonstrates that MANN+MD consistently outperforms MANN/MD (without dropout) on testing Entity F1 scores, indicating reduced overfitting.

Limitations and Future Work

  • Overfitting during Training: The paper notes that without memory dropout, models achieve higher Entity F1 scores during training but perform worse on testing data, indicating overfitting. Memory dropout provides a more conservative training performance but superior testing performance.
  • Future Work: The paper suggests that memory dropout's success in dialogue systems, particularly in managing KB information and improving fluency, opens avenues for its application in other domains requiring memory-augmented models. The authors also highlight the brain's content-addressable and age-sensitive memory mechanisms as inspiration, hinting at further biological inspirations for future work.

Summary updated

BibTeX
@misc{florez2019aging,
  author = {Omar U. Florez and Erik T. Mueller},
  title = {{Aging Memories Generate More Fluent Dialogue Responses with Memory Networks}},
  year = {2019},
  eprint = {1911.08522},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.08522},
}

Loading related content...

Figure