paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Deep code search

深度代码搜索
ICSE Proceedings of the 40th International Conference on Software Engineering2018匹配度 3/10 · 论文处于机器学习与程序语言的交叉领域,关注基于深度学习的代码搜索,但与用户核心方向(面向ML/Agentic程序的静态分析、LLM/Agent改进静态分析与形式化验证、浮点程序分析、贝叶斯程序分析)均不直接相关。其问题动机虽典型,但并非用户当前追踪的核心问题。引用 569 inbox
Xiaodong Gu, Hongyu Zhang, Sunghun Kim
crossref: 2026-09-12

AI 速览

一句话:指出传统代码搜索仅依赖文本相似度、缺乏语义理解,并指向深度代码搜索方向。

本文关注代码搜索问题:开发者常通过在大规模代码库中搜索来复用已有代码片段。现有代码搜索工具通常把源代码当作文本文档,使用信息检索模型返回与自然语言查询匹配的代码片段,因而主要依赖源代码与查询之间的文本相似度。作者指出这类方法缺乏对查询和源代码语义的深层理解,容易受表层词汇匹配限制。论文标题“Deep code search”表明其方向是引入深度语义理解来改进代码搜索,但所给摘要并未具体说明采用的深度模型、训练数据、检索流程或系统实现,也未报告评估基准、对比方法和实验结果。因此,该摘要的核心贡献在于提出问题与方向,方法和实证结果需参见论文全文。

问题
现有代码搜索工具多将源代码视作文本,借助信息检索模型匹配查询,主要依赖源代码与自然语言查询的文本相似度,缺乏对二者语义的深层理解。
方法
论文标题为 Deep code search,指向利用深度语义理解进行代码搜索;但所给摘要未说明具体模型、训练方式或系统设计。
评估
所给摘要未提供评估数据集、对比基线、评价指标或实验结果。
原文摘要(Abstract)

To implement a program functionality, developers can reuse previously written code snippets by searching through a large-scale codebase. Over the years, many code search tools have been proposed to help developers. The existing approaches often treat source code as textual documents and utilize information retrieval models to retrieve relevant code snippets that match a given query. These approaches mainly rely on the textual similarity between source code and natural language query. They lack a deep understanding of the semantics of queries and source code.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4493,
  title = {Deep code search},
  author = {Xiaodong Gu and Hongyu Zhang and Sunghun Kim},
  booktitle = {ICSE},
  year = {2018},
  doi = {10.1145/3180155.3180167}
}