skip to main content
10.1145/3274005.3274031acmotherconferencesArticle/Chapter ViewAbstractPublication PagescompsystechConference Proceedingsconference-collections
research-article

Source code authorship approaches natural language processing

Published: 13 September 2018 Publication History

Abstract

This paper proposed method for source code authorship attribution using modern natural language processing methods. Our method based on text embedding with convolutional recurrent neural network reaches 94.5% accuracy within 500 authors in one dataset, which outperformed many state of the art models for authorship attribution. Our approach is dealing with source code as with natural language texts, so it is potentially programming language independent with more potential of future improving.

References

[1]
Amancio, D.R. 2015. A complex network approach to stylometry. PLoS ONE. 10, 8 (2015), 1--21.
[2]
Baayen, H. et al. 2002. An experiment in authorship attribution. 6th JADT. I, January (2002), 69--75.
[3]
Backer, E. and Kranenburg, P. Van 2005. On musical stylometry-a pattern recognition approach. Pattern Recognition Letters. 26, 3 (2005), 299--309.
[4]
Dauber, E. et al. 2017. Git Blame Who?: Stylistic Authorship Attribution of Small, Incomplete Source Code Fragments. (2017).
[5]
Duric, Z. and Gasevic, D. 2013. A Source Code Similarity System for Plagiarism Detection. The Computer Journal. 56, 1 (2013), 70--86.
[6]
Foley, S.N. et al. 2013. Computer Security -- ESORICS 2013.
[7]
Hutchison, D. 2015. Brief Announcement: A Consent Management Solution for Enterprises.
[8]
Lantz, J.E. 1943. A survey of modern preaching. Quarterly Journal of Speech. 29, 2 (1943), 167--172.
[9]
Neal, T. et al. 2017. Surveying Stylometry Techniques and Applications. ACM Comput. Surv. Article. 50, 86 (2017).
[10]
Swain, S. et al. 2017. Recent Approaches on Authorship Attribution Techniques -- An Overview. iii (2017), 557--566.
[11]
Yang, X. et al. 2017. Authorship attribution of source code by using back propagation neural network based on particle swarm optimization. PLoS ONE. 12, 11 (2017).
[12]
Young, T. et al. 2017. Recent Trends in Deep Learning Based Natural Language Processing. (2017), 1--24.
[13]
Zhou, P. et al. 2016. Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers). (2016), 207--212.

Cited By

View all
  • (2022)Analysis of Source Code Authorship Attribution Problem2022 International Conference on Computers and Artificial Intelligence Technologies (CAIT)10.1109/CAIT56099.2022.10072266(109-115)Online publication date: 4-Nov-2022
  • (2021)Source code authorship attribution using file embeddingsCompanion Proceedings of the 2021 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity10.1145/3484271.3484981(31-33)Online publication date: 17-Oct-2021

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
CompSysTech '18: Proceedings of the 19th International Conference on Computer Systems and Technologies
September 2018
206 pages
ISBN:9781450364256
DOI:10.1145/3274005
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

  • ERSVB: EURORISC SYSTEMS - Varna, Bulgaria
  • FOSEUB: FEDERATION OF THE SCIENTIFIC ENGINEERING UNIONS - Bulgaria
  • UORB: University of Ruse, Bulgaria
  • TECHUVB: Technical University of Varna, Bulgaria

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 September 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Stylometry
  2. authorship attribution
  3. deep learning
  4. machine learning
  5. natural language processing
  6. nlp
  7. source code

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

  • Scientific Grant Agency of the Slovak Republic, grant No. VG 1/0646/15
  • Scientific Grant Agency of the Slovak Republic, grant No. VG 1/0667/18
  • Slovak Research and Development Agency under the contract No. APVV-17-0267 - Automated Recognition of Antisocial Behaviour in Online Communities

Conference

CompSysTech'18

Acceptance Rates

Overall Acceptance Rate 241 of 492 submissions, 49%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Analysis of Source Code Authorship Attribution Problem2022 International Conference on Computers and Artificial Intelligence Technologies (CAIT)10.1109/CAIT56099.2022.10072266(109-115)Online publication date: 4-Nov-2022
  • (2021)Source code authorship attribution using file embeddingsCompanion Proceedings of the 2021 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity10.1145/3484271.3484981(31-33)Online publication date: 17-Oct-2021

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media