mlsanityData to 7 Oct 2026

When Deep Learning Met Code Search

arXiv 1905.03813 ↗First posted 9 May 2019cs.SE cs.CL cs.LGcited by 45

Not on the map. Why?

Abstract (arXiv)

There have been multiple recent proposals on using deep neural networks for code search using natural language. Common across these proposals is the idea of mathitembedding code and natural language queries, into real vectors and then using vector distance to approximate semantic correlation between code and the query. Multiple approaches exist for learning these embeddings, including mathitunsupervised techniques, which rely only on a corpus of code examples, and mathitsupervised techniques, which use an mathitaligned corpus of paired code and natural language descriptions. The goal of this supervision is to produce embeddings that are more similar for a query and the corresponding desired code snippet. Clearly, there are choices in whether to use supervised techniques at all, and if one does, what sort of network and training to use for supervision. This paper is the first to evaluate these choices systematically. To this end, we assembled implementations of state-of-the-art techniques to run on a common platform, training and evaluation corpora. To explore the design space in network complexity, we also introduced a new design point that is a mathitminimal supervision extension to an existing unsupervised technique. Our evaluation shows that: 1. adding supervision to an existing unsupervised technique can improve performance, though not necessarily by much; 2. simple networks for supervision can be more effective that more sophisticated sequence-based networks for code search; 3. while it is common to use docstrings to carry out supervision, there is a sizeable gap between the effectiveness of docstrings and a more query-appropriate supervision corpus. The evaluation dataset is now available at arXiv:1908.09804

Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 May 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 14; 2022: 14; 2023: 8; 2024: 4; 2025: 3; 2026: 2.

45 papers.

Sort:

By area:

  1. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
  2. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 74
  3. 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
  4. 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
  5. 2022Fault-Aware Neural Code Rankerscited by 33
  6. 2022On the Importance of Building High-quality Training Datasets for Neural Code Searchcited by 30
  7. 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
  8. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  9. 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 21
  10. 2024Rewriting the Code: A Simple Method for Large Language Model Augmented Code Searchcited by 17
  11. 2022AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language modelscited by 16
  12. 2023GrACE: Generation using Associated Code Editscited by 16
33 more
  1. 2021GraphSearchNet: Enhancing GNNs via Capturing Global Dependencies for Semantic Code Searchcited by 15
  2. 2023Rethinking Negative Pairs in Code Searchcited by 14
  3. 2021Multimodal Representation for Neural Code Searchcited by 11
  4. 2022Code Search based on Context-aware Code Translationcited by 11
  5. 2022CodeQueries: A Dataset of Semantic Queries over Codecited by 11
  6. 2022Accelerating Code Search with Deep Hashing and Code Classificationcited by 10
  7. 2022On the Effectiveness of Pretrained Models for API Learningcited by 9
  8. 2022Exploring Representation-Level Augmentation for Code Searchcited by 8
  9. 2022Poison Attack and Defense on Deep Source Code Processing Modelscited by 8
  10. 2023Syntax and Domain Aware Model for Unsupervised Program Translationcited by 7
  11. 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
  12. 2025SPENCER: Self-Adaptive Model Distillation for Efficient Code Retrievalcited by 5
  13. 2021Cascaded Fast and Slow Models for Efficient Semantic Code Searchcited by 4
  14. 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
  15. 2024CodeGRAG: Bridging the Gap between Natural Language and Programming Language via Graphical Retrieval Augmented Generationcited by 4
  16. 2021deGraphCS: Embedding Variable-based Flow Graph for Neural Code Searchcited by 3
  17. 2021AugmentedCode: Examining the Effects of Natural Language Resources in Code Retrieval Modelscited by 3
  18. 2021Senatus -- A Fast and Accurate Code-to-Code Recommendation Enginecited by 3
  19. 2024Semantically Aligned Question and Code Generation for Automated Insight Generationcited by 3
  20. 2021BERT2Code: Can Pretrained Language Models be Leveraged for Code Search?cited by 2
  21. 2023xASTNN: Improved Code Representations for Industrial Practicecited by 2
  22. 2023Usenix'23 Extended Version: Smart Learning to Find Dumb Contractscited by 2
  23. 2024Genetic Auto-prompt Learning for Pre-trained Code Intelligence Language Modelscited by 2
  24. 2025SAIL: Sound Abstract Interpreters with LLMscited by 2
  25. 2021Universal Representation for Codecited by 1
  26. 2021Assessing the Effectiveness of Syntactic Structure to Learn Code Edit Representationscited by 1
  27. 2021Is a Single Model Enough? MuCoS: A Multi-Model Ensemble Learning for Semantic Code Searchcited by 1
  28. 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similaritycited by 1
  29. 2021Distilling Transformers for Neural Cross-Domain Searchcited by 0
  30. 2022Code Compliance Assessment as a Learning Problemcited by 0
  31. 2025URECA: The Chain of Two Minimum Set Cover Problems exists behind Adaptation to Shifts in Semantic Code Searchcited by 0
  32. 2026Think it, Run it: Autonomous ML pipeline generation via self-healing multi-agent AIcited by 0
  33. 2026CyberForge: Verified Vulnerability Injection at Repository Level for Cybersecurity Agent Trainingcited by 0