Few-shot Prompting for Pairwise Ranking: An Effective Non-Parametric Retrieval Model
Not on the map. Why?
Abstract (arXiv)
A supervised ranking model, despite its advantage of being effective, usually involves complex processing - typically multiple stages of task-specific pre-training and fine-tuning. This has motivated researchers to explore simpler pipelines leveraging large language models (LLMs) that are capable of working in a zero-shot manner. However, since zero-shot inference does not make use of a training set of pairs of queries and their relevant documents, its performance is mostly worse than that of supervised models, which are trained on such example pairs. Motivated by the existing findings that training examples generally improve zero-shot performance, in our work, we explore if this also applies to ranking models. More specifically, given a query and a pair of documents, the preference prediction task is improved by augmenting examples of preferences for similar queries from a training set. Our proposed pairwise few-shot ranker demonstrates consistent improvements over the zero-shot baseline on both in-domain (TREC DL) and out-domain (BEIR subset) retrieval benchmarks. Our method also achieves a close performance to that of a supervised model without requiring any complex training pipeline.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 46 of its 64 references that are in the map. First posted on arXiv 26 Sep 2024.
Builds on
46 of 64 references.
References · 46
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
34 more
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2019Passage Re-ranking with BERTcited by 629
- 2020Fact or Fiction: Verifying Scientific Claimscited by 546
- 2023Zephyr: Direct Distillation of LM Alignmentcited by 498
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
- 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 are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
- 2020Overview of the TREC 2019 deep learning trackcited by 282
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 271
- 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 238
- 2022Promptagator: Few-shot Dense Retrieval From 8 Examplescited by 233
- 2021Overview of the TREC 2020 deep learning trackcited by 193
- 2020CORD-19: The COVID-19 Open Research Datasetcited by 179
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2023RankZephyr: Effective and Robust Zero-Shot Listwise Reranking is a Breeze!cited by 151
- 2022RankT5: Fine-Tuning T5 for Text Ranking with Ranking Lossescited by 114
- 2021COIL: Revisit Exact Lexical Match in Information Retrieval with Contextualized Inverted Listcited by 113
- 2022SimLM: Pre-training with Representation Bottleneck for Dense Passage Retrievalcited by 90
- 2021The Expando-Mono-Duo Design Pattern for Text Ranking with Pretrained Sequence-to-Sequence Modelscited by 81
- 2023Few-shot In-context Learning for Knowledge Base Question Answeringcited by 74
- 2019Context-Aware Sentence/Passage Term Importance Estimation For First Stage Retrievalcited by 65
- 2020Distilling Dense Representations for Ranking using Tightly-Coupled Teacherscited by 52
- 2018Pytrec_eval: An Extremely Fast Python Interface to trec_evalcited by 46
- 2022Curriculum Learning for Dense Retrieval Distillationcited by 38
- 2023In-Context Learning for Text Classification with Many Labelscited by 35
- 2020Expansion via Prediction of Importance with Contextualizationcited by 26
- 2022Improving Few-Shot Performance of Language Models via Nearest Neighbor Calibrationcited by 24
- 2022Distill-VQ: Learning Retrieval Oriented Vector Quantization By Distilling Knowledge from Dense Embeddingscited by 17
- 2023Adapt in Contexts: Retrieval-Augmented Domain Adaptation via In-Context Learningcited by 16
- 2022Long Document Re-ranking with Modular Re-rankercited by 9
- 2024Two-Step SPLADE: Simple, Efficient and Effective Approximation of SPLADEcited by 6
- 2024"In-Context Learning" or: How I learned to stop worrying and love "Applied Information Retrieval"cited by 6
- 2022CAPSTONE: Curriculum Sampling for Dense Retrieval with Document Expansioncited by 4
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025Rankify: A Comprehensive Python Toolkit for Retrieval, Re-Ranking, and Retrieval-Augmented Generationcited by 13
- 2025Rewrite-to-Rank: Optimizing Ad Visibility via Retrieval-Aware Text Rewritingcited by 2
- 2025Agentic Meta-Orchestrator for Multi-task Copilotscited by 0
- 2026One Size Does Not Fit All! Dynamic Retriever and Generator Selection for RAGcited by 0
- 2026One Size Does Not Fit All! Dynamic Retriever and Generator Selection for RAG15 Sep 2026
- 2025Agentic Meta-Orchestrator for Multi-task Copilots26 Oct 2025
- 2025Rewrite-to-Rank: Optimizing Ad Visibility via Retrieval-Aware Text Rewriting3 Jul 2025
- 2025Rankify: A Comprehensive Python Toolkit for Retrieval, Re-Ranking, and Retrieval-Augmented Generation4 Feb 2025