计算机科学 ›› 2010, Vol. 37 ›› Issue (3): 159-164.

• 软件工程与数据库技术 • 上一篇    下一篇

一种基于BP神经网络的代码相似性检测方法

熊浩,晏海华,黄永刚,郭涛,李舟军   

  1. (北京航空航天大学计算机学院 北京100191);(中国信息安全评测中心 北京100083)
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受863国家重点基金项目(2007AA010302, 2008AA012114), 国家自然科学基金(60703057,60573084)资助。

Code Similarity Detection Approach Based on Back-propagation Neural Network

XIONG Hao,YAN Hai-hua,HUANG Yong-gang,GUO Tao,LI Zhou-jun   

  • Online:2018-12-01 Published:2018-12-01

摘要: 如何有效地检测程序设计课程作业中的抄袭现象是一个重要的问题。传统的抄袭检测方法主要利用代码的属性或结构信息来度量代码之间的相似性。给出了一种基于误差反向传播(PP算法)多层前向神经网络的代码抄袭检测方法。提取程序之间的7种比较特征作为神经网络的输入,经过网络计算后得出程序的相似值,并将该值与抄袭决策阂值相比较以判定存在抄袭现象的程序集。实验结果表明,本方法具有很好的检测效果。

关键词: 抄袭,相似性检测,PP神经网络,比较特征

Abstract: It is very important to find plagiarized programs in the field of computer science education. Traditional methods for program similarity use attribute counting or structure information to detect plagiarism. This paper presented a program similarity detection approach based on back propagation (I3P algorithm) multi-layer feed-forward neural net works. We extracted seven compared features of the code as the input of the neural network, and obtained the program similarity through the network calculation. Comparing the result with the threshold value, we can find all groups of simlar programs. Experimental results show that our method is effective.

Key words: Plagiarism, Similarity detection, BP neural network, Compared feature

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!