Skip to main navigation Skip to search Skip to main content

A Bayesian ensemble classifier for source code authorship attribution

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

Authorship attribution of source code is the task of deciding who wrote software, given its source code, when the author of the software is not explicitly known. There are numerous scenarios in which it is necessary to identify the author of a piece of software whose author is unknown, including software forensics investigations, plagiarism detection, and questions of software ownership. A number of methods for authorship attribution of source code have been presented in the past, including two state-of-the-art methods: SCAP and Burrows. Each of these two state-of-the-art methods was individually improved, and – as presented in this paper – an ensemble method was developed from them based on the Bayes optimal classifier. An empirical study was performed using a data set consisting of 7,231 open-source and textbook programs written in C++ and Java by thirty unique authors. The ensemble method successfully attributed 98.2% of all documents in the data set, compared to 88.9% by the Burrows baseline method and 91.0% by the SCAP baseline method.

Original languageEnglish
Title of host publicationSimilarity Search and Applications - 7th International Conference, SISAP 2014, Proceedings
EditorsAgma Juci Machado Traina, Caetano Traina, Robson Leonardo Ferreira Cordeiro
PublisherSpringer Verlag
Pages265-276
Number of pages12
ISBN (Electronic)9783319119878
DOIs
StatePublished - 2014
Event7th International Conference on Similarity Search and Applications, SISAP 2014 - Los Cabos, Mexico
Duration: Oct 29 2014 → Oct 31 2014

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8821
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference7th International Conference on Similarity Search and Applications, SISAP 2014
Country/TerritoryMexico
CityLos Cabos
Period10/29/14 → 10/31/14

Bibliographical note

Publisher Copyright:
© Springer International Publishing Switzerland 2014.

ASJC Scopus Subject Areas

  • Theoretical Computer Science
  • General Computer Science

Keywords

  • Authorship attribution
  • Bayesian probability theory
  • Information retrieval
  • Plagiarism detection
  • Software forensics

Fingerprint

Dive into the research topics of 'A Bayesian ensemble classifier for source code authorship attribution'. Together they form a unique fingerprint.

Cite this