arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 1811.10996cs.CLcs.AIcs.LGmath.STstat.MLstat.TH

CGMH: Constrained Sentence Generation by Metropolis-Hastings Sampling

Institute of Computer Science and Technology, Peking University(北京大学计算机科学技术研究所);ByteDance AI Lab(字节跳动人工智能实验室);AdeptMind Research(AdeptMind研究中心)

Ning Miao, Hao Zhou, Lili Mou, Rui Yan, Lei Li

英文摘要:

In real-world applications of natural language generation, there are often constraints on the target sentences in addition to fluency and naturalness requirements. Existing language generation techniques are usually based on recurrent neural networks (RNNs). However, it is non-trivial to impose constraints on RNNs while maintaining generation quality, since RNNs generate sentences sequentially (or with beam search) from the first word to the last. In this paper, we propose CGMH, a novel approach using Metropolis-Hastings sampling for constrained sentence generation. CGMH allows complicated constraints such as the occurrence of multiple keywords in the target sentences, which cannot be handled in traditional RNN-based approaches. Moreover, CGMH works in the inference stage, and does not require parallel corpora for training. We evaluate our method on a variety of tasks, including keywords-to-sentence generation, unsupervised sentence paraphrasing, and unsupervised sentence error correction. CGMH achieves high performance compared with previous supervised methods for sentence generation. Our code is released at https://github.com/NingMiao/CGMH

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑