Abstract
Neural network models are capable of generating extremely natural sounding conversational interactions. Nevertheless, these models have yet to demonstrate that they can incorporate content in the form of factual information or entity-grounded opinion that would enable them to serve in more task-oriented conversational applications. This paper presents a novel, fully data-driven, and knowledge-grounded neural conversation model aimed at producing more contentful responses without slot filling. We generalize the widely-used Seq2Seq approach by conditioning responses on both conversation history and external "facts", allowing the model to be versatile and applicable in an open-domain setting. Our approach yields significant improvements over a competitive Seq2Seq baseline. Human judges found that our outputs are significantly more informative.
Introduction
While modern neural chatbots excel at mimicking the rhythm of human conversation, they often lack substance. A standard chatbot might respond to a mention of a specific restaurant with a generic "Have a great time!" because it lacks real-world knowledge. Traditional "slot-filling" systems can handle facts but are difficult to scale to open-domain conversation.
This paper introduces a neural conversation model that moves beyond generic banter by grounding responses in external, real-world knowledge. By combining a standard Sequence-to-Sequence (SEQ2SEQ) architecture with a Memory Network-style "Facts Encoder," the model can inject specific information from sources like Foursquare tips into its replies, making them significantly more informative and diverse than traditional data-driven models.
Methodology
The proposed hybrid architecture generalizes the standard SEQ2SEQ model through several key components:
- Dialog Encoder & Decoder: A standard Gated Recurrent Unit (GRU) setup encodes conversation history and generates output text.
- Facts Encoder: Inspired by Memory Networks, this component processes a set of "facts" (e.g., short snippets of restaurant reviews) related to entities mentioned in the conversation. An attention mechanism weights these facts based on their relevance to the current dialog context.
- Multi-Task Learning: The model is trained on two tasks simultaneously: a purely conversational task using a massive Twitter dataset (23 million 3-turn conversations) and a grounded task using a smaller dataset linked to specific Foursquare tips.
- Decoding & Reranking: During generation, the model uses beam search and a reranking strategy that penalizes generic, "safe" responses to encourage contentful output.
Data and Knowledge Grounding
The researchers utilized a "1M Grounded Dataset" consisting of 1 million Twitter exchanges where users mentioned a business handle. This allowed the researchers to link conversations directly to Foursquare "facts"—specifically, 1.1 million tips and reviews for North American establishments.
This approach decouples knowledge from logic. By using a separate Facts Encoder, the model learns the pattern of how to use facts rather than memorizing them in its weights. This allows the knowledge base to be updated (e.g., adding new reviews) without retraining the entire network.
Key Results and Evaluation
The grounded model (MTASK-R) demonstrated significant improvements over competitive baselines:
- BLEU Scores: The model achieved a BLEU score of 1.08, a 96% increase over the SEQ2SEQ baseline (0.55).
- Informativeness: Human evaluations showed a significant preference for the grounded model's responses (p = 0.003).
- Lexical Diversity: Grounding led to a massive increase in 1-gram and 2-gram diversity (up to a 71% jump), effectively reducing the "generic response" problem.
- Qualitative Success: The model successfully suggested specific dishes (e.g., "Try the creamy jalapeno sauce") or features (e.g., "Check out the 5th floor") based on retrieved facts.
Discussion and Limitations
While successful, the model faces challenges such as "fact blending," where contradictory facts result in nonsensical sentences. It also relies on simple keyword matching for entity identification, which can lead to irrelevant information injection if an entity is misidentified. Furthermore, the "facts" used are often subjective reviews; future work could distinguish between objective data (e.g., opening hours) and subjective opinions. Finally, like many neural models, it can occasionally "hallucinate" meanings not present in the source text.
Summary updated