Learning to Represent Edits

Pengcheng Yin, Graham Neubig, Miltiadis Allamanis, Marc Brockschmidt, Alexander L. Gaunt
10/31/2018
122 citations
cs.LGcs.SEstat.ML

Official code: microsoft/msrc-dpu-learning-to-represent-edits (28 stars, C#, MIT, last commit 2018-11-03).

Abstract

We introduce the problem of learning distributed representations of edits. By combining a "neural editor" with an "edit encoder", our models learn to represent the salient information of an edit and can be used to apply edits to new inputs.

Show full abstract

We experiment on natural language and source code edit data. Our evaluation yields promising results that suggest that our neural network models learn to capture the structure and semantics of edits. We hope that this interesting task and data source will inspire other researchers to work further on this problem.

View on arXivView PDF

Code Implementations(1)

MIT

C# Data Extraction for "Learning to Represent Edits"

289C#, PythonOct 29, 20188 years agoMIT

Similar Papers

Cite this paper

@article{yin2018learning,
  title  = {Learning to Represent Edits},
  author = {Pengcheng Yin and Graham Neubig and Miltiadis Allamanis and Marc Brockschmidt and Alexander L. Gaunt},
  year   = {2018},
  eprint = {1810.13337},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.13337}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1810.13337.svg)](https://codeofpaper.com/paper/1810.13337)

Discussion