Manuscript Offprint
arXiv:2610.38683Quantum-Inspired Pairwise Ranking Aggregation via Active LLM Feedback
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Quan Mai¹,², Susan Gauch¹, and Gibson Nkhata¹
¹ University of Arkansas, Fayetteville, AR 72701, USA
² Applied AI, Walmart Inc., Bentonville, AR 72716, USA
Abstract. Ranking aggregation from multiple retrievers is a powerful yet under-explored technique in modern retrieval and RAG systems. We introduce LLM-IRA, the first extension of the quantum-inspired interactive ranking aggregation framework [12] to document reranking. By leveraging large language models (LLMs) solely for pairwise judgments on high-disagreement document pairs, our method learns fusion weights in a principled, interactive way. The final ranking is a simple, ultra-fast pointwise linear fusion of scores, no full pairwise matrix or expensive listwise prompting is required. Experiments on the BEIR benchmark and TREC Deep Learning tracks with an open-weight instruction-tuned judge (Llama-3.1-8B-Instruct) show that LLM-IRA matches or numerically exceeds strong static fusion baselines on 5 of 6 evaluated benchmarks. We report two weight-update variants: momentum blending and a full accumulated-history refit, which together reach statistical significance (Wilcoxon signed-rank, ) over the best unsupervised aggregator on 4 of 6 benchmarks (DL19 under momentum; DL20, DBpedia, and NFCorpus under accumulated refit, which is the stronger of the two configurations overall). On the benchmarks we profiled (DL19, DL20), it already clears the best unsupervised baseline within as few as 5 LLM calls per query, well before exhausting its typical ~25–30 call budget. LLM-IRA also achieves cost-effectiveness comparable to state-of-the-art zero-shot LLM rerankers at an order of magnitude fewer LLM calls, and requires no training data or model fine-tuning.
Keywords: Ranking aggregation · Document reranking · Large language models · Quantum-inspired fusion · Interactive feedback.
1 Introduction
Ranking Aggregation (RA) is a crucial technique in information retrieval, designed to fuse multiple search strategies to improve robustness and generalization, as no single base ranker performs optimally across all domains. Existing RA methods broadly divide into two categories: unsupervised techniques such as Reciprocal Rank Fusion (RRF [6]) and CombSUM, which are simple and cost-effective but lack external guidance for optimization; and fully-supervised approaches, including learning-to-rank models (RankNet [2], LambdaMART [3]) or zero-shot listwise LLM rerankers (RankGPT [28], RankLLM [26]). While the latter deliver superior performance, they demand either extensive labeled data for training or prohibitive inference costs (hundreds of LLM
Q. Mai et al.
calls per query) through massive prompting. Recently, a Quantum-Inspired Interactive Ranking Aggregation (QI-IRA) [12] framework was proposed for image retrieval (person re-identification), demonstrating that RA can be modeled as fusing multiple "incomplete observations" into a "complete observation" using quantum theory. QI-IRA achieved state-of-the-art performance with remarkably low labeling costs (as few as two user feedbacks per query). However, QI-IRA's pointwise relevance feedback (e.g., "Is this item relevant or irrelevant?") is inadequate for document reranking, where strict relative ordering is required. In this paper, we propose LLM-IRA, a novel framework that extends the quantum RA analogy from point-wise absolute relevance to pairwise relative relevance. We model document pairs as entangled quantum systems and replace costly human feedback with an efficient interactive LLM loop that dynamically samples only the highest-disagreement pairs. This enables our method to learn optimal fusion weights for heterogeneous base rankers while retaining the simplicity and speed of linear pointwise fusion. We report two weight-update rules for turning LLM preferences into fusion weights: momentum blending and a full accumulated-history refit, and find the latter the stronger configuration overall. Experiments across two independent LLM judges demonstrate that LLM-IRA matches or outperforms static fusion baselines on the majority of tested benchmarks under either rule, and matches zero-shot LLM rerankers at a fraction of the cost.
The remainder of this paper is organized as follows: Section 2 reviews related work; Sections 3 and 4 recap QI-IRA and detail our method, respectively; Sections 5 and 6 present experiments and results; and Section 7 concludes.
LLM zero-shot document reranking The rise of LLMs has produced a parallel and highly practical family of zero-shot rerankers. These fall into three main paradigms: pointwise scoring [14, 25], pairwise comparison [21], and listwise reranking [18, 20, 28]. While effective on benchmarks like BEIR and MS MARCO, these methods scale poorly: listwise prompting requires linear or quadratic LLM calls relative to candidate size, leading to high token costs. LLM-IRA uses LLMs more sparingly, only for targeted pairwise judgments on disagreed pairs, to guide fusion weights, achieving comparable performance at a fraction of the expense.
Interactive relevance feedback has evolved from classical Rocchio-style pseudo-relevance feedback [24] and its neural variants [13] toward LLM-as-Judge techniques [33]. Recent studies explore pairwise and listwise LLM judgments for query rewriting or preference alignment [32, 15], yet they typically treat the LLM as a full reranker or query expander rather than as a lightweight supervisor that learns fusion weights for cheaper base retrievers.
LLM-guided rank fusion Most closely related to our work, LLM-RankFusion [27] uses in-context learning with calibration to estimate pairwise preference probabilities and aggregate multiple rankers. While it achieves strong effectiveness, it requires comparing all pairs in the candidate pool (quadratic LLM cost), making it impractical for large pools. In contrast, LLM-IRA queries the LLM only on the small subset of pairs where base rankers disagree, reducing cost by an order of magnitude while maintaining competitive effectiveness.
While unsupervised RA is efficient but static, supervised LTR and LLM rerankers are powerful but costly, and interactive feedback lacks principled fusion mechanisms. LLM-IRA bridges these by extending QI-IRA's quantum-inspired framework with low-cost LLM pairwise interactions, enabling adaptive aggregation without training or excessive prompting.
3 Preliminaries: QI-IRA Recap
The original QI-IRA framework models each gallery item as a quantum state evaluated under observation operators corresponding to base rankers. Each basic ranking score is interpreted as the collapse probability into a relevant state. Gleason's theorem justifies that the optimal fused score is a linear combination:
Given positive and negative feedback items, weights are updated as:
followed by momentum smoothing:
where regulates the degree of weight updating. This forms the foundation for our pairwise extension.
4 The Pairwise Quantum Analogy
QI-IRA focuses on pointwise absolute relevance with bases (relevant) and (irrelevant). For document reranking, which emphasizes strict relative ordering, we redefine the quantum model as follows:
The Particle System: Each microscopic particle represents a document pair (Document A and Document B), with joint state vector .
Q. Mai et al.
The Observation Operators: The base rankers (e.g., BM25, dense, sparse) serve as quantum observation operators.
The Orthogonal Bases: For each ranker , the 2-dimensional state space captures relative relevance via orthogonal bases: (1) (Document A is strictly more relevant than B), and (2) (Document B is strictly more relevant than A).
This shift enables modeling pairwise preferences while preserving the quantum-inspired framework.
From 1D scores to pairwise collapse probabilities To map pointwise scores (e.g., BM25 scores) into the pairwise quantum state, we adapt the pairwise logit from RankNet-style LTR:
Pairwise collapse probability: The probability that A wins over B under ranker m is:
The amplitudes sum to 1 in squared form, yielding:
Aggregation via Gleason's theorem QI-IRA uses Gleason's theorem to derive linear fusion of pointwise scores. This extends directly to our pairwise case: The density operator for ranker is . The aggregated operator is:
Substituting into Gleason's theorem yields the fused pairwise probability:
Thus, the final ranking is derived from the aggregated pairwise probabilities, maintaining theoretical optimality. A detailed mathematical derivation extending Gleason's theorem to our pairwise quantum observation framework is provided in the Appendix A.
Interactive LLM feedback loop Starting with uniform weights, we compute an initial fused ranking. From the top- documents, we sample pairs with high ranker disagreement (e.g., where BM25 prefers A over B, but dense prefers B over A). These pairs are queried to the LLM: “Given the query, which document is more relevant: A or B?” The LLM’s judgment (e.g., W L, where W is the winner and L the loser) acts as a definitive measurement, collapsing the pair’s state.
Weight adjustment Only LLM judgments with confidence (logit gap) at or above a threshold are retained in the valid preference set ; low-confidence judgments are discarded as noise rather than assumed to indicate an explicit “both irrelevant” outcome (see Limitations). For each retained judgment ( ), define the positive score as the probability ranker correctly predicted the order and the negative score as the opposite . For a batch of pairs, the provisional weight is:
Because , this simplifies to:
This ensures that a ranker providing a highly confident, correct probability receives a massive reward, a highly confident incorrect probability receives a massive penalty, and an uncertain ranker receives no update. Because can be negative for a systematically wrong ranker, we exponentiate and renormalize across rankers (softmax) before momentum blending, which guarantees and at every round. We introduce a weight-sharpness parameter (default ) that scales the provisional weight before exponentiating:
At , the softmax keeps weight spread across all rankers even under strong disagreement, which is a sensible default when base rankers are genuinely complementary. Raising lets the method commit more fully to a single dominant ranker when one consistently outperforms the others, at the cost of amplifying noise from small per-round preference batches.
Finally, we update the actual fusion weights using one of two rules. The default, momentum, blends only the current round's softmax estimate with the previous weights, where (default 0.7) controls the degree of updating to ensure stability:
The alternative, accumulated refit, instead recomputes (and hence ) from every confident preference observed so far rather than only the current round's batch, and adopts it directly as the new weight with no momentum blend: . We report both variants in Table 1 (/momentum vs. /accumulated refit); under accumulated refit, is unused.
The loop repeats until the LLM budget is exhausted or no unsampled disagreeing pairs remain in the top-. The entire process is shown in Algorithm 1.
5 Experiment Setup
Datasets We evaluate our method on three widely-used benchmarks: TREC Deep Learning 2019/2020 [8, 7], and BEIR benchmark [30].
Base retrievers and candidate pool We employ 3 heterogeneous base retrievers (): BM25 [23] (lexical baseline), a dense retriever, and SPLADE [10] (learned sparse retrieval). BM25 scores are represented via a linear rank-based proxy (-rank, where is the candidate pool size), matching the transform used for our unsupervised baselines, since raw BM25 scores are not retained in our retrieval cache; the dense and SPLADE rankers use their native similarity/dot-product scores. For our primary experiments we use nomic-embed-text-v1.5 [19] as the dense ranker; we additionally
Q. Mai et al.
Algorithm 1 Pairwise LLM-IRA for Document Reranking
Input: Query , documents , base-ranker scores , budget , zone size , pairs/round , confidence threshold , sharpness , update rule
Output: Final aggregated ranking of
1: Min-max normalize each ranker's scores; derive pairwise collapse probabilities (§4); init
2: for do
3: Aggregate ; isolate Top-top_r documents
4: Select the pairs with highest cross-ranker disagreement in within this pool
5: Query the LLM on each pair; keep judgments with confidence gap as valid set
6: if no unsampled disagreeing pairs remain in Top-top_r then
7: break └ sampling exhausted
8: else if then
9: continue └ all pairs below ; resample next round
10: Compute provisional weights from , softmax-normalize with sharpness , and apply momentum () or accumulated refit to obtain (§4)
11: if converged vs. then
12: break
13: return sorted by , descending
report results with all-MiniLM-L6-v2 [22] and BGE-large-en-v1.5 [4] for retriever-quality robustness (Table 3), each applied with their prescribed query and document prefixes.
All methods operate on the same top-100 candidate pool retrieved by BM25, isolating the reranking/fusion effect from upstream retrieval quality.
LLM judge and evaluation metrics For the primary evaluation we use two open-weight, instruction-tuned decoder-only judges: Llama-3.1-8B-Instruct [9] and Qwen2.5-14B-Instruct [29], using each model's chat template and extracting next-token logits for labels "A" and "B" to preserve the pairwise probability framework. We additionally report earlier exploratory results with the Flan-T5 family [16] (Large/XL/XXL variants) at the MiniLM retriever tier. The LLM budget is 100 pairwise queries per query (in practice ~30 are used). The exact prompt is in Appendix B. Re-ranking depth is ; the primary metric is NDCG@10 (reported as percentages).
Baselines We compare against three categories of baselines: (1) Unsupervised fusion: the Comb* family [11] (CombMIN, CombMAX, CombSUM, CombANZ, CombMNZ), BordaCount [1], and RRF [6]; and (2) LTR with LLM supervision (LTR-Logistic): logistic regression over the same LLM pairwise labels collected by our disagreement-based sampling, to isolate whether the quantum-inspired weight update adds value beyond standard LTR on the same supervision signal.
Parameters We set the top- parameter (contentious zone) to 40 for selecting disagreement pairs, choose the highest-disagreement pairs to query the LLM in each round, and only fold a pairwise judgment into the weight update if the judge's logit gap exceeds a confidence threshold . We arrived at this configuration by sweeping from 10 to 40: small starves the sampler under a fixed per-query LLM budget by repeatedly re-querying an already-resolved contentious zone, while consistently gives the
Table 1. NDCG@10 comparison across TREC DL and BEIR benchmarks, using nomic-embed-text-v1.5 as the dense retriever and BM25+Dense+SPLADE () as base rankers throughout. LLM-IRA (Llama-3.1-8B) values use the final adopted configuration: contentious-zone , pairs/round, and confidence-threshold on the LLM logit gap. Best overall in bold; best unsupervised underlined (ties shown on all tied cells). *Statistically significant improvement over the best unsupervised aggregator in that column (Wilcoxon signed-rank test, paired per-query NDCG@10, ); see §6 for the full per-column significance breakdown. ‡The accumulated-refit row uses weight-sharpness and the accumulated-refit update rule described in §4 (vs. /momentum for the row above). Its * markers follow the same convention as the momentum row; see §6 for the full significance breakdown, including comparisons against the momentum row and LTR-Logistic.
| Category Method | DL 19 | DL 20 | Covid | SciFact | DBpedia | NFCorpus | |
|---|---|---|---|---|---|---|---|
| Unsupervised | CombMIN | 67.51 | 63.08 | 76.99 | 71.53 | 41.14 | 37.23 |
| CombMAX | 60.04 | 55.89 | 68.34 | 69.65 | 37.02 | 34.69 | |
| CombSUM | 69.56 | 65.24 | 78.00 | 73.26 | 43.31 | 37.64 | |
| CombANZ | 69.62 | 65.19 | 78.00 | 73.21 | 43.24 | 37.55 | |
| CombMNZ | 69.53 | 65.24 | 78.00 | 73.26 | 43.31 | 37.70 | |
| BordaCount | 67.94 | 63.18 | 79.27 | 72.38 | 41.69 | 36.92 | |
| RRF | 68.80 | 64.56 | 80.07 | 72.90 | 42.44 | 36.98 | |
| Ours LTR | LTR-Logistic | 70.98 | 67.02 | 82.02 | 72.63 | 43.22 | 36.69 |
| LLM-IRA (Llama-3.1-8B, momentum) | 70.42* | 65.95 | 80.04 | 73.47 | 43.66 | 37.81 | |
| LLM-IRA (Llama-3.1-8B, , accum. refit)§ | 70.45 | 67.67* | 80.57 | 73.70 | 44.29* | 38.01* | |
sampler enough candidate pairs to keep surfacing genuinely high-disagreement pairs as rounds proceed. was found to weakly dominate the laxer default (never worse, occasionally marginally better) across datasets, and is adopted as the final setting; and must remain small enough to stay computationally cheap, as sampling pairs out of the zone requires time complexity before feeding them to the LLM.
All experiments were conducted in a single run on 2 NVIDIA Tesla T4 GPUs, 16GB of VRAM each. Code will be made available upon acceptance.
6 Results
Unless noted otherwise, results below use the nomic/Llama-3.1-8B-Instruct tier of Table 1, which we treat as canonical (Figure 1 included). Table 2 reports cost-profile results at the MiniLM/Flan-T5-Large tier (matching the reranker baselines' judge), and Table 3 reports additional retriever- and judge-scale robustness checks (MiniLM/BGE-large tiers).
Comparison with Unsupervised RA LLM-IRA (momentum) matches or beats the best unsupervised aggregator on 5 of 6 benchmarks, but the edge is statistically significant only on DL19. At the nomic/Llama-3.1-8B tier, using ~30 LLM calls per query, it trails only on Covid (by 0.03 NDCG@10). Against each column's best unsupervised aggregator (Wilcoxon, paired per-query NDCG@10), the win on DL19 (vs. CombANZ, , , ) is borderline given the sample size; elsewhere the gap is not significant ( from 0.052 on DBpedia to 0.94 on Covid).
Q. Mai et al.
Table 2. Cost-effectiveness comparison on TREC DL 2019, at the MiniLM/Flan-T5-Large tier (matching the LLM reranker baselines' judge). *LLM reranker numbers reproduced from Wang et al. [31] using Flan-T5-Large. The LLM-IRA row uses the accumulated-refit update rule () with BM25+Dense (MiniLM) base rankers (), contentious-zone , and the default confidence threshold (); this secondary tier is retained for a judge-matched cost comparison, distinct from the primary nomic/Llama-3.1-8B tier in Table 1. LTR-Logistic is omitted here: it uses the identical disagreement-based sampling and LLM-call budget as LLM-IRA (~27 calls/query), so its cost profile is the same; see Table 1 for its NDCG@10 comparison.
| TREC DL 2019 | NDCG@10 # | Calls | #Tokens |
|---|---|---|---|
| LLM Rerankers (Flan-T5-Large)* | |||
| TourRank | 48.2 | 130.0 | 92571 |
| PRP-Graph | 65.8 | 482.7 | 221782 |
| Setwise-HeapSort | 66.9 | 125.3 | 40450 |
| LLM-guided Fusion (Flan-T5-Large) | |||
| LLM-IRA (Ours) | 66.43 | 26.95 | 6003 |
LLM-IRA reliably beats the weak unsupervised aggregators, but is only sometimes ahead of the strong ones. It significantly beats CombMIN and CombMAX on all six benchmarks (), and BordaCount/RRF on four of six (not Covid or SciFact). Against the strongest aggregators (CombSUM/CombANZ/CombMNZ, themselves near-ties with each other): significant on DL19 (–) and Covid ( against all three); not significant on DL20 or SciFact; on DBpedia/NFCorpus only CombANZ clears significance () while CombSUM/CombMNZ narrowly miss ().
A second configuration — accumulated-history weight refit at — beats momentum on all six benchmarks and is the strongest configuration overall on three of them. Gains over momentum range +0.03 to +1.72 NDCG@10, significant on DL20 () and DBpedia (); not on DL19, Covid, or SciFact (). Against the best unsupervised aggregator it is significant on DL20 (), DBpedia (), and NFCorpus () — marked * in Table 1 — not on DL19, Covid, or SciFact (). Against LTR-Logistic it leads on four of six (DL20, SciFact, DBpedia, NFCorpus; significant on the latter two, and ) and trails on DL19 and Covid (neither significant, and 0.078; Covid is the largest numerical deficit, 80.57 vs. 82.02). It is never significantly worse than momentum, LTR-Logistic, or the best unsupervised aggregator on any benchmark — a reasonable case for adopting it going forward.
Impact of LLM budget LLM-IRA exceeds the best unsupervised aggregator within just 5 LLM calls per query. Figure 1 reports this at the primary nomic/Llama-3.1-8B-Instruct, accumulated-refit tier. On DL19 (best unsupervised: CombANZ, 69.62), LLM-IRA reaches 70.07 at a budget of only 5 calls and is essentially flat thereafter (70.50–70.80 across 10–30 calls). On DL20 (best unsupervised: CombSUM/CombMNZ, 65.24), LLM-IRA reaches 67.87 at 5 calls and drifts within 68.35–68.64 across 10–30 calls. Both curves clear the best unsupervised aggregator at the smallest budget tested and

Fig. 1. NDCG@10 vs. LLM-call budget (5–30 calls) at the primary nomic/Llama-3.1-8B-Instruct tier, under the accumulated-refit () configuration, for DL19 () and DL20 (); checkpoints are read from per-round logs within a single full-budget run. Dotted lines mark each column's best unsupervised aggregator from Table 1 (CombANZ 69.62 for DL19, CombSUM/CombMNZ 65.24 for DL20).
plateau rather than peaking at a specific call count, indicating most of the gain is captured from the first handful of high-disagreement pairs.
Cost against LLM rerankers LLM-IRA exceeds PRP-Graph's effectiveness at 5.6% of its LLM calls, and comes within 0.5 NDCG@10 points of the SOTA HeapSort reranker at about a fifth of its cost. We evaluate against computationally expensive LLM rerankers — listwise TourRank [5], pairwise PRP-Graph [17], and setwise HeapSort [34], reproduced from Wang et al. [31] using Flan-T5-Large; our own LLM-IRA row (accumulated refit, ) uses the same MiniLM/Flan-T5-Large tier for a judge-matched comparison. As shown in Table 2, LLM-IRA (66.43 NDCG@10) exceeds PRP-Graph (65.8) using only 5.6% of its LLM calls (27 vs. 483) and 2.7% of its prompt tokens, and trails HeapSort (66.9) by just 0.47 NDCG@10 points using about a fifth of the LLM calls (27 vs. 125) and 14.8% of the prompt tokens.
Robustness to retriever and judge quality LLM-IRA's gains hold across retriever tiers and judge scales, and it significantly beats RRF at the primary nomic tier on DL20 (numerically ahead on DL19 and Covid as well). Table 3 reports NDCG@10 across retriever tiers and judges, alongside RRF at each tier. Switching the dense retriever from MiniLM to BGE-large raises the RRF ceiling, as expected. At the BGE-large tier, LLM-IRA (Llama-3.1-8B) beats RRF by +0.28 (DL19) and +1.11 (DL20), trails by 0.17 (Covid); only DL20 is significant (; DL19 , Covid ). Llama-3.1-8B vs. the larger Qwen2.5-14B at the same tier shows near-identical effectiveness (largest gap 0.65, DL20); judge scale beyond ~8B is not the binding constraint. The nomic/Llama-3.1-8B row reuses the accumulated-refit () run from Table 1:
Q. Mai et al.
vs. RRF it is significant on DL20 (), not significant on DL19 () or Covid () though numerically ahead on both — a different comparison than Table 1's marker, which is against each column's best unsupervised aggregator rather than RRF specifically. Swapping the judge down to the far smaller, encoder-decoder Flant5-Large (770M) or Flan-T5-XL (3B) at this same nomic tier gives NDCG@10 on par with (if anything, marginally above) Llama-3.1-8B-Instruct — 70.58/68.04/80.68 and 70.64/68.38/80.19 (DL19/DL20/Covid) respectively, both numerically ahead of RRF on all three — extending the judge-scale-insensitivity finding down roughly an order of magnitude in parameter count, though we did not run significance tests for these two rows.
Table 3. Robustness of LLM-IRA across retriever and judge configurations (: BM25, Dense, SPLADE). *Significant vs. RRF (Wilcoxon ); DL19 and Covid gaps for Llama are not significant (, ). §Significant vs. RRF at the nomic tier (Wilcoxon DL20, ); the DL19 (, ) and Covid () gaps are not significant, though LLM-IRA is numerically ahead of RRF on both (DL19 +1.65, Covid +0.50 NDCG@10). The nomic/Llama-3.1-8B-Instruct row reuses the accumulated-refit () run reported as LLM-IRA in Table 1.
| Retriever | Judge | DL19 | DL20 | Covid |
|---|---|---|---|---|
| Best unsupervised (RRF) | ||||
| MiniLM | - | 61.33 | 58.28 | 71.92 |
| BGE-large | - | 70.15 | 64.11 | 78.05 |
| nomic | - | 68.80 | 64.56 | 80.07 |
| LLM-IRA | ||||
| MiniLM | Flan-T5-XXL | 63.15 | 62.58 | 74.23 |
| BGE-large | Llama-3.1-8B-Instruct | 70.43 | 65.22* | 77.88 |
| BGE-large | Qwen2.5-14B-Instruct | 70.52 | 65.87 | 77.82 |
| nomic | Llama-3.1-8B-Instruct (accum. refit) | 70.45 | 67.67§ | 80.57 |
| nomic | Flan-T5-Large (accum. refit) | 70.58 | 68.04 | 80.68 |
| nomic | Flan-T5-XL (accum. refit) | 70.64 | 68.38 | 80.19 |
7 Conclusion
We propose LLM-IRA, the first extension of quantum-inspired interactive ranking aggregation to document reranking. Under the Llama-3.1-8B-Instruct judge, LLM-IRA matches or numerically exceeds static rank aggregation methods on 5 of 6 evaluated benchmarks. Of the two weight-update rules we report, momentum reaches significance (Wilcoxon, ) over the best unsupervised aggregator on 1 of 6 benchmarks (DL19), while accumulated-history refit () extends this to 3 of 6 (DL20, DBpedia, NFCorpus), is never significantly worse than momentum on any benchmark, and is the configuration we recommend going forward. On the benchmarks we profiled (DL19, DL20), LLM-IRA already clears the best unsupervised baseline within as few as 5 LLM calls per query, well before exhausting its typical ~25–30 call budget (Figure 1). LLM-IRA enables efficient fusion of heterogeneous retrievers with minimal LLM feedback.
8 Limitations
While our framework shows strong potential, it presents several limitations for future research:
LLM noise Even with capable 8B–14B instruction-tuned judges, pairwise preferences on contentious, high-disagreement document pairs remain noisy, and Covid shows this can narrow or flip the outcome against LLM-IRA relative to a strong static aggregator (the momentum configuration trails RRF there by 0.03 NDCG@10, Table 1). Because the system directly translates the LLM's absolute judgment into mathematical weight adjustments, noisy or incorrect feedback can heavily penalize superior base rankers; a confidence-gated update (discarding low-margin judgments) mitigates but does not eliminate this risk, and the appropriate confidence threshold is judge-specific and currently set empirically rather than calibrated automatically.
Binary quantum state constraints The current 2D quantum state space strictly models relative preference ( or ). In reality, both documents might be entirely irrelevant to the query. Future work must mathematically integrate a “both irrelevant” dimension into the model without violating the fundamental quantum rule that the sum of squared probability amplitudes must equal one.
Reversion to pointwise inference To maintain computational efficiency across large datasets, the final global inference step abandons the pairwise logic and reverts to standard 1D pointwise linear weighting. Future work could explore scalable methods for executing a strictly pairwise final aggregation.
Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.
References
- Aslam, J.A., Montague, M.: Models for metasearch. In: Proceedings of the 24th annual international ACM SIGIR conference on Research and development in information retrieval. pp. 276–284 (2001)
- Burges, C., Ragno, R., Le, Q.: Learning to rank with nonsmooth cost functions. Advances in neural information processing systems 19 (2006)
- Burges, C.J.: From ranknet to lambdarank to lambdamart: An overview. Learning 11(23-581), 81 (2010)
- Chen, J., Xiao, S., Zhang, P., Luo, K., Lian, D., Liu, Z.: BGE M3-Embedding: Multi-lingual, multi-functionality, multi-granularity text embeddings through self-knowledge distillation (2024)
- Chen, Y., Liu, Q., Zhang, Y., Sun, W., Ma, X., Yang, W., Shi, D., Mao, J., Yin, D.: Tourrank: Utilizing large language models for documents ranking with a tournament-inspired strategy. In: Proceedings of the ACM on Web Conference 2025. pp. 1638–1652 (2025)
- Cormack, G.V., Clarke, C.L., Buettcher, S.: Reciprocal rank fusion outperforms condorcet and individual rank learning methods. In: Proceedings of the 32nd international ACM SIGIR conference on Research and development in information retrieval. pp. 758–759 (2009)
Q. Mai et al.
-
Craswell, N., Mitra, B., Yilmaz, E., Campos, D.: Overview of the TREC 2020 deep learning track. CoRR abs/2102.07662 (2021), https://arxiv.org/abs/2102.07662
-
Craswell, N., Mitra, B., Yilmaz, E., Campos, D., Voorhees, E.M.: Overview of the trec 2019 deep learning track. In: Text REtrieval Conference (TREC). TREC (March 2020), https://www.microsoft.com/en-us/research/publication/overview-of-the-trec-2019-deep-learning-track/
-
Dubey, A., et al.: The Llama 3 herd of models. arXiv preprint arXiv:2407.21783 (2024)
-
Formal, T., Piowarski, B., Clinchant, S.: SPLADE: Sparse lexical and expansion model for first stage ranking. In: Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval. pp. 2288–2292 (2021)
-
Fox, E.A., Shaw, J.A.: Combination of multiple searches. NIST special publication SP 243 (1994)
-
Hu, C., Zhang, H., Liang, C., Huang, H.: Qi-ira: quantum-inspired interactive ranking aggregation for person re-identification. In: Proceedings of the AAAI conference on artificial intelligence. vol. 38, pp. 2202–2210 (2024)
-
Li, C., Sun, Y., He, B., Wang, L., Hui, K., Yates, A., Sun, L., Xu, J.: Nprf: A neural pseudo relevance feedback framework for ad-hoc information retrieval. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. pp. 4482–4491 (2018)
-
Liang, P., Bommasani, R., Lee, T., Tsipras, D., Soylu, D., Yasunaga, M., Zhang, Y., Narayanan, D., Wu, Y., Kumar, A., et al.: Holistic evaluation of language models. arXiv preprint arXiv:2211.09110 (2022)
-
Liu, T., Qin, Z., Wu, J., Shen, J., Khalman, M., Joshi, R., Zhao, Y., Saleh, M., Baumgartner, S., Liu, J., et al.: Lipo: Listwise preference optimization through learning-to-rank. In: Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). pp. 2404–2420 (2025)
-
Longpre, S., Hou, L., Vu, T., Webson, A., Chung, H.W., Tay, Y., Zhou, D., Le, Q.V., Zoph, B., Wei, J., et al.: The flan collection: Designing data and methods for effective instruction tuning. In: International conference on machine learning. pp. 22631–22648. PMLR (2023)
-
Luo, J., Chen, X., He, B., Sun, L.: Prp-graph: Pairwise ranking prompting to llms with graph aggregation for effective text re-ranking. In: Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). pp. 5766–5776 (2024)
-
Ma, X., Zhang, X., Pradeep, R., Lin, J.: Zero-shot listwise document reranking with a large language model. arXiv preprint arXiv:2305.02156 (2023)
-
Nussbaum, Z., Morris, J.X., Duderstadt, B., Mulyar, A.: Nomic embed: Training a reproducible long context text embedder. arXiv preprint arXiv:2402.01613 (2024)
-
Pradeep, R., Sharifymoghaddam, S., Lin, J.: Rankvicuna: Zero-shot listwise document reranking with open-source large language models. arXiv preprint arXiv:2309.15088 (2023)
-
Qin, Z., Jagerman, R., Hui, K., Zhuang, H., Wu, J., Yan, L., Shen, J., Liu, T., Liu, J., Metzler, D., et al.: Large language models are effective text rankers with pairwise ranking prompting. In: Findings of the Association for Computational Linguistics: NAACL 2024. pp. 1504–1518 (2024)
-
Reimers, N., Gurevych, I.: Sentence-bert: Sentence embeddings using siamese bert-networks. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP). pp. 3982–3992 (2019)
-
Robertson, S., Zaragoza, H.: The probabilistic relevance framework: BM25 and beyond, vol. 4. Now Publishers Inc (2009)
-
Rocchio Jr, J.J.: Relevance feedback in information retrieval. The SMART retrieval system: experiments in automatic document processing (1971)
-
Sachan, D., Lewis, M., Joshi, M., Aghajanyan, A., Yih, W.t., Pineau, J., Zettlemoyer, L.: Improving passage retrieval with zero-shot question generation. In: Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. pp. 3781–3797 (2022)
-
Sharifymoghaddam, S., Pradeep, R., Slavescu, A., Nguyen, R., Xu, A., Chen, Z., Zhang, Y., Chen, Y., Xian, J., Lin, J.: Rankllm: A python package for reranking with llms. In: Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. pp. 3681–3690 (2025)
-
Shen, Y., Gao, Y., Shao, T., Guo, J.: Llm-rankfusion: Mitigating intrinsic inconsistency in llm-based ranking. arXiv preprint arXiv:2406.00231 (2024)
-
Sun, W., Yan, L., Ma, X., Wang, S., Ren, P., Chen, Z., Yin, D., Ren, Z.: Is chatgpt good at search? investigating large language models as re-ranking agents. In: Proceedings of the 2023 conference on empirical methods in natural language processing. pp. 14918–14937 (2023)
-
Team, Q.: Qwen2.5 technical report. arXiv preprint arXiv:2412.15115 (2024)
-
Thakur, N., Reimers, N., Rücklé, A., Srivastava, A., Gurevych, I.: Beir: A heterogeneous benchmark for zero-shot evaluation of information retrieval models. arXiv preprint arXiv:2104.08663 (2021)
-
Wang, P., Xia, Z., Liao, C., Wang, F., Liu, H.: Realm: Recursive relevance modeling for llm-based document re-ranking. In: Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. pp. 23875–23889 (2025)
-
Zhao, Y., Wang, Y., Yin, M.: Permutative preference alignment from listwise ranking of human judgments. In: Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. pp. 310–334 (2025)
-
Zheng, L., Chiang, W.L., Sheng, Y., Zhuang, S., Wu, Z., Zhuang, Y., Lin, Z., Li, Z., Li, D., Xing, E., et al.: Judging llm-as-a-judge with mt-bench and chatbot arena. Advances in neural information processing systems 36, 46595–46623 (2023)
-
Zhuang, S., Zhuang, H., Koopman, B., Zuccon, G.: A setwise approach for effective and highly efficient zero-shot ranking with large language models. In: Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. pp. 38–47 (2024)
A Proof of Pairwise RA via Gleason's theorem
This appendix provides a rigorous mathematical derivation extending Gleason's theorem to pairwise relevance aggregation in document reranking. We model document pairs as quantum systems and show that the optimal fused pairwise probability is a linear weighted sum of individual ranker probabilities. The derivation assumes familiarity with basic quantum mechanics (state vectors, density operators, and trace operations) and Gleason's theorem, which states that any quantum probability measure on a Hilbert space can be expressed as the trace of the state operator with a density operator: , where D is the system state operator and is the measurement density operator for event E.
Pairwise particle and state operator Consider a document pair (Document A and Document B) as the quantum system of interest. The joint state of the pair is represented by the state vector . The corresponding density operator (state operator) is . This formulation treats the pair as a single entangled system in a 2-dimensional Hilbert space for binary relative relevance.
Q. Mai et al.
Pairwise observation bases Each base ranker (e.g., BM25, dense retriever, sparse retriever) acts as a measurement operator on the pair. For the -th ranker, the measurement space is spanned by two orthogonal bases representing relative relevance
-
: The state where Document A is strictly more relevant than Document B according to ranker .
-
: The state where Document B is strictly more relevant than Document A according to ranker .
These bases are orthonormal: and .
The Pairwise collapse probability The pairwise score from the -th ranker is the probability that the system collapses into the state where A is more relevant than B:
By Gleason's theorem, this probability can be reformulated using the density operator for the measurement:
- Define the density operator for the "Document A is more relevant than B" event under ranker as
- Then,
This holds because Gleason's theorem guarantees that all quantum probabilities are trace-form measures.
Aggregating pairwise rankings To fuse rankers, we combine their "incomplete" pairwise observations into a complete observation. Define the aggregated density operator as a linear combination of the individual density operators:
where are the fusion weights. For to be a valid density operator, the must form a probability distribution: and . As described in the main text (Section 4), the raw per-ranker statistic that drives can be negative for a systematically wrong ranker, so we exponentiate and renormalize (softmax) before substituting into , guaranteeing this constraint holds at every round.
Applying Gleason's theorem to the aggregated operator gives the fused pairwise probability:
Substituting the expression for :
(6)
From Equations 2 and 3, , so:
By this derivation, Gleason's theorem proves that the aggregated probability of "Document A being more relevant than Document B" is the linear weighting of the individual pairwise probabilities from each base ranker. This validates the pairwise fusion model as theoretically optimal, mirroring the pointwise case but adapted for relative ordering in reranking tasks. The weights can be learned interactively (as described in the main text), enabling efficient aggregation without full supervision.
B Prompt
We ask the LLM to pick the more relevant of exactly two passages using the following prompt (shown for the decoder-only judges, e.g. Llama-3.1-8B-Instruct; the encoder-decoder Flan-T5 judges use the same user turn without a system message), matching the pairwise, two-label (A/B) setup described in §4; since the LLM is requested to output only a single character, the number of output tokens is negligible.
System: You are a helpful passage-ranking assistant. Read the query and the candidate passages carefully, then output ONLY the single letter label (A, B) of the passage most relevant to the query.
User: Given a query “{query}”, which of the following passages is the most relevant to the query?
Passage A: “{passage_A}”
Passage B: “{passage_B}”
Output only the passage label of the most relevant passage: