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

Download:

Current browse context:

cs.SE

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 ScienceWISE logo

Computer Science > Software Engineering

Title: Multimodal Representation for Neural Code Search

Abstract: Semantic code search is about finding semantically relevant code snippets for a given natural language query. In the state-of-the-art approaches, the semantic similarity between code and query is quantified as the distance of their representation in the shared vector space. In this paper, to improve the vector space, we introduce tree-serialization methods on a simplified form of AST and build the multimodal representation for the code data. We conduct extensive experiments using a single corpus that is large-scale and multi-language: CodeSearchNet. Our results show that both our tree-serialized representations and multimodal learning model improve the performance of code search. Last, we define intuitive quantification metrics oriented to the completeness of semantic and syntactic information of the code data, to help understand the experimental findings.
Comments: 12 pages, 9 figures, 7 tables, accepted by ICSME 2021, the camera-ready version
Subjects: Software Engineering (cs.SE); Machine Learning (cs.LG)
Journal reference: Proceedings of International Conference on Software Maintenance and Evolution, 2021
DOI: 10.1109/ICSME52107.2021.00049
Cite as: arXiv:2107.00992 [cs.SE]
  (or arXiv:2107.00992v3 [cs.SE] for this version)

Submission history

From: Jian Gu [view email]
[v1] Fri, 2 Jul 2021 12:08:19 GMT (900kb,D)
[v2] Fri, 23 Jul 2021 12:01:25 GMT (900kb,D)
[v3] Thu, 13 Jan 2022 18:38:33 GMT (900kb,D)

Link back to: arXiv, form interface, contact.