Show Me How To Revise: Improving Lexically Constrained Sentence Generation with XLNet
Xingwei He, Victor O. K. Li
摘要
Lexically constrained sentence generation allows the incorporation of prior knowledge such as lexical constraints into the output. This technique has been applied to machine translation, and dialog response generation. Previous work usually used Markov Chain Monte Carlo (MCMC) sampling to generate lexically constrained sentences, but they randomly determined the position to be edited and the action to be taken, resulting in many invalid refinements. To overcome this challenge, we used a classifier to instruct the MCMC-based models where and how to refine the candidate sentences. First, we developed two methods to create synthetic data on which the pre-trained model is fine-tuned to obtain a reliable classifier. Next, we proposed a two-step approach, “Predict and Revise”, for constrained sentence generation. During the predict step, we leveraged the classifier to compute the learned prior for the candidate sentence. During the revise step, we resorted to MCMC sampling to revise the candidate sentence by conducting a sampled action at a sampled position drawn from the learned prior. We compared our proposed models with many strong baselines on two tasks, generating sentences with lexical constraints and text infilling. Experimental results have demonstrated that our proposed model performs much better than the previous work in terms of sentence fluency and diversity. Our code, pre-trained models and Appendix are available at https://github.com/NLPCode/MCMCXLNet.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper8
- Parallel Refinements for Lexically Constrained Text Generation with BARTXingwei HeEMNLP 2021 · 被引用 34 次
- Unsupervised Editing for Counterfactual StoriesJiangjie Chen, Chun Gan, Sijie Cheng, Hao Zhou 等AAAI 2022 · 被引用 13 次
- Metric-guided Distillation: Distilling Knowledge from the Metric to Ranker and Retriever for Generative Commonsense ReasoningXingwei He, Yeyun Gong, A-Long Jin, Weizhen Qi 等EMNLP 2022 · 被引用 10 次
- Relation-Constrained Decoding for Text GenerationXiang Chen, Zhixian Yang, Xiaojun WanNeurIPS 2022 · 被引用 7 次
- Improving Factual Error Correction by Learning to Inject Factual ErrorsXingwei He, Qianru Zhang, A-Long Jin, Jun Ma 等AAAI 2024 · 被引用 5 次
它引用的顶会 Paper3
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 被引用 4,112 次
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad 等ACL 2020 · 被引用 1,224 次
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 被引用 541 次
相关 Paper
- Gradient-guided Unsupervised Lexically Constrained Text GenerationLei ShaEMNLP 2020 · 被引用 35 次
- Syntactic and Semantic Control of Large Language Models via Sequential Monte CarloJoão Loula, Benjamin LeBrun, Li Du, Ben Lipkin 等ICLR 2025
- BiTIIMT: A Bilingual Text-infilling Method for Interactive Machine TranslationYanling Xiao, Lemao Liu, Guoping Huang, Qu Cui 等ACL 2022 · 被引用 21 次
- Control Large Language Models via Divide and ConquerBingxuan Li, Yiwei Wang, Tao Meng, Kai-Wei Chang 等EMNLP 2024 · 被引用 1 次
- Controlled Text Generation with Natural Language InstructionsWangchunshu Zhou, Yuchen Eleanor Jiang, Ethan Wilcox, Ryan Cotterell 等ICML 2023 · 被引用 121 次
