Generative Code Modeling with Graphs

05/22/2018
by   Marc Brockschmidt, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/09/2020

Automatic Code Summarization via Multi-dimensional Semantic Fusing in GNN

Source code summarization aims to generate natural language summaries fr...
research
11/01/2017

Learning to Represent Programs with Graphs

Learning tasks on source code (i.e., formal languages) have been conside...
research
01/02/2014

Structured Generative Models of Natural Source Code

We study the problem of building generative models of natural source cod...
research
01/28/2022

HEAT: Hyperedge Attention Networks

Learning from structured data is a core machine learning task. Commonly,...
research
03/25/2022

Supplemental Material: Lifelong Generative Modelling Using Dynamic Expansion Graph Model

In this article, we provide the appendix for Lifelong Generative Modelli...
research
06/04/2014

Augmentative Message Passing for Traveling Salesman Problem and Graph Partitioning

The cutting plane method is an augmentative constrained optimization pro...
research
05/10/2022

Iterative models for complex networks formed by extending cliques

We consider a new model for complex networks whose underlying mechanism ...

Please sign up or login with your details

Forgot password? Click here to reset