NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reranking with Compressed Document Representation

Hervé Déjean, Stéphane ClinchantarXiv 2025 · DOI

Abstract

Researchers from NAVER LABS Europe have developed a novel approach to document reranking that achieves a 10x speedup without significant loss in accuracy. By compressing documents of any length into exactly eight fixed-size "memory tokens," the proposed RRK (Compressed ReRanKer) model enables constant-time processing. Through a distillation process using a Mistral-7B Large Language Model (LLM) as a student and a high-performing cross-encoder as a teacher, RRK maintains competitive performance across standard Information Retrieval (IR) benchmarks.

Introduction

In modern Information Retrieval, a two-stage pipeline is standard: a fast retriever identifies candidate documents, and a sophisticated reranker sorts them for final relevance. While LLMs have significantly improved reranking accuracy, their computational cost scales linearly or quadratically with document length. This "efficiency tax" creates a bottleneck for long-form content. This paper addresses this challenge by asking whether a document can be represented as a tiny, fixed-size embedding while retaining LLM-level reranking capabilities.

Methodology

The RRK approach is built upon two primary technical pillars:

Soft Offline Compression (PISCO)

Instead of processing raw text during reranking, RRK utilizes a frozen compressor named PISCO. This compressor appends "memory tokens" to a document; the final hidden states of these tokens serve as a compressed representation. Crucially, every document—regardless of its original length—is reduced to exactly 8 embeddings.

Distillation and LoRA

To enable an LLM (Mistral-7B) to interpret these abstract embeddings, the authors employed a teacher-student distillation strategy. A high-performing cross-encoder, Naver-DeBERTa, provided the target scores. The Mistral-based student was then trained using Low-Rank Adaptation (LoRA). By fixing the input to 8 document tokens and a maximum of 24 query tokens, the model processes a sequence of exactly 32 tokens, ensuring predictable latency.

Efficiency and Constant-Time Processing

The primary advantage of RRK is its constant-time efficiency. Unlike standard models that slow down as document length increases, RRK's processing time remains flat.

Processing time comparison showing RRK's constant-time efficiency relative to document length.

As shown in the figure above, RRK achieves a 10x speedup compared to standard textual representations for documents of 512 tokens. This makes it ideal for production environments requiring predictable latency.

Accuracy and Benchmark Performance

The authors evaluated RRK across several standard IR benchmarks, including MS MARCO, TREC DL, BeIR, and LoTTe.

Evaluation of RRK and baseline models across TREC, BeIR, and LoTTe benchmarks.

On the BeIR benchmark, RRK achieved an average nDCG@10 of 56.9. This performance is remarkably close to its teacher model (57.4) and the full-text Mistral 7B baseline (57.8). While there is a slight accuracy trade-off (approximately 1 point), the order-of-magnitude speedup provides a compelling value proposition.

Key Insights

  • Compression Resilience: Eight embeddings are sufficient to capture semantic nuance for effective reranking.
  • Long Document Performance: On the TREC-NEWS dataset, RRK outperformed some full-text models for documents exceeding 768 tokens, suggesting that compression may filter out "noise" in long texts.
  • Model Scaling: A lighter 16-layer version of RRK further increases speed, surpassing the efficiency of optimized models like ModernBERT while remaining competitive.

Limitations

The current implementation of RRK relies on short queries (under 24 tokens) to maintain its fixed-size advantage. Additionally, the authors found that smaller 1B-parameter models were unable to effectively "read" the compressed embeddings, indicating a minimum model size requirement (currently 7B) for this approach. Future work involves training compressors specifically for longer contexts to further enhance performance on massive documents.

Conclusion

RRK demonstrates that document compression is a viable path toward efficient, high-performance reranking. By decoupling processing time from document length, it offers a scalable solution for real-world information retrieval systems.

Summary updated

BibTeX
@misc{dejean2025reranking,
  author = {Hervé Déjean and Stéphane Clinchant},
  title = {{Reranking with Compressed Document Representation}},
  year = {2025},
  eprint = {2505.15394},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.15394},
}
Figure