AutoTemplate: A Simple Recipe for Lexically Constrained Text Generation
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Nov-15-2022
- Country:
- Africa > Middle East (0.04)
- Oceania > Australia
- North America
- Dominican Republic (0.04)
- United States
- New York (0.04)
- Pennsylvania (0.04)
- Maryland > Baltimore (0.04)
- Nevada > Clark County
- Las Vegas (0.05)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Massachusetts > Middlesex County
- Cambridge (0.14)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- California > San Francisco County
- San Francisco (0.04)
- Canada
- Quebec > Montreal (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Europe
- Germany > Berlin (0.04)
- Middle East (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Bulgaria > Sofia City Province
- Sofia (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.14)
- Japan > Honshū
- Kansai > Osaka Prefecture > Osaka (0.04)
- China > Beijing
- Beijing (0.04)
- Middle East > UAE
- Genre:
- Research Report > New Finding (0.34)
- Industry:
- Banking & Finance (0.93)
- Government (0.68)
- Leisure & Entertainment > Games
- Computer Games (0.68)
- Technology: