AutoTemplate: A Simple Recipe for Lexically Constrained Text Generation

11/15/2022
by   Hayate Iso, et al.
1

Lexically constrained text generation is one of the constrained text generation tasks, which aims to generate text that covers all the given constraint lexicons. While the existing approaches tackle this problem using a lexically constrained beam search algorithm or dedicated model using non-autoregressive decoding, there is a trade-off between the generated text quality and the hard constraint satisfaction. We introduce AutoTemplate, a simple yet effective lexically constrained text generation framework divided into template generation and lexicalization tasks. The template generation is to generate the text with the placeholders, and lexicalization replaces them into the constraint lexicons to perform lexically constrained text generation. We conducted the experiments on two tasks: keywords-to-sentence generations and entity-guided summarization. Experimental results show that the AutoTemplate outperforms the competitive baselines on both tasks while satisfying the hard lexical constraints.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/09/2019

Text Generation with Exemplar-based Adaptive Decoding

We propose a novel conditioned text generation model. It draws inspirati...
research
03/12/2021

Constrained Text Generation with Global Guidance – Case Study on CommonGen

This paper studies constrained text generation, which is to generate sen...
research
10/24/2020

NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraints

Conditional text generation often requires lexical constraints, i.e., wh...
research
09/26/2021

Parallel Refinements for Lexically Constrained Text Generation with BART

Lexically constrained text generation aims to control the generated text...
research
04/19/2023

Controlling keywords and their positions in text generation

One of the challenges in text generation is to control generation as int...
research
05/22/2023

A Frustratingly Simple Decoding Method for Neural Text Generation

We introduce a frustratingly simple, super efficient and surprisingly ef...
research
05/17/2020

MixingBoard: a Knowledgeable Stylized Integrated Text Generation Platform

We present MixingBoard, a platform for quickly building demos with a foc...

Please sign up or login with your details

Forgot password? Click here to reset