Convolutional Neural Networks over Tree Structures for Programming Language Processing

By Lili Mou, Ge Li, Lu Zhang, Tao Wang, Zhi Jin. 2014

843 citations recorded by the source corpus.

Programming language processing (similar to natural language processing) is a hot research topic in the field of software engineering; it has also aroused growing interest in the artificial intelligence community. However, different from a natural language sentence, a program contains rich, explicit, and complicated structural information. Hence, traditional NLP models may be inappropriate for programs. In this paper, we propose a novel tree-based convolutional neural network (TBCNN) for programming language processing, in which a convolution kernel is designed over programs' abstract syntax trees to capture structural information. TBCNN is a generic architecture for programming language processing; our experiments show its effectiveness in two different program analysis tasks: classifying programs according to functionality, and detecting code snippets of certain patterns. TBCNN outperforms baseline methods, including several neural models for NLP.

Subfields: Artificial Intelligence, Information Systems, Software, Code Generation & Program Synthesis, Program Analysis & Verification

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. Mohit Bansal
  2. Percy Liang
  3. Jianfeng Gao
  4. Luke S. Zettlemoyer
  5. Graham Neubig
  6. Yoshua Bengio
  7. Charles Sutton
  8. Quoc V. Le

In Information Systems

  1. Charles Sutton
  2. Michael Pradel
  3. Miltiadis Allamanis
  4. Koushik Sen
  5. Rishabh Singh
  6. Baishakhi Ray
  7. Ge Li
  8. Premkumar T. Devanbu

In Software

  1. Charles Sutton
  2. Michael Pradel
  3. Miltiadis Allamanis
  4. Rishabh Singh
  5. Koushik Sen
  6. Tien Nhut Nguyen
  7. Pushmeet Kohli
  8. Premkumar T. Devanbu

In Code Generation & Program Synthesis

  1. Charles Sutton
  2. Miltiadis Allamanis
  3. Michael Pradel
  4. Ge Li
  5. Rishabh Singh
  6. Hongyu Zhang
  7. Zhi Jin
  8. Baishakhi Ray

In Program Analysis & Verification

  1. Charles Sutton
  2. Michael Pradel
  3. Aditya Kanade
  4. Petros Maniatis
  5. Rishabh Singh
  6. Miltiadis Allamanis
  7. Tien Nhut Nguyen
  8. Georgios Gousios

Citations in the corpus