Generating Informative Conversational Response using Recurrent Knowledge-Interaction and Knowledge-Copy

Xiexiong Lin, Weiyu Jian, Jianshan He, Taifeng Wang, Wei ChuACL 2020

Abstract

Open-domain conversational agents often struggle with generating informative and factually grounded responses, frequently defaulting to generic phrases. We present KIC (Knowledge-Interaction and Knowledge-Copy), a novel neural architecture that addresses these limitations through two key mechanisms: recurrent knowledge interaction and a knowledge-aware pointer network. By dynamically updating attention on external knowledge at each decoding step and enabling the direct copying of out-of-vocabulary (OOV) entities, KIC achieves substantial improvements in response quality. Evaluation on the Wizard-of-Wikipedia and DuConv datasets shows that KIC significantly outperforms existing baselines, particularly in handling unseen topics.

Introduction

The "generic response" problem is a persistent challenge in open-domain chatbots. While incorporating external knowledge (e.g., Wikipedia or structured triplets) helps, existing models often rely on static knowledge selection, leading to incoherence as the dialogue progresses. Furthermore, external knowledge frequently contains specific entities not present in the model's fixed vocabulary, resulting in the Out-of-Vocabulary (OOV) problem. KIC is designed to overcome these hurdles by treating knowledge selection as a fluid, recurrent process integrated into the generation cycle.

Methodology: The KIC Architecture

The KIC model employs a joint neural framework consisting of a bi-directional LSTM for conversation history and a Transformer-based encoder for external knowledge. The core innovations reside in the decoder:

  1. Recurrent Knowledge Interaction: Unlike static models, KIC updates its attention on external knowledge at every generation step. This allows the model to "re-read" the source material, ensuring that each word is contextually and factually aligned with the most relevant knowledge segment.
  2. Knowledge-Aware Pointer Network: To handle OOV terms, a "soft switch" gate determines whether to generate a word from the standard vocabulary or copy a specific entity directly from the external knowledge source.
The KIC architecture features a specialized decoder that integrates recurrent knowledge interaction and a pointer network for copying external entities.

Experimental Setup

The model was evaluated on two diverse datasets to prove its versatility across languages and knowledge formats:

  • Wizard-of-Wikipedia: An English dataset involving unstructured Wikipedia paragraphs.
  • DuConv: A Chinese dataset utilizing structured knowledge triplets (Subject, Property, Object).

Results and Discussion

KIC demonstrated superior performance across all metrics. On the Wizard-of-Wikipedia dataset, the model achieved a BLEU-3 improvement of +126% on seen topics and a remarkable +234% on unseen topics compared to strong baselines like PostKS.

Quantitative results on the Wizard-of-Wikipedia dataset demonstrate KIC's significant lead over baselines, particularly in BLEU and DISTINCT metrics for unseen topics.

Key insights from the results include:

  • Dynamic vs. Static Selection: Updating knowledge attention at every time step allows the model to maintain high confidence and integrate multiple knowledge pieces into a single response.
  • Efficiency: Despite its performance, KIC is more parameter-efficient than previous state-of-the-art models, utilizing 44 million parameters compared to the 71 million used by the PostKS baseline.
  • Generalization: The substantial gains on "Test Unseen" topics suggest that the recurrent interaction mechanism is highly effective at generalizing to new information.

Conclusion

KIC represents a significant step toward more informative and factual conversational AI. By treating knowledge interaction as a recurrent process and solving the OOV problem through a pointer network, the model generates responses that are both fluent and grounded. Future work will explore the use of reinforcement learning to optimize dialogue turn-taking and strategies for managing knowledge across long-term, multi-turn conversations.

Summary updated

BibTeX
@inproceedings{lin2020generating,
  author = {Xiexiong Lin and Weiyu Jian and Jianshan He and Taifeng Wang and Wei Chu},
  title = {{Generating Informative Conversational Response using Recurrent Knowledge-Interaction and Knowledge-Copy}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  url = {https://openreview.net/forum?id=1ANyfuoOYx},
}
Figure