Unsupervised Learning Based Approach for Plagiarism Detection in Programming Assignments
Open Access
- 5 February 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 117-121
Abstract
In this work, we propose a novel hybrid approach for automatic plagiarism detection in programming assignments. Most of the well known plagiarism detectors either employ a text-based approach or use features based on the property of the program at a syntactic level. However, both these approaches succumb to code obfuscation which is a huge obstacle for automatic software plagiarism detection. Our proposed method uses static features extracted from the intermediate representation of a program in a compiler infrastructure such as gcc. We demonstrate the use of unsupervised learning techniques on the extracted feature representations and show that our system is robust to code obfuscation. We test our method on assignments from introductory programming course. The preliminary results show that our system is better when compared to other popular tools like MOSS. For visualizing the local and global structure of the features, we obtained the low-dimensional representations of our features using a popular technique called t-SNE, a variation of Stochastic Neighbor Embedding, which can preserve neighborhood identity in low-dimensions. Based on this idea of preserving neighborhood identity, we mine interesting information such as the diversity in student solution approaches to a given problem. The presence of well defined clusters in low-dimensional visualizations demonstrate that our features are capable of capturing interesting programming patterns.Keywords
This publication has 5 references indexed in Scilit:
- Deviation-Based Obfuscation-Resilient Program Equivalence Checking With Application to Software Plagiarism DetectionIEEE Transactions on Reliability, 2016
- On the differences between correct student solutions2013
- Towards the Detection of Cross-Language Source Code Reuse2011
- Plagiarism detection using feature-based neural networksACM SIGCSE Bulletin, 2007
- Winnowing2003