4.7 Article

Code authorship identification using convolutional neural networks

Publisher

ELSEVIER
DOI: 10.1016/j.future.2018.12.038

Keywords

Code authorship identification; Program features privacy; Convolutional neural network; Deep learning identification; Software forensics and security

Funding

  1. Global Research Lab. (GRL) Program of the National Research Foundation (NRF) - Ministry of Science, ICT and Future Planning, Korea [NRF-2016K1A1A2912757]
  2. NRF (Korea) [NRF-2016R1D1 A1B03934816]

Ask authors/readers for more resources

Although source code authorship identification creates a privacy threat for many open source contributors, it is an important topic for the forensics field and enables many successful forensic applications, including ghostwriting detection, copyright dispute settlements, and other code analysis applications. This work proposes a convolutional neural network (CNN) based code authorship identification system. Our proposed system exploits term frequency-inverse document frequency, word embedding modeling, and feature learning techniques for code representation. This representation is then fed into a CNN-based code authorship identification model to identify the code's author. Evaluation results from using our approach on data from Google Code Jam demonstrate an identification accuracy of up to 99.4% with 150 candidate programmers, and 96.2% with 1,600 programmers. The evaluation of our approach also shows high accuracy for programmers identification over real-world code samples from 1987 public repositories on GitHub with 95% accuracy for 745 C programmers and 97% for the C++ programmers. These results indicate that the proposed approaches are not language-specific techniques and can identify programmers of different programming languages. (C) 2018 Elsevier B.V. All rights reserved.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.7
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available