Summary
This paper describes FiLM (Fill-in Language Model), a novel approach to non-causal language modeling, wherein the model predicts multiple masked tokens in an input sequence that can be variable in number and flexible in locations. FiLM is trained using a novel masking schedule based on a Beta distribution, which is shown in this paper to outperform the fixed masking probability and a uniform distribution in terms of achieving lower perplexities on eval datasets. FiLM can be trained on pretrained foundation models that are either masked LMs (MLMs) or causal LMs (CLMs). The authors conducted experiments with RoBERTa as an example of the MLMs and with GPT-2 as an example of CLMs. The authors show that FiLMs achieve substantially higher ROGUE scores (indicating higher quality) for the text infilling task compared to a causal masking (CM) baselines. On a causal language modeling benchmark, FiLM show worse (higher) perplexity compared to a traditional CLM, which was expected. But these perplexity gaps diminish with increasing model size. The authors also provide a few concrete examples of text filled in by FiLM and compared them with outputs of CM on the same input prompts, showing a clear advantage in terms of the coherence of the filled text by FiLM. Evaluation of infilling results based on human raters and GPT-4 show a clear overall preference for FiLM compared to CLMs.
Strengths
S1. A clearly-written report, easy to follow. It describes the general motivation, methodology, and results of FiLM well.
S2. Introducing a novel noise schedule for masking tokens for the MLM training objective. Convincingly demonstrating its advantage over other noise schedule including the uniform distribution and a fixed mask probability.
S3. Defining a number of decoding strategies (schedules) for FiLM to accommodate multiple masks in a sequence, including random, left-to-right, right-to-left, min-entropy, and max-entropy. Using empirical results to illustrate the relative advantage of left-to-right and min-entropy.
S4. Using a diverse set of evaluation datasets including WikiText-103, 1BW, and ROCStories, employing both automated metrics such as ROGUE and subjective metrics such as pairwise preference (according to human raters or GPT4).
Weaknesses
W1. The presentation in the manuscript lacks some details (see my questions below). But that should be addressable by the authors.
W2. Lack of evaluation on an out-of-domain evaluation set. The evaluation of FiLM that the authors conducted over the 1BW and ROCStories datasets are based on FiLMs trained on these datasets. Therefore it remains to be shown that the infilling capability of FiLM can be extended to text domains unseen during training. This feels important for the practical usefulness of FiLM in real-world applications.
W3. Relating to point W2 above, the author should better motivate FiLM and its infilling capability. In what real-world applications would FiLM be useful? Would FiLM be useful as a foundational model for non-infilling tasks such as classification?
Questions
Q1. Need more information on human evaluation procedures. Who were the human raters? How were they recruited? What was the task like? How were they trained on this task? Was the mask part revealed to the human rater while this task is performed? How was inter-rater reliability (IRR) evaluated?
Q2. A question related to Q1 was how the GPT4 model was prompted to perform the rating task, including the prompt template, the sampling temperature, etc.
Q3. What tokenizer(s) did the RoBERTa and GPT-2 models use? For fair comparisons (e.g., results in Figure 5), they ought to be based on the same tokenizer. Some tokenizers are at the subword level. For example, is it possible that certain words are split into two parts and masked partially during mask generation? How does this affect the training, decoding, and human evaluation?
Q4. How do the training examples look like? What is the output shape of FiLM? Is it the set of probability scores over the vocabulary for a single token, or the sets of scores for multiple tokens. This is related to the question whether a sequence with N masks (where N can be >1 in general) yields a single or multiple (N) training examples.
Q5. There seems to be some discrepancy between Figures 6 and 7 (right panels). While Figure 6 Right Panel shows only the eval results from GPT4, Figure 7 Right Panels show both human and GPT4 rating results. Why not show human rating results in Figure 6 (i.e., for the WikiText-103 and 1BW datasets) as well?
Rating
6: marginally above the acceptance threshold
Confidence
3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.