DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Task
Not on the map. Why?
Abstract (arXiv)
Recently, there has been increasing interest in applying large language models (LLMs) as zero-shot passage rankers. However, few studies have explored how to select appropriate in-context demonstrations for the passage ranking task, which is the focus of this paper. Previous studies mainly use LLM's feedback to train a retriever for demonstration selection. These studies apply the LLM to score each demonstration independently, which ignores the dependencies between demonstrations (especially important in ranking task), leading to inferior performance of top-k retrieved demonstrations. To mitigate this issue, we introduce a demonstration reranker to rerank the retrieved demonstrations so that top-k ranked ones are more suitable for ICL. However, generating training data for such reranker is quite challenging. On the one hand, different from demonstration retriever, the training samples of reranker need to incorporate demonstration dependencies. On the other hand, obtaining the gold ranking from the retrieved demonstrations is an NP-hard problem, which is hard to implement. To overcome these challenges, we propose a method to approximate the optimal demonstration list iteratively and utilize LLM to score demonstration lists of varying lengths. By doing so, the search space is greatly reduced and demonstration dependencies are considered. Based on these scored demonstration lists, we further design a list-pairwise training approach which compares a pair of lists that only differ in the last demonstration, to teach the reranker how to select the next demonstration given a previous sequence. In this paper, we propose a demonstration selection framework DemoRank for ranking task and conduct extensive experiments to prove its strong ability.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 35 of its 62 references that are in the map. First posted on arXiv 24 Jun 2024.
Builds on
35 of 62 references.
References · 35
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2019Passage Re-ranking with BERTcited by 629
23 more
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
- 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
- 2020Overview of the TREC 2019 deep learning trackcited by 282
- 2022Active Example Selection for In-Context Learningcited by 195
- 2021Overview of the TREC 2020 deep learning trackcited by 193
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 164
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2023Beyond Yes and No: Improving Zero-Shot LLM Rankers via Scoring Fine-Grained Relevance Labelscited by 86
- 2023UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluationcited by 74
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 71
- 2024TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategycited by 47
- 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Rankingcited by 44
- 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32
- 2023RetICL: Sequential Retrieval of In-Context Examples with Reinforcement Learningcited by 24
- 2024Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Modelscited by 20
- 2023Instruction Distillation Makes Large Language Models Efficient Zero-shot Rankerscited by 19
- 2024INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuningcited by 19
- 2024Dynamic Demonstration Retrieval and Cognitive Understanding for Emotional Support Conversationcited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 11; 2026: 5.
17 papers.
Sort:
By area:
- 2025A Survey of Multimodal Retrieval-Augmented Generationcited by 37
- 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generationcited by 14
- 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Rerankingcited by 12
- 2025CoRanking: Collaborative Ranking with Small and Large Ranking Agentscited by 10
- 2025AcuRank: Uncertainty-Aware Adaptive Computation for Listwise Rerankingcited by 8
- 2025Learning to Select In-Context Demonstration Preferred by Large Language Modelcited by 5
- 2025TFRank: Think-Free Reasoning Enables Practical Pointwise LLM Rankingcited by 5
- 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learningcited by 3
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Modelscited by 3
- 2025E2Rank: Unifying Text Embedding and Listwise Reranking for Effective and Efficient Searchcited by 3
- 2026DiffuRank: Effective Document Reranking with Diffusion Language Modelscited by 3
- 2026Beyond Relevance-Centric Retrieval: Rubric-Oriented Document Set Selection and Rankingcited by 2
5 more
- 2026Training Documents Reranker with Search Rubrics for Deep Research Agentcited by 2
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contextscited by 1
- 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effortcited by 0
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Eliminationcited by 0
- 2026Think Thrice Before Reranking: Multi-perspective Evidence and Reasoning Integration for Text Rerankingcited by 0
- 2026Think Thrice Before Reranking: Multi-perspective Evidence and Reasoning Integration for Text Reranking17 Sep 2026
- 2026Training Documents Reranker with Search Rubrics for Deep Research Agent4 Aug 2026
- 2026Beyond Relevance-Centric Retrieval: Rubric-Oriented Document Set Selection and Ranking22 Jul 2026
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Elimination10 Apr 2026
- 2026DiffuRank: Effective Document Reranking with Diffusion Language Models13 Feb 2026
- 2025E2Rank: Unifying Text Embedding and Listwise Reranking for Effective and Efficient Search26 Oct 2025
- 2025TFRank: Think-Free Reasoning Enables Practical Pointwise LLM Ranking13 Aug 2025
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Models1 Jul 2025
- 2025Learning to Select In-Context Demonstration Preferred by Large Language Model26 May 2025
- 2025AcuRank: Uncertainty-Aware Adaptive Computation for Listwise Reranking24 May 2025
- 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generation12 May 2025
- 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effort7 May 2025
5 more
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contexts15 Apr 2025
- 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Reranking10 Apr 2025
- 2025CoRanking: Collaborative Ranking with Small and Large Ranking Agents30 Mar 2025
- 2025A Survey of Multimodal Retrieval-Augmented Generation26 Mar 2025
- 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learning30 Oct 2024
- 2025TFRank: Think-Free Reasoning Enables Practical Pointwise LLM Rankingcited by 5
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Eliminationcited by 0
- 2026Think Thrice Before Reranking: Multi-perspective Evidence and Reasoning Integration for Text Rerankingcited by 0
- 2026Think Thrice Before Reranking: Multi-perspective Evidence and Reasoning Integration for Text Reranking17 Sep 2026
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Elimination10 Apr 2026
- 2025TFRank: Think-Free Reasoning Enables Practical Pointwise LLM Ranking13 Aug 2025
- 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Rerankingcited by 12
- 2025AcuRank: Uncertainty-Aware Adaptive Computation for Listwise Rerankingcited by 8
- 2025Learning to Select In-Context Demonstration Preferred by Large Language Modelcited by 5
- 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learningcited by 3
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Modelscited by 3
- 2025E2Rank: Unifying Text Embedding and Listwise Reranking for Effective and Efficient Searchcited by 3
- 2026Beyond Relevance-Centric Retrieval: Rubric-Oriented Document Set Selection and Rankingcited by 2
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contextscited by 1
- 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effortcited by 0
- 2026Beyond Relevance-Centric Retrieval: Rubric-Oriented Document Set Selection and Ranking22 Jul 2026
- 2025E2Rank: Unifying Text Embedding and Listwise Reranking for Effective and Efficient Search26 Oct 2025
- 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Models1 Jul 2025
- 2025Learning to Select In-Context Demonstration Preferred by Large Language Model26 May 2025
- 2025AcuRank: Uncertainty-Aware Adaptive Computation for Listwise Reranking24 May 2025
- 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effort7 May 2025
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contexts15 Apr 2025
- 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Reranking10 Apr 2025
- 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learning30 Oct 2024