paperbot · PL 论文追踪

全部论文 待读 收藏

P2 When deep learning met code search

当深度学习遇上代码搜索
FSE Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2019匹配度 3/10 · 论文主题是深度学习用于自然语言代码搜索,属于ML+软件工程的交叉,但不涉及静态分析、Agentic程序、浮点程序分析或贝叶斯程序分析等用户核心方向;仅与“机器学习用于代码任务”这一宽泛背景相关。引用 7 inbox
Jose Cambronero, Hongyu Li, Seohyun Kim, Koushik Sen, Satish Chandra
crossref: 2026-09-12

AI 速览

一句话:讨论深度学习用于自然语言代码搜索:将代码与查询嵌入向量空间,并区分无监督与有监督嵌入学习。

论文关注深度学习在自然语言代码搜索中的应用。近期多项工作共同采用的做法是:把代码和自然语言查询嵌入到实向量空间,再用向量距离来近似二者之间的语义相关性。学习此类嵌入主要有两条路线:无监督方法仅利用代码示例语料;有监督方法则利用代码与自然语言描述对齐的语料。监督学习的目的是让某个查询与其期望代码片段的嵌入更相似,从而提高检索效果。摘要未展开具体模型、数据集与实验结论。

问题
如何用深度神经网络实现自然语言代码搜索,即将代码和查询映射到向量空间,并以向量距离近似语义相关性。
方法
讨论将代码和自然语言查询嵌入实向量的方法,包括仅依赖代码语料的无监督学习,以及使用代码-自然语言对齐语料的有监督学习。
评估
摘要未给出具体评估数据、基准或用户研究;仅能看出论文围绕不同嵌入学习范式展开讨论或比较。
原文摘要(Abstract)

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 embedding 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 unsupervised techniques, which rely only on a corpus of code examples, and supervised techniques, which use an aligned 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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5177,
  title = {When deep learning met code search},
  author = {Jose Cambronero and Hongyu Li and Seohyun Kim and Koushik Sen and Satish Chandra},
  booktitle = {FSE},
  year = {2019},
  doi = {10.1145/3338906.3340458}
}