mlsanityData to 7 Oct 2026

CoIR: A Comprehensive Benchmark for Code Information Retrieval Models

arXiv 2407.02883 ↗First posted 3 Jul 2024cs.IR cs.CLcited by 59

Not on the map. Why?

Abstract (arXiv)

Despite the substantial success of Information Retrieval (IR) in various NLP tasks, most IR systems predominantly handle queries and corpora in natural language, neglecting the domain of code retrieval. Code retrieval is critically important yet remains under-explored, with existing methods and benchmarks inadequately representing the diversity of code in various domains and tasks. Addressing this gap, we present COIR (Code Information Retrieval Benchmark), a robust and comprehensive benchmark specifically designed to assess code retrieval capabilities. COIR comprises ten meticulously curated code datasets, spanning eight distinctive retrieval tasks across seven diverse domains. We first discuss the construction of COIR and its diverse dataset composition. Further, we evaluate nine widely used retrieval models using COIR, uncovering significant difficulties in performing code retrieval tasks even with state-of-the-art systems. To facilitate easy adoption and integration within existing research workflows, COIR has been developed as a user-friendly Python framework, readily installable via pip. It shares same data schema as other popular benchmarks like MTEB and BEIR, enabling seamless cross-benchmark evaluations. Through COIR, we aim to invigorate research in the code retrieval domain, providing a versatile benchmarking tool that encourages further development and exploration of code retrieval systems. https://github.com/CoIR-team/coir.

Key facts. Cited by 59 papers in the map (data through 7 Oct 2026). Builds on 38 of its 68 references that are in the map. First posted on arXiv 3 Jul 2024.

Builds on

38 of 68 references.

References · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  6. 2017Billion-scale similarity search with GPUscited by 2,477
  7. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  9. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  10. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  11. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  12. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
26 more
  1. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
  2. 2021Measuring Coding Challenge Competence With APPScited by 879
  3. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  4. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  5. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  6. 2022MTEB: Massive Text Embedding Benchmarkcited by 623
  7. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  8. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  9. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  10. 2023Improving Text Embeddings with Large Language Modelscited by 295
  11. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
  12. 2024Generative Representational Instruction Tuningcited by 227
  13. 2020Generation-Augmented Retrieval for Open-domain Question Answeringcited by 186
  14. 2023How Can Recommender Systems Benefit from Large Language Models: A Surveycited by 141
  15. 2013A Theoretical Analysis of NDCG Type Ranking Measurescited by 119
  16. 2022RetroMAE: Pre-Training Retrieval-oriented Language Models Via Masked Auto-Encodercited by 118
  17. 2021COIL: Revisit Exact Lexical Match in Information Retrieval with Contextualized Inverted Listcited by 113
  18. 2024Evaluating Retrieval Quality in Retrieval-Augmented Generationcited by 90
  19. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 74
  20. 2024Repetition Improves Language Model Embeddingscited by 70
  21. 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 55
  22. 2020Text-based Question Answering from Information Retrieval and Deep Neural Network Perspectives: A Surveycited by 21
  23. 2022IntTower: the Next Generation of Two-Tower Model for Pre-Ranking Systemcited by 18
  24. 2023CTRL: Connect Collaborative and Language Model for CTR Predictioncited by 14
  25. 2023FLIP: Fine-grained Alignment between ID-based Models and Pretrained Language Models for CTR Predictioncited by 11
  26. 2024M3: A Multi-Task Mixed-Objective Learning Framework for Open-Domain Multi-Hop Dense Sentence Retrievalcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 33; 2026: 22.

59 papers.

Sort:

By area:

  1. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  2. 2025jina-embeddings-v4: Universal Embeddings for Multimodal Multilingual Retrievalcited by 72
  3. 2025MMDocIR: Benchmarking Multimodal Retrieval for Long Documentscited by 43
  4. 2025mmBERT: A Modern Multilingual Encoder with Annealed Language Learningcited by 39
  5. 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 37
  6. 2026τ-Knowledge: Evaluating Conversational Agents over Unstructured Knowledgecited by 35
  7. 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
  8. 2025jina-reranker-v3: Last but Not Late Interaction for Listwise Document Rerankingcited by 23
  9. 2025SweRank: Software Issue Localization with Code Rankingcited by 20
  10. 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidencecited by 16
  11. 2025O1 Embedder: Let Retrievers Think Before Actioncited by 15
  12. 2025FreshStack: Building Realistic Benchmarks for Evaluating Retrieval on Technical Documentscited by 15
38 more
  1. 2025Efficient Code Embeddings from Code Generation Modelscited by 12
  2. 2025ProRank: Prompt Warmup via Reinforcement Learning for Small Language Models Rerankingcited by 11
  3. 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaningcited by 10
  4. 2026F2LLM-v2: Inclusive, Performant, and Efficient Embeddings for a Multilingual Worldcited by 10
  5. 2024A Deep Dive Into Large Language Model Code Generation Mistakes: What and Why?cited by 9
  6. 2026Unlocking Multimodal Document Intelligence: From Current Triumphs to Future Frontiers of Visual Document Retrievalcited by 8
  7. 2025Granite Embedding Modelscited by 7
  8. 2025Granite Embedding R2 Modelscited by 7
  9. 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Codingcited by 7
  10. 2025CoQuIR: A Comprehensive Benchmark for Code Quality-Aware Information Retrievalcited by 6
  11. 2025Benchmarking Information Retrieval Models on Complex Retrieval Taskscited by 6
  12. 2025MIRB: Mathematical Information Retrieval Benchmarkcited by 5
  13. 2025Humanity's Last Code Exam: Can Advanced LLMs Conquer Human's Hardest Code Competition?cited by 5
  14. 2026Gemini Embedding 2: A Native Multimodal Embedding Model from Geminicited by 5
  15. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  16. 2025CoRet: Improved Retriever for Code Editingcited by 3
  17. 2025Revela: Dense Retriever Learning via Language Modelingcited by 3
  18. 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
  19. 2025MoSE: Hierarchical Self-Distillation Enhances Early Layer Embeddingscited by 2
  20. 2025ParaStudent: Closing the Sim2Real Gap in User Simulators for AI Tutor Evaluationcited by 2
  21. 2025GAPrune: Gradient-Alignment Pruning for Domain-Aware Embeddingscited by 2
  22. 2026On the Challenges and Opportunities of Learned Sparse Retrieval for Codecited by 2
  23. 2025LightRetriever: A LLM-based Text Retrieval Architecture with Extremely Faster Query Inferencecited by 1
  24. 2025A Comparative Study of Specialized LLMs as Dense Retrieverscited by 1
  25. 2025Evaluating the Effectiveness and Scalability of LLM-Based Data Augmentation for Retrievalcited by 1
  26. 2025Cross-modal Retrieval Models for Stripped Binary Analysiscited by 1
  27. 2025TabiBERT: A Large-Scale ModernBERT Foundation Model and A Unified Benchmark for Turkishcited by 1
  28. 2026LMK > CLS: Landmark Pooling for Dense Embeddingscited by 1
  29. 2026Beyond Retrieval: A Multitask Benchmark and Model for Code Searchcited by 1
  30. 2026Deep Agentic Search for Repository-Level Code Question Answering: An Empirical Studycited by 1
  31. 2026Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Modelcited by 1
  32. 2025LoRACode: LoRA Adapters for Code Embeddingscited by 0
  33. 2025Uncertainty-driven Embedding Convolutioncited by 0
  34. 2025DeepCodeSeek: Real-Time API Retrieval for Context-Aware Code Generationcited by 0
  35. 2025NeuroAda: Activating Each Neuron's Potential for Parameter-Efficient Fine-Tuningcited by 0
  36. 2026Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generationcited by 0
  37. 2026CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrievalcited by 0
  38. 2026Do not copy and paste! Rewriting strategies for code retrievalcited by 0

50 most cited of 59 All 59 (JSON)