zELO: ELO-inspired Training Method for Rerankers and Embedding ModelszELO:受ELO启发的重排序器与嵌入模型训练方法
1 Abstract1 摘要
We introduce a novel training methodology named zELO, which optimizes retrieval performance via the analysis that ranking tasks are statically equivalent to a Thurstone model. Based on the zELO method, we use unsupervised data in order train a suite of state-of-the-art open-weight reranker models: zerank-1 and zerank-1-small. These models achieve the highest retrieval scores in multiple domains, including finance, legal, code, and STEM, outperforming closed-source proprietary rerankers on both NDCG@10 and Recall. These models also demonstrate great versatility, maintaining their 0-shot performance on out-of-domain and private customer datasets. The training data included queries and documents per query, and was trained end-to-end from unannotated queries and documents in less than 10,000 H100-hours.我们提出了一种名为 zELO 的新型训练方法,该方法通过分析发现排序任务在统计上等价于瑟斯通模型,从而优化检索性能。基于 zELO 方法,我们使用无监督数据训练了一套最先进的开源重排序器模型:zerank-1 和 zerank-1-small。这些模型在金融、法律、代码和 STEM 等多个领域均取得了最高的检索得分,在 NDCG@10 和召回率上均优于闭源专有重排序器。这些模型还表现出极佳的通用性,在域外和私有客户数据集上保持了零样本性能。训练数据包含 112,000 个查询,每个查询对应 100 个文档,从未标注的查询和文档端到端训练,耗时不到 10,000 H100 小时。
2 Summary of Contributions2 贡献总结
2.1 zELO: A novel Elo-based multi-stage training pipeline2.1 zELO:一种新颖的基于Elo的多阶段训练流程
We introduce a novel multi-stage training process inspired by Elo scoring systems. First, we generate candidate documents using a first-stage retriever (e.g. ZeroEntropy’s Search API, or Lucene + Embedding hybrid search). Then, we gather sparse pairwise preferences from an ensemble of large language models (and, for scale, a pairwise SLM distilled from the ensemble of LLMs). These pairwise preferences are converted into absolute relevance scores using the Thurstone statistical model. Finally, we fine-tune our pointwise rerankers on these query-document zELO scores.我们引入了一种受 Elo 评分系统启发的新型多阶段训练流程。首先,使用第一阶段检索器(例如 ZeroEntropy 的搜索 API,或 Lucene + 嵌入混合检索)生成候选文档。然后,从大型语言模型集成(以及为了扩展性,从该集成蒸馏而成的成对 SLM)中收集稀疏的成对偏好。这些成对偏好通过瑟斯通统计模型转换为绝对相关性分数。最后,我们在这些查询-文档 zELO 分数上微调逐点重排序器。
2.2 Open-source reranker models released2.2 发布开源重排序器模型
We release two fully open-weight rerankers trained on the zELO Method: zerank-1, initialized from Qwen3-4B (Yang et al. 2025), and zerank-1-small, initialized from Qwen3-1.7B (Yang et al. 2025). Rerankers are cross-encoder models that take a query-document pair as input and output a relevance score between 0 and 1, significantly boosting the performance of first-stage search methods such as BM25, embedding search, and hybrid retrieval. Both models were trained on 112,000 query–corpus pairs, i.e. over 5 million query-zELO pairs, and their weights are available on Huggingface. zerank-1-small in particular, is released under the permissible Apache 2.0 License. zerank-1 is open-weight and available for license by the ZeroEntropy team.我们发布了两款完全开源权重的重排序器,均基于 zELO 方法训练:zerank-1(初始化为 Qwen3-4B)和 zerank-1-small(初始化为 Qwen3-1.7B)。重排序器是交叉编码器模型,接受查询-文档对作为输入,输出 0 到 1 之间的相关性分数,显著提升第一轮检索方法(如 BM25、嵌入检索和混合检索)的性能。两个模型均在 112,000 个查询-语料库对上训练,即超过 500 万个查询-zELO 对,权重可在 Huggingface 上获取。特别是 zerank-1-small,在宽松的 Apache 2.0 许可下发布。zerank-1 开源权重,可通过 ZeroEntropy 团队获取许可。
zerank-1: https://huggingface.co/zeroentropy/zerank-1zerank-1: https://huggingface.co/zeroentropy/zerank-1
zerank-1-small: https://huggingface.co/zeroentropy/zerank-1-smallzerank-1-small: https://huggingface.co/zeroentropy/zerank-1-small
2.3 State-of-the-art reranking accuracy across domains, languages, and retrieval methods2.3 跨领域、语言和检索方法的最先进重排序精度
zerank-1 consistently outperforms commercial rerankers twice its size, with NDCG improvements of up to 5 points on benchmarks in finance, medicine, legal, code, and math. It also outperforms much larger LLMs-as-a-reranker, such as Gemini Flash 2.0, GPT-4o-mini, and GPT-5-mini/nano. It delivers strong gains regardless of the initial retrieval method, including BM25, embedding-based, and hybrid search.zerank-1 持续优于体积两倍于其的商业重排序器,在金融、医学、法律、代码和数学的基准测试上 NDCG 提升高达 5 个点。它还优于更大的 LLM 作为重排序器,如 Gemini Flash 2.0、GPT-4o-mini 和 GPT-5-mini/nano。无论初始检索方法如何(包括 BM25、基于嵌入的检索和混合检索),它都能带来强劲的提升。
2.4 Unsupervised training and fine-tuning2.4 无监督训练与微调
Most importantly, at ZeroEntropy we found experimentally that ensembles of LLMs via zELO generate higher quality data than an equivalent number of human annotators on average. The zELO method has strong convergence properties. We scale ensemble inferences until the zELO score of the target document converges, which gives a strong indicator of fundamental query-document relevancy. The entire annotation method has been open sourced by ZeroEntropy as zbench (https://github.com/zeroentropy-ai/zbench). zELO can be used both for benchmarking internal private documents, and for generating domain-specific fine-tuning data.最重要的是,在 ZeroEntropy,我们通过实验发现,通过 zELO 的 LLM 集成平均能生成比同等数量人类标注者更高质量的数据。zELO 方法具有很强的收敛性。我们进行集成推理,直到目标文档的 zELO 分数收敛,这为基本的查询-文档相关性提供了强有力的指标。整个标注方法已由 ZeroEntropy 开源为 zbench (https://github.com/zeroentropy-ai/zbench)。zELO 既可用于内部私有文档的基准测试,也可用于生成特定领域的微调数据。
Because zELO is fully automated, it can also be used for live production evaluations. While a given reranker is used in production, live query logs can be randomly sampled, annotated automatically via zELO, and can be used to easily discover and fix issues in a live production retrieval pipeline (For example: if necessary context was never ingested, or if the initial retriever couldn’t find it, etc). The annotations can also be used to fine-tune the reranker live, or if given per-customer context, can be used for personalized recommendation systems.由于 zELO 完全自动化,它还可用于生产环境中的实时评估。当某个重排序器在生产中运行时,可以随机采样实时查询日志,通过 zELO 自动标注,并用于轻松发现和修复生产检索流程中的问题(例如,必要的上下文从未被摄入,或初始检索器无法找到它等)。这些标注还可用于实时微调重排序器,或者如果给定每个客户的上下文,可用于个性化推荐系统。
3 Motivation3 动机
3.1 Existing SOTA3.1 现有最先进技术
Rerankers are the most fundamental operation in information retrieval. They take in a query document pair , and output a score . If it was feasible, every query into a search engine would simply have a reranker do a linear scan over the entire corpus. However, because this is computationally infeasible when the corpus is large, vector-based approximators are used for selecting initial candidates. These include sparse lexical keyword search such as BM25 (Robertson et al. 1995), along with transformer-based embedding models. Keyword search fails if the user fails to recall the exact keyword, and dense embedding models can’t converge on true relevancy because of the limitations of N-dimensional space (Weller et al., 2025).重排序器是信息检索中最基础的操作。它们接收查询-文档对 (q,d),并输出分数 s∈[0,1]。如果可行,搜索中的每个查询只需让重排序器对整个语料库进行线性扫描。然而,由于在语料库较大时计算上不可行,因此使用基于向量的近似器来选择初始候选文档。这些包括稀疏的词汇关键词搜索(如 BM25)以及基于 Transformer 的嵌入模型。如果用户未能回忆出准确的关键词,关键词搜索会失败;而密集嵌入模型由于 N 维空间的限制,无法收敛到真正的相关性。
Given the fundamental importance of rerankers, we note that rerankers can always learn from an SFT distillation task. We have some ”teacher” reranker, traditionally human-annotated binary relevance labels, and then a ”student” reranker, often an ML model, we can train the student on the teacher annotations.鉴于重排序器的基础重要性,我们注意到重排序器始终可以通过 SFT 蒸馏任务进行学习。我们有一个“教师”重排序器(传统上,人类标注的二元相关性标签),以及一个“学生”重排序器(通常是 ML 模型),我们可以在教师标注上训练学生。
The current SOTA method for training rerankers involves InfoNCE triplet loss . Humans (the teacher) are tasked with annotated the positive, while the sampling method for negatives remains a free parameter. The most basic negative sampling strategy is in-batch random sampling (E.g. CLIP). However, the signal from random sampling is extremely weak, given that the sampled is usually obviously irrelevant; this method thus requires extremely large batch size (), which in turn forces the use of poor quality web-scale data. The SOTA training method is ”hard negative mining”, wherein there is an attempt to make as relevant as possible to maximize the signal from contrastive learning – often via an ensemble of embedding models followed by an ensemble of rerankers (Even LLM-as-a-reranker).当前训练重排序器的最先进方法涉及 InfoNCE 三元组损失 (q,d+,d−)。人类(教师)负责标注正例,而负例的采样方法仍是一个自由参数。最基本的负例采样策略是批次内随机采样(例如 CLIP)。然而,随机采样的信号极弱,因为采样的 d− 通常明显不相关;因此该方法需要极大的批处理大小(>10万),这反过来迫使使用质量较差的网络规模数据。最先进的训练方法是“难负例挖掘”,其中试图使 d− 尽可能相关,以最大化对比学习中的信号——通常通过嵌入模型集成,然后是重排序器集成(甚至 LLM 作为重排序器)。
3.2 Laffer Curve: The Fundamental Constraint on Existing SOTA Hard Negative Mining3.2 拉弗曲线:现有最先进难负例挖掘的根本约束
Experimentally, we found that by making the ”hard negative miner” as intelligent as possible, the Model eventually did not learn any better. In fact, we found that it got significantly worse. Manual inspection made the issue clear: The hard negatives were on average legitimately more relevant than the human-annotated positive. This is unavoidable, as humans cannot exhaustively scan an entire corpus, and SOTA methods such as LLM-ensemble rerankers can reason on a much larger knowledge base than even expert annotators – and do so at scale.通过实验,我们发现使“难负例挖掘器”尽可能智能,模型最终并没有学习得更好。实际上,我们发现它变得更差。人工检查使问题变得清晰:难负例平均而言比人类标注的正例更相关。这是不可避免的,因为人类无法穷举扫描整个语料库,而最先进的方法(如 LLM 集成重排序器)可以在比领域专家更大的知识库上进行推理——并且达到规模。
While one could human annotate to confirm as a true negative vis a vis the positive, this is inherently a pairwise comparison. For a pointwise model, absolute scoring via InfoNCE requires in-batch negatives, which requires an unsupervised negative sampling strategy. Thus, the intractability of false negatives in hard negative mining remains.虽然可以对 (q,d−,d+) 进行人工标注以确认 d− 相对于正例是真正的负例,但这本质上是成对比较。对于逐点模型,通过 InfoNCE 进行绝对评分需要批次内负例,这需要无监督的负例采样策略。因此,难负例挖掘中假负例的棘手问题仍然存在。
We conclude that hard negative mining techniques create a Laffer curve with respect to hard negative quality: As ensemble-generated hard negatives approach and exceed the quality of human-positive annotations, the marginal benefit from the distillation process diminishes and eventually becomes negative, indicating a fundamental limitation in the hard negative mining methodology.我们得出结论,难负例挖掘技术相对于难负例质量创建了一条拉弗曲线:随着集成生成的难负例接近并超过人类正例标注的质量,蒸馏过程的边际收益递减并最终变为负值,表明难负例挖掘方法存在根本性局限。
From here, we make the following argument: the highest possible pointwise reranker performance is not that which corresponds to the optimal point on this induced Laffer curve. ”Hard negative mining” is fundamentally flawed and its resulting accuracy is fundamentally capped by the training algorithm itself. This was the motivating reason for using pairwise annotations generated by ensembles of frontier models and their resulting ELO scores as our source of ground truth, as well as for the development of a novel training method which has no theoretical limitations on student model performance other than the accuracy of the teacher model itself.由此,我们提出以下论点:逐点重排序器的最高可能性能并不对应于这条诱导拉弗曲线上的最优点。“难负例挖掘”存在根本缺陷,其产生的精度从根本上受限于训练算法本身。这是我们将前沿模型集成生成的成对标注及其得到的 ELO 分数作为真实来源的动机,也是开发一种没有理论限制(除了教师模型本身的精度)的新训练方法的动机。
4 The zELO Method4 zELO 方法
4.1 Definitions:4.1 定义:
Define to be the space of all queries, and to be the space of all documents.定义 𝒬 为所有查询的空间,𝒟 为所有文档的空间。
In this formalism, a pointwise reranker function is a function在此形式中,逐点重排序器函数 Rpoint 是一个函数
Such that, for a given query and corpus of documents, if is the relevance ranking of documents, we have:使得对于给定查询 q∈𝒬 和语料库 C={d1,…,dn}⊂𝒟,如果 i1,…,in 是文档的相关性排序,则我们有:
Additionally, we may define a pairwise reranker to be a function此外,我们可以将成对重排序器定义为一个函数
Such that:使得:
constitutes the probability that, w.r.t some query , document is preferred over document . Or, equivalently, such that is the strength by which is more relevant than (consider indicates no preference between two identical documents). Ideally, induces a total order on for every , but this is not strictly required.构成相对于某个查询 q∈𝒬,文档 di∈𝒟 优于文档 dj∈𝒟 的概率。或者等价地,使得 Rpair(q,di,dj)-1/2 是 di 比 dj 更相关的强度(考虑 Rpair(q,di,di)=1/2 表示两个相同文档之间无偏好)。理想情况下,Rpair 对每个 q 在 𝒟 上诱导出一个全序,但这不是严格必需的。
4.2 Using to generate SFT4.2 使用 Rpair 生成 SFT
As discussed in Section 3.1, for any given query, rerankers generally operate on a subset of the top documents (where ) given by some initial retrieval method (BM-25, Embeddings, Hybrid, etc.) Typical values for are . Furthermore, given that pointwise rerankers constitute the models actually used for IR tasks, we first train the pairwise with the intention of using this to create a SFT dataset upon which to train .如第 3.1 节所述,对于任何给定查询,重排序器通常对由某种初始检索方法(BM-25、嵌入、混合等)给出的前 k 个文档 𝒵⊂𝒟(|𝒵|=k)的子集进行操作。k 的典型值为 k≤100。此外,鉴于逐点重排序器是实际用于 IR 任务的模型,我们首先训练成对 Rpair,目的是使用它创建一个 SFT 数据集,然后在该数据集上训练 Rpoint。
Specifically, for a fixed query with many associated retrieved documents, inference on pairs of documents given subset to obtain scores . Overall, we form a dense preference matrix that is :具体而言,对于具有 k 个关联检索文档的固定查询 q,在给定子集 𝒵⊂C 的文档对 di,dj∈Z 上推理 Rpair,以获得分数 pi,j。总的来说,我们形成一个 k×k 的密集偏好矩阵 P:
Where the antisymmetry constraint ensures that:其中反对称约束 pji=1-pij 确保:
Where is the -dimensional vector of ones, where diagonal elements then satisfy .其中 𝟏 是 n 维全 1 向量,对角元素满足 pii=1/2。
Now define the sparse matrix as the extension of the preference matrix to the full corpus , where non-inferred pairs are set to zero:现在将稀疏的 n×n 矩阵 W 定义为偏好矩阵 P 到整个语料库 C 的扩展,其中未推理的对设为零:
More formally, let denote the set of index pairs for which pairwise comparisons were performed. Then:更形式化地,令 ℐ⊆[n]×[n] 表示执行了成对比较的索引对 (i,j) 的集合。则:
where each entry satisfies:其中每个条目满足:
-
1.
if (inferred pairs maintain antisymmetry)wij+wji=1 如果 (i,j)∈ℐ(推理的对保持反对称)
-
2.
if (non-inferred pairs are zero)wij=wji=0 如果 (i,j)∉ℐ(未推理的对为零)
The transformation from these pairwise preferences to pointwise scores follows the Bradley-Terry model framework. Given pairwise comparison matrix , we seek to find latent ”abilities” (in the language of BT) or relevance scores (in that of IR) that explain the observed preferences.从这些成对偏好到逐点评分的变换遵循 Bradley-Terry 模型框架。给定成对比较矩阵 W,我们寻求找到能够解释观察到的偏好的潜在“能力”(在 BT 语言中)或相关性分数(在 IR 中)。
4.2.1 Connection to Bradley-Terry Model4.2.1 与 Bradley-Terry 模型的联系
The Bradley-Terry model assumes that for documents and with latent abilities and , the probability that is preferred over is:Bradley-Terry 模型假设对于具有潜在能力 πi 和 πj 的文档 di 和 dj,di 优于 dj 的概率是:
In the Elo rating system formulation of Bradley-Terry, we parameterize where is the Elo rating of the document , giving:在 Bradley-Terry 的 Elo 评分系统公式中,我们将 πi 参数化为 e^{Elo_i},其中 Elo_i 是文档 di 的 Elo 评分,得到:
As such, we fit such that whenever :因此,我们拟合 {Elo1, Elo2, …, Elon} 使得每当 wij≠0 时:
And secondarily, for the purposes of normalization across queries, we constrain:其次,为了跨查询归一化,我们约束:
We define a negative log likelihood loss and fit Elos by gradient descent via maximum likelihood estimation. The loss is then我们定义负对数似然损失,并通过最大似然估计的梯度下降拟合 Elo。损失为:
And it is a known result from Zermelo that this has a unique local minimum (given a final constraint like ) (Zermelo 1929). As a result, gradient descent will converge should we have a time-decaying learning rate with diverging (we use here).并且根据 Zermelo 的已知结果,这具有唯一的局部最小值(给定最终约束如 Elo1+…+Elon=0)。因此,如果我们使用时间衰减学习率 ηt 且 ∑ηt 发散(此处使用 ηt=t^{-0.125}),梯度下降将收敛。
4.2.2 Thurstone Model4.2.2 瑟斯通模型
The Thurstone Model posits that rankings are determined by per-document hidden scores (Which we call ELO), and that the probability that document is better than document is瑟斯通模型假设排序由每个文档的隐藏分数(我们称之为 ELO)决定,并且文档 i 优于文档 j 的概率为
This is almost identical to Bradley-Terry, albeit assuming that a document’s intrinsic noise takes a normal distribution rather than a gumbel distribution. We observe that this adjustment makes a better fit to the observed data, and is also well-justified (Justified via the central limit theorem, with the prior that the document comparison is subject to multiple sources of noise). In our final training run, we utilize Thurstone’s rather than Bradley-Terry’s for this reason.这与 Bradley-Terry 几乎相同,只是假设文档的内在噪声服从正态分布而非 Gumbel 分布。我们观察到这一调整能更好地拟合观察到的数据,并且有充分的理论依据(通过中心极限定理,先验是文档比较受到多个噪声源的影响)。在我们的最终训练中,出于这个原因,我们使用瑟斯通的 erf() 而非 Bradley-Terry 的 σ()。
4.2.3 Extension to Plackett-Luce for Complete Rankings4.2.3 扩展到 Plackett-Luce 以处理完整排序
While Bradley-Terry handles pairwise comparisons, the Plackett-Luce model generalizes this to complete rankings. For a ranking of documents , the Plackett-Luce probability is:Bradley-Terry 处理成对比较,而 Plackett-Luce 模型将其推广到完整排序。对于文档 d1,…,dn 的排序 π,Plackett-Luce 概率是:
In our context, this allows us to model the probability of observing a complete ranking based on our Elo scores. However, since we work with sparse pairwise comparisons for computational tractability rather than complete rankings (more on this in section 5), we primarily consider the Bradley-Terry formulation.在我们的上下文中,这允许我们根据 Elo 分数对观察到完整排序的概率进行建模。然而,由于我们出于计算可行性考虑使用稀疏成对比较而非完整排序(更多见第 5 节),我们主要考虑 Bradley-Terry 公式。
4.2.4 Sparse Matrix Subsampling for Elos4.2.4 用于 Elo 的稀疏矩阵子采样
A dense inference procedure for every query in the dataset is prohibitively expensive given the scale of . Therefore, we sparsely infer for selected pairs in a manner that the predicted Elos from the Elo calculation algorithm on the sparse matrix match the actual Elos as well as possible.对于数据集中的每个查询 q,密集的 n×n 推理过程在 n 的规模下代价过高。因此,我们稀疏地推理选定的 O(n) 个 di,dj 对的 Rpair(q,di,dj),方式是从稀疏矩阵的 Elo 计算算法预测的 Elo e'1, e'2, …, e'n 尽可能匹配实际 Elo e1,…,en。
Let be our comparison graph where and iff is inferred. Let denote the shortest-path distance between vertices and in , and let denote the degree of vertex .令 G=(V,E) 为我们的比较图,其中 V={d1,…,dn},且 (di,dj)∈E 当且仅当推理了 Rpair(q,di,dj)。令 dist_G(di,dj) 表示顶点 di 和 dj 在 G 中的最短路径距离,令 deg(di) 表示顶点 di 的度数。
To ensure accurate Elo score estimation from sparse pairwise comparisons, our graph must satisfy three key structural properties:为了确保从稀疏成对比较中准确估计 Elo 分数,我们的图 G 必须满足三个关键结构性质:
1) Connected Graph:1) 连通图:
2) No Nodes With Low Degree:2) 无低度数节点:
3) Low Diameter:3) 低直径:
In particular, we employ the following heuristics to guide our sparse subsampling strategy:具体而言,我们采用以下启发式来指导我们的稀疏子采样策略:
-
1.
Path Length Heuristic: The variance in estimated Elo differences is proportional to graph distance:路径长度启发式:估计 Elo 差异的方差与图距离成正比:
-
2.
Degree Stability Heuristic: The variance of individual Elo estimates is inversely proportional to node degree:度数稳定性启发式:单个 Elo 估计的方差与节点度数成反比:
These heuristics motivate our graph construction constraints:这些启发式激发了我们的图构造约束:
Under these heuristics, the probability of ranking error between documents and increases with their graph distance and decreases with the true Elo gap .在这些启发式下,文档 di 和 dj 之间排序误差的概率随着它们的图距离增加而增加,并且随着真实 Elo 差距 |ei-ej| 的增加而减少。
Now, with edges, the combination of these two constraints naturally lends itself to considering -regular graphs. Consider that it is a known theoretical result that for a random -regular graph :现在,对于 O(n) 条边,这两个约束的组合自然导致考虑 k-正则图。考虑这是一个已知的理论结果:对于随机 k-正则图 G:
With probability asymptotically 1, as per Bollobás.111(Actually, may be replaced with for any ) (Bollobás 2001, Chapter 10.3)概率渐近为 1,根据 Bollobás。^1(实际上,5/2 可以替换为任意 ϵ>0 的 2+ϵ)(Bollobás 2001,第 10.3 章)
Generating arbitrary random -regular graphs is not efficient, however, and to ensure good connectivity, it is actually better to choose random -cycles and union their edge sets over the vertices; the resulting graph is -connected (and if no are duplicated across cycles, the graph is in fact -regular as well). What is more, such a graph can be generated easily in time by taking random permutations. This graph will have edges. Below we illustrate a toy example with this method.然而,生成任意随机 k-正则图并不高效,并且为了确保良好的连通性,实际上更好的方法是选择 k/2 个随机 n-环并在顶点上取它们的边集并;所得图是 k-连通的(并且如果没有 (di,dj) 在环之间重复,则该图实际上是 k-正则的)。此外,这样的图可以通过随机排列在 O(n) 时间内轻松生成。该图将有 N=kn/2 条边。下面我们用此方法演示一个玩具示例。
Constructing a -regular graph via cycle splicing (example: , )通过环拼接构造 k-正则图 (示例:n=6,k=4)
Step 1: Generate Random Cycles 步骤 1:生成 k/2=2 个随机环 d1 d2 d3 d4 d5 d6 d1 d2 d3 d4 d5 d6
Cycle 1:
Cycle 2: 环 1:1→2→3→4→5→6→1
环 2:1→5→2→6→3→4→1
Step 2: Overlay the Cycles步骤 2:叠加环
Degree of each node ():
每个节点的度数(k=4):
deg(d1)=4 deg(d2)=4 deg(d3)=4 deg(d4)=4 deg(d5)=4 deg(d6)=4
Properties of the resulting graph所得图的性质
Low diam: ,
High connectivity: Graph is 2-connected
Uniform degree: All nodes have degree 4低直径:dist(d1,d3)=2,diam(G)=2
高连通性:图是 2-连通的
均匀度数:所有节点度数为 4
4.3 Training from SFT4.3 从 SFT 训练 Rpoint
Given a dataset of query-document pairs with relevance scores where represents the relevance of document to query , we train the pointwise reranker using supervised fine-tuning.给定一个包含相关性分数的查询-文档对数据集 {(qi,dj,yij)},其中 yij∈[0,1] 表示文档 dj 对查询 qi 的相关性,我们使用监督微调训练逐点重排序器 Rpoint。
We minimize the mean squared error loss:我们最小化均方误差损失:
where is our training dataset.其中 Dtrain 是我们的训练数据集。
Little needs to be said here; our procedure does not deviate meaningfully from standard practice other than that our are given by the estimated for each fixed query from the prior section as opposed to human-annotated binary scores.这里无需多言;我们的过程与标准实践没有显著差异,只是我们的 {yij} 是由前一节中每个固定查询 qi 的估计 {e'j} 给出的,而不是人类标注的二元分数。
5 Training the Pairwise Reranker5 训练成对重排序器
5.1 Dataset5.1 数据集
As input to the zELO algorithm, we must collect . The used by our final model consists of publicly available queries across a wide array of domains including finance, law, medicine, code, and STEM; and publicly available web-scale documents. For generating , the initial retrieval method we use is cosine similarity on embeddings from Qwen3-Embedding-4B (Zhang et al., 2025), combined via RRF with a lexical sparse BM25. For lexical sparse embeddings, we use an optimized multilingual tokenizer pipeline (language detection, followed by language-specific stemming). The top- chosen is . Initial retrieval is done via the ZeroEntropy Search Engine, using the endpoint /queries/top-documents.作为 zELO 算法的输入,我们必须收集 𝒬, 𝒟, 𝒵。我们最终模型使用的 𝒬, 𝒟 包含 112,000 个公开可用的查询,涵盖金融、法律、医学、代码和 STEM 等广泛领域;以及超过 1 亿个公开可用的网络规模文档。为了生成 𝒵,我们使用的初始检索方法是基于 Qwen3-Embedding-4B 嵌入的余弦相似度,结合 RRF 与词汇稀疏 BM25。对于词汇稀疏嵌入,我们使用优化的多语言分词器流程(语言检测,后跟语言特定的词干提取)。选择的 top-k 为 k=100。初始检索通过 ZeroEntropy 搜索引擎完成,使用端点 /queries/top-documents。
5.2 Ensemble Annotation as Source of Truth5.2 集成标注作为真实来源
Consider a population of annotators. We define the ensemble ranking as考虑一个标注群体 𝒫。我们将集成排序定义为
We create a small internal dataset across numerous verticals (Medicine, Law, Finance, Code, etc) to use as the Gold Standard. For each query, the documents are selected via randomly sampling two documents out of the Top by initial retrieval. is randomly sampled between and with an inverse distribution. In order to resolve for a particular input, we sample annotators until the standard error of the mean approaches .我们创建了一个跨多个垂直领域(医学、法律、金融、代码等)的小型内部数据集作为黄金标准。对于每个查询,文档通过从初始检索的前 k 个中随机采样两个文档来选择。k 在 10 到 100 之间按逆分布随机采样。为了确定特定输入的 Rensemble,我们对标注者进行采样,直到均值的标准误差接近 0.1。
As per Section 3.2 Laffer Curve, we observe the difficulties that accompany using human annotations as the source of ground truth. While sampling until convergence across all conceivable documents for an entire querying population against all conceivable queries would (definitionally) match the target ideal reranker, human annotation is in practice expensive, noisy, and observed to be simply inferior to an ensemble of SOTA large language models. As such, we preferentially inference the latter to generate pairwise annotations.如第 3.2 节拉弗曲线所述,我们观察到使用人类标注作为真实来源的困难。虽然对整个查询群体 𝒫_universal 和所有可能查询 𝒬 的所有可能文档 𝒟 进行采样直到收敛(定义上)会匹配目标理想重排序器,但人类标注在实践中昂贵、嘈杂,并且观察到其简单劣于最先进大型语言模型集成。因此,我们优先推理后者来生成成对标注。
However, as discussed later in Section 5.6 RLHF, we do for each query make use of our dataset’s highest ranked human-annotated document in a second training run of our pairwise reranker. Thus, we recapture signal that pure distillation from an LLM-ensemble teacher model was unable to impart on a first pass. In this way, we make use of those human annotations with the highest signal-to-noise ratio without fully shackling ourselves to them as ground truth.然而,正如第 5.6 节 RLHF 中讨论的,我们在成对重排序器的第二轮训练中,确实为每个查询使用了数据集中排名最高的人类标注文档。这样,我们重新捕获了纯粹从 LLM 集成教师模型蒸馏在第一轮中未能传达的信号。通过这种方式,我们利用了那些信噪比最高的人类标注,而没有完全将其作为真实来源束缚自己。
5.3 Ensemble of LLMs as Synthetic Data Generators5.3 LLM 集成作为合成数据生成器
Practically, consider to be a set of frontier LLMs, each prompted against a given to output a chain-of-thought justification for and final judgment of document preference, and consider as before. For our purposes, we found to be a good mix of economical, convergent, and accurate.实际上,考虑 𝒫 为一组前沿 LLM,每个 LLM 针对给定的 (q,di,dj) 被提示输出关于文档偏好的思维链理由和最终判断,并考虑 Rpair_P 如前所述。为了我们的目的,我们发现 |𝒫|=3 是一个经济、收敛且准确的良好组合。
For each query , we randomly sample a document pair and prompt each LLM to score the relative preference on ,222In Section 4.1 Definitions for the zELO Method we give the codomain of as . Experimentally, prompting LLM’s for a [-1,1] codomain gave more uniform results. We in any case transform this back into the expected codomain later. We would also flip the order of prompted documents half the time and take the negative result to control for left/right LLM bias. where:对于每个查询 q,我们随机采样一个文档对 {di,dj}⊂𝒵,并提示每个 LLM 在 [-1,1] 上对相对偏好进行评分,^2(在第 4.1 节 zELO 方法定义中,我们将 Rpair 的余域设为 [0,1]。实验表明,提示 LLM 使用 [-1,1] 余域会得到更均匀的结果。我们稍后会将其转换回预期的余域。我们还会在一半时间内交换提示文档的顺序并取负值,以控制左右 LLM 偏差。其中:
-
1.
indicates strong preference for −1 表示强烈偏好 di
-
2.
indicates strong preference for 1 表示强烈偏好 dj
-
3.
indicates no preference0 表示无偏好
We then clamp the raw scores to and individually prompt-engineer each model to achieve roughly uniform response distribution. See the appendix for the base prompt used.然后我们将原始分数钳制到 {−1,0,1},并单独为每个模型进行提示工程以实现大致均匀的响应分布。基础提示见附录。
Next, we average over to get an ensemble score, (a real number in with ). We then map the ensemble score into the expected range by the following update rule:接下来,我们对 𝒫 取平均以获得集成分数 pij([-1,1] 内的实数,且 |𝒫|r∈ℤ)。然后,我们通过以下更新规则将集成分数映射到预期的 [0,1] 范围:
That is, if the first document is preferred, the resulting score is near , while the second document being preferred results in a score near . This ensemble score is of an integer.也就是说,如果第一个文档被偏好,则所得分数接近 1,而第二个文档被偏好则导致分数接近 0。该集成分数是整数的 1/(2|𝒫|) 倍。
In contradistinction to , the ensemble score, denote the score given by the pairwise reranker being trained to approximate our ground truth. We may simply use standard Binary Cross Entropy loss to train on ensemble scores:与 pij :=_P Rpair(q,di,dj) 即集成分数不同,将 p'ij := R'_pair(q,di,dj) 记为正在训练以逼近我们真实来源的成对重排序器给出的分数。我们可以简单地使用标准二元交叉熵损失来训练 R'_pair(q,di,dj) 在集成分数上:
Where, remember:其中,记住:
Given that inferencing is particularly expensive, we do so only once for each query, on a random pair taken from the top- initially-retrieved documents. Inferencing more pairs would in theory improve the performance of the student model, but given economic constraints, our limitation proved the number of high quality queries we managed to train over – more entropy was to be had in inferencing over a new query than over an extra document pair for the same query.鉴于推理 Rpair_P 特别昂贵,我们每个查询只执行一次,在取自初始检索前 k 个文档的随机 (di,dj) 对上。理论上,推理更多对会提高学生模型的性能,但受限于经济约束,我们的限制是我们成功训练的高质量查询数量——在同一查询上推理额外的文档对相比推理一个新查询,熵增益更少。
We can see the convergence of this approach in Figure 8 above. This graph is from an early research run which was not used to train our final model, but which demonstrates the generalizability of the approach across model sizes and datasets. Training three differently sized Llama distillates on BioASQ using this method and evaluating it against a validation subset of that dataset (with LLM-ensemble as source of ground truth, not human-annotations) showcases steady performance improvement and rapid convergence. In particular, we note that even for the 8B and 70B models with strong zero-shot performance, margins of 20% and 10% were noted, resulting in large performance gains vs SOTA rerankers (93% vs 75% to 81% on this dataset). We further note that these models performed similarly on our internal standards of private data, implying generalization, whereas competing SOTA rerankers (admittedly pointwise) experienced a drop-off in performance, implying overfitting to evaluation datasets.我们可以在上面的图 8 中看到这种方法的收敛性。该图表来自早期研究运行,未用于训练我们的最终模型,但展示了该方法在不同模型大小和数据集上的泛化能力。使用此方法在 BioASQ 上训练三个不同大小的 Llama 蒸馏模型,并针对该数据集的验证子集(以 LLM 集成为真实来源,而非人类标注)进行评估,显示出稳定的性能提升和快速收敛。特别地,我们注意到即使对于具有强零样本性能的 8B 和 70B 模型,也观察到了 20% 和 10% 的边际,导致相对于最先进重排序器(在此数据集上,93% 对 75% 到 81%)的巨大性能提升。我们进一步注意到,这些模型在我们内部的私有数据标准上表现类似,表明泛化能力,而竞争性的最先进重排序器(诚然是逐点的)性能下降,表明过拟合评估数据集。
5.4 Elo Score Calculation5.4 Elo 分数计算
Having trained the pairwise reranker and given a top- filtered corpus of documents, we can now infer it on some set of pairs of documents for computational efficiency. We again swap the order half the time to mitigate the effects of potential biasing towards either position, and obtain scores , and set . We thus form the sparse matrix that is .在训练了成对重排序器 R'_pair 并给定一个由 k 个文档组成的前 k=100 个过滤语料库 𝒵 后,我们现在可以在一些文档对 (di,dj):i,j∈ℐ⊂[k]×[k] 的集合 ℐ 上进行推理以提高计算效率。我们再次在一半时间内交换顺序 i,j 以减轻对任一位置的潜在偏倚影响,并获得分数 pij,并设置 pji=1-pij。因此,我们形成稀疏的 k×k 矩阵 P。
This still leaves the choice of which to infer on to generate ; this choice is important, as it determines the ELO estimates on which will be trained. Recall from the section on heuristics for subsampling sparse matrices for ELO scores that we desire a few crucial characteristics of our sampling strategy:这仍然留下了选择哪个 ℐ 来推理 R'_pair 以生成 P 的问题;这个选择很重要,因为它决定了将用于训练 R'_point 的 ELO 估计。回顾关于 ELO 分数稀疏矩阵子采样启发式的部分,我们希望采样策略具有几个关键特征:
-
1.
It must result in a connected graph, where every document is reachable from every other document by some chain of inferred pairwise comparisons.它必须产生一个连通图,其中每个文档都可以通过一系列推理的成对比较从任何其他文档到达。
-
2.
No document should be pairwise-inferred a very small number of times, lest its ELO prove unstable and erroneous. In particular, we determined that all documents should be inferred the same number of times.没有文档被成对推理的次数非常少,以免其 ELO 不稳定且错误。特别是,我们确定所有文档应被推理相同次数。
-
3.
The maximum separation between two documents in the shortest-connecting chain of pairwise inferences (id est, the diameter of the graph) should be low, otherwise relative ELO between them may prove unreliable (since pairwise document relevancy cannot be assumed to be strongly stochastically transitive).两个文档之间最短连接链的最大间隔(即图的直径)应该低,否则它们之间的相对 ELO 可能不可靠(因为文档相关性不能假设为强随机可传递)。
At ZeroEntropy, we explored various sampling methods to satisfy these constraints: simple random pairwise sampling without replacement, complete bipartite graphs (to get diameter of 2) and approximately edges, as well as a dynamic method that selects successive pairs based on the smallest current ELO difference so as to maximize expected entropy. We evaluated these approaches by comparing ground-truth ELOs from densely inferred matrices against ELOs generated from sparse sampling according to each method’s graph structure.在 ZeroEntropy,我们探索了各种满足这些约束的采样方法:无替换简单随机成对采样、完全二分图 K_{l,k-l}(以获得直径 2 和大约 kl 条边),以及一种基于当前最小 ELO 差异选择后续 (di,dj) 对以最大化预期熵的动态方法。我们通过比较从密集推理的 k×k 矩阵得到的真实 ELO 与根据每种方法的图结构从稀疏采样生成的 ELO 来评估这些方法。
In the end, we discovered that a method of sampling random cycles (where is the desired valence of any document in a -regular graph) and unioning the edge sets proved fastest in converging and generated the most stable results. See the illustration of this process from Section 4.2.3 for more information. Results for these training procedure experiments are seen in Figure 9 above.最后,我们发现一种方法——采样 k/2 个随机环(其中 k 是文档在 k-正则图中的期望度数)并将边集取并集——收敛最快并产生最稳定的结果。有关此过程的说明,请参见第 4.2.3 节的图示。这些训练过程实验的结果见图 9 上方。
The convergence properties of the ELO ranking system are such that even with mere random sampling, the cross-entropy loss of ELO estimates from subsampling vs those calculated from the full matrix go to zero with only about a sampling ratio:ELO 评分系统的收敛性质使得即使采用纯随机采样,来自子采样的 ELO 估计与从完整 100×100 矩阵计算出的 ELO 之间的交叉熵损失在仅约 1% 的采样率下趋于零:
However, we were able to further improve upon this with the method of cycles, ultimately using only inferences ( of full), with ( random cycles) to sample the Elos. These ELO scores become our pointwise estimates on which we train in the next section.然而,我们通过环的方法进一步改进了这一点,最终仅使用 N=400 次推理(完整矩阵的 0.4%),k=8(4 个随机环)来采样 Elo。这些 ELO 分数成为我们的逐点估计,我们将在下一节中用于训练 R'_point。
5.5 Training the Pointwise Reranker5.5 训练逐点重排序器
We now perform supervised fine-tuning on a Qwen-4B to obtain zerank-1 as well as a smaller Qwen-1.7B model to obtain zerank-1-small, using the same relevance scores generated from preceding steps for each. We use a standard MSE loss function to fit (our model) to ;我们现在在 Qwen-4B 上进行监督微调以获得 zerank-1,以及在较小的 Qwen-1.7B 模型上以获得 zerank-1-small,使用前面步骤为每个生成的相同相关性分数。我们使用标准的 MSE 损失函数将 R_pred(我们的模型)拟合到 Rpoint;
The result is our first-training-pass pointwise reranker .结果是我们的第一轮训练逐点重排序器 R'_point(q,d)。
5.6 Improving the Pairwise Reranker (RLHF)5.6 改进成对重排序器(RLHF)
We improve on the pointwise model’s performance through a variant of negative mining: we add additional data to the original (ensemble-inferenced) pairwise scores used to train the pairwise reranker, based on failures of the pointwise reranker.我们通过一种负例挖掘的变体改进逐点模型的性能:基于逐点重排序器的失败,向原始(集成推理的)NQ 个用于训练成对重排序器的成对分数中添加额外数据。
Specifically, for each query in our overall dataset, we let denote the document with the highest human-annotated score. Let be the rank of this document when we rank each document of ’s corpus using . For every sub-dataset constituent of our training dataset (id est, each constituent HuggingFace dataset), we manually set acceptable threshold rank values . We determine this through factors such as how many documents are human-annotated for each query, how many human annotators were sampled for a given document-query pair, etc. If , we consider this a failure. Consider now the document that was ranked at position by the reranker.具体而言,对于整个数据集中的每个查询 q,令 d_human 表示具有最高人类标注分数的文档。令 r_human 为当我们使用 R'_point 对 q 的语料库 C 中的每个文档排序时该文档的排名。对于训练数据集的每个子数据集成分(即每个 HuggingFace 数据集成分),我们手动设置可接受的阈值排名 t。我们通过考虑每个查询有多少文档被人类标注、每个文档-查询对采样了多少人类标注者等因素来确定此阈值。如果 r_human > t,我们认为这是一个失败。现在考虑由重排序器在位置 r_human - 1 处排名的文档 d'。
We will now inference the pairwise ensemble on ; we observe typically that the ensemble strongly prefers the human top-scored document, though evidently we ranked it worse. We add this to our pairwise reranker training dataset, while retaining the sole original example for that query, , given by random sampling.我们现在在 (d_human, d') 上推理成对集成;我们通常观察到集成强烈偏好人类最高分的文档,尽管显然我们将其排得更差。我们将这个 Rpair_P(q, d_human, d') 添加到我们的成对重排序器训练数据集中,同时保留该查询的原始示例 Rpair_P(q, di, dj)(通过随机采样得到)。
We then retrain the pairwise reranker on the expanded dataset, and repeat all previous steps to obtain Elo scores with which to train a second iteration of our pointwise reranker on. This gives us our final models, zerank-1 and zerank-small.然后我们在扩展的数据集上重新训练成对重排序器,并重复所有先前步骤以获得 Elo 分数,用于训练第二轮逐点重排序器。这给出了我们的最终模型:zerank-1 和 zerank-small。
6 Results6 结果
We conduct evaluations across a variety of specialized domains, and zerank-1 consistently outperforms other state-of-the-art rerankers by significant margins. Our evaluation pipeline is open source and publicly available on github. Detailed results are on the subsequent page.我们在多个专业领域进行了评估,zerank-1 始终以显著优势超越其他最先进的排序模型。我们的评估流程是开源的,可在 GitHub 上公开获取。详细结果见后续页面。
Specifically, we test zerank-1 and zerank-1-small against Cohere’s rerank-v3.5, Voyage AI’s rerank-2, and Salesforce’s Llama-rank-v1 on a suite of public datasets with standard NDCG@10 metric (Table 2). We also evaluate said models across smaller private customer datasets to test for generalization and overfitting on eval datasets (Table 3). Notably, neither zerank model was trained on any portion of the datasets evaluated; in-fact, as recalled, the zELO training method does not use any human annotations.具体而言,我们在公共数据集上使用标准 NDCG@10 指标(表 2),将 zerank-1 和 zerank-1-small 与 Cohere 的 rerank-v3.5、Voyage AI 的 rerank-2 以及 Salesforce 的 Llama-rank-v1 进行比较。我们还在较小的私有客户数据集上评估上述模型,以检验泛化能力和对评估数据集的过拟合情况(表 3)。值得注意的是,zerank 系列模型均未使用任何评估数据集进行训练;事实上,如前所述,zELO 训练方法不使用任何人工标注。
As can be seen, both zerank-1 and zerank-1-small offer large margins of improvement over existing SOTA methods, and these margins improve when tested on private datasets, indicating high generalization and wide applicability.可以看出,zerank-1 和 zerank-1-small 相比现有最先进方法均有大幅提升,且在私有数据集上提升幅度更大,这表明其具有高度的泛化能力和广泛适用性。
Furthermore, zerank-1-small maintains much of the superior performance of zerank-1 over existing models despite being less than half the size. zerank-1-small is also available under a fully open Apache 2.0 license.此外,zerank-1-small 的规模不到 zerank-1 的一半,却保持了相较于现有模型的大部分优越性能。zerank-1-small 还采用完全开源的 Apache 2.0 许可证发布。
Our evaluations use an initial retrieval with , and we test OpenAI-text-embedding-3-small, BM25, and hybrid search. On all three initial retrieval methods, we find that our rerankers still significantly improve the NDCG@10 compared to initial retrieval (see Figure 12).我们的评估使用初始检索设置 k=100k=100,并测试了 OpenAI-text-embedding-3-small、BM25 和混合搜索。在所有三种初始检索方法中,我们发现我们的排序模型相比初始检索显著提升了 NDCG@10(见图 12)。
Moreover, we achieve this performance while not compromising on speed:此外,我们在不牺牲速度的前提下实现了这一性能:
| Model | NDCG@10 | Latency (12 KB) | Latency (150 KB) |
|---|---|---|---|
| Jina m0 | 0.7279 | 547.14 ± 66.84 ms | 2,543.8 ± 2,984.9 ms |
| Cohere 3.5 | 0.7091 | 171.5 ± 106.8 ms | 459.2 ± 87.9 ms |
| zerank-1 | 0.7683 | 149.7 ± 53.1 ms | 314.4 ± 94.6 ms |
Lastly, we compare the use of zerank-1 against simply prompting a cheaper frontier LLM, Gemini-v2.5-flash (Gemini Team 2025), to perform pairwise comparisons using the same prompt as that used to generate pairwise reranker training data. We use the pairwise comparisons to generate Elo scores using Section 5.3’s methods to obtain Gemini rankings (which we call gemini-reranker). We observe that our trained reranker still results in dramatically superior performance:最后,我们将使用 zerank-1 与直接提示较为便宜的领先 LLM(Gemini-v2.5-flash,Gemini Team 2025)进行比较,后者使用生成成对排序训练数据时所用的相同提示进行成对比较。我们利用成对比较结果,采用第 5.3 节的方法生成 Elo 分数,从而得到 Gemini 排名(我们称之为 gemini-reranker)。我们观察到,经过训练的排序模型仍然具有显著的性能优势:
7 Conclusion7 结论
This technical report introduces zerank-1 and zerank-1-small, the new state-of-the-art models for reranking and information retrieval tasks. These rerankers were trained via a novel pipeline that largely rejects pointwise human annotations, and instead focuses on mathematically modeling query-document relevance scores using Elo-inspired scoring based on more meaningful pairwise comparisons. These models exhibit great cross-domain versatility, exhibiting strong performance on fields from code to finance to medicine, and we offer the weights of both models for non-commercial uses.本技术报告介绍了 zerank-1 和 zerank-1-small,这是用于重排序和信息检索任务的最新最先进模型。这些排序模型通过一种新颖的流程进行训练,该流程在很大程度上摒弃了逐点人工标注,而是专注于使用基于更有意义的成对比较的 Elo 启发式评分来对查询-文档相关性进行数学建模。这些模型展现了出色的跨领域通用性,在从代码到金融再到医学的各个领域均表现出强劲性能,我们提供了这两个模型的权重用于非商业用途。
| Task/Benchmark | Default(embedding) | cohere-rerank-v3.5 | Salesforce/Llama-rank-v1 | zerank-1-small | zerank-1 |
|---|---|---|---|---|---|
| Code | 0.678 | 0.724 | 0.694 | 0.730 | 0.754 |
| Conversational | 0.250 | 0.571 | 0.484 | 0.556 | 0.596 |
| Finance | 0.839 | 0.824 | 0.828 | 0.861 | 0.894 |
| Legal | 0.703 | 0.804 | 0.767 | 0.817 | 0.821 |
| Medical | 0.619 | 0.750 | 0.719 | 0.773 | 0.796 |
| STEM | 0.401 | 0.510 | 0.595 | 0.680 | 0.694 |
| Task | Cohere/rerank-v3.5 | Salesforce/Llama-rank-v1 | VoyageAI/rerank-2 | zerank-1-small | zerank-1 |
|---|---|---|---|---|---|
| Legal | 0.718 | 0.766 | 0.746 | 0.799 | 0.854 |
| Enterprise Search | 0.674 | 0.629 | 0.735 | 0.765 | 0.799 |
| Conversational | 0.727 | 0.653 | 0.727 | 0.747 | 0.787 |
| Healthcare | 0.706 | 0.756 | 0.749 | 0.885 | 0.898 |


8 References8 参考文献
-
1.
Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., Zheng, C., Liu, D., Zhou, F., Huang, F., Hu, F., Ge, H., Wei, H., Lin, H., Tang, J., … Zhang, Z. (2025, May 14). Qwen3 technical report (arXiv:2505.09388) [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2505.09388Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., Zheng, C., Liu, D., Zhou, F., Huang, F., Hu, F., Ge, H., Wei, H., Lin, H., Tang, J., … Zhang, Z. (2025, May 14). Qwen3 technical report (arXiv:2505.09388) [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2505.09388
-
2.
Robertson, S. E., Walker, S., Jones, S., Hancock-Beaulieu, M. M., & Gatford, M. (1995). Okapi at TREC-3. In D. K. Harman (Ed.), Proceedings of the Third Text REtrieval Conference (TREC-3) (pp. 109–126). National Institute of Standards and Technology (NIST). https://trec.nist.gov/pubs/trec3/papers/city.ps.gzRobertson, S. E., Walker, S., Jones, S., Hancock-Beaulieu, M. M., & Gatford, M. (1995). Okapi at TREC-3. In D. K. Harman (Ed.), Proceedings of the Third Text REtrieval Conference (TREC-3) (pp. 109–126). National Institute of Standards and Technology (NIST). https://trec.nist.gov/pubs/trec3/papers/city.ps.gz
-
3.
Cormack, G. V., Clarke, C. L. A., & Buettcher, S. (2009). 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). ACM. https://plg.uwaterloo.ca/~gvcormac/cormacksigir09-rrf.pdfCormack, G. V., Clarke, C. L. A., & Buettcher, S. (2009). 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). ACM. https://plg.uwaterloo.ca/~gvcormac/cormacksigir09-rrf.pdf
-
4.
Nogueira, R., & Cho, K. (2020). Passage re‑ranking with BERT (arXiv:1901.04085v5) [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1901.04085Nogueira, R., & Cho, K. (2020). Passage re‑ranking with BERT (arXiv:1901.04085v5) [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1901.04085
-
5.
Together AI. (2024, June 6). Introducing Together Rerank API and Salesforce LlamaRank: Advancing reranking in retrieval. Together AI Blog. https://www.together.ai/blog/together-rerank-api-and-salesforce-llamarankTogether AI. (2024, June 6). Introducing Together Rerank API and Salesforce LlamaRank: Advancing reranking in retrieval. Together AI Blog. https://www.together.ai/blog/together-rerank-api-and-salesforce-llamarank
-
6.
Sean Lee, R., Huang, R., Shakir, A., & Lipp, J. (2025, March 13). Baked‑in brilliance: Reranking meets RL with mxbai‑rerank‑v2. Mixedbread. https://www.mixedbread.com/blog/mxbai-rerank-v2Sean Lee, R., Huang, R., Shakir, A., & Lipp, J. (2025, March 13). Baked‑in brilliance: Reranking meets RL with mxbai‑rerank‑v2. Mixedbread. https://www.mixedbread.com/blog/mxbai-rerank-v2
-
7.
Nogueira, R., Yang, W., Cho, K., & Lin, J. (2019, October 31). Multi-stage document ranking with BERT (arXiv:1910.14424) [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1910.14424Nogueira, R., Yang, W., Cho, K., & Lin, J. (2019, October 31). Multi-stage document ranking with BERT (arXiv:1910.14424) [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1910.14424
-
8.
OpenAI. (2024, January 25). New embedding models and API updates: text‑embedding‑3‑small & text‑embedding‑3‑large. OpenAI. https://openai.com/index/new-embedding-models-and-api-updatesOpenAI. (2024, January 25). New embedding models and API updates: text‑embedding‑3‑small & text‑embedding‑3‑large. OpenAI. https://openai.com/index/new-embedding-models-and-api-updates
-
9.
Elo, A. E. (1978). The rating of chessplayers, past and present (Chapter 1). New York: Arco Publishing.Elo, A. E. (1978). The rating of chessplayers, past and present (Chapter 1). New York: Arco Publishing.
-
10.
Bradley, R. A., & Terry, M. E. (1952). Rank analysis of incomplete block designs: I. The method of paired comparisons. Biometrika, 39(3–4), 324–345. https://doi.org/10.2307/2334029Bradley, R. A., & Terry, M. E. (1952). Rank analysis of incomplete block designs: I. The method of paired comparisons. Biometrika, 39(3–4), 324–345. https://doi.org/10.2307/2334029
-
11.
Zermelo, E. (1929). Die Berechnung der Turnier-Ergebnisse als ein Maximumproblem der Wahrscheinlichkeitsrechnung. Mathematische Zeitschrift, 29(1), 436–460. https://doi.org/10.1007/BF01180541Zermelo, E. (1929). Die Berechnung der Turnier-Ergebnisse als ein Maximumproblem der Wahrscheinlichkeitsrechnung. Mathematische Zeitschrift, 29(1), 436–460. https://doi.org/10.1007/BF01180541
-
12.
Bollobás, B. (2001). Random graphs (2nd ed.). Cambridge University Press.Bollobás, B. (2001). Random graphs (2nd ed.). Cambridge University Press.
-
13.
Gemini Team. (2025, June 17). Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. Google DeepMind. https://storage.googleapis.com/deepmind-media/gemini/gemini_v2_5_report.pdfGemini Team. (2025, June 17). Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. Google DeepMind. https://storage.googleapis.com/deepmind-media/gemini/gemini_v2_5_report.pdf
9 Appendix9 附录
9.1 Ensemble Inference Prompts9.1 集成推理提示
9.1.1 Single-query pairwise scores9.1.1 单查询成对分数
Task任务
You are a relevance scoring system. Given a query and two documents (A and B), your job is to decide which document is more relevant to the given query. You should think carefully, considering the pros and cons between each document. For your first few sentences, consider the pros and cons of Document A. Then, spend some time thinking about Document B. Then, at the end, compare, and make a decision as to which one is more relevant. Do NOT make a decision in the beginning of your thoughts, stay open-minded until the last 1-2 sentences of your thoughts.你是一个相关性评分系统。给定一个查询和两个文档(A 和 B),你的任务是判断哪个文档与给定查询更相关。请仔细思考,考虑每个文档的优缺点。首先花一些时间思考文档 A 的优缺点。然后花一些时间思考文档 B。最后进行比较,并决定哪个文档更相关。不要在思考开始时做出决定,保持开放心态,直到你思考的最后 1-2 句再做出决定。
Scoring评分
The score should range from -1.0 to 1.0, where negative means document A is more relevant, and positive means Document B is more relevant. You can pick any number from -1.0 to 1.0.分数范围从 -1.0 到 1.0,其中负值表示文档 A 更相关,正值表示文档 B 更相关。你可以选择 -1.0 到 1.0 之间的任意数字。
Note that here, whether or is document A is randomly chosen to mitigate any preference the model may have for either document position. We negate the score in that situation.注意,这里(d_i)或(d_j)哪个是文档 A 是随机选择的,以减轻模型对任一文档位置的偏好。在这种情况下,我们对分数取反。