Copy that! Editing Sequences by Copying Spans
Not on the map. Why?
Abstract (arXiv)
Neural sequence-to-sequence models are finding increasing use in editing of documents, for example in correcting a text document or repairing source code. In this paper, we argue that common seq2seq models (with a facility to copy single tokens) are not a natural fit for such tasks, as they have to explicitly copy each unchanged token. We present an extension of seq2seq models capable of copying entire spans of the input to the output in one step, greatly reducing the number of decisions required during inference. This extension means that there are now many ways of generating the same output, which we handle by deriving a new objective for training and a variation of beam search for inference that explicitly handles this problem. In our experiments on a range of editing tasks of natural language and source code, we show that our new model consistently outperforms simpler baselines.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 4; 2024: 2.
13 papers.
Sort:
- 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2024Learning to Refine with Fine-Grained Natural Language Feedbackcited by 27
- 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Codecited by 20
- 2021Generating Bug-Fixes Using Pretrained Transformerscited by 18
- 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
- 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editingcited by 9
- 2023Non-autoregressive Text Editing with Copy-aware Latent Alignmentscited by 8
- 2021Controlling Text Edition by Changing Answers of Specific Questionscited by 6
- 2022Text Editing as Imitation Gamecited by 1
- 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learningcited by 1
- 2023Leveraging Denoised Abstract Meaning Representation for Grammatical Error Correctioncited by 0
- 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learning15 Oct 2024
- 2024Learning to Refine with Fine-Grained Natural Language Feedback2 Jul 2024
- 2023Non-autoregressive Text Editing with Copy-aware Latent Alignments11 Oct 2023
- 2023WikiIns: A High-Quality Dataset for Controlled Text Editing by Natural Language Instruction8 Oct 2023
- 2023Leveraging Denoised Abstract Meaning Representation for Grammatical Error Correction5 Jul 2023
- 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editing29 May 2023
- 2022Text Editing as Imitation Game21 Oct 2022
- 2022CoditT5: Pretraining for Source Code and Natural Language Editing10 Aug 2022
- 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Code24 May 2022
- 2021Sequence-to-Sequence Learning with Latent Neural Grammars2 Sep 2021
- 2021Controlling Text Edition by Changing Answers of Specific Questions23 May 2021
- 2021Generating Bug-Fixes Using Pretrained Transformers16 Apr 2021
1 more
- 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2024Learning to Refine with Fine-Grained Natural Language Feedbackcited by 27
- 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Codecited by 20
- 2021Generating Bug-Fixes Using Pretrained Transformerscited by 18
- 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
- 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editingcited by 9
- 2023Non-autoregressive Text Editing with Copy-aware Latent Alignmentscited by 8
- 2021Controlling Text Edition by Changing Answers of Specific Questionscited by 6
- 2022Text Editing as Imitation Gamecited by 1
- 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learningcited by 1
- 2023Leveraging Denoised Abstract Meaning Representation for Grammatical Error Correctioncited by 0
12 most cited of 13 All 13 (JSON)
- 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learning15 Oct 2024
- 2024Learning to Refine with Fine-Grained Natural Language Feedback2 Jul 2024
- 2023Non-autoregressive Text Editing with Copy-aware Latent Alignments11 Oct 2023
- 2023WikiIns: A High-Quality Dataset for Controlled Text Editing by Natural Language Instruction8 Oct 2023
- 2023Leveraging Denoised Abstract Meaning Representation for Grammatical Error Correction5 Jul 2023
- 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editing29 May 2023
- 2022Text Editing as Imitation Game21 Oct 2022
- 2022CoditT5: Pretraining for Source Code and Natural Language Editing10 Aug 2022
- 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Code24 May 2022
- 2021Sequence-to-Sequence Learning with Latent Neural Grammars2 Sep 2021
- 2021Controlling Text Edition by Changing Answers of Specific Questions23 May 2021
- 2021Generating Bug-Fixes Using Pretrained Transformers16 Apr 2021
12 newest of 13 All 13 (JSON)