arXiv · 2601.05262
LLM2IR: simple unsupervised contrastive learning makes long-context LLM great retriever
Abstract
Modern dense information retrieval (IR) models usually rely on costly large-scale pretraining. In this paper, we introduce LLM2IR, an efficient unsupervised contrastive learning framework to convert any decoder-only large language model (LLM) to an information retrieval model. Despite its simplicity, the effectiveness is proven among different LLMs on multiple IR benchmarks including LoCo, LongEmbed and BEIR. We also find that models with a longer context length tend to have a stronger IR capacity by comparing task performances of models in the same model family. Our work not only provides an effective way to build IR models on the state-of-the-art LLMs, but also shed light on the relationship between information retrieval ability and model context length, which helps the design of better information retrievers.
Explore related subjects
Keep this discovery
Xiaocong Yang. 2025-10-31. LLM2IR: simple unsupervised contrastive learning makes long-context LLM great retriever. https://arxiv.org/abs/2601.05262
Cite the original work for its findings. Save a collection to share your selection of sources.