Multimodal Representation for Neural Code Search
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 23 of its 66 references that are in the map. First posted on arXiv 2 Jul 2021.
Builds on
23 of 66 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2017Multimodal Machine Learning: A Survey and Taxonomycited by 1,004
- 2015Gated Graph Sequence Neural Networkscited by 792
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
- 2014A Convolutional Neural Network for Modelling Sentencescited by 163
- 2015Learning to Compare Image Patches via Convolutional Neural Networkscited by 109
- 2018Tree-to-tree Neural Networks for Program Translationcited by 93
11 more
- 2020Code Prediction by Feeding Trees to Transformerscited by 70
- 2019When Deep Learning Met Code Searchcited by 45
- 2015SourcererCC: Scaling Code Clone Detection to Big Codecited by 40
- 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 40
- 2018Aroma: Code Recommendation via Structural Code Searchcited by 29
- 2018A General Path-Based Representation for Predicting Program Propertiescited by 28
- 2020Opportunities and Challenges in Code Search Toolscited by 22
- 2018Identifying Corresponding Patches in SAR and Optical Images with a Pseudo-Siamese CNNcited by 18
- 2018Evaluating How Developers Use General-Purpose Web-Search for Code Retrievalcited by 6
- 2018Effective Reformulation of Query for Code Search using Crowdsourced Knowledge and Extra-Large Data Analyticscited by 4
- 2018Active Inductive Logic Programming for Code Searchcited by 3
Built on by
Citing papers per year: 2022: 4; 2023: 2; 2024: 5.
11 papers.
- 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 21
- 2022Assemble Foundation Models for Automatic Code Summarizationcited by 17
- 2024Rewriting the Code: A Simple Method for Large Language Model Augmented Code Searchcited by 17
- 2023Rethinking Negative Pairs in Code Searchcited by 14
- 2022On the Effectiveness of Pretrained Models for API Learningcited by 9
- 2024Top Pass: Improve Code Generation by Pass@k-Maximized Code Rankingcited by 9
- 2022Exploring Representation-Level Augmentation for Code Searchcited by 8
- 2023Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?cited by 5
- 2024CodeGRAG: Bridging the Gap between Natural Language and Programming Language via Graphical Retrieval Augmented Generationcited by 4
- 2024Refining Joint Text and Source Code Embeddings for Retrieval Task with Parameter-Efficient Fine-Tuningcited by 1
- 2024CONCORD: Towards a DSL for Configurable Graph Code Representationcited by 0
- 2024Top Pass: Improve Code Generation by Pass@k-Maximized Code Ranking11 Aug 2024
- 2024Refining Joint Text and Source Code Embeddings for Retrieval Task with Parameter-Efficient Fine-Tuning7 May 2024
- 2024CodeGRAG: Bridging the Gap between Natural Language and Programming Language via Graphical Retrieval Augmented Generation3 May 2024
- 2024CONCORD: Towards a DSL for Configurable Graph Code Representation31 Jan 2024
- 2024Rewriting the Code: A Simple Method for Large Language Model Augmented Code Search9 Jan 2024
- 2023Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?1 Dec 2023
- 2023Rethinking Negative Pairs in Code Search12 Oct 2023
- 2022Exploring Representation-Level Augmentation for Code Search21 Oct 2022
- 2022CoCoSoDa: Effective Contrastive Learning for Code Search7 Apr 2022
- 2022On the Effectiveness of Pretrained Models for API Learning5 Apr 2022
- 2022Assemble Foundation Models for Automatic Code Summarization13 Jan 2022