POINTER: Constrained Text Generation via Insertion-based Generative Pre-training
Zhang, Yizhe, Wang, Guoyin, Li, Chunyuan, Gan, Zhe, Brockett, Chris, Dolan, Bill
–arXiv.org Artificial Intelligence
Large-scale pre-trained language models, such as BERT and GPT-2, have achieved excellent performance in language representation learning and free-form text generation. However, these models cannot be directly employed to generate text under specified lexical constraints. To address this challenge, we present POINTER, a simple yet novel insertion-based approach for hard-constrained text generation. The proposed method operates by progressively inserting new tokens between existing tokens in a parallel manner. This procedure is recursively applied until a sequence is completed. The resulting coarse-to-fine hierarchy makes the generation process intuitive and interpretable. Since our training objective resembles the objective of masked language modeling, BERT can be naturally utilized for initialization. We pre-train our model with the proposed progressive insertion-based objective on a 12GB Wikipedia dataset, and fine-tune it on downstream hard-constrained generation tasks. Non-autoregressive decoding yields a logarithmic time complexity during inference time. Experimental results on both News and Yelp datasets demonstrate that POINTER achieves state-of-the-art performance on constrained text generation. We intend to release the pre-trained model to facilitate future research.
arXiv.org Artificial Intelligence
May-1-2020
- Country:
- North America > United States
- New York (0.04)
- Missouri (0.04)
- Kansas (0.04)
- Washington > King County
- Redmond (0.04)
- North Carolina > Durham County
- Durham (0.04)
- California > Los Angeles County
- Santa Monica (0.04)
- Europe
- United Kingdom > England (0.04)
- Russia > Central Federal District
- Moscow Oblast > Moscow (0.04)
- Asia
- Russia (0.04)
- Middle East > Syria
- Aleppo Governorate > Aleppo (0.04)
- China
- North America > United States
- Genre:
- Research Report (1.00)
- Industry:
- Government (0.93)
- Banking & Finance > Real Estate (0.46)
- Technology: