Upload folder using huggingface_hub
Browse files- paper/main.pdf +0 -0
- paper/main.tex +2 -0
- paper/references.bib +1 -1
- paper/sections/abstract.tex +1 -1
- paper/sections/analysis.tex +12 -9
- paper/sections/appendix.tex +8 -8
- paper/sections/conclusion.tex +1 -1
- paper/sections/experiments.tex +5 -5
- paper/sections/introduction.tex +4 -4
- paper/sections/limitations.tex +1 -1
- paper/sections/method.tex +9 -9
- paper/sections/related_work.tex +6 -6
- paper/sections/results.tex +4 -4
paper/main.pdf
CHANGED
|
Binary files a/paper/main.pdf and b/paper/main.pdf differ
|
|
|
paper/main.tex
CHANGED
|
@@ -81,9 +81,11 @@
|
|
| 81 |
\section{Conclusion}
|
| 82 |
\input{sections/conclusion}
|
| 83 |
|
|
|
|
| 84 |
\appendix
|
| 85 |
\section{Reproducibility Details}
|
| 86 |
\input{sections/appendix}
|
|
|
|
| 87 |
|
| 88 |
\clearpage
|
| 89 |
\bibliographystyle{plain}
|
|
|
|
| 81 |
\section{Conclusion}
|
| 82 |
\input{sections/conclusion}
|
| 83 |
|
| 84 |
+
\twocolumn[
|
| 85 |
\appendix
|
| 86 |
\section{Reproducibility Details}
|
| 87 |
\input{sections/appendix}
|
| 88 |
+
]
|
| 89 |
|
| 90 |
\clearpage
|
| 91 |
\bibliographystyle{plain}
|
paper/references.bib
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
}
|
| 7 |
|
| 8 |
@article{santhanam2022colbertv2,
|
| 9 |
-
title={ColBERTv2:
|
| 10 |
author={Santhanam, Keshav and Khattab, Omar and Saad-Falcon, Jon and Potts, Christopher and Zaharia, Matei},
|
| 11 |
journal={Proceedings of NAACL},
|
| 12 |
year={2022}
|
|
|
|
| 6 |
}
|
| 7 |
|
| 8 |
@article{santhanam2022colbertv2,
|
| 9 |
+
title={ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interaction},
|
| 10 |
author={Santhanam, Keshav and Khattab, Omar and Saad-Falcon, Jon and Potts, Christopher and Zaharia, Matei},
|
| 11 |
journal={Proceedings of NAACL},
|
| 12 |
year={2022}
|
paper/sections/abstract.tex
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
Late-interaction retrievers compare query and document token representations
|
|
|
|
| 1 |
+
Late-interaction retrievers compare query and document token representations, so it is natural to ask whether BM25 still adds anything once such a reranker is available. We study this question in a two-stage retrieval pipeline. The first stage is BM25, semantic retrieval, or lexical+semantic reciprocal-rank fusion (RRF); the second stage is ModernColBERT reranking over the resulting top-100 candidates. Across seven BEIR-style datasets, reranking lexical+semantic RRF candidates improves average nDCG@10 from 0.3826 to 0.4211 relative to reranking BM25 candidates, with gains on every dataset. The explanation is candidate recall. BM25 reaches 0.5262 Recall@100, while the hybrid first stage reaches 0.6743. In this setting, lexical search helps less by being a better final ranker and more by giving the late-interaction model relevant documents it would otherwise never see.
|
paper/sections/analysis.tex
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
\paragraph{Candidate recall is the bottleneck.}
|
| 2 |
-
The central result is not that BM25 is a stronger ranker than semantic retrieval.
|
| 3 |
|
| 4 |
\paragraph{Lexical overlap alone does not explain the effect.}
|
| 5 |
-
We computed simple lexical features
|
| 6 |
|
| 7 |
-
\begin{table
|
| 8 |
\centering
|
| 9 |
-
\
|
|
|
|
|
|
|
| 10 |
\begin{tabular}{lccc}
|
| 11 |
\toprule
|
| 12 |
Dataset & Lexical Jaccard & BM25 $-$ Sem. & RRF-rerank gain \\
|
|
@@ -20,16 +22,17 @@ CQADupStack Android & 0.1146 & -0.1243 & +0.0440 \\
|
|
| 20 |
CQADupStack Mathematica & 0.0569 & -0.0892 & +0.0269 \\
|
| 21 |
\bottomrule
|
| 22 |
\end{tabular}
|
|
|
|
| 23 |
\caption{Simple lexical-overlap features do not directly predict BM25 superiority. The practical benefit of BM25 is more robust when used as one channel in a hybrid candidate generator. BM25 $-$ Sem. is first-stage nDCG@10 difference.}
|
| 24 |
\label{tab:features}
|
| 25 |
-
\end{table
|
| 26 |
|
| 27 |
-
Table~\ref{tab:features}
|
| 28 |
|
| 29 |
\paragraph{Why RRF before late interaction?}
|
| 30 |
-
One could fuse BM25 scores after late-interaction reranking
|
| 31 |
|
| 32 |
-
Formally, post-hoc score interpolation can only reorder $\C_f^{100}(q)$ for a fixed $f$. Hybrid candidate generation changes the feasible set from $\C_{\text{BM25}}^{100}(q)$ to $\C_{\text{RRF}}^{100}(q)$. The
|
| 33 |
\begin{equation}
|
| 34 |
\G_q\cap\C_{\text{RRF}}^{100}(q)
|
| 35 |
\supsetneq
|
|
@@ -38,4 +41,4 @@ Formally, post-hoc score interpolation can only reorder $\C_f^{100}(q)$ for a fi
|
|
| 38 |
\end{equation}
|
| 39 |
|
| 40 |
\paragraph{Practical recommendation.}
|
| 41 |
-
For late-interaction retrieval systems with a fixed reranking budget,
|
|
|
|
| 1 |
\paragraph{Candidate recall is the bottleneck.}
|
| 2 |
+
The central result is not that BM25 is a stronger ranker than semantic retrieval. Semantic retrieval beats BM25 as a first-stage ranker on six of the seven complete datasets. The point is narrower and, for system design, more useful: BM25 still helps when it is paired with semantic retrieval to build candidates. The reranker is powerful but bounded. If a relevant document is missing from the top-100 candidates, no reranking method can move it into the final top 10.
|
| 3 |
|
| 4 |
\paragraph{Lexical overlap alone does not explain the effect.}
|
| 5 |
+
We computed simple lexical features: average query length, rare-token ratio, entity-like token ratio, and lexical Jaccard overlap between queries and relevant documents. A tempting rule would be to expect high lexical overlap to favor BM25. The data do not support such a simple cutoff. ArguAna and CQADupStack Android have relatively high query--relevant-document lexical overlap, yet semantic retrieval strongly outperforms BM25 as a first-stage ranker. SciFact is the only complete dataset where BM25 slightly beats semantic retrieval at nDCG@10.
|
| 6 |
|
| 7 |
+
\begin{table}[t]
|
| 8 |
\centering
|
| 9 |
+
\scriptsize
|
| 10 |
+
\setlength{\tabcolsep}{2pt}
|
| 11 |
+
\resizebox{\columnwidth}{!}{%
|
| 12 |
\begin{tabular}{lccc}
|
| 13 |
\toprule
|
| 14 |
Dataset & Lexical Jaccard & BM25 $-$ Sem. & RRF-rerank gain \\
|
|
|
|
| 22 |
CQADupStack Mathematica & 0.0569 & -0.0892 & +0.0269 \\
|
| 23 |
\bottomrule
|
| 24 |
\end{tabular}
|
| 25 |
+
}
|
| 26 |
\caption{Simple lexical-overlap features do not directly predict BM25 superiority. The practical benefit of BM25 is more robust when used as one channel in a hybrid candidate generator. BM25 $-$ Sem. is first-stage nDCG@10 difference.}
|
| 27 |
\label{tab:features}
|
| 28 |
+
\end{table}
|
| 29 |
|
| 30 |
+
Table~\ref{tab:features} points to a more operational interpretation. Lexical overlap is not enough to choose BM25 over semantic retrieval. BM25 can still contribute complementary candidates even when semantic retrieval is stronger on average. This is the setting where RRF is useful: it does not ask us to decide which retriever is globally better, and it preserves high-ranked evidence from both.
|
| 31 |
|
| 32 |
\paragraph{Why RRF before late interaction?}
|
| 33 |
+
One could also fuse BM25 scores after late-interaction reranking. The results here suggest that the more important intervention happens before reranking. Late interaction already gives a strong token-level semantic score. The failure mode we observe is more basic: relevant documents are missing from the first-stage candidate set. RRF addresses that failure by broadening the pool while keeping the budget fixed at 100 documents. In this setup, hybrid retrieval is a recall-improving stage, not just a score-mixing trick.
|
| 34 |
|
| 35 |
+
Formally, post-hoc score interpolation can only reorder $\C_f^{100}(q)$ for a fixed $f$. Hybrid candidate generation changes the feasible set from $\C_{\text{BM25}}^{100}(q)$ to $\C_{\text{RRF}}^{100}(q)$. The gain is consistent with a feasible-set expansion:
|
| 36 |
\begin{equation}
|
| 37 |
\G_q\cap\C_{\text{RRF}}^{100}(q)
|
| 38 |
\supsetneq
|
|
|
|
| 41 |
\end{equation}
|
| 42 |
|
| 43 |
\paragraph{Practical recommendation.}
|
| 44 |
+
For late-interaction retrieval systems with a fixed reranking budget, BM25 is best treated as a complementary candidate generator. A lexical+semantic RRF first stage is simple, requires no score calibration, and improved every dataset in this study after ModernColBERT reranking. If compute is constrained, the most useful diagnostic is Recall@100 of the first-stage pool. Low BM25 Recall@100 is a warning sign that BM25-only reranking is leaving quality on the table.
|
paper/sections/appendix.tex
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
\subsection{Artifact Layout}
|
| 4 |
|
| 5 |
-
The reproducibility artifact is organized around
|
| 6 |
\begin{itemize}[leftmargin=*]
|
| 7 |
\item \texttt{experiments/configs/paper\_main.yaml}: dataset list, model names, retrieval parameters, and output directories.
|
| 8 |
\item \texttt{experiments/scripts/prepare\_paper\_data.py}: downloads standard BEIR datasets and exports CQADupStack domains into BEIR format.
|
|
@@ -13,11 +13,11 @@ The reproducibility artifact is organized around a canonical configuration and r
|
|
| 13 |
|
| 14 |
\subsection{Full Main Table}
|
| 15 |
|
| 16 |
-
\begin{
|
| 17 |
\centering
|
| 18 |
\scriptsize
|
| 19 |
-
\setlength{\tabcolsep}{
|
| 20 |
-
\begin{tabular}{lrrrrr}
|
| 21 |
\toprule
|
| 22 |
Dataset & BM25 & Dense & RRF & BM25 rerank & RRF rerank \\
|
| 23 |
\midrule
|
|
@@ -31,13 +31,13 @@ CQADupStack Mathematica & 0.1793 & 0.2685 & 0.2443 & 0.2694 & 0.2963 \\
|
|
| 31 |
\midrule
|
| 32 |
Average & 0.2956 & 0.3831 & 0.3606 & 0.3826 & 0.4211 \\
|
| 33 |
\bottomrule
|
| 34 |
-
\end{tabular}
|
| 35 |
-
\
|
| 36 |
\label{tab:full-ndcg}
|
| 37 |
-
\end{
|
| 38 |
|
| 39 |
\subsection{Main Commands}
|
| 40 |
|
| 41 |
-
The core experiment can be reproduced with \texttt{uv sync}, followed by \texttt{prepare\_paper\_data.py} and \texttt{run\_paper\_main.py} using \texttt{experiments/configs/paper\_main.yaml}. The
|
| 42 |
|
| 43 |
The runner wraps BM25 retrieval, semantic retrieval, first-stage RRF fusion, ModernColBERT reranking over BM25 candidates, ModernColBERT reranking over RRF candidates, feature extraction, and table compilation.
|
|
|
|
| 2 |
|
| 3 |
\subsection{Artifact Layout}
|
| 4 |
|
| 5 |
+
The reproducibility artifact is organized around one canonical configuration and runner:
|
| 6 |
\begin{itemize}[leftmargin=*]
|
| 7 |
\item \texttt{experiments/configs/paper\_main.yaml}: dataset list, model names, retrieval parameters, and output directories.
|
| 8 |
\item \texttt{experiments/scripts/prepare\_paper\_data.py}: downloads standard BEIR datasets and exports CQADupStack domains into BEIR format.
|
|
|
|
| 13 |
|
| 14 |
\subsection{Full Main Table}
|
| 15 |
|
| 16 |
+
\begin{center}
|
| 17 |
\centering
|
| 18 |
\scriptsize
|
| 19 |
+
\setlength{\tabcolsep}{0pt}
|
| 20 |
+
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lrrrrr}
|
| 21 |
\toprule
|
| 22 |
Dataset & BM25 & Dense & RRF & BM25 rerank & RRF rerank \\
|
| 23 |
\midrule
|
|
|
|
| 31 |
\midrule
|
| 32 |
Average & 0.2956 & 0.3831 & 0.3606 & 0.3826 & 0.4211 \\
|
| 33 |
\bottomrule
|
| 34 |
+
\end{tabular*}
|
| 35 |
+
\captionof{table}{Full nDCG@10 table for the seven complete datasets.}
|
| 36 |
\label{tab:full-ndcg}
|
| 37 |
+
\end{center}
|
| 38 |
|
| 39 |
\subsection{Main Commands}
|
| 40 |
|
| 41 |
+
The core experiment can be reproduced with \texttt{uv sync}, followed by \texttt{prepare\_paper\_data.py} and \texttt{run\_paper\_main.py} using \texttt{experiments/configs/paper\_main.yaml}. The artifact command sheet contains the exact shell commands.
|
| 42 |
|
| 43 |
The runner wraps BM25 retrieval, semantic retrieval, first-stage RRF fusion, ModernColBERT reranking over BM25 candidates, ModernColBERT reranking over RRF candidates, feature extraction, and table compilation.
|
paper/sections/conclusion.tex
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
We studied when lexical search helps late-interaction retrieval. Across seven complete datasets, the answer
|
|
|
|
| 1 |
+
We studied when lexical search helps late-interaction retrieval. Across seven complete datasets, the clearest answer appears in the two-stage pipeline: BM25 helps as part of hybrid candidate generation. Lexical+semantic RRF increases Recall@100 over BM25 alone, and ModernColBERT reranking over that hybrid pool improves nDCG@10 on every dataset. The design rule is simple. Use semantic retrieval for semantic coverage, use BM25 for exact-match coverage, fuse the candidate lists with a robust rank-based method such as RRF, and let the late-interaction model do the final precision ranking.
|
paper/sections/experiments.tex
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
\paragraph{Datasets.}
|
| 2 |
-
We evaluate on seven complete datasets: SciFact, NFCorpus, ArguAna, SciDocs, FiQA, CQADupStack Android, and CQADupStack Mathematica.
|
| 3 |
|
| 4 |
\paragraph{Systems.}
|
| 5 |
-
We compare five systems: BM25; semantic retrieval; lexical+semantic RRF; ModernColBERT reranking of BM25 top-100; and ModernColBERT reranking of lexical+semantic RRF top-100. The last system is the proposed pipeline. All first-stage
|
| 6 |
|
| 7 |
\paragraph{Implementation.}
|
| 8 |
-
BM25 uses $k_1=0.9,b=0.4$. The semantic retriever
|
| 9 |
|
| 10 |
\paragraph{Metrics.}
|
| 11 |
For query $q$, ranked list $R_q=(d_1,\ldots,d_k)$, and gain $\rel(q,d_i)$, we compute
|
|
@@ -24,7 +24,7 @@ Candidate recall is
|
|
| 24 |
\sum_{q\in\Q}
|
| 25 |
\frac{|\C_f^k(q)\cap \G_q|}{|\G_q|}.
|
| 26 |
\end{equation}
|
| 27 |
-
We report nDCG@10 as the primary quality metric and Recall@100 as the candidate-pool diagnostic. Reranking can improve nDCG@10 but cannot increase Recall@100 beyond
|
| 28 |
|
| 29 |
\paragraph{Reproducibility.}
|
| 30 |
-
The artifact contains
|
|
|
|
| 1 |
\paragraph{Datasets.}
|
| 2 |
+
We evaluate on seven complete datasets: SciFact, NFCorpus, ArguAna, SciDocs, FiQA, CQADupStack Android, and CQADupStack Mathematica. The collection spans scientific fact verification, biomedical and scientific retrieval, argument retrieval, financial question answering, and technical duplicate-question retrieval. Partial BM25-rerank runs on CQADupStack English and Gaming are left out of the main average because the matching semantic and hybrid first-stage runs were not completed.
|
| 3 |
|
| 4 |
\paragraph{Systems.}
|
| 5 |
+
We compare five systems: BM25; semantic retrieval; lexical+semantic RRF; ModernColBERT reranking of BM25 top-100; and ModernColBERT reranking of lexical+semantic RRF top-100. The last system is the proposed pipeline. All reranking runs use the same first-stage budget, $k=100$.
|
| 6 |
|
| 7 |
\paragraph{Implementation.}
|
| 8 |
+
BM25 uses $k_1=0.9,b=0.4$. The semantic retriever uses normalized BGE-M3 embeddings with maximum sequence length 512. The late-interaction reranker is \texttt{lightonai/GTE-ModernColBERT-v1}. We split documents into 180-word chunks with stride 120, encode chunks with document length 300, and encode queries with length 48. Document scores are the maximum over chunk scores. The experiments ran on a MacBook Air with Apple MPS acceleration when available; when MPS produced non-finite embeddings, those batches were re-encoded on CPU before scoring.
|
| 9 |
|
| 10 |
\paragraph{Metrics.}
|
| 11 |
For query $q$, ranked list $R_q=(d_1,\ldots,d_k)$, and gain $\rel(q,d_i)$, we compute
|
|
|
|
| 24 |
\sum_{q\in\Q}
|
| 25 |
\frac{|\C_f^k(q)\cap \G_q|}{|\G_q|}.
|
| 26 |
\end{equation}
|
| 27 |
+
We report nDCG@10 as the primary quality metric and Recall@100 as the candidate-pool diagnostic. Reranking can improve nDCG@10, but it cannot increase Recall@100 beyond the first-stage candidate set it receives.
|
| 28 |
|
| 29 |
\paragraph{Reproducibility.}
|
| 30 |
+
The artifact contains the canonical configuration, dataset preparation script, end-to-end runner, table compiler, and generated TREC run files. The main reproduction entry point is \texttt{run\_paper\_main.py} with \texttt{experiments/configs/paper\_main.yaml}; Appendix~\ref{app:repro} gives the command-level details.
|
paper/sections/introduction.tex
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
Late-interaction retrieval models, introduced by ColBERT-style architectures, represent queries and documents as sets of contextual token vectors and score a document by aggregating maximum token similarities \cite{khattab2020colbert,santhanam2022colbertv2}. This
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
The paper makes three contributions:
|
| 10 |
\begin{enumerate}[leftmargin=*]
|
|
|
|
| 1 |
+
Late-interaction retrieval models, introduced by ColBERT-style architectures, represent queries and documents as sets of contextual token vectors and score a document by aggregating maximum token similarities \cite{khattab2020colbert,santhanam2022colbertv2}. This gives them a useful tradeoff: they keep token-level matching, but they are much cheaper at retrieval time than cross-encoder rerankers. That makes late-interaction models a good fit for retrieval-augmented generation, search, and domain-specific question answering.
|
| 2 |
|
| 3 |
+
Lexical retrieval remains hard to discard. BM25 is fast, transparent, and strong when relevance depends on exact terminology, identifiers, abbreviations, entities, or rare domain words \cite{robertson2009bm25}. Many deployed systems therefore combine lexical and neural retrieval, often with reciprocal rank fusion (RRF) or a reranking stage \cite{cormack2009rrf}. Most hybrid-retrieval studies pair BM25 with single-vector semantic embeddings. The late-interaction case is less obvious. Since the final scorer already performs token-level matching, BM25 might be redundant. On the other hand, BM25 may still recover relevant documents that semantic retrieval misses, giving the reranker a better candidate set.
|
| 4 |
|
| 5 |
+
We study that question in a controlled two-stage setup. The first stage is BM25, semantic retrieval, or lexical+semantic RRF. The second stage is ModernColBERT reranking over the first-stage candidates. In our implementation, the semantic retriever is BGE-M3 \cite{chen2024bge}. We are not only asking which standalone retriever has the best nDCG@10. We are asking which candidate pool gives the late-interaction reranker the best chance to produce a good final ranking. This matters because a reranker cannot recover a document that never enters its candidate set.
|
| 6 |
|
| 7 |
+
Across seven BEIR-style datasets, the pattern is consistent. Hybrid lexical+semantic retrieval has higher Recall@100 than BM25 alone, and ModernColBERT reranking over the hybrid pool improves nDCG@10 on every dataset. The average nDCG@10 is 0.4211 for hybrid-candidate reranking and 0.3826 for BM25-candidate reranking. The role of BM25 is therefore narrower than ``best ranker'' but still important: it supplies candidate-pool coverage that the semantic retriever misses.
|
| 8 |
|
| 9 |
The paper makes three contributions:
|
| 10 |
\begin{enumerate}[leftmargin=*]
|
paper/sections/limitations.tex
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
This study is intentionally narrow.
|
|
|
|
| 1 |
+
This study is intentionally narrow. It uses one semantic retriever, one late-interaction reranker, and a fixed top-100 candidate budget. Stronger semantic retrievers, larger candidate pools, or learned fusion methods may change the size of the gains. We also avoid broad latency claims, because the experiments ran on a MacBook Air with Apple MPS acceleration and CPU fallback for non-finite embeddings. The datasets are public benchmarks; production traffic may have different query distributions, document lengths, freshness requirements, and latency constraints.
|
paper/sections/method.tex
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
Let $\C=\{d_1,\ldots,d_N\}$ be a corpus, $\Q$ a query set, and $\G_q=\{d:\rel(q,d)>0\}$ the relevant set for query $q$. A first-stage retriever $f$
|
| 2 |
\begin{equation}
|
| 3 |
\C_f^k(q)=\Top_k\{s_f(q,d):d\in\C\}.
|
| 4 |
\end{equation}
|
| 5 |
-
The reranker
|
| 6 |
|
| 7 |
\paragraph{Lexical and semantic first stages.}
|
| 8 |
The lexical retriever is BM25:
|
|
@@ -13,12 +13,12 @@ s_{\text{BM25}}(q,d)=
|
|
| 13 |
\frac{tf_{t,d}(k_1+1)}
|
| 14 |
{tf_{t,d}+k_1(1-b+b|d|/\overline{|d|})}.
|
| 15 |
\end{equation}
|
| 16 |
-
The semantic retriever embeds $q$ and $d$
|
| 17 |
\begin{equation}
|
| 18 |
s_{\text{sem}}(q,d)= e_q^\top e_d,\qquad
|
| 19 |
\|e_q\|_2=\|e_d\|_2=1 .
|
| 20 |
\end{equation}
|
| 21 |
-
|
| 22 |
|
| 23 |
\paragraph{Hybrid candidate generation.}
|
| 24 |
We fuse lexical and semantic rankings with reciprocal rank fusion:
|
|
@@ -27,15 +27,15 @@ We fuse lexical and semantic rankings with reciprocal rank fusion:
|
|
| 27 |
\sum_{r\in\{\text{lex},\text{sem}\}}
|
| 28 |
\frac{\mathbf{1}[d\in R_r(q)]}{c+\rank_r(q,d)} .
|
| 29 |
\end{equation}
|
| 30 |
-
The
|
| 31 |
|
| 32 |
\paragraph{Late-interaction reranking.}
|
| 33 |
-
ModernColBERT maps a query to token vectors $Q=\{u_i\}_{i=1}^{m}$ and a document chunk to token vectors $D=\{v_j\}_{j=1}^{n}$. The
|
| 34 |
\begin{equation}
|
| 35 |
s_{\text{LI}}(q,d)=
|
| 36 |
\sum_{i=1}^{m} \max_{1\le j\le n} u_i^\top v_j .
|
| 37 |
\end{equation}
|
| 38 |
-
For long documents, we score chunks independently and aggregate at document level:
|
| 39 |
\begin{equation}
|
| 40 |
s_{\text{doc}}(q,d)=
|
| 41 |
\max_{z\in \operatorname{chunks}(d)} s_{\text{LI}}(q,z).
|
|
@@ -49,7 +49,7 @@ The final two-stage ranking for first-stage retriever $f$ is
|
|
| 49 |
\end{equation}
|
| 50 |
|
| 51 |
\paragraph{Hypothesis.}
|
| 52 |
-
The candidate-recall bottleneck
|
| 53 |
\begin{align}
|
| 54 |
\CR_{100}(\text{RRF}) &> \CR_{100}(\text{BM25})
|
| 55 |
\nonumber\\[-1mm]
|
|
@@ -59,4 +59,4 @@ The candidate-recall bottleneck predicts that lexical search helps if it increas
|
|
| 59 |
&\hspace{1.7em}>
|
| 60 |
\operatorname{nDCG}_{10}(R_{\text{LI}\circ\text{BM25}}).
|
| 61 |
\end{align}
|
| 62 |
-
|
|
|
|
| 1 |
+
Let $\C=\{d_1,\ldots,d_N\}$ be a corpus, $\Q$ a query set, and $\G_q=\{d:\rel(q,d)>0\}$ the relevant set for query $q$. A first-stage retriever $f$ defines a score $s_f(q,d)$, a ranked list $R_f(q)$, and a candidate set
|
| 2 |
\begin{equation}
|
| 3 |
\C_f^k(q)=\Top_k\{s_f(q,d):d\in\C\}.
|
| 4 |
\end{equation}
|
| 5 |
+
The reranker only sees $\C_f^k(q)$. This set therefore fixes the recall ceiling for every downstream model, no matter how strong the final scorer is.
|
| 6 |
|
| 7 |
\paragraph{Lexical and semantic first stages.}
|
| 8 |
The lexical retriever is BM25:
|
|
|
|
| 13 |
\frac{tf_{t,d}(k_1+1)}
|
| 14 |
{tf_{t,d}+k_1(1-b+b|d|/\overline{|d|})}.
|
| 15 |
\end{equation}
|
| 16 |
+
The semantic retriever embeds $q$ and $d$ as normalized vectors $e_q,e_d$ and scores their inner product:
|
| 17 |
\begin{equation}
|
| 18 |
s_{\text{sem}}(q,d)= e_q^\top e_d,\qquad
|
| 19 |
\|e_q\|_2=\|e_d\|_2=1 .
|
| 20 |
\end{equation}
|
| 21 |
+
Our implementation uses BGE-M3 for this stage. In the argument of the paper, however, the semantic retriever mainly plays a structural role: it supplies candidates that are not limited to exact term overlap.
|
| 22 |
|
| 23 |
\paragraph{Hybrid candidate generation.}
|
| 24 |
We fuse lexical and semantic rankings with reciprocal rank fusion:
|
|
|
|
| 27 |
\sum_{r\in\{\text{lex},\text{sem}\}}
|
| 28 |
\frac{\mathbf{1}[d\in R_r(q)]}{c+\rank_r(q,d)} .
|
| 29 |
\end{equation}
|
| 30 |
+
The hybrid candidate set is $\C_{\text{RRF}}^{100}(q)$. RRF is useful here for a mundane reason: BM25 scores and semantic inner products are not calibrated, but their ranks can still be combined without fitting a calibration model.
|
| 31 |
|
| 32 |
\paragraph{Late-interaction reranking.}
|
| 33 |
+
ModernColBERT maps a query to token vectors $Q=\{u_i\}_{i=1}^{m}$ and a document chunk to token vectors $D=\{v_j\}_{j=1}^{n}$. The MaxSim score is
|
| 34 |
\begin{equation}
|
| 35 |
s_{\text{LI}}(q,d)=
|
| 36 |
\sum_{i=1}^{m} \max_{1\le j\le n} u_i^\top v_j .
|
| 37 |
\end{equation}
|
| 38 |
+
For long documents, we score chunks independently and aggregate at the document level:
|
| 39 |
\begin{equation}
|
| 40 |
s_{\text{doc}}(q,d)=
|
| 41 |
\max_{z\in \operatorname{chunks}(d)} s_{\text{LI}}(q,z).
|
|
|
|
| 49 |
\end{equation}
|
| 50 |
|
| 51 |
\paragraph{Hypothesis.}
|
| 52 |
+
The candidate-recall bottleneck gives a concrete prediction. Lexical search should help the late-interaction reranker when it increases the relevant-document mass inside the top-100 candidate pool:
|
| 53 |
\begin{align}
|
| 54 |
\CR_{100}(\text{RRF}) &> \CR_{100}(\text{BM25})
|
| 55 |
\nonumber\\[-1mm]
|
|
|
|
| 59 |
&\hspace{1.7em}>
|
| 60 |
\operatorname{nDCG}_{10}(R_{\text{LI}\circ\text{BM25}}).
|
| 61 |
\end{align}
|
| 62 |
+
The experiment therefore tests candidate generation. It is not only a comparison of score-fusion recipes.
|
paper/sections/related_work.tex
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
\paragraph{Lexical retrieval.}
|
| 2 |
-
BM25 remains the standard lexical baseline for ad hoc retrieval \cite{robertson2009bm25}.
|
| 3 |
|
| 4 |
\paragraph{Dense and late-interaction retrieval.}
|
| 5 |
-
Semantic retrievers encode queries and documents into continuous representations,
|
| 6 |
|
| 7 |
\paragraph{Hybrid retrieval and fusion.}
|
| 8 |
-
Hybrid retrieval combines lexical and neural evidence.
|
| 9 |
|
| 10 |
\paragraph{Hybrid retrieval with reranking.}
|
| 11 |
-
Several studies combine sparse/dense retrieval with reranking. HYRR selects reranker training data from hybrid retrievers and
|
| 12 |
|
| 13 |
\paragraph{Benchmarks.}
|
| 14 |
-
BEIR provides
|
| 15 |
|
| 16 |
\paragraph{Same and different from prior hybrid pipelines.}
|
| 17 |
-
|
|
|
|
| 1 |
\paragraph{Lexical retrieval.}
|
| 2 |
+
BM25 remains the standard lexical baseline for ad hoc retrieval \cite{robertson2009bm25}. It works well when the query and relevant documents share terminology, and it is especially useful for entities, identifiers, abbreviations, and rare domain words. Its limitation is direct: if the relevant document uses different wording, BM25 has little signal.
|
| 3 |
|
| 4 |
\paragraph{Dense and late-interaction retrieval.}
|
| 5 |
+
Semantic retrievers encode queries and documents into continuous representations, which lets them match beyond exact token overlap. DPR showed that learned dense representations can outperform strong BM25 baselines for open-domain QA candidate retrieval \cite{karpukhin2020dpr}. BGE-M3 is a recent embedding model with dense, sparse, and multi-vector retrieval modes \cite{chen2024bge}. Late-interaction models such as ColBERT keep multiple token vectors per query and document and score with MaxSim-style matching \cite{khattab2020colbert}. ColBERTv2 improves this family with denoised supervision and compression \cite{santhanam2022colbertv2}. We use \texttt{lightonai/GTE-ModernColBERT-v1}, an open ModernBERT-based ColBERT-style model trained for PyLate-style multi-vector retrieval \cite{lighton2025gte}.
|
| 6 |
|
| 7 |
\paragraph{Hybrid retrieval and fusion.}
|
| 8 |
+
Hybrid retrieval combines lexical and neural evidence. Reciprocal rank fusion is a common choice because it uses ranks rather than calibrated scores \cite{cormack2009rrf}. That is useful when BM25 and semantic scores are not comparable. Recent work studies complementarity objectives that encourage sparse and dense retrievers to retrieve different relevant evidence \cite{lee2023complementarity}. Hybrid hierarchical retrieval also shows that sparse+dense combinations can improve open-domain QA pipelines \cite{arivazhagan2023hhr}. These papers establish hybrid retrieval as a strong first-stage strategy.
|
| 9 |
|
| 10 |
\paragraph{Hybrid retrieval with reranking.}
|
| 11 |
+
Several studies combine sparse/dense retrieval with reranking. HYRR selects reranker training data from hybrid retrievers and improves robustness across first-stage retrievers on MS MARCO and BEIR \cite{lu2024hyrr}. HybRank incorporates lexical and semantic signals from upstream retrievers into a collaborative reranker \cite{zhang2023hybrank}. Domain systems also find that hybrid retrieval followed by cross-encoder reranking works well in scientific, biomedical, conversational, and text-and-table settings \cite{fathallah2025climatecheck,ajith2024litsearch,akarsu2026texttable}. Our system has the same retrieve-then-rerank shape, but the question is different. We use a late-interaction reranker, hold it fixed, and vary only the candidate generator.
|
| 12 |
|
| 13 |
\paragraph{Benchmarks.}
|
| 14 |
+
BEIR provides heterogeneous retrieval benchmarks across domains and query styles \cite{thakur2021beir}. We use BEIR-style datasets because the value of lexical search should vary with the task: scientific fact verification, argument retrieval, financial question answering, and technical duplicate-question retrieval do not stress the same retrieval behavior.
|
| 15 |
|
| 16 |
\paragraph{Same and different from prior hybrid pipelines.}
|
| 17 |
+
This paper overlaps with prior hybrid+reranking work in its ingredients: BM25, a semantic retriever, RRF, and a retrieve-then-rerank pipeline. It differs in what it tries to isolate. HYRR and HybRank modify or train rerankers using hybrid evidence; domain RAG systems often evaluate answer quality or cross-encoder reranking. We hold the late-interaction reranker fixed and change only the candidate generator. The contribution is diagnostic: lexical search still matters when the final scorer is already token-level semantic interaction, and the measurable pathway is $\CR_{100}$ expansion followed by higher nDCG@10.
|
paper/sections/results.tex
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Table~\ref{tab:main} reports the
|
| 2 |
|
| 3 |
\begin{table*}[t]
|
| 4 |
\centering
|
|
@@ -18,9 +18,9 @@ ModernColBERT rerank of RRF top-100 & \textbf{0.4211} & \textbf{0.6743} \\
|
|
| 18 |
\label{tab:main}
|
| 19 |
\end{table*}
|
| 20 |
|
| 21 |
-
The main comparison is between the two reranked systems. Reranking BM25 candidates reaches 0.3826 average nDCG@10. Reranking hybrid RRF candidates reaches 0.4211, an absolute gain of +0.0385.
|
| 22 |
|
| 23 |
-
The first-stage results explain the mechanism. BM25 has average Recall@100 of 0.5262. Semantic retrieval
|
| 24 |
|
| 25 |
\begin{table*}[t]
|
| 26 |
\centering
|
|
@@ -42,4 +42,4 @@ CQADupStack Mathematica & 0.2694 & 0.2963 & +0.0269 \\
|
|
| 42 |
\label{tab:rerank}
|
| 43 |
\end{table*}
|
| 44 |
|
| 45 |
-
Table~\ref{tab:rerank} shows the per-dataset reranking gains. The largest improvement is on FiQA (+0.0820), followed by ArguAna (+0.0526) and CQADupStack Android (+0.0440). The smallest gain is on SciDocs (+0.0088), where all systems have relatively low recall and the hybrid pool
|
|
|
|
| 1 |
+
Table~\ref{tab:main} reports the average over the seven complete datasets. The first three rows compare first-stage candidate generators. The last two rows keep the reranker fixed and change only the candidate pool: BM25 top-100 versus hybrid RRF top-100.
|
| 2 |
|
| 3 |
\begin{table*}[t]
|
| 4 |
\centering
|
|
|
|
| 18 |
\label{tab:main}
|
| 19 |
\end{table*}
|
| 20 |
|
| 21 |
+
The main comparison is between the two reranked systems. Reranking BM25 candidates reaches 0.3826 average nDCG@10. Reranking hybrid RRF candidates reaches 0.4211, an absolute gain of +0.0385. The gain appears on all seven complete datasets. Since both systems use the same late-interaction reranker and the same candidate budget, the difference comes from the candidates supplied to the reranker, not from a different final scorer.
|
| 22 |
|
| 23 |
+
The first-stage results explain the mechanism. BM25 has average Recall@100 of 0.5262. Semantic retrieval raises this to 0.6738, and lexical+semantic RRF reaches 0.6743. The hybrid first stage therefore gives the reranker more chances to place a relevant document in the final top 10. Semantic retrieval has higher average first-stage nDCG@10 than RRF, but RRF slightly improves Recall@100 and preserves lexical matches that the semantic retriever may miss. In a reranking pipeline, that recall-oriented behavior matters more than the first-stage nDCG ordering by itself.
|
| 24 |
|
| 25 |
\begin{table*}[t]
|
| 26 |
\centering
|
|
|
|
| 42 |
\label{tab:rerank}
|
| 43 |
\end{table*}
|
| 44 |
|
| 45 |
+
Table~\ref{tab:rerank} shows the per-dataset reranking gains. The largest improvement is on FiQA (+0.0820), followed by ArguAna (+0.0526) and CQADupStack Android (+0.0440). The smallest gain is on SciDocs (+0.0088), where all systems have relatively low recall and the hybrid pool adds less useful evidence. The sign is still consistent: hybrid candidate generation does not hurt the late-interaction reranker on any complete dataset in this study.
|