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: An End-to-End Neural Code Similarity System

Abstract: Code similarity systems are integral to a range of applications from code recommendation to automated construction of software tests and defect mitigation. In this paper, 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 similarity structure, which is designed to aid in lifting semantic meaning from code syntax. Second, MISIM provides a neural-based code similarity scoring system, which can be implemented with various neural network algorithms and topologies with learned parameters. We compare MISIM to three other state-of-the-art code similarity systems: (i) code2vec, (ii) Neural Code Comprehension, and (iii) Aroma. In our experimental evaluation across 45,780 programs, MISIM consistently outperformed all three systems, often by a large factor (upwards of 40.6x).
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.05265v1 [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.