Rank-K: Test-Time Reasoning for Listwise Reranking Eugene Yang, Andrew Yates, Kathryn Ricci, Orion Weller, Benjamin Van Durme, Dawn Lawrie, {eugene.yang, andrew.yates, vandurme}@jhu.edu Abstract Retrieve-and-rerank is a popular retrieval pipeline because of its ability to make slow but effective rerankers efficient enough at query time by reducing the number of comparisons. Recent works in neural rerankers take advantage of large language models for their capability in reasoning between queries and passages and have achieved state-of-the-art retrieval effectiveness. However, such rerankers are resource-intensive, even after heavy optimization. In this work, we introduce Rank-K, a listwise passage reranking model that leverages the reasoning capability of the reasoning language model at query time that provides test time scalability to serve hard queries. We show that Rank-K improves retrieval effectiveness by 23% over the RankZephyr, the state-of-the-art listwise reranker, when reranking a BM25 initial ranked list and 19% when reranking strong retrieval results by SPLADE-v3. Since Rank-K is inherently a multilingual model, we found that it ranks passages based on queries in different languages as effectively as it does in monolingual retrieval. 1 Introduction Neural retrieval models have benefited from advancements in language modeling and have achieved significant improvements in retrieval effectiveness ( Craswell et al., 2020 ; Craswell et al., 2021 ) . While much of the work has focused on encoding the queries and documents separately to enable offline document processing ( Wang et al., 2022 ; Karpukhin et al., 2020 ; Khattab & Zaharia, 2020 ; Yang et al., 2024c ; Formal et al., 2021 ; Weller et al., 2024b ) , processing queries and documents jointly, while inefficient, has been pushing the state-of-the-art in retrieval effectiveness for the last several years ( Santhanam et al., 2022b ; Lassance et al., 2024a ; Qu et al., 2021 ) . These models, such as MonoBERT ( Nogueira et al., 2019a ) and MonoT5 ( Nogueira et al., 2020 ) , rerank the top-ranked documents from another upstream retrieval model to reduce query latency by limiting the amount of computation. As the reasoning capability of language models has improved, using a generative model as a reranker has become a widely used component in designing search systems ( Reddy et al., 2024 ; Sun et al., 2023 ; Pradeep et al., 2023a ) . For high-stakes use cases where users will tolerate higher latency, attaching a less efficient but very effective model at the end of the pipeline can greatly improve the overall utility of the system ( Teevan et al., 2014 ) . In this work, we explore using generative models with built-in reasoning capabilities to rerank. Pointwise reranking produces a score for a query-passage pair by jointly encoding them through a language model ( Nogueira et al., 2020 ; Nogueira et al., 2019a ) . The ranking is then inferred by sorting the scores of the query-passage pairs. While architecturally easier to train since it is identical to a sequence pair classifier, a pointwise reranker does not compare different passages directly when producing the final ranking. Alternatively, a listwise reranker ( Sun et al., 2023 ; Pradeep et al., 2023a ; Pradeep et al., 2023b ) compares a set of passages to a query to directly produce a ranked list based on the query. Instead of comparing passages through scores, listwise rerankers compare the content of the passages before producing the final ranking. Prior work in using generative models as listwise rerankers only prompt the generative model to produce the ranking without reasoning ( Pradeep et al., 2023a ; Pradeep et al., 2023b ) . To leverage the recent advancements in reasoning models, we ask the generative model to provide a reasoning trace that analyzes and compares passages to produce the ranking. We introduce Rank-K, a listwise passage reranking model with test-time reasoning ability to produce a more accurate ranking that is fine-tuned from QwQ 32B with distillation from the reasoning trace produced by DeepSeek R1 with explicit ranking instruction. An overview of our training pipeline is summarized in Figure 1 . The training reasoning traces, Rank-K model, and supporting scripts are available on GitHub and HuggingFace. 1 1 1 https://github.com/hltcoe/rank-k We show the Rank-K is more effective than the current state-of-the-art listwise reranker in reranking English passages. Since Rank-K is naturally multilingual, it also demonstrates a strong cross-language ability in ranking queries and passages in different languages through zero-shot language transfer. Thus, our work contributes the following by: • Introducing the first listwise reranking model that utilizes test-time reasoning, • Releasing a training collection with accurate reranking and reasoning traces for distillation, and • Providing evaluation results demonstrating the effectiveness of Rank-K in both English and cross-language reranking. Figure 1: Overview of the training pipeline for Rank-K. 2 Background Modern information retrieval pipelines balance effectiveness and efficiency by factoring retrieval into multiple stages of computation at query time ( Lin et al., 2022 ) . In the first stage, an efficient retriever, such as BM25 ( Robertson et al., 2009 ) , E5 ( Wang et al., 2022 ) , and PLAID ( Yang et al., 2024c ; Santhanam et al., 2022a ) , scores pre-computed (sparse or dense) vector representations of all documents against the representation of the query. In the subsequent stages, rerankers that are more effective but computationally more expensive, because of their inability to preprocess the documents offline, are used to improve the order of a subset of documents to limit the latency. Among them, cross-encoders, such as MonoBERT ( Nogueira et al., 2019a ) and MonoT5 ( Nogueira et al., 2020 ) , leverage cross-attention to compute a query-aware final ranking of the top-k documents from the upstream stages. This pipeline approach gradually funnels a large collection down to a handful of documents ( Lassance et al., 2024b ) . While some highly effective rerankers that use a large model underneath are slow, limiting the number of processing documents makes them practical in a retrieval system. In this work, we focus on evaluating reranker effectiveness. Analogous to early learning-to-rank work, there are primarily three types of rerankers: pointwise, pairwise, and listwise models ( Cao et al., 2007 ) , which process the query with a document, a pair of documents, and a list of documents, respectively. When chaining multiple rerankers together in a pipeline, the number of passages (the depth ) processed by each component usually decreases Lin et al. (2022) . For example, a pointwise reranker might rerank the top-100 documents, followed by an expensive pairwise reranker that produces a final ranking by considering all pairs among the top-20 documents ( Pradeep et al., 2021b ; Lin et al., 2022 ) . While there are efficiency tricks to reduce the amount of computation without sacrificing the reranking depth, such as quantization ( Jacob et al., 2017 ) and better batching ( Sun et al., 2023 ; Zhuang et al., 2024 ) , they are orthogonal to this work. As such, we exclude these efficiency tricks and focus on improving the core modeling ability. Recent advancements in reinforcement learning have greatly enhanced the reasoning capabilities of LLMs, such as DeepSeek R1 ( DeepSeek-AI et al., 2025 ) , QwQ ( Qwen Team, 2025 ) , and o1 ( Jaech et al., 2024 ) . Such models are endowed with an improved ability to perform chain-of-thought ( Wei et al., 2022 ) reasoning, enabling them to analyze complex user inputs and systematically evaluate multiple pieces of evidence. While prior work in listwise re-ranking has focused on directly supervising the output of the re-ranker ( Sun et al., 2023 ; Pradeep et al., 2023a ) , reasoning capabilities offer an opportunity to further improve listwise reranking. In particular, using a chain-of-thought process to generate a ranking encourages logical decision-making and allows for interpretable rankings. Additionally, recent work has suggested that, under appropriate fine-tuning, small models can achieve reasoning capabilities that are competitive with much larger models ( Shridhar et al., 2023 ; Weller et al., 2024a ; Weller et al., 2025 ) , suggesting the feasibility of training reasoning rerankers efficiently enough to be integrated into a retrieval pipeline. Determine a ranking of the passages based on how relevant they are to the query. If the query is a question, how relevant a passage is depends on how well it answers the question. If not, try analyze the intent of the query and assess how well each passage satisfy the intent. The query may have typos and passages may contain contradicting information. However, we do not get into fact-checking. We just rank the passages based on they relevancy to the query. Sort them from the most relevant to the least. Answer with the passage number using a format of ‘[3] > [2] > [4] = [1] > [5]‘. Ties are acceptable if they are equally relevant. I need you to be accurate but overthinking it is unnecessary. Output only the ordering without any other text. Query: {query} [1] {passage 1 content} [2] {passage 2 content} ... Figure 2: Prompt for Reasoning and Ranking Passages 3 Rank-K Reranking In this section, we discuss the process of training Rank-K, as illustrated in Figure 1 . 3.1 Training Data Sampling Typically, when training a pointwise ranker, we need to gather supervised learning signals for query-passage pairs. However, for listwise rankers, the supervised signal we need is a complete ranking of a set of passages for a given query. We construct our training set based on queries and passages from MS MARCO v1 passage collection ( Nguyen et al., 2016 ) , which has been shown to be effective in training retrieval models. We sample 50k queries, which is roughly 10% of the training queries in the collection after deduplication. For each query, we construct a ranked list of passages combining three retrieval pipelines using reciprocal rank fusion ( Cormack et al., 2009 ) : PLAID-X ( Yang et al., 2024b ) followed by Mono-mT5 reranking ( Jeronymo et al., 2023 ) , CoCondenser ( Gao & Callan, 2022 ) , and SPLADE-v3 ( Lassance et al., 2024a ) . To ensure a diversity of difficulty in the training data, we create two passage sets by taking passages from ranks 1 to 20 and from ranks 10 to 30. Each sample contains 10 to 20 passages, for which the length is uniformly sampled. This sampling process results in a set of 100k queries-passage set pairs, with the number of passages varying from 10 to 20. 3.2 Example Generation To generate the rankings for supervision, we prompt DeepSeek R1 ( DeepSeek-AI et al., 2025 ) with specific directions to reason and rank the passages based on their relevance to the associated query. The structure of the prompt is similar to prior work, such as RankGPT ( Sun et al., 2023 ) and RankZephyr ( Pradeep et al., 2023b ) , where the content of the passage is attached with a numeric ID in the context. The output is a list of numeric IDs, indicating the ranking. Our prompt is shown in Figure 2 . We designed the instruction to mimic how a human would have assessed the passages’ relevance. First, the passages can be tied, which prevents the model from overthinking the ordering between two passages that are near duplicates or identical. Second, since DeepSeek R1 is a reasoning model, the thinking tokens also need to be generated, where a longer thinking process results in higher query latency and computational cost. We instruct the model not to overthink the problem to prevent the model from generating too many thinking tokens and exhaust the context window before producing the final ranking. Third, we provide a more detailed definition of relevance. Unlike RankZephyr, which simply asks the model to rank passages based on relevance , if the query is indeed a question, we instruct the model to judge relevance based on the ability of the passage to answer the question. If not, we instruct the model to investigate the intent of the query and how well the passage satisfies it. This provides more guidance and robustness to the model for the general ranking task. Finally, we explicitly ask the model not to fact-check the provided passages using parametric knowledge. These instructions ensure that the model produces an accurate ranking with a reasonable output length. We iterated on the prompt using TREC Deep Learning 2022 ( Craswell et al., 2023 ) as a development data set. This data set was not used in any of experiments. Input Output Per Call 1,024.65 2,408.85 Per Passage 68.76 166.28 Table 1: Average number of tokens in input and output per call and per passage for generating the training data using DeepSeek R1. Table 1 summarizes the statistics of the generated data. The amount of generated tokens, including the thinking tokens, is 2.4 times the number of input tokens on average, with a 90% percentile of 3,957 output tokens. From investigating a handful of examples from the generated data, the reasoning trace usually first summarizes each document with several phrases, categorizes them into buckets, produces partial rankings among each bucket, assembles the full ranking, and verifies the result through self-reflection. This long process requires a large number of generated tokens to support the reasoning. We leverage Kluster.ai to generate these data in batch. The process took around 36 hours and around USD$1,900 to complete using a temperature of 0.7. 3.3 Reasoning Distillation Finally, we use the generated examples to train a smaller reasoning language model with LoRA for the listwise reasoning and reranking task. The smaller language model receives the same input as DeepSeek R1 and is fine-tuned to generate the same output that R1 generated. Specifically, we train QwQ 32B ( Qwen Team, 2025 ) , which is a reasoning model extended from Qwen2.5 32B ( Yang et al., 2024a ) that achieves similar reasoning ability to DeepSeek R1 and o1-mini ( Jaech et al., 2024 ) . We use 128 AMD MI250X GPUs to train the QwQ 32B model with LoRA using LLaMA-Factory ( Zheng et al., 2024 ) . We train for two epochs with a batch size of 128 and a learning rate of 1e-4. We call the resulting model the Rank-K model. To investigate the impact of the reasoning tokens, we also train QwQ 32B model using only the final ranking from R1. To do so, we extract only the final ranking from the generated data and train QwQ 32B for two epochs as described above. We call this model Naive Rank-K since it does not reason about the reranking process at test time. 4 Experiments We test Rank-K on three retrieval datasets, TREC Deep Learning (DL) track 2019 and 2020 ( Craswell et al., 2020 ; Craswell et al., 2021 ) , TREC NeuCLIR track 2022 to 2024 ( Lawrie et al., 2023 ; Lawrie et al., 2024 ) , and BRIGHT ( Su et al., 2024 ) . 2 2 2 Since the BRIGHT collection is constantly changing after their first release, we use the version that MTEB Muennighoff et al. (2022) ; Enevoldsen et al. (2025) uses, which is at commit a75a0eb in the BRIGHT Huggingface repository ( https://huggingface.co/datasets/xlangai/BRIGHT/tree/a75a0eb ). Since NeuCLIR is a collection for cross-language retrieval, where queries are in English and documents are in Chinese (Zho), Persian (Fas), and Russian (Rus), we use the translated documents, which are in English, that are available publicly on Huggingface Datasets. 3 3 3 https://huggingface.co/datasets/neuclir/neuclir1 The summary statistics of the two TREC evaluation datasets are summarized in Table 2 . Please refer to the BRIGHT dataset paper for the full statistics of the dataset. For NeuCLIR, we use the title and description fields from the topics as the queries. Given the NeuCLIR and BRIGHT documents can be long, all reranking experiments are run by truncating documents at 450 tokens. # of Queries # Docs Avg. Doc Length Deep Learning 2019 43 8,841,823 334.79 2020 54 NeuCLIR Persian 174 2,232,016 399.37 Russian 171 4,627,541 307.91 Chinese 167 3,179,206 372.52 Table 2: Collection Statistics. Document length is the number of estimated tokens separated by whitespaces. To conduct a fair comparison between rerankers, we hold the first stage retrieval result constant. In this work, we rerank the top 20 documents from BM25 and SPLADE-v3 for TREC DL and TREC NeuCLIR. Unlike prior work, we report reranking documents without grouping candidates into batches to support reranking more than a model call can take at one time. Since these approaches essentially work as a bubble sort (or a partial bubble sort) to cope with the context length limitation ( Sun et al., 2023 ; Pradeep et al., 2023b ) by using a sliding window to rerank a subset of the documents, we argue that the document batching is orthogonal to the modeling and effectiveness of the reranker. Therefore, we primarily report nDCG@10, which only looks at the top 10 documents after reranking. For BRIGHT, we report reranking BM25 and ReasonIR that takes both the original query and the GPT-4o reasoning trace, while the rerankers only use the original queries. To provide compatibility with other recent and concurrent evaluated on BRIGHT, we additionally conduct an ablation study on using a single-iteration sliding window approach from the bottom of the initial rank list. We rerank the top 100 documents with a window of 20 (identical to our main results) and a stride of 10. Therefore, each query requires 10 Rank-K reranking calls. As a baseline, we report results with RankZephyr, a state-of-the-art listwise reranker model fine-tuned from Mistral-7B ( Jiang et al., 2023 ) , and Rank1 ( Weller et al., 2025 ) , a pointwise reranker that also leverages the reasoning ability of DeepSeek R1 that comes with 7B and 32B versions. Both RankZephyr and Rank1 are run using RankLLM 4 4 4 https://github.com/castorini/rank_llm , a toolkit for orchestrating LLM rerankers. These two models represent two critical comparison points that Rank-K shares similarities in model architecture with. Additionally, we compare the reranking results with the first stage retrieval results, over which, surprisingly, some rerankers fail to improve. 5 Results and Analysis Table 3 summarizes the reranking experiment results. The Rank-K model provides a significant improvement over RankZephyr, which is the previous state-of-the-art listwise reranking model. While improvements are small on the TREC DL 2019 and 2020 benchmarks, which have been heavily exposed in hyperparameter tuning ( Parry et al., 2025 ) , evaluating on the translated TREC NeuCLIR data demonstrates a strong robustness of the Rank-K model over RankZephyr when moving beyond the training collection (both Rank-K and RankZephyr were trained on MS MARCO v1 passages though they differ in sampling and supervised signal generation). Particularly, RankZephyr failed to improve the first-stage ranking on TREC NeuCLIR, resulting in a macro-average only 2% improvement and even 6% degradation in nDCG@10 over the first-stage ranking produced by either BM25 and SPLADE-v3, respectively. Such differences in reranking BM25 and SPLADE-v3 signifies the importance of evaluating with a strong first-stage retriever, both because it is a more challenging task to distinguish passages that are all likely to be relevant and because reranking a strong retriever like SPLADE-v3 is a more realistic setting for users. While both Rank-K and Rank1 are reasoning rerankers with similar number of parameters, the pointwise Rank1 is significantly worse than the listwise Rank-K on both DL and NeuCLIR. The differences are consistent across the two collections and reranking the two first stage retrievers, showing a strong effectiveness gain for the model to reason across passages at test time. However, similar to Rank-K, Rank1 also demonstrates strong robustness in reranking passages beyond MS MARCO. We suspect that the reasoning process provides a strong robustness when transferring to other domains. Comparing Rank-K with its teacher model, DeepSeek R1, the teacher model is slightly more effective than Rank-K when reranking BM25 but, on average, there is no difference when reranking a strong SPLADE-v3 initial ranking. However, because of the model size (32B vs 671B), Rank-K is much more efficient than simply prompting R1. While there is some knowledge that was not distilled successfully from the teacher to Rank-K, such a knowledge gap does not seem to affect the ability to compare passages where the differences are more nuanced, based on the near-identical effectiveness in reranking SPLADE-v3. First Stage Reranker TREC DL TREC NeuCLIR Avg.   ( \Delta ) Retriever 2019 2020 Fas. Rus. Zho. BM25 – 0.499 0.485 0.386 0.337 0.375 0.416 RankZephyr 0.645 0.633 0.291 0.279 0.274 0.424 (2\%) Rank1-32B 0.649 0.612 0.420 0.419 0.432 0.506 (22\%) R1 Teacher 0.657 0.629 0.482 0.474 0.470 0.543 (30\%) Naive Rank-K 0.617 0.578 0.430 0.411 0.425 0.492 (18\%) Rank-K 0.662 0.643 0.440 0.434 0.447 0.525 (26\%) SPLADE-v3 – 0.722 0.751 0.507 0.449 0.428 0.571 RankZephyr 0.775 0.804 0.398 0.406 0.314 0.539 (-6%) Rank1-32B 0.762 0.762 0.545 0.496 0.482 0.609 (7\%) R1 Teacher 0.767 0.786 0.601 0.535 0.534 0.645 (13\%) Naive Rank-K 0.757 0.775 0.552 0.516 0.504 0.621 (9\%) Rank-K 0.785 0.799 0.581 0.528 0.518 0.642 (12\%) Table 3: nDCG@10 on TREC Deep Learning and NeuCLIR tracks. All rerankers rerank the top 20 passages from the first stage retriever. Our contribution is highlighted in blue. By comparing Rank-K with Naive Rank-K, which excluded the reasoning trace from fine-tuning, the difference in effectiveness shows that reasoning trace provides a strong performance improvement. Despite the degradation over Rank-K, Naive Rank-K is still significantly better than RankZephyr, which is likely to be a result of better training example sampling (since RankZephyr also uses MS MARCO v1 as the corpus for distillation) and a more effective teacher model. 5.1 BRIGHT Evaluation StackExchange Coding Theorem-based Avg. Bio. Earth. Econ. Psy. Rob. Stack. Sus. Leet. Pony AoPS TQ. TT. BM25 19.2 27.1 14.9 12.5 13.5 16.5 15.2 24.4 7.9 6.0 13.0 6.9 14.8 BM25 on GPT-4o CoT 53.6 53.6 24.3 38.6 18.8 22.7 25.9 19.3 17.7 3.9 18.9 20.2 26.5 ReasonIR on GPT-4o CoT 43.5 43.0 32.7 38.9 20.8 30.9 27.3 31.5 19.7 7.4 35.0 36.6 30.6 Rerank Top 20 RankZephyr 7B 44.2 30.5 17.9 28.2 17.7 27.0 21.9 18.9 17.7 2.5 16.0 11.0 21.1 Rank-K (Single Call) 50.8 49.4 28.2 46.0 27.3 30.5 31.9 24.7 22.4 5.9 23.2 20.9 30.1 Rerank Top 50 RankZephyr 7B 44.1 31.0 17.9 28.4 17.5 27.0 21.6 18.9 17.8 2.7 15.9 12.7 21.3 Rank-K (Single Call) 48.9 44.7 29.2 47.8 30.3 30.8 35.9 22.4 24.1 7.1 26.1 26.3 31.1 Rank-K (Sliding Window) 52.1 47.2 30.0 47.7 31.9 30.7 36.5 25.4 27.5 6.5 27.7 26.0 32.4 Rerank Top 100 MonoT5-3B 16.0 24.0 17.7 19.5 8.0 10.5 19.5 17.2 29.2 7.1 20.3 12.0 16.8 RankLLaMA-7B 17.5 15.5 13.1 13.6 17.9 6.9 16.9 8.4 46.8 2.2 4.5 3.5 13.9 RankLLaMA-13B 21.6 19.1 16.3 14.0 15.7 7.7 18.5 8.8 31.1 1.7 4.4 4.9 13.7 RankZephyr 7B 44.1 31.0 17.9 28.4 17.5 27.0 21.6 18.9 17.8 2.7 15.9 12.7 21.3 Rank1-32B 49.7 35.8 22.0 37.5 22.5 21.7 35.0 18.8 32.5 10.8 22.9 43.7 29.4 Rank-K (Sliding Window) 50.4 46.2 30.6 46.7 32.4 33.0 41.2 24.0 32.2 7.6 28.3 26.6 33.3 Table 4: nDCG@10 on BRIGHT. BM25 scores are taken from the official BRIGHT paper. All models rerank from the BM25 on GPT-4o CoT top 100 documents, but are not given the GPT-4o CoT. Note that RankZephyr produced exactly the same results when reranking the top 50 and 100. StackExchange Coding Theorem-based Avg. Bio. Earth. Econ. Psy. Rob. Stack. Sus. Leet. Pony AoPS TQ. TT. ReasonIR on GPT-4o CoT 43.5 43.0 32.7 38.9 20.8 30.9 27.3 31.5 19.7 7.4 35.0 36.6 30.6 Rank-K (Sliding Window) 48.4 38.0 31.5 45.9 24.3 27.4 40.2 26.2 27.1 8.2 38.3 27.3 31.9 + ReasonIR with RRF 50.6 44.2 35.3 45.4 24.7 30.7 38.4 32.7 24.2 9.0 38.3 28.1 33.5 Table 5: nDCG@10 on BRIGHT when reranking the top 100 documents from ReasonIR without custom prompts for different subsets. We report the effectiveness of our models on BRIGHT in Table 4 . When reranking only the top 20 documents, we observe a 42.7% (21.1 to 30.1) improvement over RankZephyr when macro-averaging over all 12 subsets. The gap becomes larger when we rerank the top 50 and 100 documents in a single call compared to the sliding window approach that RankZephyr uses underneath, which highlights the efficiency and test-time scalability of Rank-K. Interestingly, while adopting the sliding window approach further improves the effectiveness with a high efficiency cost, reranking 50 documents in a single Rank-K call, which is beyond what the model was trained for, still provides a decent effectiveness improvement without needing to wait to process each sequential window. When reranking the top 100 documents, which is the setup that other reranking works usually use, we improve 13.3% over the recent Rank1-32B model that also leverages the reasoning LM. Specifically, in Rank1, since the relevance definition of Pony, AoPS, TheoremQA-Questions (TQ), and TheoremQA-Theorems (TT) are less common than the typical ad hoc retrieval scenario, many previous works Shao et al. (2025) ; Weller et al. (2025) adopted separate prompts for them. While using separate prompts provides evidence for adaptivity and flexibility through prompting, we argue that it is less robust to general ad hoc queries, as we usually do not assume any query distribution. With Rank-K we always use the same prompt in training and evaluation, highlighting the robustness of our approach. Additionally, we also report results on reranking top-ranked documents from ReasonIR, a concurrent dense retrieval model that also focuses on reasoning retrieval tasks. Similar to results on SPLADE-v3, Rank-K is also capable of improving results from strong initial retrieval results. Notably, the effectiveness improves even more when fusing the reranked and initial rank lists with reciprocal rank fusion, which does not require any additional computation since the initial rank list always exists. Note that ReasonIR also uses subset-specific prompts where Rank-K does not, which explains some degradation after reranking, such as TheoremQA-Theorems. Persian Russian Chinese Reranker Translated Native Translated Native Translated Native – 0.386 – 0.337 – 0.375 – RankZephyr 0.291 0.369 0.279 0.238 0.274 0.367 R1 Teacher 0.482 0.474 0.474 0.468 0.470 0.470 Rank-K 0.440 0.441 0.434 0.439 0.447 0.449 Table 6: nDCG@10 on reranking BM25 evaluated on NeuCLIR with zero-Shot language transfer to cross-language IR. Our contribution is highlighted in blue. 5.2 Zero-shot Language Transfer to Cross-Language IR Since the base model of Rank-K, QwQ 32B, is a multilingual model, we experiment with transferring our Rank-K model to a cross-language reranking task with English queries and documents in other languages using the native document in the NeuCLIR collection (Persian, Russian, and Chinese documents). The results are summarized in Table 6 . Despite only being fine-tuned for the reranking task with English data, Rank-K can effectively rerank non-English passages based on English queries. The differences between reranking the translated and native documents are negligible and likely to be the random fluctuations. Surprisingly, RankZephyr, where its base model Mistral-7B is also multilingual, reranking the native documents is sometimes more effective than reranking the translation, with Chinese demonstrating the largest difference. Since the translation may drift away from its original information in the native document, Rank-K (as well as its teacher) is more capable of analyzing the content and overcoming the upstream translation error during reasoning and reranking, again highlighting the robustness of the approach. 5.3 Ranking Progression during Reasoning Figure 3: Histogram of the number of ranking Rank-K generates in reranking for each query on TREC DL 2019 and 2020. The count includes the intermediate partial rankings and the final full ranking. We see that Rank-K generates a non-uniform distribution of rankings. During the reasoning process of Rank-K, passages are categorized into buckets, and partial orderings are developed. As is illustrated in Figure 3 , Rank-K generates a single ranking for 38% of the queries. This means that for almost two-thirds of queries, Rank-K needs to produce multiple rankings before assembling the final full ranking. In a handful of instances, more than ten partial rankings are created before Rank-K assembles the final ranking. Figure 4 is an example of the type of reasoning Rank-K does when producing multiple partial rankings. The process involves breaking ties and considering the differences between passages that are similar at a high level but can still be distinguished. This example contains both ranking in the final format as well as partial rankings embedded in sentences without the correct output formats, which still helps improve the final ranking. There are cases where the model repeatedly summarizes passages during reasoning as a reminder for the content of the passage being compared, which led to longer generations than desired. While such generations are certainly computationally expensive, incremental reranking over reasoning provides a dynamic scaling capacity at test time to tackle a more challenging reranking problem. We leave reducing the length of the reasoning traces for future work. {...} So the order would be: [13] > [14] > [19] > [3] = [6] = [7] = [8] = [9] = [15] > [1] = [2] = [4] = [5] = [20] > [10] = [11] = [12] = [16] = [17] = [18] But need to check if any other passages have more details. For example, passage 19 also mentions season 5 locations and safety, which might make it more detailed than 14. But 14 gives a specific example with a reader’s experience. Both are very relevant. So maybe [13] first, then [19] and [14] next. But [14] mentions specific streets, which is more precise. So maybe [13] > [14] > [19]. Then the group of 3,6,7,8,9,15. Then the general ones. So the final ranking would be: [13] > [14] > [19] > [3] > [6] > [7] > [8] > [9] > [15] > [1] > [2] > [4] > [5] > [20] > [10] > [11] > [12] > [16] > [17] > [18] But the user allows ties. So grouping similar ones: [13] > [14] = [19] > [3] = [6] = [7] = [8] = [9] = [15] > [1] = [2] = [4] = [5] = [20] > [10] = [11] = [12] = [16] = [17] = [18] But maybe [14] and [19] are equally relevant. Similarly, the group 3,6,7,8,9,15 are all about current filming in Chicago, so they can be tied. The general ones can be tied as well. So the final order would be: [13] > [14] = [19] > [3] = [6] = [7] = [8] = [9] = [15] > [1] = [2] = [4] = [5] = [20] > [10] = [11] = [12] = [16] = [17] = [18] But the user wants the output as a list with numbers in order. So the correct format would be: [13] > [14] = [19] > [3] = [6] = [7] = [8] = [9] = [15] > [1] = [2] = [4] = [5] = [20] > [10] = [11] = [12] = [16] = [17] = [18] But wait, the user’s example output was [3] > [2] > [4] = [1] > [5]. So they include all passages, but in this case {...} Figure 4: A partial example thinking process produced by Rank-K. Passage summaries and self-reflection are omitted for presentation. 6 Related Work 6.1 Reranking Methods Reordering documents with a generative language model has shown remarkable success in ad hoc retrieval, especially when utilizing large instruction-tuned models like Llama and GPT-4 ( Sun et al., 2023 ; Zhang et al., 2024 ; Ma et al., 2024 ) . These reranking techniques can be divided into pointwise ( Zhuang et al., 2023 ; Ma et al., 2024 ) , pairwise ( Qin et al., 2024 ) , and listwise ( Sun et al., 2023 ; Ma et al., 2023 ; Zhang et al., 2024 ) approaches. Pointwise methods assign a score to each query-document pair, which is then used to rank the candidates. Implementation of pointwise methods can involve sequence pair classification ( Nogueira et al., 2019a ) , query probability generation (i.e., generating the probability of the query given the doc) ( Sachan et al., 2022 ) , single token generation ( Nogueira et al., 2020 ) , etc. Evaluating multiple documents based on a query offers a more straightforward ranking method compared to generating independent scores, leading to a more effective ranking at a higher computational costs ( Pradeep et al., 2021a ) . Pairwise comparison, a specific form of listwise ranking, identifies which of two documents should be ranked higher given the query. This can be achieved using either encoder ( Nogueira et al., 2019b ) or decoder ( Pradeep et al., 2021a ) models. However, pairwise ranking is significantly more computationally intensive than pointwise ranking, especially since the assumption of transitivity may not always be valid. This has led to efforts to approximate the complete ranking by reducing or sampling comparison pairs ( Mikhailiuk et al., 2021 ; Gienapp et al., 2022 ; Qin et al., 2024 ) . With the expanding context window of generative models, it becomes feasible to reduce the number of model inference calls by comparing more documents simultaneously, utilizing listwise approaches ( Ma et al., 2023 ; Sun et al., 2023 ) . Instruction-tuned large language models (LLMs) like GPT-4, Gemini, and Llama can generate a ranked list of document identifiers specified in the prompt ( Ma et al., 2023 ; Sun et al., 2023 ) . Alternatively, with appropriate training, the relative likelihood of generating each document’s identifier can be interpreted as a score within the input batch or list ( Reddy et al., 2024 ) . This method builds upon earlier work with MonoT5 ( Nogueira et al., 2020 ) and DuoT5 ( Pradeep et al., 2021a ) work. Additionally, distilling larger models into smaller ones may reduce the compute time for each call, thereby reducing latency ( Tamber et al., 2023 ; Pradeep et al., 2023b ) . One of the key aspects of listwise approaches is how to accomplish a sort that expands beyond the context of the window that the LLM can effectively order. Setwise bubble sort has been the dominant approach to sorting since Sun et al. (2023) . While a single pass of bubble sort has obvious limitations, a few iterations of bubble sort are sufficient to push non-relevant documents outside the scoring range and bubble-up relevant documents for most metrics ( Pradeep et al., 2023a ) . That said, there are other Setwise sorting algorithms, such as Setwise Heap sort, which have different trade-offs in terms of efficiency and effectiveness ( Zhuang et al., 2024 ) . 6.2 Reasoning Language Models OpenAI introduced reasoning language models with their o1 model ( Jaech et al., 2024 ) , which demonstrated significantly enhanced performance on tasks requiring reasoning, such as mathematics, logic, and programming. Following their release, other organizations have developed similar models, including Google’s Gemini Flash Thinking 5 5 5 https://deepmind.google/technologies/gemini/flash-thinking/ and Deepseek’s R1 ( DeepSeek-AI et al., 2025 ) . There has been a surge of activity in the open-source community, both before and after the release of o1, focusing on reasoning language models and systems. This work has addressed areas such as reproduction ( Snell et al., 2024 ; Muennighoff et al., 2025 ) , calibration and confidence ( Jurayj et al., 2025 ) , agentic capabilities with explainable reasoning traces ( Weir et al., 2022 ; Weir et al., 2024 ) , and more. We anticipate that this line of research will continue, and ongoing collaboration is likely to enhance these models’ performance in retrieval tasks as well. Recent works also explore training reranking explicitly for reasoning tasks besides general ad hoc retrieval queries ( Samarinas & Zamani, 2025 ; Shao et al., 2025 ; Zhuang et al., 2025 ; Weller et al., 2025 ) , which are primarily evaluated with BRIGHT ( Su et al., 2024 ) . 7 Conclusion In this work, we introduced Rank-K, a test-time listwise reranking model fine-tuned from QwQ-32B. Evaluating on TREC Deep Learning and NeuCLIR collections, we showed that Rank-K is more effective than the previous state-of-the-art listwise reranker RankZephyr. Since Rank-K is naturally multilingual despite only fine-tuning with reranking objectives in English, it is also effective in reranking queries and passages in different languages.