A Survey of Deep Code Search

AI-generated keywords: Survey Deep Code Search Code Intelligence Techniques Semantic Similarity Deep Learning

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Survey on Deep Code Search by Yutao Xie, Jiayi Lin, Hande Dong, Lei Zhang, and Zhonghai Wu
  • Importance of capturing semantic similarity between queries and code snippets for effective information retrieval
  • Deep learning as a powerful tool for extracting complex semantic information in code search
  • Application of deep learning methods like graph neural networks and pretraining models to improve accuracy and efficiency
  • Overview of deep learning-based code search frameworks mapping queries and codes to vectors for similarity measurement
  • Proposed taxonomy illustrating the three-step process in deep learning-based code search methodology: query semantics modeling, code semantics modeling, and matching modeling involving model training
  • Outlined potential avenues for future research in the field of deep learning-based code search
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Yutao Xie, Jiayi Lin, Hande Dong, Lei Zhang, Zhonghai Wu

Abstract: Code writing is repetitive and predictable, inspiring us to develop various code intelligence techniques. This survey focuses on code search, that is, to retrieve code that matches a given query by effectively capturing the semantic similarity between the query and code. Deep learning, being able to extract complex semantics information, has achieved great success in this field. Recently, various deep learning methods, such as graph neural networks and pretraining models, have been applied to code search with significant progress. Deep learning is now the leading paradigm for code search. In this survey, we provide a comprehensive overview of deep learning-based code search. We review the existing deep learning-based code search framework which maps query/code to vectors and measures their similarity. Furthermore, we propose a new taxonomy to illustrate the state-of-the-art deep learning-based code search in a three-steps process: query semantics modeling, code semantics modeling, and matching modeling which involves the deep learning model training. Finally, we suggest potential avenues for future research in this promising field.

Submitted to arXiv on 10 May. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2305.05959v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

The survey titled "A Survey of Deep Code Search" by authors Yutao Xie, Jiayi Lin, Hande Dong, Lei Zhang, and Zhonghai Wu delves into the realm of code intelligence techniques with a specific focus on code search. The repetitive and predictable nature of code writing has prompted the development of various methodologies to enhance code search capabilities. This survey emphasizes the importance of capturing semantic similarity between queries and code snippets to retrieve relevant information effectively. Deep learning has emerged as a powerful tool in extracting complex semantic information, leading to significant advancements in the field of code search. Various deep learning methods such as graph neural networks and pretraining models have been successfully applied to improve the accuracy and efficiency of code retrieval processes. As a result, deep learning has become the predominant paradigm for code search. The survey provides a comprehensive overview of deep learning-based code search frameworks that map queries and codes to vectors, enabling the measurement of their similarity. A new taxonomy is proposed to illustrate the state-of-the-art deep learning-based code search methodology in a three-step process: query semantics modeling, code semantics modeling, and matching modeling involving deep learning model training. Furthermore, the survey outlines potential avenues for future research in this promising field, highlighting opportunities for further exploration and innovation. By synthesizing existing knowledge and presenting a roadmap for future developments, this survey serves as a valuable resource for researchers and practitioners seeking to leverage deep learning techniques for enhanced code search capabilities.
Created on 05 Jun. 2025

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.