mlsanityData to 14 Oct 2026

Effective Dense Retrieval using Only In-Context Examples

arXiv 2609.38099 ↗First posted 29 Sep 2026cs.IR cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Turning decoder-only large language models (LLMs) into strong dense retrievers typically requires some form of retriever training. In this paper, we ask whether LLMs can instead be prompted to produce effective representations for dense retrieval given only a few in-context examples. To answer this, we introduce RICE (Representations from In-Context Examples), a simple "training-free" approach that extracts high-quality dense representations from LLMs. To do so, RICE conditions the LLM on examples that provide a shared context for query and document encoding. Our results demonstrate that RICE embeddings can substantially improve the accuracy of prompt-based LLM embeddings, establishing it as a simple method to build LLM-based dense retrievers that do not require training. We release our code at https://github.com/nourj98/RICE.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 20 references that are in the map. First posted on arXiv 29 Sep 2026.

Builds on

13 of 20 references.

References · 13

  1. 2025Qwen3 Technical Reportcited by 8,820
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  4. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
  5. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  6. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  7. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
  8. 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 517
  9. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  10. 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
  11. 2022Promptagator: Few-shot Dense Retrieval From 8 Examplescited by 235
  12. 2024PromptReps: Prompting Large Language Models to Generate Dense and Sparse Representations for Zero-Shot Document Retrievalcited by 30
1 more
  1. 2025Study on LLMs for Promptagator-Style Dense Retriever Trainingcited by 2

Built on by

Not cited yet.