mlsanityData to 7 Oct 2026

On Learning Meaningful Code Changes via Neural Machine Translation

arXiv 1901.09102 ↗First posted 25 Jan 2019cs.SE cs.CL cs.LGcited by 50

Not on the map. Why?

Abstract (arXiv)

Recent years have seen the rise of Deep Learning (DL) techniques applied to source code. Researchers have exploited DL to automate several development and maintenance tasks, such as writing commit messages, generating comments and detecting vulnerabilities among others. One of the long lasting dreams of applying DL to source code is the possibility to automate non-trivial coding activities. While some steps in this direction have been taken (e.g., learning how to fix bugs), there is still a glaring lack of empirical evidence on the types of code changes that can be learned and automatically applied by DL. Our goal is to make this first important step by quantitatively and qualitatively investigating the ability of a Neural Machine Translation (NMT) model to learn how to automatically apply code changes implemented by developers during pull requests. We train and experiment with the NMT model on a set of 236k pairs of code components before and after the implementation of the changes provided in the pull requests. We show that, when applied in a narrow enough context (i.e., small/medium-sized pairs of methods before/after the pull request changes), NMT can automatically replicate the changes implemented by developers during pull requests in up to 36% of the cases. Moreover, our qualitative analysis shows that the model is capable of learning and replicating a wide variety of meaningful code changes, especially refactorings and bug-fixing activities. Our results pave the way for novel research in the area of DL on code, such as the automatic learning and applications of refactoring.

Key facts. Cited by 50 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Jan 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 8; 2022: 6; 2023: 16; 2024: 7; 2025: 9; 2026: 4.

50 papers.

Sort:

By area:

  1. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
  2. 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
  3. 2023LLaMA-Reviewer: Advancing Code Review Automation with Large Language Models through Parameter-Efficient Fine-Tuningcited by 47
  4. 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
  5. 2023Vulnerabilities in AI Code Generators: Exploring Targeted Data Poisoning Attackscited by 29
  6. 2021On Multi-Modal Learning of Editing Source Codecited by 25
  7. 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
  8. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  9. 2023Text-to-SQL Error Correction with Language Models of Codecited by 21
  10. 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Codecited by 20
  11. 2022FixEval: Execution-based Evaluation of Program Fixes for Programming Problemscited by 17
  12. 2021Shellcode_IA32: A Dataset for Automatic Shellcode Generationcited by 16
38 more
  1. 2023ITER: Iterative Neural Repair for Multi-Location Patchescited by 16
  2. 2023GrACE: Generation using Associated Code Editscited by 16
  3. 2024RePair: Automated Program Repair with Process-based Feedbackcited by 16
  4. 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 15
  5. 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
  6. 2023Benchmarking Causal Study to Interpret Large Language Models for Source Codecited by 14
  7. 2023KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repaircited by 13
  8. 2022CodeEditor: Learning to Edit Source Code with Pre-trained Modelscited by 12
  9. 2023Toward a Theory of Causation for Interpreting Neural Code Modelscited by 12
  10. 2023Multilingual Code Co-Evolution Using Large Language Modelscited by 9
  11. 2021SYNFIX: Automatically Fixing Syntax Errors using Compiler Diagnosticscited by 8
  12. 2026RovoDev Code Reviewer: A Large-Scale Online Evaluation of LLM-based Code Review Automation at Atlassiancited by 6
  13. 2021Autoencoders as Tools for Program Synthesiscited by 4
  14. 2024Learning Program Behavioral Models from Synthesized Input-Output Pairscited by 4
  15. 2024Leveraging Reviewer Experience in Code Review Comment Generationcited by 4
  16. 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
  17. 2023What are the Machine Learning best practices reported by practitioners on Stack Exchange?cited by 3
  18. 2023Enhancing Robustness of AI Offensive Code Generators via Data Augmentationcited by 3
  19. 2024Stability Analysis of Various Symbolic Rule Extraction Methods from Recurrent Neural Networkcited by 3
  20. 2024Enhancing AI-based Generation of Software Exploits with Contextual Informationcited by 3
  21. 2025CodeReviewQA: The Code Review Comprehension Assessment for Large Language Modelscited by 3
  22. 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Modelscited by 2
  23. 2025TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammarcited by 2
  24. 2021Data-Driven AI Model Signal-Awareness Enhancement and Introspectioncited by 1
  25. 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
  26. 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?cited by 1
  27. 2024The Rise and Fall(?) of Software Engineeringcited by 1
  28. 2025SnipGen: A Mining Repository Framework for Evaluating LLMs for Codecited by 1
  29. 2025Previously on... Automating Code Reviewcited by 1
  30. 2026RAG-Reflect: Agentic Retrieval-Augmented Generation with Reflections for Comment-Driven Code Maintenance on Stack Overflowcited by 1
  31. 2021Exploring Plausible Patches Using Source Code Embeddings in JavaScriptcited by 0
  32. 2022Can We Generate Shellcodes via Natural Language? An Empirical Studycited by 0
  33. 2023Towards machine learning guided by best practicescited by 0
  34. 2025Fine-Tuning Multilingual Language Models for Code Review: An Empirical Study on Industrial C# Projectscited by 0
  35. 2025Exploring the Potential of Large Language Models in Fine-Grained Review Comment Classificationcited by 0
  36. 2025Smart Paste: Automatically Fixing Copy/Paste for Google Developerscited by 0
  37. 2025SoK: Understanding (New) Security Issues Across AI4Code Use Casescited by 0
  38. 2026Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineeringcited by 0