HuggingFace Daily Papers(社区热门论文)· HuggingFace Daily Papers(社区热门论文)·· 6 天前AI 评分46
PatchHolmes:通过 Listwise 选择实现智能体式补丁检索
AI 导读
PatchHolmes 是一个两阶段补丁检索系统,用混合检索器加智能体二阶段检查循环,在 GitHubAD 上比逐点二分类器 Favia 的 Recall@1 高 25.34%,比 IRCoT 高 31.40%,且每个 CVE 只需一次智能体对话(Favia 为十次)。
正文
Abstract:Patch retrieval, the task of finding the commit that fixes a known vulnerability, is the foundation of vulnerability management workflows, yet 60% to 63% of CVEs in the major advisory databases lack a patch link. We present PatchHolmes, a two-phase patch retrieval system that pairs a hybrid first-stage retriever with an agentic second-stage inspection loop. Unlike pointwise prior work that scores each candidate independently, the Phase 2 agent reads the top-100 listwise: it sees the full candidate list at once and selectively reads 3 to 10 commits through four budgeted tools before submitting a single best commit. On GitHubAD, PatchHolmes beats the pointwise binary classifier Favia by 25.34% Recall@1 and the retrieve-and-CoT baseline IRCoT by 31.40%, at one agent conversation per CVE versus Favia's ten; with the candidate set held identical, the agent adds 27.32% Recall@1 over taking the retriever's top candidate, and the same agent, transferred unchanged to PatchFinder_top10, lifts Recall@1 from PatchFinder's own top-1 pick (24.28%) to 39.86%. Swapping the LLM backbone within the Qwen family changes Recall@1 by under 1%, and a second model family (gpt-oss) stays far above the no-agent floor, so the gain comes from the listwise agent loop; the entire system runs on a frozen open-weight model over a local Git repository, without fine-tuning or external search APIs.
| Comments: | Accepted at AACL-IJCNLP 2026. Code at this https URL |
| Subjects: | Information Retrieval (cs.IR); Software Engineering (cs.SE) |
| Cite as: | arXiv:2609.38807 [cs.IR] |
| (or arXiv:2609.38807v1 [cs.IR] for this version) | |
| https://doi.org/10.48550/arXiv.2609.38807 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Guanqun Yang [view email]
[v1]
Wed, 30 Sep 2026 02:38:22 UTC (517 KB)
来源:HuggingFace Daily Papers(社区热门论文) · arxiv.org