AIPLMay 25, 2017

Neural Attribute Machines for Program Generation

arXiv:1705.09231v435 citations
Originality Incremental advance
AI Analysis

This addresses the issue of generating grammatically correct programs for AI and programming language applications, but it is incremental as it builds on existing neural sequence generation methods.

The paper tackled the problem of recurrent neural networks struggling to learn grammar rules when generating sequences, by introducing Neural Attribute Machines (NAMs) that incorporate a logical machine to teach constraints, resulting in significantly fewer grammar violations during generation.

Recurrent neural networks have achieved remarkable success at generating sequences with complex structures, thanks to advances that include richer embeddings of input and cures for vanishing gradients. Trained only on sequences from a known grammar, though, they can still struggle to learn rules and constraints of the grammar. Neural Attribute Machines (NAMs) are equipped with a logical machine that represents the underlying grammar, which is used to teach the constraints to the neural machine by (i) augmenting the input sequence, and (ii) optimizing a custom loss function. Unlike traditional RNNs, NAMs are exposed to the grammar, as well as samples from the language of the grammar. During generation, NAMs make significantly fewer violations of the constraints of the underlying grammar than RNNs trained only on samples from the language of the grammar.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes