A Survey of Machine Learning for Big Code and Naturalness

  • Miltos Allamanis ,
  • Earl T. Barr ,
  • Premkumar Devanbu ,
  • Charles Sutton

ACM Computing Surveys | , Vol 51(4): pp. 81

Publication | DOI

Research at the intersection of machine learning, programming languages, and software engineering has recently taken important steps in proposing learnable probabilistic models of source code that exploit the abundance of patterns of code. In this article, we survey this work. We contrast programming languages against natural languages and discuss how these similarities and differences drive the design of probabilistic models. We present a taxonomy based on the underlying design principles of each model and use it to navigate the literature. Then, we review how researchers have adapted these models to application areas and discuss cross-cutting and application-specific challenges and opportunities.