Metraipolis › archive › dc_6da71776f24c

PatchHolmes: Agentic Patch Retrieval via Listwise Selection — arXiv:2609.38807

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.38807
License (as archived)
CC0-1.0
Archived
2026-10-07T14:43:30.532Z
SHA-256 of the archived text
e612da37aca314d1111e4bc2bd9f9eff937ea3f076cf4d3afbfb536333a6b9d5
Stable URL of this page
https://metraipolis.com/documento/dc_6da71776f24c

How to cite

PatchHolmes: Agentic Patch Retrieval via Listwise Selection — arXiv:2609.38807 — arXiv (en), https://arxiv.org/abs/2609.38807 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6da71776f24c (Metraipolis archive dc_6da71776f24c, sha256 e612da37aca314d1111e4bc2bd9f9eff937ea3f076cf4d3afbfb536333a6b9d5)
BibTeX
@misc{dc6da71776f24c,
  title = {PatchHolmes: Agentic Patch Retrieval via Listwise Selection — arXiv:2609.38807},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.38807},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6da71776f24c; sha256 e612da37aca314d1111e4bc2bd9f9eff937ea3f076cf4d3afbfb536333a6b9d5},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.38807. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-10-01 in cs.IR).
Categorie arXiv: Information Retrieval (cs.IR) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.38807 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T14:16:56.028Z dalla pagina https://arxiv.org/catchup/cs.IR/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).