TL;DR
The paper introduces RRK, a highly efficient listwise reranking framework that uses soft-compression to condense long documents into just 8 fixed-size token embeddings. Despite using a large 8B-parameter backbone, RRK runs 3× to 18× faster than smaller, uncompressed state-of-the-art rerankers while matching or exceeding their retrieval effectiveness, especially on long-document benchmarks.
What Problem Does This Paper Address?
Modern Information Retrieval (IR) typically relies on a two-stage pipeline: a fast first-stage retriever pulls a broad set of candidate documents, and a heavy-duty Large Language Model (LLM) reranker refines the order. While LLM rerankers deliver state-of-the-art accuracy, they suffer from a massive computational bottleneck due to the quadratic attention complexity $O(N^2)$ relative to input sequence length.
To make this practical, practitioners usually resort to using tiny LLMs, truncating long documents, or relying on single-vector information retrieval (IR) embeddings. However, these approaches often sacrifice fine-grained semantic nuance. The authors tackle a fundamental question: Can we compress documents into rich, multi-token soft representations that drastically speed up listwise LLM reranking without losing accuracy?
Methods
The authors introduce RRK (compressed ReRanKer), which splits the task into two main components:
- Document Compression (PISCO): Instead of standard text truncation or single-vector pooling, RRK uses a LoRA-finetuned PISCO compressor to map a document of any length down to a fixed sequence of $l = 8$ "memory tokens" (a 16× compression factor for standard passages). This compression happens entirely offline.
- Listwise LLM Reranker: At inference time, the model bypasses raw text entirely. The decoder (built on a Qwen-2.5 8B backbone) processes a single concatenated sequence containing the query tokens, the compressed document tokens separated by
[SEP]markers, and a final repetition of the query tokens to compensate for the lack of bidirectional attention: $$X = (q; \mathbf{c}_1; \text{[SEP]}; \mathbf{c}_2; \text{[SEP]}; \dots; \mathbf{c}_k; \text{[SEP]}; q)$$
The model computes relevance scores via the cosine similarity between the query representation and the hidden states of the separator tokens. The entire system is trained end-to-end using a listwise RankNet loss, allowing the compressor and reranker to optimize jointly for ranking performance.
Datasets
The models were trained and evaluated using several standard IR benchmarks:
- Training: MS MARCO (passage dataset, ~0.5M queries) and the E2Rank dataset (150k queries scored by a Qwen-32B teacher).
- Evaluation: The BeIR benchmark (12 diverse text retrieval datasets) and the TREC Deep Learning (DL) 2019/2020 passage and document collections.
Key Insights and Ideas
- Soft Compression beats IR Embeddings: Traditional dense retrieval vectors compress a document into a single vector optimized for vector search. RRK proves that retaining a few "soft" tokens (8 tokens in this case) inside the LLM's native embedding space preserves significantly more fine-grained semantic information.
- Bypassing the Quadratic Bottleneck: By replacing hundreds of textual document tokens with just 8 compressed tokens, the sequence length processed by the LLM plummets. This drops the attention complexity from $O((|q| + k|d|)^2)$ to $O((2|q| + k(l + 1))^2)$, enabling an 8B model to easily outpace a 0.6B model processing raw text.
- Zero-Shot Length Generalization: Remarkably, even though the compressor was trained on short text snippets (128 tokens), it naturally scales to long documents (up to 2048 tokens) at inference time, yielding even larger efficiency gains.
Key Results
BeIR Benchmark
On the 12 datasets in the BeIR suite, listwise RRK achieved an average nDCG@10 of 58.4, outperforming the public Jina-v3 (0.6B) teacher model while running 6× faster.
As shown in Figure 1, RRK sits firmly on the Pareto front, offering the absolute lowest relative processing time while maintaining high effectiveness.
Long Document Reranking
The efficiency gains become massive when dealing with long documents (TREC DL 19/20).
As illustrated in Figure 2, when evaluating documents up to 2048 tokens long, uncompressed listwise models like Jina-v3 slow down drastically. In contrast, RRK maintains a flat processing time (a compression factor up to 256×), running 58× faster than Jina-v3 and 35× faster than Qwen3-4B, while actually delivering superior nDCG@10 scores.
Limitations and Future Work
Despite its impressive speedups, the authors note three key limitations:
- Query Length Sensitivity: RRK's speed advantage relies on the query being short. If the query itself is exceptionally long (e.g., long-form reasoning tasks), the input sequence lengthens, and the quadratic attention bottleneck returns.
- Backbone Scaling Issues: Initial attempts to port this architecture to smaller 1B–4B parameter models resulted in a severe drop in ranking effectiveness. Currently, an 8B backbone is required to maintain high accuracy.
- Storage Footprint: Storing 8 dense float16 embedding vectors per document requires substantial disk space. For the full MS-MARCO collection (8.8M documents), the compressed index takes up 230 GB. The authors suggest that future work exploring vector quantization could significantly mitigate this footprint.
Summary updated