Weiwei Sun$^{1}$ $^{*}$ Lingyong Yan$^{2}$ Xinyu Ma$^{2}$ Shuaiqiang Wang$^{2}$
Pengjie Ren$^{1}$ Zhumin Chen$^{1}$ Dawei Yin$^{2}$ $^{\dagger}$ Zhaochun Ren$^{3}$ $^{\dagger}$
$^{1}$ Shandong University, Qingdao, China
$^{2}$ Baidu Inc., Beijing, China
$^{3}$ Leiden University, Leiden, The Netherlands
{sunnweiwei, lingyongy, xinyuma2016, shqiang.wang}@gmail.com
{renpengjie, chenzhumin}@sdu.edu.cn [email protected]
[email protected]
$^{*}$ Work done during an internship at Baidu.
$^{\dagger}$ Corresponding authors.
Large Language Models (LLMs) have demonstrated remarkable zero-shot generalization across various language-related tasks, including search engines. However, existing work utilizes the generative ability of LLMs for Information Retrieval (IR) rather than direct passage ranking. The discrepancy between the pre-training objectives of LLMs and the ranking objective poses another challenge. In this paper, we first investigate generative LLMs such as ChatGPT and GPT-4 for relevance ranking in IR. Surprisingly, our experiments reveal that properly instructed LLMs can deliver competitive, even superior results to state-of-the-art supervised methods on popular IR benchmarks. Furthermore, to address concerns about data contamination of LLMs, we collect a new test set called NovelEval, based on the latest knowledge and aiming to verify the model's ability to rank unknown knowledge. Finally, to improve efficiency in real-world applications, we delve into the potential for distilling the ranking capabilities of ChatGPT into small specialized models using a permutation distillation scheme. Our evaluation results turn out that a distilled 440M model outperforms a 3B supervised model on the BEIR benchmark. The code to reproduce our results is available at www.github.com/sunnweiwei/RankGPT.
Executive Summary: Large language models such as ChatGPT and GPT-4 have shown strong zero-shot performance on many language tasks, yet their use in information retrieval has focused mainly on generating queries or passages rather than directly ranking existing candidate passages. Traditional ranking systems rely on supervised models trained on large volumes of human-labeled data; these systems are expensive to build, generalize poorly across domains, and cannot handle novel information reliably. The paper therefore examines whether LLMs can serve as effective, instruction-driven re-rankers and whether their ranking behavior can be transferred efficiently to smaller, deployable models.
The work set out to answer two practical questions. First, how well do properly instructed LLMs perform at ordering passages by relevance compared with current supervised systems? Second, can the ranking ability demonstrated by large models be distilled into compact specialized models that retain high accuracy at far lower cost?
The authors evaluated GPT-3.5-turbo and GPT-4 on three established benchmarks (TREC-DL, BEIR, and Mr. TyDi) plus a newly collected test set (NovelEval) containing 21 questions and 420 passages published after GPT-4’s training cutoff. They introduced a simple “permutation generation” prompting method that asks the model to output an ordered list of passage identifiers and used a sliding-window strategy to handle more than 20 passages. For the second question, they generated ranked lists for 10,000 MS MARCO queries with ChatGPT and trained 70 M–435 M parameter student models on those lists using a standard pairwise ranking loss.
GPT-4 with the new prompting approach outperformed the strongest prior supervised systems by 2.3–2.7 points in average nDCG@10 on TREC, BEIR, and Mr. TyDi, while ChatGPT matched or exceeded most supervised baselines. On the fresh-knowledge NovelEval set, GPT-4 again led and ChatGPT performed at least as well as a 340 M supervised model. A 435 M model distilled from ChatGPT’s rankings surpassed the previous 3 B supervised state-of-the-art on BEIR by 1.67 nDCG points and also beat its teacher. Using GPT-4 only on the top 30 passages already ranked by ChatGPT cut cost by roughly 80 % with little loss in quality.
These results indicate that current frontier LLMs already possess ranking competence that exceeds heavily engineered supervised systems, even on topics they have never seen. Distillation removes the main barriers to adoption—high per-query cost and generation instability—while preserving most of the accuracy gain. Consequently, production search systems can achieve better relevance without collecting additional labeled data, and organizations can run high-quality re-ranking at acceptable latency and cost.
For immediate deployment, teams should replace or augment their current re-ranker with a distilled 400 M-scale model trained on ChatGPT or GPT-4 permutations. Where maximum accuracy is required and budget allows, a hybrid pipeline that applies GPT-4 only to the top 20–30 candidates is attractive. New continuously refreshed test collections similar to NovelEval should be maintained to detect data contamination. Finally, because LLM rankings remain sensitive to the quality of the initial retrieval stage, further work on LLM-assisted first-stage retrieval is warranted before the approach can be considered fully robust.
The main limitations are that the core experiments used proprietary models whose training data and update schedule are unknown, that performance still depends on a reasonably strong first-stage retriever, and that open-source LLMs lag noticeably behind GPT-4 on the same task. The findings on closed models are therefore best treated as an upper bound until comparable open models are evaluated at scale.
Section Summary: Large language models like ChatGPT and GPT-4 have shown impressive abilities to understand and reason about text after being trained on massive datasets, but researchers have mostly used them to generate new content rather than to rank existing passages by relevance. This paper investigates how well these models can perform passage re-ranking for information retrieval tasks and introduces a new prompting method that asks the models to directly output ranked permutations of passages, along with a sliding-window approach to handle length limits. The authors also distill the ranking behavior of GPT-4 into much smaller specialized models, showing that the large models already surpass previous supervised systems and that the distilled models can achieve strong results more efficiently.
Large Language Models (LLMs), such as ChatGPT and GPT-4 ([1, 2]), are revolutionizing natural language processing with strong zero-shot and few-shot generalization. By pre-training on large-scale text corpora and alignment fine-tuning to follow human instructions, LLMs have demonstrated their superior capabilities in language understanding, generation, interaction, and reasoning ([3]).
![**Figure 1:** Average results of ChatGPT and GPT-4 (zero-shot) on passage re-ranking benchmarks (TREC, BEIR, and Mr.TyDi), compared with BM25 and previous best-supervised systems (SOTA sup., e.g., monoT5 ([4])).](https://ittowtnkqtyixxjxrhou.supabase.co/storage/v1/object/public/public-images/hvhbcjfx/gpt-2.png)
As one of the most successful AI applications, Information Retrieval (IR) systems satisfy user requirements through several pipelined sub-modules, such as passage retrieval and re-ranking ([5]). Most previous methods heavily rely on manual supervision signals, which require significant human effort and demonstrate weak generalizability ([6, 7]). Therefore, there is a growing interest in leveraging the zero-shot language understanding and reasoning capabilities of LLMs in the IR area. However, most existing approaches primarily focus on exploiting LLMs for content generation (e.g., query or passage) rather than relevance ranking for groups of passages ([8, 9]).
Compared to the common generation settings, the objectives of relevance re-ranking vary significantly from those of LLMs: the re-ranking agents need to comprehend user requirements, globally compare, and rank the passages based on their relevance to queries. Therefore, leveraging the LLMs' capabilities for passage re-ranking remains a challenging and unanswered task.
To this end, we focus on the following questions:
To answer the first question, we investigate prompting ChatGPT with two existing strategies ([10, 11]). However, we observe that they have limited performance and heavily rely on the availability of the log-probability of model output. Thus, we propose an alternative instructional permutation generation approach, instructing the LLMs to directly output the permutations of a group of passages. In addition, we propose an effective sliding window strategy to address context length limitations. For a comprehensive evaluation of LLMs, we employ three well-established IR benchmarks: TREC ([12]), BEIR ([13]), and My.TyDi ([14]). Furthermore, to assess the LLMs on unknown knowledge and address concerns of data contamination, we suggest collecting a continuously updated evaluation testbed and propose NovelEval, a new test set with 21 novel questions.
To answer the second question, we introduce a permutation distillation technique to imitate the passage ranking capabilities of ChatGPT in a smaller, specialized ranking model. Specifically, we randomly sample 10K queries from the MS MARCO training set, and each query is retrieved by BM25 with 20 candidate passages. On this basis, we distill the permutation predicted by ChatGPT into a student model using a RankNet-based distillation objective ([15]).
Our evaluation results demonstrate that GPT-4, equipped with zero-shot instructional permutation generation, surpasses supervised systems across nearly all datasets. Figure 1 illustrates that GPT-4 outperforms the previous state-of-the-art models by an average nDCG improvement of 2.7, 2.3, and 2.7 on TREC, BEIR, and My.TyDi, respectively. Furthermore, GPT-4 achieves state-of-the-art performance on the new NovelEval test set. Through our permutation distillation experiments, we observe that a 435M student model outperforms the previous state-of-the-art monoT5 (3B) model by an average nDCG improvement of 1.67 on BEIR. Additionally, the proposed distillation method demonstrates cost-efficiency benefits.
In summary, our contributions are tri-fold:
Section Summary: Recent research has begun applying large language models to information retrieval tasks, such as generating embeddings or pseudo-documents for passage retrieval, producing relevance judgments or ranked lists for re-ranking, and creating synthetic training data for specialized domains. Building on these ideas, the current work focuses on using models like ChatGPT and GPT-4 to produce ranked permutations of passages, evaluates this approach across diverse benchmarks, and introduces a distillation technique to transfer the LLM’s re-ranking ability into smaller, efficient models. Parallel efforts have explored similar listwise re-ranking, yet this study adds a new annotated dataset and shows that even limited distilled data can surpass strong supervised baselines.
Recently, large language models (LLMs) have found increasing applications in information retrieval ([16]). Several approaches have been proposed to utilize LLMs for passage retrieval. For example, SGPT ([17]) generates text embeddings using GPT, generative document retrieval explores a differentiable search index ([18, 19, 20]), and HyDE ([21, 22]) generates pseudo-documents using GPT-3. In addition, LLMs have also been used for passage re-ranking tasks. UPR ([10]) and SGPT-CE ([17]) introduce instructional query generation methods, while HELM ([11]) utilizes instructional relevance generation. LLMs are also employed for training data generation. InPars ([23]) generates pseudo-queries using GPT-3, and Promptagator ([24]) proposes a few-shot dense retrieval to leverage a few demonstrations from the target domain for pseudo-query generation. Furthermore, LLMs have been used for content generation ([8]) and web browsing ([25, 26, 9]). In this paper, we explore using ChatGPT and GPT-4 in passage re-ranking tasks, propose an instructional permutation generation method, and conduct a comprehensive evaluation of benchmarks from various domains, tasks, and languages. Recent work ([27]) concurrently investigated listwise passage re-ranking using LLMs. In comparison, our study provides a more comprehensive evaluation, incorporating a newly annotated dataset, and validates the proposed permutation distillation technique.
Despite their impressive capabilities, LLMs such as GPT-4 often come with high costs and lack open-source availability. As a result, considerable research has explored ways to distill the capabilities of LLMs into specialized, custom models. For instance, [28] and [29] have successfully distilled the reasoning ability of LLMs into smaller models. Self-instruct ([30, 31]) propose iterative approaches to distill GPT-3 using their outputs. Additionally, [32] and [33] utilize the generation probability of LLMs to improve retrieval systems. This paper presents a permutation distillation method that leverages ChatGPT as a teacher to obtain specialized re-ranking models. Our experiments demonstrate that even with a small amount of ChatGPT-generated data, the specialized model can outperform strong supervised systems.

Section Summary: Modern information retrieval systems typically retrieve an initial set of candidate passages and then re-rank them for better precision, but recent LLM-based re-ranking methods struggle with performance and cannot work with models like GPT-4 that do not expose output probabilities. The authors propose an instructional permutation generation technique that feeds a query and numbered passages to the LLM and directly prompts it to output a relevance-ordered list of identifiers, bypassing any need for intermediate scores. To address token limits, they apply this process iteratively via a sliding window that re-ranks passages in overlapping chunks from back to front until the full set is ordered.
Ranking is the core task in information retrieval applications, such as ad-hoc search ([5, 34]), Web search ([35]), and open-domain question answering ([36]). Modern IR systems generally employ a multi-stage pipeline where the retrieval stage focuses on retrieving a set of candidates from a large corpus, and the re-ranking stage aims to re-rank this set to output a more precise list. Recent studies have explored LLMs for zero-shot re-ranking, such as instructional query generation or relevance generation ([10, 11]). However, existing methods have limited performance in re-ranking and heavily rely on the availability of the log probability of model output and thus cannot be applied to the latest LLMs such as GPT-4. Since ChatGPT and GPT-4 have a strong capacity for text understanding, instruction following, and reasoning, we introduce a novel instructional permutation generation method with a sliding window strategy to directly output a ranked list given a set of candidate passages. Figure 2 illustrates examples of three types of instructions; all the detailed instructions are included in Appendix A.
As illustrated in Figure 2 (c), our approach involves inputting a group of passages into the LLMs, each identified by a unique identifier (e.g., [1], [2], etc.). We then ask the LLMs to generate the permutation of passages in descending order based on their relevance to the query. The passages are ranked using the identifiers, in a format such as [2] > [3] > [1] > etc. The proposed method ranks passages directly without producing an intermediate relevance score.

Due to the token limitations of LLMs, we can only rank a limited number of passages using the permutation generation approach. To overcome this constraint, we propose a sliding window strategy. Figure 3 illustrates an example of re-ranking 8 passages using a sliding window. Suppose the first-stage retrieval model returns $M$ passages. We re-rank these passages in a back-to-first order using a sliding window. This strategy involves two hyperparameters: window size ($w$) and step size ($s$). We first use the LLMs to rank the passages from the $(M-w)$-th to the $M$-th. Then, we slide the window in steps of $s$ and re-rank the passages within the range from the $(M-w-s)$-th to the $(M-s)$-th. This process is repeated until all passages have been re-ranked.
Section Summary: The authors argue that while powerful models like GPT-4 excel at re-ranking search results, they are too costly and slow for real-world use, so their ranking skill should be transferred into smaller, specialized models. They introduce a permutation distillation technique that directly copies the ordered lists of passages produced by ChatGPT for thousands of queries, then trains compact student models to reproduce those orderings using a pairwise ranking loss. Two student architectures are explored: a DeBERTa-based cross-encoder and a fine-tuned LLaMA-7B model that generates simple relevance judgments.
Although ChatGPT and GPT-4 are highly capable, they are also too expensive to deploy in commercial search systems. Using GPT-4 to re-rank passages will greatly increase the latency of the search system. In addition, large language models suffer from the problem of unstable generation. Therefore, we argue that the capabilities of large language models are redundant for the re-ranking task. Thus, we can distill the re-ranking capability of large language models into a small model by specialization.
In this paper, we present a novel permutation distillation method that aims to distill the passage re-ranking capability of ChatGPT into a specialized model. The key difference between our approach and previous distillation methods is that we directly use the model-generated permutation as the target, without introducing any inductive bias such as consistency-checking or log-probability manipulation ([23, 32]). To achieve this, we sample 10, 000 queries from MS MARCO and retrieve 20 candidate passages using BM25 for each query. The objective of distillation aims to reduce the differences between the permutation outputs of the student and ChatGPT.
Formally, suppose we have a query $q$ and $M$ passages $(p_1, \ldots, p_M)$ retrieved by BM25 ($M=20$ in our implementation). ChatGPT with instructional permutation generation could produce the ranking results of the $M$ passages, denoted as $R = (r_1, \ldots, r_M)$, where $r_i \in [1, 2, \ldots, M]$ is the rank of the passage $p_i$. For example, $r_i=3$ means $p_i$ ranks third among the $M$ passages. Now we have a specialized model $s_i = f_{\theta}(q, p_i)$ with parameters $\theta$ to calculate the relevance score $s_i$ of paired $(q, p_i)$ using a cross-encoder. Using the permutation $R$ generated by ChatGPT, we consider RankNet loss ([15]) to optimize the student model:
$ \mathcal{L}{\text{RankNet}} = \sum{i=1}^{M} \sum_{j=1}^{M} \mathbb{1}_{r_i < r_j} \log (1 + \exp (s_j - s_i)) $
RankNet is a pairwise loss that measures the correctness of relative passage orders. When using permutations generated by ChatGPT, we can construct $M (M-1) / 2$ pairs.
Regarding the architecture of the specialized model, we consider two model structures: the BERT-like model and the GPT-like model.
We utilize a cross-encoder model ([37]) based on DeBERTa-large. It concatenates the query and passage with a [SEP] token and estimates relevance using the representation of the [CLS] token.
We utilize the LLaMA-7B ([38]) with a zero-shot relevance generation instruction (see Appendix A). It classifies the query and passage as relevance or irrelevance by generating a relevance token. The relevance score is then defined as the generation probability of the relevance token.
Figure 5 illustrates the structure of the two types of specialized models.
Section Summary: The experiments draw on three standard benchmarks in information retrieval—TREC-DL (using its 2019 and 2020 test queries), BEIR (covering eight varied tasks across domains such as biomedicine, news, and argument retrieval), and Mr. TyDi (testing passage retrieval in ten lower-resource languages)—along with one newly created test set. To reduce the risk that modern language models have already seen the questions during training, the authors built NovelEval-2306, a small collection of 21 recent questions drawn from post-GPT-4 sources across four domains, with passages retrieved via web search and manually labeled for relevance. This combination enables evaluation on both established benchmarks and fresh data that the models are unlikely to have encountered.
Our experiments are conducted on three benchmark datasets and one newly collected test set NovelEval.
The benchmark datasets include, TREC-DL ([12]), BEIR ([13]), and Mr.TyDi ([14]).
TREC is a widely used benchmark dataset in IR research. We use the test sets of the 2019 and 2020 competitions:
BEIR consists of diverse retrieval tasks and domains. We choose eight tasks in BEIR to evaluate the models:
Mr.TyDi is a multilingual passages retrieval dataset of ten low-resource languages: Arabic, Bengali, Finnish, Indonesian, Japanese, Korean, Russian, Swahili, Telugu, and Thai. We use the first 100 samples in the test set of each language.
\begin{tabular}{l cc | cccccccc | c }
\toprule
\textbf{Method} & DL19 & DL20 & Covid & NFCorpus & Touche & DBPedia & SciFact & Signal & News & Robust04 & BEIR (Avg) \\
\midrule
BM25
& 50.58 & 47.96 & 59.47 & 30.75 & \textbf{44.22} & 31.80 & 67.89 & 33.05 & 39.52 & 40.70 & 43.42
\\
\midrule
\textbf{Supervised} \\
\midrule
monoBERT (340M)
& 70.50 & 67.28 & 70.01 & 36.88 & 31.75 & 41.87 & 71.36 & 31.44 & 44.62 & 49.35 & 47.16
\\
monoT5 (220M)
& 71.48 & 66.99 & 78.34 & 37.38 & 30.82 & 42.42 & 73.40 & 31.67 & 46.83 & 51.72 & 49.07
\\
monoT5 (3B)
& 71.83 & 68.89 & 80.71 & \textbf{38.97} & 32.41 & 44.45 & \textbf{76.57} & 32.55 & 48.49 & 56.71 & 51.36
\\
Cohere Rerank-v2
& 73.22 & 67.08 & 81.81 & 36.36 & 32.51 & 42.51 & 74.44 & 29.60 & 47.59 & 50.78 & 49.45
\\
\midrule
\textbf{Unsupervised} \\
\midrule
UPR (FLAN-T5-XL)
& 53.85 & 56.02 & 68.11 & 35.04 & 19.69 & 30.91 & 72.69 & 31.91 & 43.11 & 42.43 & 42.99
\\
InPars (monoT5-3B)
& - & 66.12 & 78.35 & - & - & - & - & - & - & - & -
\\
Promptagator++ (few-shot)
& - & - & 76.2 & 37.0 & 38.1 & 43.4 & 73.1 & - & - & - & -
\\
\midrule
\multicolumn{5}{l}{LLM API (Permutation generation)}\\
\midrule
{\ttfamily gpt-3.5-turbo}
& 65.80 & 62.91 & 76.67 & 35.62 & 36.18 & 44.47 & 70.43 & 32.12 & 48.85 & 50.62 & 49.37
\\
{\ttfamily gpt-4}$^\dagger$
& \textbf{75.59} & \textbf{70.56} & \textbf{85.51} & \textbf{38.47} & \textbf{38.57} & \textbf{47.12} & \textbf{74.95} & \textbf{34.40} & \textbf{52.89} & \textbf{57.55} & \textbf{53.68}
\\
\bottomrule
\end{tabular}
The questions in the current benchmark dataset are typically gathered years ago, which raises the issue that existing LLMs already possess knowledge of these questions ([8]). Furthermore, since many LLMs do not disclose information about their training data, there is a potential risk of contamination of the existing benchmark test set ([2]). However, re-ranking models are expected to possess the capability to comprehend, deduce, and rank knowledge that is inherently unknown to them. Therefore, we suggest constructing continuously updated IR test sets to ensure that the questions, passages to be ranked, and relevance annotations have not been learned by the latest LLMs for a fair evaluation.
As an initial effort, we built NovelEval-2306, a novel test set with 21 novel questions. This test set is constructed by gathering questions and passages from 4 domains that were published after the release of GPT-4. To ensure that GPT-4 did not possess prior knowledge of these questions, we presented them to both gpt-4-0314 and gpt-4-0613. For instance, question "Which film was the 2023 Palme d'Or winner?" pertains to the Cannes Film Festival that took place on May 27, 2023, rendering its answer inaccessible to most existing LLMs. Next, we searched 20 candidate passages for each question using Google search. The relevance of these passages was manually labeled as: 0 for not relevant, 1 for partially relevant, and 2 for relevant. See Appendix C for more details.
Section Summary: GPT-4 and ChatGPT were tested on passage re-ranking across standard benchmarks such as TREC, BEIR, and Mr. TyDi, plus a new set of unfamiliar questions called NovelEval. GPT-4 delivered the strongest results overall, outperforming leading supervised systems on most datasets and languages, while ChatGPT matched or approached those systems in several cases though it struggled more with low-resource languages. The experiments also showed that the chosen prompting method mattered and that the models could handle new information without prior exposure.
In benchmark datasets, we re-rank the top-100 passages retrieved by BM25 using pyserini^4 and use nDCG@1, 5, 10 as evaluation metrics. Since ChatGPT cannot manage 100 passages at a time, we use the sliding window strategy introduced in Section 3.2 with a window size of $20$ and step size of $10$. In NovelEval, we randomly shuffled the 20 candidate passages searched by Google and re-ranked them using ChatGPT and GPT-4 with permutation generation.
On benchmarks, we compare ChatGPT and GPT-4 with state-of-the-art supervised and unsupervised passage re-ranking methods. The supervised baselines include: monoBERT ([37]), monoT5 ([4]), mmarcoCE ([39]), and Cohere Rerank ^5. The unsupervised baselines include: UPR ([10]), InPars ([23]), and Promptagator++ ([24]). See Appendix E for more details on implementing the baseline.
Table 1 presents the evaluation results obtained from the TREC and BEIR datasets. The following observations can be made:
Table 2 illustrates the results on Mr. TyDi of ten low-resource languages. Overall, GPT-4 outperforms the supervised system in most languages, demonstrating an average improvement of 2.65 nDCG over mmarcoCE. However, there are instances where GPT-4 performs worse than mmarcoCE, particularly in low-resource languages like Bengali, Telugu, and Thai. This may be attributed to the weaker language modeling ability of GPT-4 in these languages and the fact that text in low-resource languages tends to consume more tokens than English text, leading to the over-cropping of passages. Similar trends are observed with ChatGPT, which is on par with the supervised system in most languages, and consistently trails behind GPT-4 in all languages.
\begin{tabular}{l cccc }
\toprule
Method & BM25 & mmarcoCE & {\ttfamily gpt-3.5} & +{\ttfamily gpt-4}
\\
\midrule
Arabic
& 39.19 & 68.18 & 71.00 & \textbf{72.56}
\\
Bengali
& 45.56 & \textbf{65.98} & 53.10 & 64.37
\\
Finnish
& 29.91 & 54.15 & 56.48 & \textbf{62.29}
\\
Indonesian
& 51.79 & 69.94 & 68.45 & \textbf{75.47}
\\
Japanese
& 27.39 & 49.80 & 50.70 & \textbf{58.22}
\\
Korean
& 26.29 & 44.00 & 41.48 & \textbf{49.63}
\\
Russian
& 34.04 & 53.16 & 48.75 & \textbf{53.45}
\\
Swahili
& 45.15 & 60.31 & 62.38 & \textbf{67.67}
\\
Telugu
& 37.05 & \textbf{68.92} & 51.69 & 62.22
\\
Thai
& 44.62 & \textbf{68.36} & 55.57 & 63.41
\\
\midrule
Avg
& 38.10 & 60.28 & 55.96 & \textbf{62.93}
\\
\bottomrule
\end{tabular}
Table 3 illustrates the evaluation results on our newly collected NovelEval, a test set containing 21 novel questions and 420 passages that GPT-4 had not learned. The results show that GPT-4 performs well on these questions, significantly outperforming the previous best-supervised method, monoT5 (3B). Additionally, ChatGPT achieves a performance level comparable to that of monoBERT. This outcome implies that LLMs possess the capability to effectively re-rank unfamiliar information.
\begin{tabular}{l ccc }
\toprule
Method & nDCG@1 & nDCG@5 & nDCG@10 \\
\midrule
BM25
& 33.33 & 45.96 & 55.77
\\
\midrule
monoBERT (340M)
& 78.57 & 70.65 & 77.27
\\
monoT5 (220M)
& 83.33 & 77.46 & 81.27
\\
monoT5 (3B)
& 83.33 & 78.38 & 84.62
\\
\midrule
{\ttfamily gpt-3.5-turbo}
& 76.19 & 74.15 & 75.71
\\
{\ttfamily gpt-4}
& \textbf{85.71} & \textbf{87.49} & \textbf{90.45}
\\
\bottomrule
\end{tabular}
\begin{tabular}{l l cc}
\toprule
& & \textbf{DL19}
& \textbf{DL20}
\\
\textbf{Method} & & nDCG@1/5/10 & nDCG@1/5/10 \\
\midrule
{\ttfamily curie-001} & RG
& 39.53 / 40.02 / 41.53
& 41.98 / 34.80 / 34.91
\\
{\ttfamily curie-001} & QG
& 50.78 / 50.77 / 49.76
& 50.00 / 48.36 / 48.73
\\
{\ttfamily curie-001} & PG
& 66.67 / 56.79 / 54.21
& 59.57 / 55.20 / 52.17
\\
{\ttfamily davinci-003} & RG
& 54.26 / 52.78 / 50.58
& 64.20 / 58.41 / 56.87
\\
{\ttfamily davinci-003} & QG
& 37.60 / 44.73 / 45.37
& 51.25 / 47.46 / 45.93
\\
{\ttfamily davinci-003} & PG
& 69.77 / 64.73 / 61.50
& 69.75 / 58.76 / 57.05
\\
{\ttfamily gpt-3.5} & PG
& 82.17 / 71.15 / 65.80
& \textbf{79.32} / 66.76 / 62.91
\\
{\ttfamily gpt-4} & PG
& \textbf{82.56} / \textbf{79.16} / \textbf{75.59}
& 78.40 / \textbf{74.11} / \textbf{70.56}
\\
\bottomrule
\end{tabular}
We conduct a comparison with the proposed permutation generation (PG) with previous query generation (QG) ([10]) and relevance generation (RG) ([11]) on TREC-DL19. An example of the three types of instructions is in Figure 2, and the detailed implementation is in Appendix B. We also compare four LLMs provided in the OpenAI API^6: curie-001 - GPT-3 model with about 6.7 billion parameters ([40]); davinci-003 - GPT-3.5 model trained with RLHF and about 175 billion parameters ([3]); gpt-3.5-turbo - The underlying model of ChatGPT ([1]); gpt-4 - GPT-4 model ([2]).
The results are listed in Table 4. From the results, we can see that:
(i) The proposed PG method outperforms both QG and RG methods in instructing LLMs to re-rank passages.
We suggest two explanations: First, from the result that PG has significantly higher top-1 accuracy compared to other methods, we infer that LLMs can explicitly compare multiple passages with PG, allowing subtle differences between passages to be discerned.
Second, LLMs gain a more comprehensive understanding of the query and passages by reading multiple passages with potentially complementary information, thus improving the model's ranking ability.
(ii) With PG, ChatGPT performs comparably to GPT-4 on nDCG@1, but lags behind it on nDCG@10.
The Davinci model (text-davinci-003) performs poorly compared to ChatGPT and GPT-4. This may be because of the generation stability of Davinci and ChatGPT trails that of GPT-4. We delve into the stability analysis of Davinci, ChatGPT, and GPT-4 in Appendix F.
\begin{tabular}{ll ccc }
\toprule
& Method & nDCG@1 & nDCG@5 & nDCG@10 \\
\midrule
& BM25
& 54.26 & 52.78 & 50.58
\\
& {\ttfamily gpt-3.5-turbo}
& 82.17 & 71.15 & 65.80
\\
\midrule
& \multicolumn{4}{l}{\emph{Initial passage order}}
\\
(1) & Random order
& 26.36 & 25.32 & 25.17
\\
(2) & Reverse order
& 36.43 & 31.79 & 32.77
\\
\midrule
& \multicolumn{4}{l}{\emph{Number of re-ranking}}
\\
(3) & Re-rank 2 times
& 78.29 & 69.37 & 66.62
\\
(4) & Re-rank 3 times
& 78.29 & 69.74 & 66.97
\\
(5) & {\ttfamily gpt-4} Rerank
& 80.23 & 76.70 & 73.64
\\
\bottomrule
\end{tabular}
We conducted an ablation study on TREC to gain insights into the detailed configuration of permutation generation. Table 5 illustrates the results.
Initial Passage Order
While our standard implementation utilizes the ranking result of BM25 as the initial order, we examined two alternative variants: random order (1) and reversed BM25 order (2). The results reveal that the model's performance is highly sensitive to the initial passage order. This could be because BM25 provides a relatively good starting passage order, enabling satisfactory results with only a single sliding window re-ranking.
Number of Re-Ranking
Furthermore, we studied the influence of the number of sliding window passes. Models (3-4) in Table 5 show that re-ranking more times may improve nDCG@10, but it somehow hurts the ranking performance on top passages (e.g., nDCG@1 decreased by 3.88). Re-ranking the top 30 passages using GPT-4 showed notable accuracy improvements (see the model (5)). This provides an alternative method to combine ChatGPT and GPT-4 in passage re-ranking to reduce the high cost of using the GPT-4 model.
We further test the capabilities of other LLMs beyond the OpenAI series on TREC DL-19. As shown in Table 6, we evaluate the top-20 BM25 passage re-ranking nDCG of proprietary LLMs from OpenAI, Cohere, Antropic, and Google, and three open-source LLMs. We see that: (i) Among the proprietary LLMs, GPT-4 exhibited the highest re-ranking performance. Cohere Re-rank also showed promising results; however, it should be noted that it is a supervised specialized model. In contrast, the proprietary models from Antropic and Google fell behind ChatGPT in terms of re-ranking effectiveness. (ii) As for the open-source LLMs, we observed a significant performance gap compared to ChatGPT. One possible reason for this discrepancy could be the complexity involved in generating permutations of 20 passages, which seems to pose a challenge for the existing open-source models.
We analyze the model's unexpected behavior in Appendix F, and the cost of API in Appendix H.
\begin{tabular}{l ccc }
\toprule
Method & ND1 & ND5 & ND10 \\
\midrule
OpenAI {\ttfamily text-davinci-003}
& 70.54 & 61.90 & 57.24
\\
OpenAI {\ttfamily gpt-3.5-turbo}
& 75.58 & 66.19 & 60.89
\\
OpenAI {\ttfamily gpt-4}
& 79.46 & \textbf{71.65} & \textbf{65.68}
\\
\midrule
Cohere {\ttfamily rerank-english-v2.0}
& 79.46 & 71.56 & 64.78
\\
\midrule
Antropic {\ttfamily claude-2}
& 66.66 & 59.33 & 55.91
\\
Antropic {\ttfamily claude-instant-1}
& \textbf{81.01} & 66.71 & 62.23
\\
\midrule
Google {\ttfamily text-bison-001}
& 69.77 & 64.46 & 58.67
\\
Google {\ttfamily bard-2023.10.21}
& \textbf{81.01} & 65.57 & 60.11
\\
\midrule
Google {\ttfamily flan-t5-xxl}
& 52.71 & 51.63 & 50.26
\\
Tsinghua {\ttfamily ChatGLM-6B}
& 54.26 & 52.77 & 50.58
\\
LMSYS {\ttfamily Vicuna-13B}
& 54.26 & 51.55 & 49.08
\\
\bottomrule
\end{tabular}
\begin{tabular}{c l ccc }
\toprule
Label & Method & DL19 & DL20 & BEIR (Avg)
\\
\midrule
$\varnothing$ & BM25
& 50.58 & 47.96 & 43.42
\\
$\varnothing$ & ChatGPT
& 65.80 & 62.91 & 49.37
\\
MARCO & monoT5 (3B)
& 71.83 & 68.89 & 51.36
\\
\midrule
MARCO & DeBERTa-Large
& 68.89 & 61.38 & 42.64
\\
MARCO & LLaMA-7B
& 69.24 & 58.97 & 47.71
\\
\midrule
ChatGPT & DeBERTa-Large
& 70.66 & \textbf{67.15} & \textbf{53.03}
\\
ChatGPT & LLaMA-7B
& \textbf{71.78} & 66.89 & 51.68
\\
\bottomrule
\end{tabular}

Section Summary: Researchers trained specialized ranking models such as DeBERTa by transferring ranking knowledge from ChatGPT on 10,000 sampled queries, then compared these models against versions trained directly on existing human labels. The distilled models achieved stronger results than both the standard supervised versions and the original ChatGPT across standard benchmarks, while remaining more stable and cost-effective than the large teacher model. Performance gains held across different model sizes and training-set sizes, with the distilled approach proving especially robust even when limited to just 1,000 examples.
As mentioned in Section 4, we randomly sample 10K queries from the MSMARCO training set and employ the proposed permutation distillation to distill ChatGPT's predicted permutation into specialized re-ranking models. The specialized re-ranking models could be DeBERTa-v3-Large with a cross-encoder architecture or LLaMA-7B with relevance generation instructions. We also implemented the specialized model trained using the original MS MARCO labels (aka supervised learning) for comparison[^7].
[^7]: Note that all models are trained using the RankNet loss for a fair comparison.
Table 7 lists the results of specialized models, and Table 13 includes the detailed results. Our findings can be summarized as follows:
(i) Permutation distillation outperforms the supervised counterpart on both TREC and BEIR datasets, potentially because ChatGPT's relevance judgments are more comprehensive than MS MARCO labels ([41]).
(ii) The specialized DeBERTa model outperforms previous state-of-the-art (SOTA) baselines, monoT5 (3B), on BEIR with an average nDCG of 53.03.
This result highlights the potential of distilling LLMs for IR since it is significantly more cost-efficient.
(iii) The distilled specialized model also surpasses ChatGPT, its teacher model, on both datasets. This is probably because the re-ranking stability of specialized models is better than ChatGPT. As shown in the stability analysis in Appendix F, ChatGPT is very unstable in generating permutations.
In Figure 4, we present the re-ranking performance of specialized DeBERTa models obtained through permutation distillation and supervised learning of different model sizes (ranging from 70M to 435M) and training data sizes (ranging from 500 to 10K). Our findings indicate that the permutation-distilled models consistently outperform their supervised counterparts across all settings, particularly on the BEIR datasets. Notably, even with only 1K training queries, the permutation-distilled DeBERTa model achieves superior performance compared to the previous state-of-the-art monoT5 (3B) model on BEIR. We also observe that increasing the number of model parameters yields a greater improvement in the ranking results than increasing the training data. Finally, we find that the performance of supervised models is unstable for different model sizes and data sizes. This may be due to the presence of noise in the MS MARCO labels, which leads to overfitting problems ([41]).
Section Summary: This paper presents a thorough investigation into using large language models for re-ranking passages of text. The authors developed a new method for generating permutations that helps unlock the full potential of models like ChatGPT and GPT-4, and they tested these on standard benchmarks as well as a new dataset called NovelEval designed to assess performance on unfamiliar topics. They also introduced a technique called permutation distillation that proves more effective and efficient than traditional supervised learning approaches.
In this paper, we conduct a comprehensive study on passage re-ranking with LLMs. We introduce a novel permutation generation approach to fully explore the power of LLMs. Our experiments on three benchmarks have demonstrated the capability of ChatGPT and GPT-4 in passage re-ranking. To further validate LLMs on unfamiliar knowledge, we introduce a new test set called NovelEval. Additionally, we propose a permutation distillation method, which demonstrates superior effectiveness and efficiency compared to existing supervised approaches.
Section Summary: This work focuses primarily on proprietary models like ChatGPT and GPT-4, with tests on open-source alternatives showing notably weaker results that require further study. It examines LLMs only in the re-ranking stage, so overall performance remains constrained by the quality of the initial document retrieval. In addition, outcomes prove highly sensitive to how passages are ordered at the start, highlighting the need for more robust ways to apply these models earlier in the retrieval process.
The limitations of this work include the main analysis for OpenAI ChatGPT and GPT-4, which are proprietary models that are not open-source. Although we also tested on open-source models such as FLAN-T5, ChatGLM-6B, and Vicuna-13B, the results still differ significantly from ChatGPT. How to further exploit the open-source models is a question worth exploring. Additionally, this study solely focuses on examining LLMs in the re-ranking task. Consequently, the upper bound of the ranking effect is contingent upon the recall of the initial passage retrieval. Our findings also indicate that the re-ranking effect of LLMs is highly sensitive to the initial order of passages, which is usually determined by the first-stage retrieval, such as BM25. Therefore, there is a need for further exploration into effectively utilizing LLMs to enhance the first-stage retrieval and improve the robustness of LLMs in relation to the initial passage retrieval.
Section Summary: The authors state that their work follows the ACM Code of Ethics and relies only on publicly available data and models. They note that large language models can produce biased, offensive, or factually wrong output, and therefore advise against using them for high-stakes ranking decisions that affect people, such as hiring or product recommendations. They also record the licensing terms that apply to the models they created.
We acknowledge the importance of the ACM Code of Ethics and totally agree with it. We ensure that this work is compatible with the provided code, in terms of publicly accessed datasets and models. Risks and harms of large language models include the generation of harmful, offensive, or biased content. These models are often prone to generating incorrect information, sometimes referred to as hallucinations. We do not expect the studied model to be an exception in this regard. The LLMs used in this paper were shown to suffer from bias, hallucination, and other problems. Therefore, we are not recommending the use of LLMs for ranking tasks with social implications, such as ranking job candidates or ranking products, because LLMs may exhibit racial bias, geographical bias, gender bias, etc., in the ranking results. In addition, the use of LLMs in critical decision-making sessions may pose unspecified risks. Finally, the distilled models are licensed under the terms of OpenAI because they use ChatGPT. The distilled LLaMA models are further licensed under the non-commercial license of LLaMA.
Section Summary: This research was funded by multiple Chinese organizations, including the Natural Science Foundation of China and several Shandong Province programs focused on basic research and technological innovation. Additional support came from Shandong University and a scholarship program that enabled study abroad.
This work was supported by the Natural Science Foundation of China (62272274, 61972234, 62072279, 62102234, 62202271), the Natural Science Foundation of Shandong Province (ZR2021QF129, ZR2022QF004), the Key Scientific and Technological Innovation Program of Shandong Province (2019JZZY010129), the Fundamental Research Funds of Shandong University, the China Scholarship Council under grant nr. 202206220085.
Section Summary: The appendix outlines a series of prompt templates and few-shot or zero-shot examples designed to guide large language models through tasks such as generating queries from passages, judging whether a passage answers a query with yes/no responses, and producing ranked lists of passages by relevance. It details both text-based and chat-based formats for these instructions, along with the underlying scoring approaches that rely on the models' output probabilities rather than direct rankings. The section also introduces formal methods for using LLMs as rerankers in information retrieval settings.
The query generation instruction ([10]) uses the log-probability of the query.
Please write a question based on this passage.
Passage: passage
Question: query
Following HELM ([11]), the relevance generation instruction use 4 in-context examples.
Given a passage and a query, predict whether the passage includes an answer to the query by producing either Yes or No.
Passage: Its 25 drops per ml, you guys are all wrong. If it is water, the standard was changed 15 - 20 years ago to make 20 drops = 1mL. The viscosity of most things is temperature dependent, so this would be at room temperature. Hope this helps.
Query: how many eye drops per ml
Does the passage answer the query?
Answer: Yes
Passage: RE: How many eyedrops are there in a 10 ml bottle of Cosopt? My Kaiser pharmacy insists that 2 bottles should last me 100 days but I run out way before that time when I am using 4 drops per day.In the past other pharmacies have given me 3 10-ml bottles for 100 days.E: How many eyedrops are there in a 10 ml bottle of Cosopt? My Kaiser pharmacy insists that 2 bottles should last me 100 days but I run out way before that time when I am using 4 drops per day.
Query: how many eye drops per ml
Does the passage answer the query?
Answer: No
Passage: : You can transfer money to your checking account from other Wells Fargo. accounts through Wells Fargo Mobile Banking with the mobile app, online, at any. Wells Fargo ATM, or at a Wells Fargo branch. 1 Money in — deposits.
Query: can you open a wells fargo account online
Does the passage answer the query?
Answer: No
Passage: You can open a Wells Fargo banking account from your home or even online. It is really easy to do, provided you have all of the appropriate documentation. Wells Fargo has so many bank account options that you will be sure to find one that works for you. They offer free checking accounts with free online banking.
Query: can you open a wells fargo account online
Does the passage answer the query?
Answer: Yes
Passage: passage
Query:query
Does the passage answer the query?
Answer:
This instruction is used to train LLaMA-7B specialized models.
Given a passage and a query, predict whether the passage includes an answer to the query by producing either Yes or No.
Passage: passage
Query: query
Does the passage answer the query?
Answer:
Permutation generation (text) is used for text-davinci-003.
This is RankGPT, an intelligent assistant that can rank passages based on their relevancy to the query.
The following are num passages, each indicated by number identifier []. I can rank them based on their relevance to query: query
passage_1
passage_2
(more passages) ...
The search query is: query
I will rank the num passages above based on their relevance to the search query. The passages will be listed in descending order using identifiers, and the most relevant passages should be listed first, and the output format should be [] > [] > etc, e.g., [1] > [2] > etc.
The ranking results of the num passages (only identifiers) is:
Permutation generation instruction (chat) is used for gpt-3.5-turbo and gpt-4.
system:
You are RankGPT, an intelligent assistant that can rank passages based on their relevancy to the query.
user:
I will provide you with num passages, each indicated by number identifier [].
Rank them based on their relevance to query: query.
assistant:
Okay, please provide the passages.
user: [1] passage_1
assistant:
Received passage [1]
user: [2] passage_2
assistant:
Received passage [2]
(more passages) ...
user
Search Query: query.
Rank the num passages above based on their relevance to the search query. The passages should be listed in descending order using identifiers, and the most relevant passages should be listed first, and the output format should be [] > [], e.g., [1] > [2]. Only response the ranking results, do not say any word or explain.
This paper focus on re-ranking task, given $M$ passages for a query $q$, the re-ranking aims to use an agent $f(\cdot)$ to output their ranking results $\mathbf{R}=(r_1, ..., r_M)$, where $r_i \in [1, 2, ..., M]$ denotes the rank of $p_i$. This paper studies using the LLMs as $f(\cdot)$.
Query generation has been studied in [10, 17], in which the relevance between a query and a passage is measured by the log-probability of the model to generate the query based on the passage. Figure 2 (a) shows an example of instructional query generation.
Formally, given query $q$ and a passage $p_i$, their relevance score $s_i$ is calculated as:
$ s_i = \frac{1}{|q|} \sum_{t} \log p(q_t | q_{<t}, p_i, \mathcal{I}_{\text{query}}) $
where $|q|$ denotes the number of tokens in $q$, $q_t$ denotes the $t$-th token of $q$, and $\mathcal{I}_{\text{query}}$ denotes the instructions, referring to Figure 2 (a). The passages are then ranked based on relevance score $s_i$.
Relevance generation is employed in HELM ([11]). Figure 2 (b) shows an example of instructional relevance generation, in which LLMs are instructed to output "Yes" if the query and passage are relevant or "No" if they are irrelevant. The relevance score $s_i$ is measured by the probability of LLMs generating the word 'Yes' or 'No':
$ s_i = \begin{cases} 1 + p(\text{Yes}), &\text{if output is Yes}\ 1 - p(\text{No}), &\text{if output is No} \end{cases} $
where $p(\text{Yes}/\text{No})$ denotes the probability of LLMs generating Yes or No, and the relevance score is normalized into the range [0, 2].
The above two methods rely on the log probability of LLM, which is often unavailable for LLM API. For example, at the time of writing, OpenAI's ChatCompletion API does not provide the log-probability of generation^8.
The proposed instructional permutation generation is a listwise approach, which directly assigns each passage $p_i$ a unique ranking identifier $a_i$ (e.g., [1], [2]) and places it at the beginning of $p_i$: $p_i^{\prime} = \operatorname{Concat}(a_i, p_i)$. Subsequently, a generative LLM is instructed to generate a permutation of these identifiers: $\mathbf{Perm} = f(q, p_1^{\prime}, ..., p_M^{\prime})$, where the permutation $\mathbf{Perm}$ indicates the rank of the identifiers $a_i$ (e.g., [1], [2]). We then simply map the identifiers $a_i$ to the passages $p_i$ to obtain the ranking of the passages.
: Table 8: Questions and reference answers on NovelEval-2306.
| Domain | Question | Reference Answer |
|---|---|---|
| Sport | What is Messi's annual income after transferring to Miami? | $50M-$60M |
| Sport | How many goals did Haaland scored in the 2023 Champions League Final? | 0 |
| Sport | Where did Benzema go after leaving Real Madrid? | Saudi Arabia |
| Sport | Where was the 2023 Premier League FA Cup Final held? | Wembley Stadium |
| Sport | Who won 2023 Laureus World Sportsman Of The Year Award? | Lionel Messi |
| Sport | Who wins NBA Finals 2023? | Denver Nuggets |
| Tech | What is the screen resolution of vision pro? | 4K with one eye |
| Tech | What is the name of the combined Deepmind and Google Brain? | Google DeepMind |
| Tech | How much video memory does the DGX GH200 have? | 144TB |
| Tech | What are the new features of PyTorch 2? | faster, low memory, dynamic shapes |
| Tech | Who will be the CEO of Twitter after Elon Musk is no longer the CEO? | Linda Yaccarino |
| Tech | What are the best papers of CVPR 2023? | Visual Programming: Compositional [...] |
| Movie | Who sang the theme song of Transformers Rise of the Beasts? | Notorious B.I.G |
| Movie | Who is the villain in The Flash? | Eobard Thawne/Professor Zoom |
| Movie | How many different Spider-Men are there in Across the Spider-Verse? | 280 variations |
| Movie | Who does Momoa play in Fast X? | Dante |
| Movie | The Little Mermaid first week box office? | $163.8 million worldwide |
| Movie | Which film was the 2023 Palme d'Or winner? | Anatomy of a Fall |
| Other | Where will Blackpink's 2023 world tour concert in France be held? | the Stade de France |
| Other | What is the release date of song Middle Ground? | May 19, 2023 |
| Other | Where did the G7 Summit 2023 take place? | Hiroshima |
Table 8 lists the collected 21 questions. These questions come from four domains and include hot topics from the past few months. For each question, we used Google search to obtain 20 passages. When using Google search, in order to avoid all pages containing the answer, we used not only the question itself as a search query, but also the entities that appear in the question as an alternative search query to obtain some pages that are relevant but do not contain the answer. For example, for the first question "What is Messi's annual income after transferring to Miami?", we used "Messi" and "Messi transferring" as search queries to get some pages that do not contain the answer. When searching, we collected the highest-ranking web pages, news, and used a paragraph or paragraphs from the web pages related to the search term as candidate passages. Table 9 shows the statistical information of the data. All of the LLMs (including gpt-4-0314 and gpt-4-0613) we tested achieved 0% question-answering accuracy on the obtained test set.
We searched for 20 candidate passages for each question using Google search. These passages were manually labeled for relevance by a group of annotators, including the authors and their highly educated colleagues. To ensure consistency, the annotation process was repeated twice. Each passage was assigned a relevance score: 0 for not relevant, 1 for partially relevant, and 2 for relevant. When evaluating the latest LLMs, we found that all non-retrieval-augmented models tested achieved 0% accuracy in answering the questions on the test set. This test set provides a reasonable evaluation of the latest LLMs at the moment. Since LLMs may be continuously trained on new data, the proposed test set should be continuously updated to counteract the contamination of the test set by LLMs.
\begin{tabular}{l c}
\toprule
Number of questions & 21
\\
Number of passages & 420
\\
Number of relevance annotation & 420
\\
Average number words of passage & 149
\\
\midrule
Number of score 0 & 290
\\
Number of score 1 & 40
\\
Number of score 2 & 90
\\
\bottomrule
\end{tabular}
We use DeBERTa-V3-base, which concatenates the query and passage with a [SEP] token and utilizes the representation of the [CLS] token. To generate candidate passages, we randomly sample 10k queries and use BM25 to retrieve 20 passages for each query. We then re-rank the candidate passages using the gpt-3.5-turbo API with permutation generation instructions, at a cost of approximately $40. During training, we employ a batch size of 32 and utilize the AdamW optimizer with a constant learning rate of 5 x 10^-5. The model is trained for two epochs. Additionally, we implement models using the original MS MARCO labels for comparison.
The LLaMA-7B model is optimized with the AdamW optimizer, a constant learning rate of 5 x 10^-5, and with mixed precision of bf16 and Deepspeed Zero3 strategy. All the experiments are conducted on 8 A100-40G GPUs.
Figure 5 illustrates the detailed model architecture of BERT-like and GPT-like specialized models.

Using the permutation generated by ChatGPT, we consider the following losses to optimize the student model:
Listwise Cross-Entropy (CE)([42]). Listwise CE is the wide-use loss for passage ranking, which considers only one positive passage and defines the list-wise softmax cross-entropy on all candidate's passages:
$ \mathcal{L}{\text{Listwise_CE}} = - \sum{i=1}^{M} \mathbb{1}_{r_i = 1}\log (\frac{\exp(s_i)}{\sum_j \exp(s_j)}) $
where $\mathbb{1}$ is the indicator function.
RankNet([15]). RankNet is a pairwise loss that measures the correctness of relative passage orders:
$ \mathcal{L}{\text{RankNet}} = \sum{i=1}^{M} \sum_{j=1}^{M} \mathbb{1}_{r_i < r_j} \log (1 + \exp (s_j - s_i)) $
when using permutation generated by ChatGPT, we can construct $M (M-1) / 2$ pairs.
LambdaLoss([43]). The LambdaLoss further accounts for the nDCG gains of the model ranks. LambdaLoss uses the student model's rank, denoted as $\pi = (\pi_1, \ldots, \pi_M)$, where $\pi_i$ is the model predicted rank of $p_i$ with a similar definition with ChatGPT rank $R$. The loss function is defined as:
$ \mathcal{L}{\text{Lambda}} = \sum{r_i < r_j} \Delta\text{NDCG} \log_2 (1 + \exp (s_j - s_i)) $
in which $\Delta\text{NDCG}$ is the delta of NDCG which could be compute as $\Delta\text{NDCG} = |G_i - G_j| |\frac{1}{D(\pi_i)} - \frac{1}{D(\pi_j)}|$, where $D(\pi_i)$ and $D(\pi_j)$ are the position discount functions and $G_i$ and $G_j$ are the gain functions used in NDCG ([43]).
Pointwise Binary Cross-Entropy (BCE). We also include the Pointwise BCE as the baseline loss for supervised methods, which is calculated based on each query-document pair independently:
$ \mathcal{L}{\text{BCE}} = - \sum{i=1}^{M} \mathbb{1}{r_i=1} \log \sigma(s_i) + \mathbb{1}{r_i\neq1} \log \sigma(1 - s_i) $
where $\sigma(x) = \frac{1}{1+\exp(-x)}$ is the logistic function.
We include state-of-the-art supervised and unsupervised passage re-ranking methods for comparison. The supervised baselines are:
The unsupervised baselines are:
: Table 10: Analysis of model stability on TREC. Repetition refers to the number of times the model generates duplicate passage identifiers. Missing refers to the number of missing passage identifiers in model output. Rejection refers to the number of times the model rejects to perform the ranking. RBO, i.e., rank biased overlap, refers to the consistency of the model in ranking the same group of passages twice.
| Method | Repetition $\downarrow$ | Missing $\downarrow$ | Rejection | RBO $\uparrow$ |
|---|---|---|---|---|
| text-davinci-003 | 0 | 280 | 0 | 72.30 |
| gpt-3.5-turbo | 14 | 153 | 7 | 81.49 |
| gpt-4 | 0 | 1 | 11 | 82.08 |
In the permutation generation method, the ranking of passages is determined by the list of model-output passage identifiers. However, we have observed that the models do not always produce the desired output, as evidenced by occasional duplicates or missing identifiers in the generated text. In Table 10, we present quantitative results of unexpected model behavior observed during experiments with the GPT models.
Repetition. The repetition metric measures the occurrence of duplicate passage identifiers generated by the model. The results indicate that ChatGPT produced 14 duplicate passage identifiers during re-ranking 97 queries on two TREC datasets, whereas text-davinci-003 and GPT-4 did not exhibit any duplicates.
Missing. We conducted a count of the number of times the model failed to include all passages in the re-ranked permutation output[^9]. Our findings revealed that text-davinci-003 has the highest number of missing passages, totaling 280 instances. ChatGPT also misses a considerable number of passages, occurring 153 times. On the other hand, GPT-4 demonstrates greater stability, with only one missing passage in total. These results suggest that GPT-4 has higher reliability in generating permutations, which is critical for effective ranking.
[^9]: In our implementation, we append the missing passages in their original order at the end of the re-ranked passages.
Rejection. We have observed instances where the model refuses to re-rank passages, as evidenced by responses such as "None of the provided passages is directly relevant to the query ...". To quantify this behavior, we count the number of times this occurred and find that GPT-4 rejects ranking the most frequently, followed by ChatGPT, while the Davinci model never refused to rank. This finding suggests that chat LLMs tend to be more adaptable compared to completion LLMs, and may exhibit more subjective responses. Note that we do not explicitly prohibit the models from rejecting ranking in the instructions, as we find that it does not significantly impact the overall ranking performance.
RBO. The sliding windows strategy involves re-ranking the top-ranked passages from the previous window in the next window. The models are expected to produce consistent rankings in two windows for the same group of passages. To measure the consistency of the model's rankings, we use RBO (rank biased overlap^10), which calculates the similarity between the two ranking results. The findings turn out that ChatGPT and GPT-4 are more consistent in ranking passages compared to the Davinci model. GPT-4 also slightly outperforms ChatGPT in terms of the RBO metric.
: Table 11: Average token cost, number API request, and $USD per query on TREC.
| API | Instruction | Tokens | Requests | $USD |
|---|---|---|---|---|
| text-curie-001 | Relevance generation | 52, 970 | 100 | 0.106 |
| text-curie-001 | Query generation | 10, 954 | 100 | 0.022 |
| text-davinci-003 | Query generation | 11, 269 | 100 | 0.225 |
| text-davinci-003 | Permutation generation | 17, 370 | 10 | 0.347 |
| gpt-3.5-turbo | Permutation generation | 19, 960 | 10 | 0.040 |
| gpt-4 | Permutation generation | 19, 890 | 10 | 0.596 |
| - rerank top-30 | Permutation generation | 3, 271 | 1 | 0.098 |
To analyze the influence of parameters of the sliding window strategy, we adjust the window size and set the step size to half of the window size. The main motivation for this setup is to keep the expected overhead of the method (number of tokens required for computation) low; i.e., most tokens in this setup are used for PG only twice. The experimental results are shown in Table 12[^11]. The results show that the effect varies over a certain range of arrivals for different values of window size: window size=20 performs best in terms of nDCG@10, while window size=40 performs best in terms of nDCG@5 and nDCG@1. We speculate that a larger window size will increase the model's ranking horizon but will also present challenges in processing long contexts and large numbers of items.
[^11]: Note that the results are obtained using gpt-3.5-turbo-16k API for managing long context.
: Table 12: Analysis on Hyperparameters of Sliding Window on TREC-DL19.
| Window size | Step size | nDCG@1 | nDCG@5 | nDCG@10 |
|---|---|---|---|---|
| 20 | 10 | 75.58 | 70.50 | 67.05 |
| 40 | 20 | 78.30 | 71.32 | 65.51 |
| 60 | 30 | 75.97 | 69.23 | 65.03 |
| 80 | 40 | 72.09 | 70.59 | 65.57 |
In Table 11, we provide details on the average token cost, API request times, and USD cost per query. In terms of average token cost, the relevance generation method is the most expensive, as it requires 4 in-context demonstrations. On the other hand, the permutation generation method incurs higher token costs compared to the query generation method, as it involves the repeated processing of passages in sliding windows. Regarding the number of requests, the permutation generation method requires 10 requests for sliding windows, while other methods require 100 requests for re-ranking 100 passages. In terms of average USD cost, GPT-4 is the most expensive, with a cost of $0.596 per query. However, using GPT-4 for re-ranking the top-30 passages can result in significant cost savings, with a cost of $0.098 per query for GPT-4 usage, while still achieving good results. As a result, we only utilize GPT-4 for re-ranking the top 30 passages of ChatGPT on BEIR and Mr.TyDi. The total cost of our experiments with GPT-4 amounts to $556.
Since the experiments with ChatGPT and GPT-4 are conducted using the OpenAI API, the running time is contingent on the OpenAI service, e.g., API latency. Besides, the running time can also vary across different API versions and network environments. In our testing conditions, the average latency for API calls for gpt-3.5-turbo and gpt-4 was around $1.1$ seconds and $3.2$ seconds, respectively. Our proposed sliding window-based permutation generation approach requires 10 API calls per query to re-rank 100 passages. Consequently, the average running time per query is $11$ seconds for gpt-3.5-turbo and $32$ seconds for gpt-4.
\begin{tabular}{l cc cccccccccc c}
\toprule
\textbf{Method} & DL19 & DL20 & Covid & NFCorpus & Touche & DBPedia & SciFact & Signal & News & Robust04 & BEIR (Avg) \\
\midrule
BM25
& 50.58 & 47.96
& 59.47 & 30.75 & \textbf{44.22} & 31.80 & 67.89 & 33.05 & 39.52 & 40.70 & 43.42
\\
\midrule
\multicolumn{10}{l}{\textbf{Supervised} \quad \emph{train on MS MRACO}}\\
\midrule
monoBERT (340M)
& 70.50 & 67.28
& 70.01 & 36.88 & 31.75 & 41.87 & 71.36 & 31.44 & 44.62 & 49.35 & 47.16
\\
monoT5 (220M)
& 71.48 & 66.99
& 78.34 & 37.38 & 30.82 & 42.42 & 73.40 & 31.67 & 46.83 & 51.72 & 49.07
\\
monoT5 (3B)
& 71.83 & 68.89
& 80.71 & \textbf{38.97} & 32.41 & 44.45 & \textbf{76.57} & 32.55 & 48.49 & 56.71 & 51.36
\\
Cohere Rerank-v2
& 73.22 & 67.08 & 81.81 & 36.36 & 32.51 & 42.51 & 74.44 & 29.60 & 47.59 & 50.78 & 49.45
\\
\midrule
\multicolumn{10}{l}{\textbf{Unsupervised} \quad \emph{instructional permutation generation}} \\
\midrule
ChatGPT
& 65.80 & 62.91
& 76.67 & 35.62 & 36.18 & 44.47 & 70.43 & 32.12 & 48.85 & 50.62 & 49.37
\\
GPT-4
& \textbf{75.59} & \textbf{70.56}
& \textbf{85.51} & 38.47 & 38.57 & \textbf{47.12} & 74.95 & \textbf{34.40} & \textbf{52.89} & \textbf{57.55} & \textbf{53.68}
\\
\midrule
\textbf{Specialized Models} & \multicolumn{10}{l}{\emph{train on MARCO labels or ChatGPT predicted permutations}}\\
\midrule
MARCO Pointwise BCE
& 65.57 & 56.72
& 70.82 & 33.10 & 17.08 & 32.28 & 55.37 & 19.30 & 41.52 & 46.00 & 39.43
\\
MARCO Listwise CE
& 65.99 & 57.97
& 66.31 & 32.61 & 20.15 & 30.79 & 37.57 & 18.09 & 38.11 & 39.93 & 35.45
\\
MARCO RankNet
& 66.34 & 58.51
& 70.29 & 34.23 & 20.27 & 29.62 & 49.01 & 23.22 & 39.82 & 43.87 & 38.79
\\
MARCO LambdaLoss
& 64.82 & 56.16
& 72.86 & 34.20 & 19.51 & 32.55 & 51.88 & 26.22 & 42.47 & 45.28 & 40.62
\\
\midrule
ChatGPT Listwise CE
& 65.39 & 58.80
& 76.29 & 35.73 & 38.19 & 40.24 & 64.49 & 31.37 & 47.61 & 48.00 & 47.74
\\
ChatGPT RankNet
& 65.75 & 59.34
& 81.26 & 36.57 & 39.03 & 42.10 & 68.77 & 31.55 & 52.54 & 52.44 & 50.53
\\
ChatGPT LambdaLoss
& 67.17 & 60.56
& 80.63 & 36.74 & 36.73 & 43.75 & 68.21 & 32.58 & 49.00 & 50.51 & 49.77
\\
\midrule
deberta-v3-xsmall (70M)
& 64.75 & 55.07 & 78.21 & 35.95 & 35.42 & 41.37 & 67.86 & 30.04 & 47.68 & 49.91 & 48.31
\\
deberta-v3-small (142M)
& 67.85 & 58.84 & 78.88 & 36.55 & 36.16 & 40.99 & 66.66 & 30.29 & 49.17 & 49.73 & 48.55
\\
deberta-v3-base (184M)
& 70.28 & 62.52 & 80.81 & 36.15 & 37.25 & 44.06 & 71.70 & 32.45 & 50.84 & 51.33 & 50.57
\\
\textbf{deberta-v3-large (435M)}
& 70.66 & 67.15 & 84.64 & 38.48 & 39.27 & 47.36 & 74.18 & 32.53 & 51.19 & 56.55 & 53.03
\\
deberta-v3-large 5K
& 70.93 & 64.32 & 84.43 & 38.66 & 40.72 & 46.28 & 73.88 & 31.93 & 52.24 & 55.89 & 53.00
\\
deberta-v3-large 3K
& 70.79 & 63.91 & 84.21 & 38.73 & 39.83 & 45.74 & 74.41 & 31.92 & 52.29 & 57.42 & 53.07
\\
deberta-v3-large 1K
& 69.90 & 64.81 & 83.38 & 38.94 & 36.65 & 44.46 & 71.96 & 30.19 & 50.73 & 53.74 & 51.26
\\
deberta-v3-large 500
& 69.71 & 62.00 & 83.54 & 37.23 & 33.68 & 44.56 & 70.48 & 28.70 & 45.64 & 42.67 & 48.31
\\
\midrule
deberta-v3-large label 10K
& 66.61 & 57.26 & 74.36 & 33.94 & 18.09 & 34.95 & 35.35 & 21.38 & 39.00 & 44.94 & 37.75
\\
deberta-v3-large label 5K
& 68.98 & 61.38 & 80.73 & 35.68 & 20.48 & 37.34 & 54.63 & 24.25 & 36.94 & 51.13 & 42.64
\\
deberta-v3-large label 3K
& 67.41 & 60.42 & 79.82 & 35.49 & 24.54 & 37.39 & 47.31 & 23.29 & 39.87 & 50.65 & 42.29
\\
deberta-v3-large label 1K
& 65.55 & 60.93 & 77.70 & 33.29 & 23.36 & 36.38 & 31.10 & 21.71 & 34.28 & 38.31 & 37.01
\\
deberta-v3-large label 500
& 60.59 & 54.45 & 76.20 & 32.93 & 19.66 & 31.54 & 45.66 & 13.99 & 33.48 & 44.49 & 37.24
\\
\midrule
deberta-v3-large monoT5-3B
& 73.05 & 68.82 & 84.78 & 38.55 & 34.43 & 43.61 & 75.45 & 30.75 & 49.85 & 56.80 & 51.78
\\
deberta-v3-large chatgpt+label
& 72.42 & 67.30 & 85.96 & 38.75 & 35.06 & 45.43 & 71.81 & 28.52 & 45.91 & 55.57 & 50.88
\\
\midrule
deberta-v3-base label 10k
& 65.66 & 59.84 & 71.63 & 34.65 & 16.53 & 32.59 & 34.65 & 22.64 & 37.60 & 44.02 & 36.79
\\
deberta-v3-small label 10k
& 63.63 & 52.83 & 68.17 & 30.48 & 18.12 & 31.72 & 33.62 & 18.02 & 34.57 & 36.09 & 33.85
\\
deberta-v3-xsmall label 10k
& 60.89 & 51.15 & 63.58 & 28.67 & 14.87 & 27.12 & 20.60 & 18.97 & 32.61 & 32.67 & 29.89
\\
\midrule
\textbf{llama-7b}
& 71.33 & 66.06 & 78.23 & 37.60 & 34.87 & 45.46 & 76.13 & 34.17 & 51.79 & 55.22 & 51.68
\\
vicuna-7b
& 71.80 & 66.89 & 78.32 & 36.87 & 31.81 & 45.40 & 74.23 & 34.28 & 51.13 & 52.91 & 50.62
\\
\midrule
llama-7b 10k label
& 65.22 & 56.85 & 75.36 & 36.24 & 20.88 & 37.34 & 69.04 & 25.22 & 41.21 & 49.21 & 44.31
\\
llama-7b 5k label
& 69.24 & 58.97 & 80.49 & 37.55 & 28.23 & 39.66 & 71.79 & 26.04 & 44.09 & 53.83 & 47.71
\\
\bottomrule
\end{tabular}
Table 13 lists the detailed results of specialized models on TREC and BEIR.
Section Summary: This section compiles a bibliography of technical papers, reports, and online resources primarily focused on large language models, information retrieval techniques, and related benchmarks. The cited works span foundational developments in AI systems from organizations like OpenAI alongside academic studies on document ranking, query expansion, and evaluation datasets from conferences such as NeurIPS, EMNLP, and ICLR. Together they provide sources for methods involving generative models, zero-shot retrieval, and performance assessments in search applications.
[1] OpenAI. 2022. Introducing chatgpt. https://openai.com/blog/chatgpt.
[2] OpenAI. 2023. Gpt-4 technical report. ArXiv, abs/2303.08774.
[3] Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke E. Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Francis Christiano, Jan Leike, and Ryan J. Lowe. 2022. Training language models to follow instructions with human feedback. In NeurIPS 2022.
[4] Rodrigo Nogueira, Zhiying Jiang, Ronak Pradeep, and Jimmy Lin. 2020. Document ranking with a pretrained sequence-to-sequence model. In Findings of EMNLP 2020.
[5] Jimmy J. Lin, Rodrigo Nogueira, and Andrew Yates. 2020. Pretrained transformers for text ranking: Bert and beyond. In WSDM 2020.
[6] Daniel Fernando Campos, Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, Li Deng, and Bhaskar Mitra. 2016. Ms marco: A human generated machine reading comprehension dataset. ArXiv, abs/1611.09268.
[7] Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2022. Towards unsupervised dense information retrieval with contrastive learning. TMLR.
[8] Wenhao Yu, Dan Iter, Shuohang Wang, Yichong Xu, Mingxuan Ju, Soumya Sanyal, Chenguang Zhu, Michael Zeng, and Meng Jiang. 2023. Generate rather than retrieve: Large language models are strong context generators. In ICLR 2023.
[9] Microsoft. 2023. Confirmed: the new bing runs on openai’s gpt-4. https://blogs.bing.com/search/march_2023/Confirmed-the-new-Bing-runs-on-OpenAI%E2%80%99s-GPT-4.
[10] Devendra Singh Sachan, Mike Lewis, Mandar Joshi, Armen Aghajanyan, Wen tau Yih, Joëlle Pineau, and Luke Zettlemoyer. 2022. Improving passage retrieval with zero-shot question generation. In EMNLP 2022.
[11] Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, Benjamin Newman, Binhang Yuan, Bobby Yan, Ce Zhang, Christian Cosgrove, Christopher D. Manning, Christopher R'e, Diana Acosta-Navas, Drew A. Hudson, E. Zelikman, Esin Durmus, Faisal Ladhak, Frieda Rong, Hongyu Ren, Huaxiu Yao, Jue Wang, Keshav Santhanam, Laurel J. Orr, Lucia Zheng, Mert Yuksekgonul, Mirac Suzgun, Nathan S. Kim, Neel Guha, Niladri S. Chatterji, O. Khattab, Peter Henderson, Qian Huang, Ryan Chi, Sang Michael Xie, Shibani Santurkar, Surya Ganguli, Tatsunori Hashimoto, Thomas F. Icard, Tianyi Zhang, Vishrav Chaudhary, William Wang, Xuechen Li, Yifan Mai, Yuhui Zhang, and Yuta Koreeda. 2022. Holistic evaluation of language models. ArXiv, abs/2211.09110.
[12] Nick Craswell, Bhaskar Mitra, Emine Yilmaz, Daniel Fernando Campos, and Ellen M. Voorhees. 2020. Overview of the trec 2020 deep learning track. ArXiv, abs/2102.07662.
[13] Nandan Thakur, Nils Reimers, Andreas Ruckl'e, Abhishek Srivastava, and Iryna Gurevych. 2021. Beir: A heterogenous benchmark for zero-shot evaluation of information retrieval models. In NeurIPS 2021.
[14] Xinyu Zhang, Xueguang Ma, Peng Shi, and Jimmy J. Lin. 2021. Mr. tydi: A multi-lingual benchmark for dense retrieval. In MRL.
[15] Christopher J. C. Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Gregory N. Hullender. 2005. Learning to rank using gradient descent. In ICML 2005.
[16] Yutao Zhu, Huaying Yuan, Shuting Wang, Jiongnan Liu, Wenhan Liu, Chenlong Deng, Zhicheng Dou, and Ji rong Wen. 2023. Large language models for information retrieval: A survey. ArXiv, abs/2308.07107.
[17] Niklas Muennighoff. 2022. Sgpt: Gpt sentence embeddings for semantic search. ArXiv, abs/2202.08904.
[18] Yi Tay, Vinh Q. Tran, Mostafa Dehghani, Jianmo Ni, Dara Bahri, Harsh Mehta, Zhen Qin, Kai Hui, Zhe Zhao, Jai Gupta, Tal Schuster, William W. Cohen, and Donald Metzler. 2022. Transformer memory as a differentiable search index. In NeurIPS 2022.
[19] Nicola De Cao, Gautier Izacard, Sebastian Riedel, and Fabio Petroni. 2021. Autoregressive entity retrieval. In ICLR 2021.
[20] Weiwei Sun, Lingyong Yan, Zheng Chen, Shuaiqiang Wang, Haichao Zhu, Pengjie Ren, Zhumin Chen, Dawei Yin, M. de Rijke, and Zhaochun Ren. 2023. Learning to tokenize for generative retrieval. In NeruIPS 2023.
[21] Luyu Gao, Xueguang Ma, Jimmy Lin, and Jamie Callan. 2023. Precise zero-shot dense retrieval without relevance labels. In ACL 2023.
[22] Liang Wang, Nan Yang, and Furu Wei. 2023a. Query2doc: Query expansion with large language models. ArXiv, abs/2303.07678.
[23] Luiz Henrique Bonifacio, Hugo Queiroz Abonizio, Marzieh Fadaee, and Rodrigo Nogueira. 2022. Inpars: Data augmentation for information retrieval using large language models. In SIGIR 2022.
[24] Zhuyun Dai, Vincent Zhao, Ji Ma, Yi Luan, Jianmo Ni, Jing Lu, Anton Bakalov, Kelvin Guu, Keith B. Hall, and Ming-Wei Chang. 2023. Promptagator: Few-shot dense retrieval from 8 examples. In ICLR 2023.
[25] Reiichiro Nakano, Jacob Hilton, S. Arun Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, and John Schulman. 2021. Webgpt: Browser-assisted question-answering with human feedback. ArXiv, abs/2112.09332.
[26] Gautier Izacard, Patrick Lewis, Maria Lomeli, Lucas Hosseini, Fabio Petroni, Timo Schick, Jane A. Yu, Armand Joulin, Sebastian Riedel, and Edouard Grave. 2023. Few-shot learning with retrieval augmented language models. Journal of Machine Learning Research, 24(251):1–43.
[27] Xueguang Ma, Xinyu Crystina Zhang, Ronak Pradeep, and Jimmy Lin. 2023. Zero-shot listwise document reranking with a large language model. ArXiv, abs/2305.02156.
[28] Yao Fu, Hao-Chun Peng, Litu Ou, Ashish Sabharwal, and Tushar Khot. 2023. Specializing smaller language models towards multi-step reasoning. In ICML 2023.
[29] Lucie Charlotte Magister, Jonathan Mallinson, Jakub Adamek, Eric Malmi, and Aliaksei Severyn. 2023. Teaching small language models to reason. In ACL 2023.
[30] Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2023b. Self-instruct: Aligning language model with self generated instructions. In ACL 2023.
[31] Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. 2023. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca.
[32] Devendra Singh Sachan, Mike Lewis, Dani Yogatama, Luke Zettlemoyer, Joëlle Pineau, and Manzil Zaheer. 2023. Questions are all you need to train a dense passage retriever. TACL, page 600–616.
[33] Weijia Shi, Sewon Min, Michihiro Yasunaga, Minjoon Seo, Rich James, Mike Lewis, Luke Zettlemoyer, and Wen tau Yih. 2023. Replug: Retrieval-augmented black-box language models. ArXiv, abs/2301.12652.
[34] Yixing Fan, Xiaohui Xie, Yinqiong Cai, Jia Chen, Xinyu Ma, Xiangsheng Li, Ruqing Zhang, and Jiafeng Guo. 2022. Pre-training methods in information retrieval. Foundations and Trends in Information Retrieval, 16:178–317.
[35] Lixin Zou, Shengqiang Zhang, Hengyi Cai, Dehong Ma, Suqi Cheng, Daiting Shi, Shuaiqiang Wang, Zhicong Cheng, and Dawei Yin. 2021. Pre-trained language model based ranking in baidu search. In KDD 2021.
[36] Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Yu Wu, Sergey Edunov, Danqi Chen, and Wen tau Yih. 2020. Dense passage retrieval for open-domain question answering. In EMNLP 2020.
[37] Rodrigo Nogueira and Kyunghyun Cho. 2019. Passage re-ranking with bert. ArXiv, abs/1901.04085.
[38] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aur'elien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models. ArXiv, abs/2302.13971.
[39] Luiz Henrique Bonifacio, Israel Campiotti, Roberto de Alencar Lotufo, and Rodrigo Nogueira. 2021. mmarco: A multilingual version of ms marco passage ranking dataset. ArXiv, abs/2108.13897.
[40] Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, T. J. Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeff Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In NeurIPS 2020.
[41] Negar Arabzadeh, Alexandra Vtyurina, Xinyi Yan, and Charles L. A. Clarke. 2021. Shallow pooling for sparse labels. Information Retrieval Journal, 25:365 – 385.
[42] Sebastian Bruch, Xuanhui Wang, Michael Bendersky, and Marc Najork. 2019. An analysis of the softmax cross entropy loss for learning-to-rank with binary relevance. In SIGIR 2019.
[43] Xuanhui Wang, Cheng Li, Nadav Golbandi, Michael Bendersky, and Marc Najork. 2018. The lambdaloss framework for ranking metric optimization. In CIKM 2018.
[44] Hyung Won Chung, Le Hou, S. Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Dasha Valter, Sharan Narang, Gaurav Mishra, Adams Wei Yu, Vincent Zhao, Yanping Huang, Andrew M. Dai, Hongkun Yu, Slav Petrov, Ed Huai hsin Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V. Le, and Jason Wei. 2022. Scaling instruction-finetuned language models. ArXiv, abs/2210.11416.