HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Entity-Consistent End-to-end Task-Oriented Dialogue System with KB Retriever

Libo Qin Yijia Liu Wanxiang Che Haoyang Wen Yangming Li Ting Liu

Entity-Consistent End-to-end Task-Oriented Dialogue System with KB Retriever

Abstract

Querying the knowledge base (KB) has long been a challenge in the end-to-end task-oriented dialogue system. Previous sequence-to-sequence (Seq2Seq) dialogue generation work treats the KB query as an attention over the entire KB, without the guarantee that the generated entities are consistent with each other. In this paper, we propose a novel framework which queries the KB in two steps to improve the consistency of generated entities. In the first step, inspired by the observation that a response can usually be supported by a single KB row, we introduce a KB retrieval component which explicitly returns the most relevant KB row given a dialogue history. The retrieval result is further used to filter the irrelevant entities in a Seq2Seq response generation model to improve the consistency among the output entities. In the second step, we further perform the attention mechanism to address the most correlated KB column. Two methods are proposed to make the training feasible without labeled retrieval data, which include distant supervision and Gumbel-Softmax technique. Experiments on two publicly available task oriented dialog datasets show the effectiveness of our model by outperforming the baseline systems and producing entity-consistent responses.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
task-oriented-dialogue-systems-on-kvretKB-retriever
BLEU: 13.9
Entity F1: 53.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Entity-Consistent End-to-end Task-Oriented Dialogue System with KB Retriever | Papers | HyperAI