We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LG

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Machine Learning

Title: MISIM: A Novel Code Similarity System

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.
Comments: arXiv admin note: text overlap with arXiv:2003.11118
Subjects: Machine Learning (cs.LG); Software Engineering (cs.SE); Machine Learning (stat.ML)
Cite as: arXiv:2006.05265 [cs.LG]
  (or arXiv:2006.05265v4 [cs.LG] for this version)

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.