Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Template Guided Text Generation for Task-Oriented Dialogue

About

Virtual assistants such as Google Assistant, Amazon Alexa, and Apple Siri enable users to interact with a large number of services and APIs on the web using natural language. In this work, we investigate two methods for Natural Language Generation (NLG) using a single domain-independent model across a large number of APIs. First, we propose a schema-guided approach which conditions the generation on a schema describing the API in natural language. Our second method investigates the use of a small number of templates, growing linearly in number of slots, to convey the semantics of the API. To generate utterances for an arbitrary slot combination, a few simple templates are first concatenated to give a semantically correct, but possibly incoherent and ungrammatical utterance. A pre-trained language model is subsequently employed to rewrite it into coherent, natural sounding text. Through automatic metrics and human evaluation, we show that our method improves over strong baselines, is robust to out-of-domain inputs and shows improved sample efficiency.

Mihir Kale, Abhinav Rastogi• 2020

Related benchmarks

TaskDatasetResultRank
Natural language generationE2E (test)--
79
Response GenerationMultiWOZ (test)
BLEU Score34.4
27
Natural language generationSGD (test)
BLEU28.6
18
Task-oriented DialogueFewShotWeather seen structures (test)
BLEU72.89
13
Task-oriented DialogueFewShotSGD seen schemata (test)
BLEU25.72
13
Task-oriented DialogueFewShotSGD unseen schemata (test)
BLEU26.52
13
Task-oriented DialogueFewShotWeather unseen structures (test)
BLEU54.49
13
Natural language generationSGD seen domains 1.0
BLEU29.4
4
Natural language generationSGD 1.0 (unseen domains)
BLEU Score22.2
4
Natural language generationSGD 1.0 (overall)
BLEU28.6
4
Showing 10 of 13 rows

Other info

Code

Follow for update