HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Template Guided Text Generation for Task-Oriented Dialogue

Mihir Kale Abhinav Rastogi

Template Guided Text Generation for Task-Oriented Dialogue

Abstract

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.

Benchmarks

BenchmarkMethodologyMetrics
data-to-text-generation-on-multiwoz-2-1T5-small
BLEU: 34.96
data-to-text-generation-on-multiwoz-2-1T2G2
BLEU: 34.91

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
Template Guided Text Generation for Task-Oriented Dialogue | Papers | HyperAI