XL-Editor: Post-editing Sentences with XLNet
By Yong-Siang Shih, Wei-Cheng Chang, Yiming Yang. 2019
11 citations recorded by the source corpus.
While neural sequence generation models achieve initial success for many NLP applications, the canonical decoding procedure with left-to-right generation order (i.e., autoregressive) in one-pass can not reflect the true nature of human revising a sentence to obtain a refined result. In this work, we propose XL-Editor, a novel training framework that enables state-of-the-art generalized autoregressive pretraining methods, XLNet specifically, to revise a given sentence by the variable-length insertion probability. Concretely, XL-Editor can (1) estimate the probability of inserting a variable-length sequence into a specific position of a given sentence; (2) execute post-editing operations such as insertion, deletion, and replacement based on the estimated variable-length insertion probability; (3) complement existing sequence-to-sequence models to refine the generated sequences. Empirically, we first demonstrate better post-editing capabilities of XL-Editor over XLNet on the text insertion and deletion tasks, which validates the effectiveness of our proposed framework. Furthermore, we extend XL-Editor to the unpaired text style transfer task, where transferring the target style onto a given sentence can be naturally viewed as post-editing the sentence into the target style. XL-Editor achieves significant improvement in style transfer accuracy and also maintains coherent semantic of the original sentence, showing the broad applicability of our method.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Luke S. Zettlemoyer
- Percy Liang
- Hannaneh Hajishirzi
- Mohit Bansal
- Yejin Choi
- Jianfeng Gao
- Michael Lewis
- Wen-tau Yih
In Computer Vision and Pattern Recognition
- Luke S. Zettlemoyer
- Percy Liang
- Wen-tau Yih
- Michael Lewis
- Mohit Bansal
- Luc Van Gool
- Hannaneh Hajishirzi
- Eric Wallace
In Natural Language Processing
- Percy Liang
- Luke S. Zettlemoyer
- Yejin Choi
- Wen-tau Yih
- Hannaneh Hajishirzi
- Graham Neubig
- Jianfeng Gao
- Mohit Bansal
Citations in the corpus
- InCoder: A Generative Model for Code Infilling and Synthesis (2022, background): “, editing sentences [57], restoring ancient text [9], and fixing bugs in source code.”
- Enabling Language Models to Fill in the Blanks (2020, background): “1 Systems capable of infilling have the potential to enable rich applications such as assisting humans in editing or revising text (Shih et al., 2019), connecting fragmented ideas (AI21, 2019), and restoring ancient documents (Assael et al., 2019).”
- Blank Language Models (2020, background): “Similarly, XL-Net requires absolute positional embedding and thus does not support unknown-length text infilling (Yang et al., 2019; Shih et al., 2019).”