Current browse context:
cs.LG
Change to browse by:
References & Citations
Computer Science > Machine Learning
Title: MISIM: A Novel Code Similarity System
(Submitted on 5 Jun 2020 (v1), revised 9 Oct 2020 (this version, v4), latest version 2 Jun 2021 (v6))
Abstract: Code similarity systems are integral to a range of applications from code recommendation to automated software defect correction. We argue that code similarity is now a first-order problem that must be solved. To begin to address this, we present machine Inferred Code Similarity (MISIM), a novel end-to-end code similarity system that consists of two core components. First, MISIM uses a novel context-aware semantic structure, which is designed to aid in lifting semantic meaning from code syntax. Second, MISIM provides a neural-based code similarity scoring algorithm, which can be implemented with various neural network architectures with learned parameters. We compare MISIM to three state-of-the-art code similarity systems: (i)code2vec, (ii)Neural Code Comprehension, and (iii)Aroma. In our experimental evaluation across 328,155 programs (over 18 million lines of code), MISIM has 1.5x to 43.4x better accuracy than all three systems.
Submission history
From: Shengtian Zhou [view email][v1] Fri, 5 Jun 2020 20:55:23 GMT (9161kb,D)
[v2] Mon, 15 Jun 2020 19:56:43 GMT (9161kb,D)
[v3] Tue, 6 Oct 2020 19:39:45 GMT (9509kb,D)
[v4] Fri, 9 Oct 2020 00:25:35 GMT (9509kb,D)
[v5] Mon, 22 Feb 2021 23:46:57 GMT (11982kb,D)
[v6] Wed, 2 Jun 2021 20:34:31 GMT (12258kb,D)
Link back to: arXiv, form interface, contact.