Skip to main content
QUICK REVIEW

[Paper Review] LSTM-based Mixture-of-Experts for Knowledge-Aware Dialogues

Phong Ba Le, Marc Dymetman|arXiv (Cornell University)|May 5, 2016
Topic ModelingComputer Science11 references10 citations
TL;DR

This paper proposes an LSTM-based mixture-of-experts model that dynamically combines a neural chat model and a neural question-answering (QA) model to generate knowledge-aware dialogues. By using a context-aware gating mechanism to soft-attention between experts, the model achieves a 38% relative reduction in perplexity on knowledge-grounded value tokens (46.8 vs. 75.8), demonstrating improved factual accuracy without retraining the chat model on new data.

ABSTRACT

We introduce an LSTM-based method for dynamically integrating several word-prediction experts to obtain a conditional language model which can be good simultaneously at several subtasks. We illustrate this general approach with an application to dialogue where we integrate a neural chat model, good at conversational aspects, with a neural question-answering model, good at retrieving precise information from a knowledge-base, and show how the integration combines the strengths of the independent components. We hope that this focused contribution will attract attention on the benefits of using such mixtures of experts in NLP.

Motivation & Objective

  • To address the limitation of end-to-end neural dialogue models in accurately retrieving factual knowledge from external sources.
  • To combine the strengths of a conversational LSTM model and a knowledge-grounded QA model without requiring joint retraining.
  • To develop a generalizable framework for integrating multiple word-prediction experts in sequence generation using an attention-based gating mechanism.
  • To reduce memorization burden on the QA model by leveraging external knowledge bases and dynamic routing.
  • To evaluate the method on a real-world mobile support dialogue dataset with structured knowledge-base triples.

Proposed method

  • The model uses an LSTM to encode the dialogue history into a hidden state vector at each time step.
  • A softmax layer computes mixture weights over K expert models based on the encoded history, where the weights represent attention probabilities over the experts.
  • The final word probability is a weighted sum of expert predictions: p(w|w₁ᵗ,C) = Σₖ p(k|w₁ᵗ) × pₖ(w|w₁ᵗ).
  • For two experts (chat and QA), the gating weight α is computed via a sigmoid function applied to a learned linear transformation of the chat model’s hidden state.
  • The integration model is trained end-to-end with a weighted cross-entropy objective, emphasizing rare knowledge tokens (e.g., numeric values) via a scaling factor β(w).
  • Decoding uses uniform-cost search with a constraint that each response answers at most one question, ensuring coherence and precision.

Experimental results

Research questions

  • RQ1Can a dynamically routed mixture of experts improve factual accuracy in dialogue systems without compromising conversational fluency?
  • RQ2To what extent can a pre-trained chat model and a QA model be effectively combined using an attention-based gating mechanism?
  • RQ3Does the integration model reduce perplexity on knowledge-grounded tokens compared to a standalone chat model?
  • RQ4Can the model generalize to new devices without retraining the chat component, relying instead on external knowledge?
  • RQ5How does the model’s performance on factual tokens compare to its overall perplexity, given their low frequency in the data?

Key findings

  • The integration model reduces perplexity by 38% on knowledge-grounded value tokens (46.8 vs. 75.8) compared to the standalone chat model, indicating significant improvement in factual accuracy.
  • Despite a slight increase in overall perplexity (15.4 vs. 14.7), the model achieves substantial gains on rare but critical tokens, such as device specifications and numeric values.
  • The model successfully generates responses that retrieve precise information from the knowledge base, as demonstrated in qualitative examples like device-specific attribute queries.
  • The QA model’s predictions are effectively routed only when needed, as the gating mechanism learns to activate it primarily in response to knowledge-seeking queries.
  • The chat model remains robust to new device releases because it is not retrained on new data; only the QA model needs to be updated with new KB entries.
  • The method is generalizable to multiple experts, each specialized in a different task, with the LSTM-based gate enabling context-sensitive routing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.