Skip to content

PatchHolmes: An agent-based patch retrieval system using list-style selectionPatchHolmes: Agentic Patch Retrieval via Listwise Selection

Hugging Face Daily Papers· arXiv:2609.38807· Guanqun Yang, Yingming Zhou, Jiangrui Zheng, Shudong Hao, Xueqing Liu·Indexed by this site · 2026-10-01· Originally publishedTools

Translation in progress — untranslated text is omitted.

Quick read

Other

Based on the paper PDF (AI-generated); refer to the original

AI summaryPatchHolmes proposes a method that lets an AI agent read the top 100 candidate commits at once and open commits one by one through four budget-constrained tools to locate vulnerability-fixing patches, improving Recall@1 from 34.61% for pointwise systems to 59.95%. The system requires no fine-tuning or paid search APIs, relies solely on frozen open-source weight models running on a local Git clone repository, and consumes about 96,000 input tokens, performs 8 tool calls, and reads 5 commits per run.

Questions
Vulnerability management requires mapping disclosed vulnerabilities to fix commits, but 60%–63% of CVEs in major announcement databases lack patch links. Patch retrieval faces large repositories, long diffs, and little lexical overlap, and pointwise scoring struggles to break ties.
Methods
PatchHolmes works in two phases: BM25 with time decay and Qwen3-Embedding-8B are fused via RRF into a top-100, then an agent with four budgeted tools reads 3–10 commits list-style and submits one best commit.
Experiments and results
On GitHubAD's 809 CVEs, Qwen3-235B's Recall@1 is 59.95%, higher than Favia's 34.61% and IRCoT's 28.55%. On the same candidate set, the agent adds 27.32 percentage points over the retriever's first rank; switching to PatchFinder_top10, it rises from 24.28% to 39.86%.
Limitations and future work
The authors note that only CVEs with existing patch links can be evaluated, the recoverable ceiling for PatchFinder_top10 is 46.10%, very large repositories used median imputation in sampling, and multi-fix CVEs record only some legitimate commits. The main evaluation results are on a working subset of 809 CVEs with an open-weight backbone model.

Related events and news

1 events · 0 news mentions

Read originalhuggingface.co