Pith. sign in

REVIEW 2 cited by

Enabling Language Models to Fill in the Blanks

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2005.05339 v2 pith:YAXEPAGE submitted 2020-05-11 cs.CL cs.AIcs.LG

classification cs.CLcs.AIcs.LG
keywords infillingtextlanguageapproachdocumentenablemodelssentences
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We present a simple approach for text infilling, the task of predicting missing spans of text at any position in a document. While infilling could enable rich functionality especially for writing assistance tools, more attention has been devoted to language modeling---a special case of infilling where text is predicted at the end of a document. In this paper, we aim to extend the capabilities of language models (LMs) to the more general task of infilling. To this end, we train (or fine-tune) off-the-shelf LMs on sequences containing the concatenation of artificially-masked text and the text which was masked. We show that this approach, which we call infilling by language modeling, can enable LMs to infill entire sentences effectively on three different domains: short stories, scientific abstracts, and lyrics. Furthermore, we show that humans have difficulty identifying sentences infilled by our approach as machine-generated in the domain of short stories.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Structure-Aware Fill-in-the-Middle Pretraining for Code

    cs.CL 2025-05 conditional novelty 7.0 of 10

    AST-FIM masks complete syntax-tree subtrees during fill-in-the-middle pretraining, improving infilling performance on real-world code edits.

  2. Enabling Autoregressive Models to Fill In Masked Tokens

    cs.LG 2025-02 conditional novelty 6.0 of 10

    Combining a frozen MLM and AR model with a trained linear layer enables autoregressive models to perform masked token infilling with KV-cached inference.

Pith tools