paper-with-me

Papers

Text Infilling

2019-01-01 · Wanrong Zhu, Zhiting Hu, Eric Xing

Recent years have seen remarkable progress of text generation in different contexts, such as the most common setting of generating text from scratch, and the emerging paradigm of retrieval-and-rewriting. Text infilling, which fills missing text portions of a sentence or paragraph, is also of numerous use in real life, yet is under-explored. Previous work has focused on restricted settings by either assuming single word per missing portion or limiting to a single missing portion to the end of the text. This paper studies the general task of text infilling, where the input text can have an arbitrary number of portions to be filled, each of which may require an arbitrary unknown number of tokens. We study various approaches for the task, including a self-attention model with segment-aware position encoding and bidirectional context modeling. We create extensive supervised data by masking out text with varying strategies. Experiments show the self-attention model greatly outperforms others, creating a strong baseline for future research.

📄 PDF Abstract BibTeX arXiv:1901.00158

Code (1)

VegB/Text_Infilling 공식 구현 tf

Tasks

RetrievalSentenceText GenerationText Infilling

Similar Papers 제목 키워드 기반

A-TIP: Attribute-aware Text Infilling via Pre-trained Language Model

2022-10-01 · COLING 2022 10 · Dongyuan Li, Jingyi You, Kotaro Funakoshi, Manabu Okumura

Text infilling aims to restore incomplete texts by filling in blanks, which has attracted more attention recently because of its wide application in ancient text restoration and text rewriting. However, attribute- aware …

Ancient Text RestorationAttributeLanguage ModelingLanguage Modelling+1

Diffusion LMs Can Approximate Optimal Infilling Lengths Implicitly

2026-01-31 · Hengchang Liu, Zhao Yang, Bing Su arxiv

Diffusion language models (DLMs) provide a bidirectional generation framework naturally suited for infilling, yet their performance is constrained by the pre-specified infilling length. In this paper, we reveal that DLMs…

Enabling Language Models to Fill in the Blanks

2020-05-11 · ACL 2020 6 · Chris Donahue, Mina Lee, Percy Liang

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 a…

Language ModelingLanguage ModellingText Infilling

Melody Infilling with User-Provided Structural Context

2022-10-06 · Chih-Pin Tan, Alvin W. Y. Su, Yi-Hsuan Yang

This paper proposes a novel Transformer-based model for music score infilling, to generate a music passage that fills in the gap between given past and future contexts. While existing infilling approaches can generate a …

TIGS: An Inference Algorithm for Text Infilling with Gradient Search

2019-05-26 · ACL 2019 7 · Dayiheng Liu, Jie Fu, PengFei Liu, Jiancheng Lv

Text infilling is defined as a task for filling in the missing part of a sentence or paragraph, which is suitable for many real-world natural language generation scenarios. However, given a well-trained sequential genera…

SentenceText GenerationText Infilling