Meta-Heuristic Guided Feature Optimization for Enhanced Authorship Attribution in Java Source Code
Open Access
- 8 December 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 141657-141673
Abstract
Source code authorship attribution is the task of identifying who develops the code based on learning based on the programmer style. It is one of the critical activities which used extensively in different aspects such as computer security, computer law, and plagiarism. This paper attempts to investigate source code authorship attribution by capturing natural language aspects of the code rather than only using minimal set of syntactic and stylistic code features as explored in the previous literature. It proposes an evolutionary feature selection model to improve the accuracy of authorship attribution by implementing two language models (uni-gram and bi-gram). The proposed approach uses K-Nearest Neighbor as a classifier and Genetic Algorithm as a feature selection technique. Two experiments have been demonstrated on a public Authorship Attribution dataset on GitHub, the experiments include various evolutionary feature selection models. Notably, the obtained results in both experiments were compared with the related studies, and show a significant improvement in terms of accuracy.Keywords
This publication has 62 references indexed in Scilit:
- Software Plagiarism Detection with Birthmarks Based on Dynamic Key Instruction SequencesIEEE Transactions on Software Engineering, 2015
- Stylistics analysis and authorship attribution algorithms based on self-organizing mapsNeurocomputing, 2015
- Extreme learning machine and its applicationsNeural Computing and Applications, 2013
- Comparing techniques for authorship attribution of source codeSoftware: Practice and Experience, 2012
- Heterogeneous Ensemble for Feature Drifts in Data Streams2012
- Data generalisation with k-means for scalable data miningInternational Journal of Knowledge Engineering and Data Mining, 2012
- Chaotic maps based on binary particle swarm optimization for feature selectionApplied Soft Computing, 2011
- Application of Information Retrieval Techniques for Source Code Authorship Attribution2009
- Extraction of Java program fingerprints for software authorship identificationJournal of Systems and Software, 2004
- Beyond preliminary analysis of the WANK and OILZ worms: a case study of malicious codeComputers & Security, 1993