Manuscript Offprint

arXiv:2609.03311

DoPR: Reusable Compressed Document Prefixes for Efficient LLM Reranking

Beiya Dai, Yifan Wei, Guang Yang, Xing Shi, Xinbing Wang, Zhouhan Lin

Abstract

Large language models (LLMs) are effective rerankers, but pointwise reranking repeatedly processes the same document across different queries, causing substantial redundant document-side computation. We propose DoPR, a compressed document prefix framework that decouples offline document processing from online reranking. DoPR first selects query-independent document representations and converts them into compressed document prefix states, which are precomputed offline and reused whenever the document is retrieved. During online reranking, the model scores each query-document pair by processing only the query and scoring token, with document information supplied by the stored prefix states. This design reduces online cost through both document-side compression and cross-query prefix-state reuse. Experiments on TREC DL, BEIR, and BRIGHT with Qwen3 models from 0.6B to 8B show that DoPR achieves up to 8.0× online document-side memory reduction and up to 8.04× latency speedup, while retaining 97.1%-99.5% of the average NDCG@10 of matched full-document rerankers. 1^{1}

1 Introduction

Pointwise reranking is a practical paradigm for retrieval pipelines, where each query-document pair is scored independently. This formulation is easy to parallelize, batch, and integrate with existing candidate-generation systems, while still allowing the model to capture fine-grained query-document interactions (Nogueira and Cho, 2019; Nogueira et al., 2019, 2020; Zhuang et al., 2023; Ma et al., 2024). Its main drawback is redundant document-side computation. In real retrieval systems, the same document may be retrieved for many different queries over time, yet standard pointwise rerankers re-encode the full document for every query-document pair. This repeated processing becomes a major bottleneck for deploying LLM rerankers under strict latency and memory constraints.

Existing efficiency methods mainly follow two directions: reducing the input processed in each reranking instance or precomputing document-side representations for reuse. Prior work has reduced online cost through prompt compression, token pruning, or alternative reranking paradigms (Mu et al., 2023; Chevalier et al., 2023; Kim et al., 2022). However, these methods mainly reduce the cost of each inference instance, and often still require reprocessing the same document when it is paired with different queries. Another line of work explores reusable document-side representations, such as succinct document representations, precomputed term representations, and late-interaction retrieval (Cohen et al., 2022; MacAvaney et al., 2020; Khattab and Zaharia, 2020). These methods precompute document information, but typically use it for retrieval-stage matching or specialized interaction functions rather than as internal states of an LLM reranker. This leaves open the question of whether document-side computation can be reused inside pointwise LLM reranking itself.

To address this question, we propose DoPR, a compressed document prefix framework that makes document-side computation reusable inside pointwise LLM reranking. The key idea is to represent each document with a small set of compressed document representations and convert them into compressed document prefix states, so that document-side computation can be performed once offline and reused across different queries. DoPR first selects salient document representations using self-attention signals and then converts them into compressed document prefix states. During online reranking, the stored prefix states are injected into the reranker, allowing the model to score each query-document pair by processing only the query

∗^{*}Corresponding Author.

1^{1}Code available at: https://github.com/dbylynn/DoPR.

and scoring token. In this way, DoPR reduces online cost by combining compact document prefixes with cross-query document reuse.

We evaluate DoPR on TREC DL, BEIR, and BRIGHT using Qwen3 backbones from 0.6B to 8B parameters (Yang et al., 2025). Our experiments are designed to examine whether reusable document prefixes can preserve the ranking quality of full-document pointwise rerankers while reducing online computation. Across standard and reasoning-intensive reranking benchmarks, DoPR retains competitive effectiveness relative to matched Qwen3 rerankers, with stronger retention on larger backbones in standard reranking settings. At the same time, DoPR substantially reduces online memory footprint and inference latency. We further analyze cross-query reuse and prefix-budget trade-offs, showing that the efficiency benefit is most pronounced when documents are long or repeatedly retrieved across queries. Overall, these results suggest that reusable document prefixes are especially suitable for retrieval systems with stable document collections and repeated document access.

References (13)