mlsanityData to 14 Oct 2026

FiLM: Fill-in Language Models for Any-Order Generation

arXiv 2310.09930 ↗First posted 15 Oct 2023cs.CLcited by 13

Not on the map. Why?

Abstract (arXiv)

Language models have become the backbone of today's AI systems. However, their predominant left-to-right generation limits the use of bidirectional context, which is essential for tasks that involve filling text in the middle. We propose the Fill-in Language Model (FiLM), a new language modeling approach that allows for flexible generation at any position without adhering to a specific generation order. Its training extends the masked language modeling objective by adopting varying mask probabilities sampled from the Beta distribution to enhance the generative capabilities of FiLM. During inference, FiLM can seamlessly insert missing phrases, sentences, or paragraphs, ensuring that the outputs are fluent and are coherent with the surrounding context. In both automatic and human evaluations, FiLM outperforms existing infilling methods that rely on left-to-right language models trained on rearranged text segments. FiLM is easy to implement and can be either trained from scratch or fine-tuned from a left-to-right language model. Notably, as the model size grows, FiLM's perplexity approaches that of strong left-to-right language models of similar sizes, indicating FiLM's scalability and potential as a large language model.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 27 of its 50 references that are in the map. First posted on arXiv 15 Oct 2023.

Builds on

27 of 50 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  8. 2016Pointer Sentinel Mixture Modelscited by 3,096
  9. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  10. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  11. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
  12. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
15 more
  1. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
  2. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
  3. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  4. 2017Non-Autoregressive Neural Machine Translationcited by 463
  5. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 308
  6. 2022Efficient Training of Language Models to Fill in the Middlecited by 255
  7. 2022Continuous diffusion for categorical datacited by 214
  8. 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 185
  9. 2022CM3: A Causal Masked Multimodal Model of the Internetcited by 142
  10. 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 125
  11. 2020Enabling Language Models to Fill in the Blankscited by 122
  12. 2020Blank Language Modelscited by 43
  13. 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
  14. 2019Text Infillingcited by 32
  15. 2020Probabilistically Masked Language Model Capable of Autoregressive Generation in Arbitrary Word Ordercited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 1; 2025: 7; 2026: 3.

13 papers.

Sort:

By area: