mlsanityData to 14 Oct 2026

A Comparative Study of Specialized LLMs as Dense Retrievers

arXiv 2507.03958 ↗First posted 5 Jul 2025cs.IR cs.AI cs.CLcited by 1

On the map: Multimodal LLMs / vision-language models → Document understanding and multimodal RAG

Abstract (arXiv)

While large language models (LLMs) are increasingly deployed as dense retrievers, the impact of their domain-specific specialization on retrieval effectiveness remains underexplored. This investigation systematically examines how task-specific adaptations in LLMs influence their retrieval capabilities, an essential step toward developing unified retrievers capable of handling text, code, images, and multimodal content. We conduct extensive experiments with eight Qwen2.5 7B LLMs, including base, instruction-tuned, code/math-specialized, long reasoning, and vision-language models across zero-shot retrieval settings and the supervised setting. For the zero-shot retrieval settings, we consider text retrieval from the BEIR benchmark and code retrieval from the CoIR benchmark. Further, to evaluate supervised performance, all LLMs are fine-tuned on the MS MARCO dataset. We find that mathematical specialization and the long reasoning capability cause consistent degradation in three settings, indicating conflicts between mathematical reasoning and semantic matching. The vision-language model and code-specialized LLMs demonstrate superior zero-shot performance compared to other LLMs, even surpassing BM25 on the code retrieval task, and maintain comparable performance to base LLMs in supervised settings. These findings suggest promising directions for the unified retrieval task leveraging cross-domain and cross-modal fusion.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Document understanding and multimodal RAG, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 32 of its 37 references that are in the map. First posted on arXiv 5 Jul 2025.

Builds on

32 of 37 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  4. 2025Qwen2.5-VL Technical Reportcited by 5,587
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  6. 2023Qwen Technical Reportcited by 3,344
  7. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  8. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  9. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  10. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
  11. 2021Measuring Coding Challenge Competence With APPScited by 902
  12. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
20 more
  1. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
  2. 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 413
  3. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  4. 2020Overview of the TREC 2019 deep learning trackcited by 286
  5. 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
  6. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
  7. 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
  8. 2020CORD-19: The COVID-19 Open Research Datasetcited by 180
  9. 2020Pre-training Tasks for Embedding-based Large-scale Retrievalcited by 153
  10. 2017A Deep Relevance Matching Model for Ad-hoc Retrievalcited by 126
  11. 2022RetroMAE: Pre-Training Retrieval-oriented Language Models Via Masked Auto-Encodercited by 118
  12. 2023Llama2Vec: Unsupervised Adaptation of Large Language Models for Dense Retrievalcited by 78
  13. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 75
  14. 2024Repetition Improves Language Model Embeddingscited by 72
  15. 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 60
  16. 2021Semantic Models for the First-stage Retrieval: A Comprehensive Reviewcited by 57
  17. 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
  18. 2020PROP: Pre-training with Representative Words Prediction for Ad-hoc Retrievalcited by 40
  19. 2024PromptReps: Prompting Large Language Models to Generate Dense and Sparse Representations for Zero-Shot Document Retrievalcited by 30
  20. 2025Unleashing the Power of LLMs in Dense Retrieval with Query Likelihood Modelingcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Are LLM-Based Retrievers Worth Their Cost? An Empirical Study of Efficiency, Robustness, and Reasoning Overhead
  2. 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoning
  3. 2025Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models ↗
  4. 2026Adaptive Retrieval helps Reasoning in LLMs -- but mostly if it's not used
  5. 2026The Embedder's Dilemma: LLMs Are Better, but at What Cost?
  6. 2025ExpandR: Teaching Dense Retrievers Beyond Queries with LLM Guidance
  7. 2026Mixture-of-Experts Language Models Can Be Strong and Efficient Retrievers
  8. 2024Transforming LLMs into Cross-modal and Cross-lingual Retrieval Systems