Research map / Large language models / Retrieval and knowledge
ExecRetrieval: Measuring the Functional-Correctness Gap in Code-Embedding Retrieval
Aaryan Kapoor, Md Abdullah Al Hafiz Khan
Kennesaw State University
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
4improved
6no clear effect
3hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add near-clone buggy variants of the canonical to the pool (0 -> 1) (ablation) | Gemini Embedding 2 · ExecRetrieval | exec@1: 0.993 -> 0.678 | Hurt |
| add more paired distractors (1 -> all 4) (ablation) | Gemini Embedding 2 · ExecRetrieval | exec@1: 0.678 -> 0.331 | Hurt |
| increase retrieval depth from k=1 to k=10 | Gemini Embedding 2 · ExecRetrieval | exec@k: 0.331 -> 1.000 | Improved |
| use lexical BM25 instead of dense embeddings | BM25 · ExecRetrieval | exec@10: 0.422 vs 0.671 for worst dense model | Hurt |
| scale Qwen3 from 4B-BF16 to 8B (ablation) | Qwen3-Embedding · ExecRetrieval | exec@1: 0.204 -> 0.214 (p=0.622) | No clear effect |
| switch Qwen3-4B from FP16 to BF16 (ablation) | Qwen3-4B · ExecRetrieval | exec@1: 0.196 -> 0.204 (p=0.456) | No clear effect |
| compare Gemini Emb. 2 with Gemini Emb. 001 at rank 1 | Gemini Embedding · ExecRetrieval | exec@1: 0.331 vs 0.329 (p=0.958) | No clear effect |
| use Gemini Emb. 001 instead of Gemini Emb. 2 at k=3 | Gemini Embedding · ExecRetrieval | exec@3: 0.823 -> 0.889 | Improved |
| increase edit size of the mutation (ablation) | embedding retrieval · ExecRetrieval deception rate | deception rate: 39.5-47.5% across buckets; |rho| <= 0.07 | No clear effect |
| stack 2-4 verified mutations into one function (ablation) | four local embedders · ExecRetrieval deception rate (371 queries) | deception rate: 49.0% -> 47.6% (4 mutations) | No clear effect |
| vary the mechanical mutation type (ablation) | embedding retrieval · ExecRetrieval deception rate | deception rate: 39.3%-48.0% across types | No clear effect |
| use GPT-5.4 high reasoning instead of Claude Sonnet to write distractors | distractor generation · distractor validity | accidentally correct distractors: 31.8% -> 0.07% | Improved |
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?
- Multi-step retrieval needs extra LLM calls and slows inference. · 22 papers state it
- Tested on English, or English and one other language, only. · 15 papers state it
- Graphs, trees and memories built by LLMs or parsers pass on their errors. · 12 papers state it
Closest papers by meaning
- Hidden Positives: Why Code Retrieval Benchmarks Underestimate Model Quality (NeurIPS 2026 · similarity 0.91)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.90)
- SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization (EMNLP 2026 · similarity 0.90)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.89)
- CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming (NeurIPS 2025 · similarity 0.88)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.87)
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.