Thinking Globally, Acting Locally: Distantly Supervised Global-to-Local Knowledge Selection for Background Based Conversation

Pengjie Ren, Zhumin Chen, Christof Monz, Jun Ma, Maarten de Rijke
8/26/2019
cs.CLcs.AI

Official code: PengjieRen/GLKS (10 stars, Python, last commit 2020-06-16).

Abstract

Background Based Conversations (BBCs) have been introduced to help conversational systems avoid generating overly generic responses. In a BBC, the conversation is grounded in a knowledge source.

Show full abstract

A key challenge in BBCs is Knowledge Selection (KS): given a conversational context, try to find the appropriate background knowledge (a text fragment containing related facts or comments, etc.) based on which to generate the next response. Previous work addresses KS by employing attention and/or pointer mechanisms. These mechanisms use a local perspective, i.e., they select a token at a time based solely on the current decoding state. We argue for the adoption of a global perspective, i.e., pre-selecting some text fragments from the background knowledge that could help determine the topic of the next response. We enhance KS in BBCs by introducing a Global-to-Local Knowledge Selection (GLKS) mechanism. Given a conversational context and background knowledge, we first learn a topic transition vector to encode the most likely text fragments to be used in the next response, which is then used to guide the local KS at each decoding timestamp. In order to effectively learn the topic transition vector, we propose a distantly supervised learning schema. Experimental results show that the GLKS model significantly outperforms state-of-the-art methods in terms of both automatic and human evaluation. More importantly, GLKS achieves this without requiring any extra annotations, which demonstrates its high degree of scalability.

View on arXivView PDF

Code Implementations(1)

PengjieRen/GLKSOfficial100%
101PythonOct 17, 20196 years ago

Similar Papers

Cite this paper

@article{ren2019thinking,
  title  = {Thinking Globally, Acting Locally: Distantly Supervised Global-to-Local Knowledge Selection for Background Based Conversation},
  author = {Pengjie Ren and Zhumin Chen and Christof Monz and Jun Ma and Maarten de Rijke},
  year   = {2019},
  eprint = {1908.09528},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.09528}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.09528.svg)](https://codeofpaper.com/paper/1908.09528)

Discussion