Research map / Large language models / Retrieval and knowledge
CoIR: A Comprehensive Benchmark for Code Information Retrieval Models
Xiangyang Li, Kuicai Dong, Yi Quan Lee, Wei Xia, Hao Zhang, Xinyi Dai, Yasheng Wang, Ruiming Tang
Huawei Technologies
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| extend input length from 512 to 4,096 tokens (ablation) | GTE-Base · CodeFeedback-MT | NDCG@10: 28.48 -> 51.32 | Improved |
| extend input length from 512 to 4,096 tokens (ablation) | GTE-Base · StackOverflow QA | NDCG@10: 62.71 -> 78.63 | Improved |
| extend input length from 512 to 4,096 tokens (ablation) | GTE-Base · CodeTransOcean-DL | NDCG@10: 28.80 -> 27.33 | Hurt |
| extend input length from 512 to 4,096 tokens (ablation) | BGE-M3 · CodeFeedback-MT | NDCG@10: 33.46 -> 27.49 | Hurt |
| extend input length from 512 to 4,096 tokens (ablation) | BGE-M3 · CodeTransOcean-DL | NDCG@10: 31.16 -> 32.75 | Improved |
| extend input length from 512 to 4,096 tokens (ablation) | BGE-M3 · StackOverflow QA | NDCG@10: 61.04 -> 56.53 | Hurt |
| use code-specific pre-training (Voyage-Code-002) vs general models | Voyage-Code-002 · CoIR average | NDCG@10: 56.26 vs 55.18 (E5-Mistral) | Improved |
| use strong text-retrieval model (GTE-Base) | GTE-Base · BEIR vs CoIR rank | rank: BEIR rank 2 -> CoIR rank 6 | Hurt |
| use LLM-based retriever (E5-Mistral 7B) | E5-Mistral · CodeSearchNet vs CoIR gap | NDCG@10 gap | Improved |
| use larger LLM-based model (E5-Mistral) | E5-Mistral · CodeFeedback-ST embedding latency | ms per sample: 7.4 -> 1840 | Hurt |
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
- CoQuIR: A Comprehensive Benchmark for Code Quality-Aware Information Retrieval (ACL 2026 · similarity 0.91)
- Hidden Positives: Why Code Retrieval Benchmarks Underestimate Model Quality (NeurIPS 2026 · similarity 0.90)
- CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval (CVPR 2026 · similarity 0.89)
- CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming (NeurIPS 2025 · similarity 0.89)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.88)
- CONSIDER: Commonalities and Specialties Driven Multilingual Code Retrieval Framework (AAAI 2024 · similarity 0.88)
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.