Current browse context:
cs.LG
Change to browse by:
References & Citations
Computer Science > Machine Learning
Title: MISIM: An End-to-End Neural Code Similarity System
(Submitted on 5 Jun 2020 (this version), latest version 2 Jun 2021 (v6))
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).
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.