HackerPapers

arXiv:1611.01989cs.LG

DeepCoder: Learning to Write Programs

Matej Balog, Alexander L. Gaunt, Marc Brockschmidt, Sebastian Nowozin, Daniel Tarlow

Abstract

We develop a first line of attack for solving programming competition-style problems from input-output examples using deep learning. The approach is to train a neural network to predict properties of the program that generated the outputs from the inputs. We use the neural network's predictions to augment search techniques from the programming languages community, including enumerative search and an SMT-based solver. Empirically, we show that our approach leads to an order of magnitude speedup over the strong non-augmented baselines and a Recurrent Neural Network approach, and that we are able to solve problems of difficulty comparable to the simplest problems on programming competition websites.

arXiv comments
Submitted to ICLR 2017
Journal reference
DOI
Subjects
cs.LGMachine Learning

On Hacker News

Linked by 3 identifiable commenters in 3 comments across 3 threads, from Feb 2017 to Aug 2017. Found in 2 HN submissions from Nov 2016 to Feb 2017. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

  1. Coding Machines 1 comment
    • The evolutionary pressure is just people or programs detecting certain strains (it would generate lots of strains randomly). I think the only real issue to plausibility here is I'm not sure brute force is enough to make enough plausible behavioral branches, at least with current…

      darkmightyView on HNParent context

    • That's interesting that the paper was on arxiv since November ( https://arxiv.org/abs/1611.01989 ) and people payed attention just now.

      EvgeniyZhView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.