mlsanityData to 7 Oct 2026

CODIT: Code Editing with Tree-Based Neural Models

arXiv 1810.00314 ↗First posted 30 Sep 2018cs.SEcited by 40

Not on the map. Why?

Abstract (arXiv)

The way developers edit day-to-day code tends to be repetitive, often using existing code elements. Many researchers have tried to automate repetitive code changes by learning from specific change templates which are applied to limited scope. The advancement of deep neural networks and the availability of vast open-source evolutionary data opens up the possibility of automatically learning those templates from the wild. However, deep neural network based modeling for code changes and code in general introduces some specific problems that needs specific attention from research community. For instance, compared to natural language, source code vocabulary can be significantly larger. Further, good changes in code do not break its syntactic structure. Thus, deploying state-of-the-art neural network models without adapting the methods to the source code domain yields sub-optimal results. To this end, we propose a novel tree-based neural network system to model source code changes and learn code change patterns from the wild. Specifically, we propose a tree-based neural machine translation model to learn the probability distribution of changes in code. We realize our model with a change suggestion engine, CODIT, and train the model with more than 24k real-world changes and evaluate it on 5k patches. Our evaluation shows the effectiveness of CODITin learning and suggesting patches. CODIT can also learn specific bug fix pattern from bug fixing patches and can fix 25 bugs out of 80 bugs in Defects4J.

Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). First posted on arXiv 30 Sep 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 4; 2023: 14; 2024: 5; 2025: 9; 2026: 1.

40 papers.

Sort:

By area:

  1. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  2. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
  3. 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
  4. 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
  5. 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
  6. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  7. 2023InstructCoder: Instruction Tuning Large Language Models for Code Editingcited by 28
  8. 2023Refactoring Programs Using Large Language Models with Few-Shot Examplescited by 27
  9. 2021On Multi-Modal Learning of Editing Source Codecited by 25
  10. 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
  11. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  12. 2021Towards Learning (Dis)-Similarity of Source Code from Program Contrastscited by 17
28 more
  1. 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
  2. 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
  3. 2023GrACE: Generation using Associated Code Editscited by 16
  4. 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
  5. 2023KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repaircited by 13
  6. 2022CodeEditor: Learning to Edit Source Code with Pre-trained Modelscited by 12
  7. 2024Diffusion On Syntax Trees For Program Synthesiscited by 10
  8. 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editingcited by 9
  9. 2023Multilingual Code Co-Evolution Using Large Language Modelscited by 9
  10. 2022Poison Attack and Defense on Deep Source Code Processing Modelscited by 8
  11. 2025ReCode: Improving LLM-based Code Repair with Fine-Grained Retrieval-Augmented Generationcited by 6
  12. 2024Towards Reliable Evaluation of Neural Program Repair with Natural Robustness Testingcited by 5
  13. 2026From Completion to Editing: Unlocking Context-Aware Code Infilling via Search-and-Replace Instruction Tuningcited by 5
  14. 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
  15. 2023Do Language Models Learn Semantics of Code? A Case Study in Vulnerability Detectioncited by 4
  16. 2025EditLord: Learning Code Transformation Rules for Code Editingcited by 4
  17. 2024SuperCoder2.0: Technical Report on Exploring the feasibility of LLMs as Autonomous Programmercited by 3
  18. 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executorscited by 3
  19. 2025AuPair: Golden Example Pairs for Code Repaircited by 3
  20. 2023Program Repair with Minimal Edits Using CodeT5cited by 2
  21. 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectorscited by 2
  22. 2025NES: An Instruction-Free, Low-Latency Next Edit Suggestion Framework Powered by Learned Historical Editing Trajectoriescited by 2
  23. 2025Next Edit Prediction: Learning to Predict Code Edits from Context and Interaction Historycited by 2
  24. 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Modelscited by 2
  25. 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
  26. 2025A Multi-Dataset Evaluation of Models for Automated Vulnerability Repaircited by 1
  27. 2023On ML-Based Program Translation: Perils and Promisescited by 0
  28. 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repaircited by 0