Blank Language Models
Tianxiao Shen, Victor Quach, Regina Barzilay, Tommi S. Jaakkola
Abstract
We propose Blank Language Model (BLM), a model that generates sequences by dynamically creating and filling in blanks. The blanks control which part of the sequence to expand, making BLM ideal for a variety of text editing and rewriting tasks. The model can start from a single blank or partially completed text with blanks at specified locations. It iteratively determines which word to place in a blank and whether to insert new blanks, and stops generating when no blanks are left to fill. BLM can be efficiently trained using a lower bound of the marginal data likelihood. On the task of filling missing text snippets, BLM significantly outperforms all other baselines in terms of both accuracy and fluency. Experiments on style transfer and damaged ancient text restoration demonstrate the potential of this framework for a wide range of applications. 1
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers12
- PEER: A Collaborative Language ModelTimo Schick, Jane A. Yu, Zhengbao Jiang, Fabio Petroni et al.ICLR 2023 · 44 citations
- Nutri-bullets: Summarizing Health Studies by Composing SegmentsDarsh J. Shah, Lili Yu, Tao Lei, Regina BarzilayAAAI 2021 · 12 citations
- Interactive Text GenerationFelix Faltings, Michel Galley, Kianté Brantley, Baolin Peng et al.EMNLP 2023 · 7 citations
- INSET: Sentence Infilling with INter-SEntential TransformerYichen Huang, Yizhe Zhang, Oussama Elachqar, Yu ChengACL 2020 · 7 citations
- Self-Infilling Code GenerationLin Zheng, Jianbo Yuan, Zhi Zhang, Hongxia Yang et al.ICML 2024 · 6 citations
Builds on2
Related papers
- GLM: General Language Model Pretraining with Autoregressive Blank InfillingZhengxiao Du, Yujie Qian, Xiao Liu, Ming Ding et al.ACL 2022
- UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-TrainingHangbo Bao, Li Dong, Furu Wei, Wenhui Wang et al.ICML 2020 · 423 citations
- Incomplete Utterance Rewriting as Semantic SegmentationQian Liu, Bei Chen, Jian-Guang Lou, Bin Zhou et al.EMNLP 2020 · 51 citations
- BiTIIMT: A Bilingual Text-infilling Method for Interactive Machine TranslationYanling Xiao, Lemao Liu, Guoping Huang, Qu Cui et al.ACL 2022 · 21 citations
- Filling the Gaps in Ancient Akkadian Texts: A Masked Language Modelling ApproachKoren Lazar, Benny Saret, Asaf Yehudai, Wayne Horowitz et al.EMNLP 2021 · 15 citations
