mlsanityData to 14 Oct 2026

Learning to Fix Build Errors with Graph2Diff Neural Networks

arXiv 1911.01205 ↗First posted 4 Nov 2019cs.LG cs.AI cs.SEcited by 26

Not on the map. Why?

Abstract (arXiv)

Professional software developers spend a significant amount of time fixing builds, but this has received little attention as a problem in automatic program repair. We present a new deep learning architecture, called Graph2Diff, for automatically localizing and fixing build errors. We represent source code, build configuration files, and compiler diagnostic messages as a graph, and then use a Graph Neural Network model to predict a diff. A diff specifies how to modify the code's abstract syntax tree, represented in the neural network as a sequence of tokens and of pointers to code locations. Our network is an instance of a more general abstraction that we call Graph2Tocopo, which is potentially useful in any development tool for predicting source code changes. We evaluate the model on a dataset of over 500k real build errors and their resolutions from professional developers. Compared to the approach of DeepDelta (Mesbah et al., 2019), our approach tackles the harder task of predicting a more precise diff but still achieves over double the accuracy.

Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Nov 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 11; 2022: 4; 2023: 7; 2024: 1; 2025: 0; 2026: 3.

26 papers.

Sort:

By area:

  1. 2021Program Synthesis with Large Language Modelscited by 3,637
  2. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  3. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  4. 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
  5. 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
  6. 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
  7. 2021Self-Supervised Bug Detection and Repaircited by 59
  8. 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
  9. 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
  10. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  11. 2023InstructCoder: Instruction Tuning Large Language Models for Code Editingcited by 29
  12. 2021On Multi-Modal Learning of Editing Source Codecited by 25
14 more
  1. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  2. 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
  3. 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
  4. 2023KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repaircited by 13
  5. 2022Fix Bugs with Transformer through a Neural-Symbolic Edit Grammarcited by 8
  6. 2023LExecutor: Learning-Guided Executioncited by 7
  7. 2023ZeroLeak: Using LLMs for Scalable and Cost Effective Side-Channel Patchingcited by 6
  8. 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
  9. 2022A Library for Representing Python Programs as Graphs for Machine Learningcited by 4
  10. 2021Learning to Extend Program Graphs to Work-in-Progress Codecited by 3
  11. 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Languagecited by 1
  12. 2023Graph Neural Networks For Mapping Variables Between Programs -- Extended Versioncited by 0
  13. 2026Evaluating LLM Agents on Automated Software Analysis Taskscited by 0
  14. 2026Agentic Generation of AST Transformation Rules for Fixing Breaking Updatescited by 0