mlsanityData to 7 Oct 2026

DemoRank: Selecting Effective Demonstrations for Large Language Models in Ranking Task

arXiv 2406.16332 ↗First posted 24 Jun 2024cs.IR cs.CLcited by 17

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

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  2. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  4. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  5. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  6. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  7. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
  8. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  10. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  11. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  12. 2019Passage Re-ranking with BERTcited by 629
23 more
  1. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
  2. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
  3. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  4. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
  5. 2020Overview of the TREC 2019 deep learning trackcited by 282
  6. 2022Active Example Selection for In-Context Learningcited by 195
  7. 2021Overview of the TREC 2020 deep learning trackcited by 193
  8. 2022In-context Examples Selection for Machine Translationcited by 172
  9. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 164
  10. 2023Unified Demonstration Retriever for In-Context Learningcited by 141
  11. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
  12. 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
  13. 2023Beyond Yes and No: Improving Zero-Shot LLM Rankers via Scoring Fine-Grained Relevance Labelscited by 86
  14. 2023UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluationcited by 74
  15. 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 71
  16. 2024TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategycited by 47
  17. 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Rankingcited by 44
  18. 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32
  19. 2023RetICL: Sequential Retrieval of In-Context Examples with Reinforcement Learningcited by 24
  20. 2024Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Modelscited by 20
  21. 2023Instruction Distillation Makes Large Language Models Efficient Zero-shot Rankerscited by 19
  22. 2024INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuningcited by 19
  23. 2024Dynamic Demonstration Retrieval and Cognitive Understanding for Emotional Support Conversationcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 11; 2026: 5.

17 papers.

Sort:

By area:

  1. 2025A Survey of Multimodal Retrieval-Augmented Generationcited by 37
  2. 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generationcited by 14
  3. 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Rerankingcited by 12
  4. 2025CoRanking: Collaborative Ranking with Small and Large Ranking Agentscited by 10
  5. 2025AcuRank: Uncertainty-Aware Adaptive Computation for Listwise Rerankingcited by 8
  6. 2025Learning to Select In-Context Demonstration Preferred by Large Language Modelcited by 5
  7. 2025TFRank: Think-Free Reasoning Enables Practical Pointwise LLM Rankingcited by 5
  8. 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learningcited by 3
  9. 2025MassTool: A Multi-Task Search-Based Tool Retrieval Framework for Large Language Modelscited by 3
  10. 2025E2Rank: Unifying Text Embedding and Listwise Reranking for Effective and Efficient Searchcited by 3
  11. 2026DiffuRank: Effective Document Reranking with Diffusion Language Modelscited by 3
  12. 2026Beyond Relevance-Centric Retrieval: Rubric-Oriented Document Set Selection and Rankingcited by 2
5 more
  1. 2026Training Documents Reranker with Search Rubrics for Deep Research Agentcited by 2
  2. 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contextscited by 1
  3. 2025QBD-RankedDataGen: Generating Custom Ranked Datasets for Improving Query-By-Document Search Using LLM-Reranking with Reduced Human Effortcited by 0
  4. 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Eliminationcited by 0
  5. 2026Think Thrice Before Reranking: Multi-perspective Evidence and Reasoning Integration for Text Rerankingcited by 0