scimeatlas

Research map / Large language models / Retrieval and knowledge

CoRet: Improved Retriever for Code Editing

Fabio Fehr, Prabhu Teja Sivaprasad, Luca Franceschi, Giovanni Zappella

ACL 2025Large language models › Retrieval and knowledgeapproach: Retrieval-augmented reasoningopen problems in this approach9 citations (OpenAlex)

EPFL · Amazon

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
3no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune CodeSage S with CoRet loss, file paths and call graph contextCodeSage S · SWE-bench Verifiedperfect recall@5: 0.34 -> 0.54Improved
fine-tune CodeSage S with CoRet loss, file paths and call graph contextCodeSage S · SWE-bench Verifiedperfect recall@20: 0.51 -> 0.71Improved
fine-tune CodeSage S with CoRetCodeSage S · LCA bug localisationperfect recall@20: 0.34 -> 0.47Improved
add call graph context (ablation)CoRet · LCA bug localisationperfect recall@20: 0.41 -> 0.47Improved
add call graph context (ablation)CoRet · SWE-bench Verifiedperfect recall@5: 0.52 -> 0.54Improved
add call graph context (ablation)CoRet · LCA bug localisationperfect recall@5: 0.32 -> 0.32No clear effect
replace call graph context with random chunks from the same file (ablation)CoRet · LCA bug localisationperfect recall@20: 0.47 -> 0.38Hurt
remove file path from chunk input at inference (ablation)CoRet · SWE-bench Verified (chunk-level)recall@20: 0.70 -> 0.58Hurt
add file path to chunk input at inference (ablation)CodeSage S (not fine-tuned) · SWE-bench Verified (chunk-level)recall@20: 0.58 -> 0.57No clear effect
increase number of in-instance negatives from 8 to 1024 (ablation)CoRet loss · held-out SWE-bench trainrecall@20: almost +10 pointsImproved
use in-instance negatives instead of across-instance negatives (ablation)CoRet loss · held-out SWE-bench trainrecallImproved
add a single BM25 hard negative (ablation)CoRet loss · held-out SWE-bench trainrecallNo clear effect

Later papers that compared with this method

1 later accepted paper reports CORE-T as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in retrieval-augmented reasoning

How can retrieval-augmented reasoning cut its extra LLM calls, storage and dependence on retrieval and LLM-built structures?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy