Skip to content
NewA calmer, faster ZeroHour

Effective Dense Retrieval using Only In-Context Examples

arXiv cs.AI / cs.LG / cs.CLby Nour Jedidi ()1 min read3 · 2 reads
AI summary · grok-4.7Summaries by Vani AI

RICE turns decoder-only LLMs into training-free dense retrievers by conditioning embeddings on shared in-context examples.

The paper introduces RICE (Representations from In-Context Examples), a training-free way to turn decoder-only LLMs into dense retrievers. RICE prompts the model with examples that give queries and documents a shared encoding context, then extracts embeddings from the LLM. The authors report substantial accuracy gains over ordinary prompt-based LLM embeddings and release code.

Key facts
  • RICE extracts dense embeddings from decoder-only LLMs using only in-context examples.
  • A shared example context conditions both query and document encoding.
  • The method needs no retriever training, and the authors release code.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

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.

arXiv cs.AI / cs.LG / cs.CL

By Nour Jedidi · arxiv.org

Read the full article at arXiv cs.AI / cs.LG / cs.CL

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.