Generative Code Modeling with Graphs

By Marc Brockschmidt, Miltiadis Allamanis, Alexander L. Gaunt, Oleksandr Polozov. 2018

193 citations recorded by the source corpus.

Generative models for source code are an interesting structured prediction problem, requiring to reason about both hard syntactic and semantic constraints as well as about natural, likely programs. We present a novel model for this problem that uses a graph to represent the intermediate state of the generated output. The generative procedure interleaves grammar-driven expansion steps with graph augmentation and neural message passing steps. An experimental evaluation shows that our new model can generate semantically meaningful expressions, outperforming a range of strong baselines.

Subfields: Artificial Intelligence, Information Systems, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Mohit Bansal
  3. Jianfeng Gao
  4. Yoshua Bengio
  5. Graham Neubig
  6. Luke S. Zettlemoyer
  7. Quoc V. Le
  8. Miltiadis Allamanis

In Information Systems

  1. Miltiadis Allamanis
  2. Charles Sutton
  3. Uri Alon
  4. Eran Yahav
  5. Ge Li
  6. Omer Levy
  7. Vincent J. Hellendoorn
  8. Marc Brockschmidt

In Natural Language Processing

  1. Miltiadis Allamanis
  2. Charles Sutton
  3. Uri Alon
  4. Eran Yahav
  5. Omer Levy
  6. Percy Liang
  7. Marc Brockschmidt
  8. Nan Duan

Citations in the corpus