paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How to better utilize code graphs in semantic code search?

如何更好地在语义代码搜索中利用代码图?
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 3/10 · 论文关注语义代码搜索中如何更有效地利用代码图(CFG/PDG)进行ML建模,虽涉及程序分析概念和PL+ML交叉,但目标既不是将静态分析应用于ML/Agentic程序,也不是利用LLM/Agent改进静态分析或形式化验证,更未涉及浮点程序分析或贝叶斯程序分析。引用 26 inbox
Yucen Shi, Ying Yin, Zhengkui Wang, David Lo, Tao Zhang, Xin Xia, Yuhai Zhao, Bowen Xu
crossref: 2026-09-12

AI 速览

一句话:指出现有语义代码搜索模型未能充分利用代码图独特性,并探索更有效的代码图建模利用方式。

语义代码搜索能根据自然语言查询检索高度匹配的代码片段,从而促进软件复用。代码图(如控制流图、程序依赖图)具有丰富表达能力,因此多模态模型和预训练模型两类主流工作都尝试将代码图纳入代码建模。然而现有方法仍存在两点不足:一是搜索有效性仍有较大提升空间;二是没有充分考虑代码图的独有特性。该论文围绕“如何更好地利用代码图”这一问题展开,旨在改进语义代码搜索中对代码图的建模与利用。摘要未披露具体方法、模型细节及实验数据,因此关键结果尚不明确。

问题
现有语义代码搜索中,多模态模型和预训练模型虽引入代码图,但搜索效果仍不理想,且未充分利用代码图的独有特性。
方法
摘要未具体说明方法;论文主题是提出更好地利用代码图进行语义代码搜索的建模方案。
评估
摘要未说明评估方式与结果;论文以提升语义代码搜索有效性为主要关注点。
原文摘要(Abstract)

Semantic code search greatly facilitates software reuse, which enables users to find code snippets highly matching user-specified natural language queries. Due to the rich expressive power of code graphs (e.g., control-flow graph and program dependency graph), both of the two mainstream research works (i.e., multi-modal models and pre-trained models) have attempted to incorporate code graphs for code modelling. However, they still have some limitations: First, there is still much room for improvement in terms of search effectiveness. Second, they have not fully considered the unique features of code graphs.

链接与引用

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

BibTeX
@inproceedings{paperbot6984,
  title = {How to better utilize code graphs in semantic code search?},
  author = {Yucen Shi and Ying Yin and Zhengkui Wang and David Lo and Tao Zhang and Xin Xia and Yuhai Zhao and Bowen Xu},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3549087}
}