Back to search

University of Illinois Urbana-Champaign

LLM2IR: simple unsupervised contrastive learning makes long-context LLM great retriever

Abstract

dc:description

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.

Degree

thesis:*
Name thesis:degree_name
M.S.
Level thesis:degree_level
Thesis
Discipline thesis:degree_discipline
Computer Science
Grantor
University of Illinois Urbana-Champaign
Year dc:date
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yang, Xiaocong
Contributors dc:contributor
  • Zhai, Chengxiang

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • Copyright 2025 Xiaocong Yang
Language dc:language
en, eng

Identifiers

dc:identifier.*
Handle dc:identifier
https://hdl.handle.net/2142/129301

Chain of custody

source
Harvested from
University of Illinois - Urbana-Champaign
Base URL
www.ideals.illinois.edu/oai-pmh
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Yang, Xiaocong. LLM2IR: simple unsupervised contrastive learning makes long-context LLM great retriever. Thesis thesis, University of Illinois Urbana-Champaign, 2025. https://hdl.handle.net/2142/129301