mlsanityData to 7 Oct 2026

Learning to Extend Program Graphs to Work-in-Progress Code

arXiv 2105.14038 ↗First posted 28 May 2021cs.LG cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Source code spends most of its time in a broken or incomplete state during software development. This presents a challenge to machine learning for code, since high-performing models typically rely on graph structured representations of programs derived from traditional program analyses. Such analyses may be undefined for broken or incomplete code. We extend the notion of program graphs to work-in-progress code by learning to predict edge relations between tokens, training on well-formed code before transferring to work-in-progress code. We consider the tasks of code completion and localizing and repairing variable misuse in a work-in-process scenario. We demonstrate that training relation-aware models with fine-tuned edges consistently leads to improved performance on both tasks.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 50 of its 85 references that are in the map. First posted on arXiv 28 May 2021.

Builds on

50 of 85 references.

References · 50

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2016Layer Normalizationcited by 5,579
  5. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  9. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  11. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  12. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
38 more
  1. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  2. 2018Self-Attention with Relative Position Representationscited by 1,112
  3. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
  4. 2020On Layer Normalization in the Transformer Architecturecited by 906
  5. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  6. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  7. 2018Neural Relational Inference for Interacting Systemscited by 339
  8. 2020Universal Dependencies v2: An Evergrowing Multilingual Treebank Collectioncited by 269
  9. 2018code2vec: Learning Distributed Representations of Codecited by 249
  10. 2019Learning Discrete Structures for Graph Neural Networkscited by 228
  11. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  12. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  13. 2017Learning to Represent Programs with Graphscited by 219
  14. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
  15. 2018Tree-to-tree Neural Networks for Program Translationcited by 93
  16. 2020Graph-based, Self-Supervised Program Repair from Diagnostic Feedbackcited by 93
  17. 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
  18. 2016Neuro-Symbolic Program Synthesiscited by 84
  19. 2020Code Prediction by Feeding Trees to Transformerscited by 70
  20. 2020Gradient Estimation with Stochastic Softmax Trickscited by 66
  21. 2021Language-Agnostic Representation Learning of Source Code from Structure and Contextcited by 63
  22. 2018Generative Code Modeling with Graphscited by 59
  23. 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
  24. 2020Big Code != Big Vocabulary: Open-Vocabulary Models for Source Codecited by 53
  25. 2020Pointer Graph Networkscited by 52
  26. 2019Getafix: Learning to Fix Bugs Automaticallycited by 40
  27. 2020Fast and Memory-Efficient Neural Code Completioncited by 38
  28. 2015On the "Naturalness" of Buggy Codecited by 35
  29. 2020Learning to Execute Programs with Instruction Pointer Attention Graph Neural Networkscited by 35
  30. 2021CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 28
  31. 2019Learning to Fix Build Errors with Graph2Diff Neural Networkscited by 26
  32. 2020ProGraML: Graph-based Deep Learning for Program Optimization and Analysiscited by 23
  33. 2018StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsingcited by 22
  34. 2014Structured Generative Models of Natural Source Codecited by 19
  35. 2018Open Vocabulary Learning on Source Code with a Graph-Structured Cachecited by 10
  36. 2020Learning Graph Structure With A Finite-State Automaton Layercited by 10
  37. 2020Towards Full-line Code Completion with Neural Language Modelscited by 6
  38. 2019Maybe Deep Neural Networks are the Best Choice for Modeling Source Codecited by 5

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 1; 2024: 1.

3 papers.