kth.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Multimodal Representation for Neural Code Search
Univ Zurich, Zurich, Switzerland..
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Theoretical Computer Science, TCS.ORCID iD: 0000-0002-6673-6438
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Theoretical Computer Science, TCS.ORCID iD: 0000-0003-3505-3383
2021 (English)In: 2021 IEEE international conference on software maintenance and evolution (ICSME 2021), Institute of Electrical and Electronics Engineers (IEEE) , 2021, p. 483-494Conference paper, Published paper (Refereed)
Abstract [en]

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.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE) , 2021. p. 483-494
Series
Proceedings-IEEE International Conference on Software Maintenance, ISSN 1063-6773
Keywords [en]
multimodal learning, program representation, information completeness, tree serialization, code search
National Category
Business Administration Human Geography Communication Systems
Identifiers
URN: urn:nbn:se:kth:diva-312782DOI: 10.1109/ICSME52107.2021.00049ISI: 000790782500043Scopus ID: 2-s2.0-85123058224OAI: oai:DiVA.org:kth-312782DiVA, id: diva2:1660002
Conference
37th IEEE International Conference on Software Maintenance and Evolution, ICSME 2021, Luxembourg City, 27 September 2021 through 1 October 2021
Funder
Wallenberg AI, Autonomous Systems and Software Program (WASP)
Note

QC 20220819

Part of proceedings: ISBN 978-1-6654-2882-8

Available from: 2022-05-23 Created: 2022-05-23 Last updated: 2022-08-19Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Chen, ZiminMonperrus, Martin

Search in DiVA

By author/editor
Chen, ZiminMonperrus, Martin
By organisation
Theoretical Computer Science, TCS
Business AdministrationHuman GeographyCommunication Systems

Search outside of DiVA

GoogleGoogle Scholar

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 41 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf