mlsanityData to 7 Oct 2026

Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers

arXiv 2410.02642 ↗First posted 3 Oct 2024cs.CL cs.IRcited by 42

On the map: Retrieval-augmented generation → Generation and context integration

Abstract (arXiv)

Information retrieval (IR) systems have played a vital role in modern digital life and have cemented their continued usefulness in this new era of generative AI via retrieval-augmented generation. With strong language processing capabilities and remarkable versatility, large language models (LLMs) have become popular choices for zero-shot re-ranking in IR systems. So far, LLM-based re-ranking methods rely on strong generative capabilities, which restricts their use to either specialized or powerful proprietary models. Given these restrictions, we ask: is autoregressive generation necessary and optimal for LLMs to perform re-ranking? We hypothesize that there are abundant signals relevant to re-ranking within LLMs that might not be used to their full potential via generation. To more directly leverage such signals, we propose in-context re-ranking (ICR), a novel method that leverages the change in attention pattern caused by the search query for accurate and efficient re-ranking. To mitigate the intrinsic biases in LLMs, we propose a calibration method using a content-free query. Due to the absence of generation, ICR only requires two (O(1)) forward passes to re-rank N documents, making it substantially more efficient than generative re-ranking methods that require at least O(N) forward passes. Our novel design also enables ICR to be applied to any LLM without specialized training while guaranteeing a well-formed ranking. Extensive experiments with two popular open-weight LLMs on standard single-hop and multi-hop information retrieval benchmarks show that ICR outperforms RankGPT while cutting the latency by more than 60% in practice. Through detailed analyses, we show that ICR's performance is specially strong on tasks that require more complex re-ranking signals. Our findings call for further exploration on novel ways of utilizing open-weight LLMs beyond text generation.

Key facts. Cited by 42 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 36 of its 50 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

36 of 50 references.

Closest ancestors · 1

Same direction, newest first

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May

Other references · 35

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  2. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  4. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  6. 2023Mistral 7Bcited by 3,065
  7. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  8. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  9. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  10. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  11. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  12. 2019Attention is not not Explanationcited by 629
23 more
  1. 2023Bias and Fairness in Large Language Models: A Surveycited by 626
  2. 2020Fact or Fiction: Verifying Scientific Claimscited by 546
  3. 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
  4. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
  5. 2019Is Attention Interpretable?cited by 387
  6. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
  7. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
  8. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  9. 2020Overview of the TREC 2019 deep learning trackcited by 282
  10. 2020Distilling Knowledge from Reader to Retriever for Question Answeringcited by 226
  11. 2019Multi-Stage Document Ranking with BERTcited by 200
  12. 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 195
  13. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 164
  14. 2023RankZephyr: Effective and Robust Zero-Shot Listwise Reranking is a Breeze!cited by 151
  15. 2023Attention Sorting Combats Recency Bias In Long Context Language Modelscited by 89
  16. 2023Beyond Yes and No: Improving Zero-Shot LLM Rankers via Scoring Fine-Grained Relevance Labelscited by 86
  17. 2023Zero-Shot Listwise Document Reranking with a Large Language Modelcited by 81
  18. 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 69
  19. 2023A Setwise Approach for Effective and Highly Efficient Zero-shot Ranking with Large Language Modelscited by 53
  20. 2024TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategycited by 47
  21. 2023Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Rankingcited by 44
  22. 2023Found in the Middle: Permutation Self-Consistency Improves Listwise Ranking in Large Language Modelscited by 30
  23. 2023Large Search Model: Redefining Search Stack in the Era of LLMscited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 18; 2026: 24.

42 papers.

Sort:

By area:

  1. 2025Rank-R1: Enhancing Reasoning in LLM-based Document Rerankers via Reinforcement Learningcited by 58
  2. 2025Query-Focused Retrieval Heads Improve Long-Context Reasoning and Re-rankingcited by 30
  3. 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generationcited by 14
  4. 2025Rankify: A Comprehensive Python Toolkit for Retrieval, Re-Ranking, and Retrieval-Augmented Generationcited by 13
  5. 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Rerankingcited by 12
  6. 2025DeAR: Dual-Stage Document Reranking with Reasoning Agents via LLM Distillationcited by 11
  7. 2025Scalable In-context Ranking with Generative Modelscited by 8
  8. 2025How do Large Language Models Understand Relevance? A Mechanistic Interpretability Perspectivecited by 6
  9. 2026LELA: an LLM-based Entity Linking Approach with Zero-Shot Domain Adaptationcited by 6
  10. 2025RankArena: A Unified Platform for Evaluating Retrieval, Reranking and RAG with Human and LLM Feedbackcited by 5
  11. 2026Optimizing User Profiles via Contextual Bandits for Retrieval-Augmented LLM Personalizationcited by 5
  12. 2026ReAttn: Improving Attention-based Re-ranking via Attention Re-weightingcited by 5
30 more
  1. 2025Beyond Contrastive Learning: Synthetic Data Enables List-wise Training with Multiple Levels of Relevancecited by 4
  2. 2025How Good are LLM-based Rerankers? An Empirical Analysis of State-of-the-Art Reranking Modelscited by 4
  3. 2026Learning from Emptiness: De-biasing Listwise Rerankers with Content-Agnostic Probability Calibrationcited by 4
  4. 2025Efficiency-Effectiveness Reranking FLOPs for LLM-based Rerankerscited by 3
  5. 2025E2Rank: Unifying Text Embedding and Listwise Reranking for Effective and Efficient Searchcited by 3
  6. 2026Looking Is Not Picking: An Attention-Segment Account of Tool-Selection Failures in LLM Agentscited by 3
  7. 2025Mirroring Users: Towards Building Preference-aligned User Simulator with User Feedback in Recommendationcited by 2
  8. 2026HeadRank: Decoding-Free Passage Reranking via Preference-Aligned Attention Headscited by 2
  9. 2026Preference Heads in Large Language Models: A Mechanistic Framework for Interpretable Personalizationcited by 2
  10. 2025Hint-Augmented Re-ranking: Efficient Product Search using LLM-Based Query Decompositioncited by 1
  11. 2026An Efficient Long-Context Ranking Architecture With Calibrated LLM Distillation: Application to Person-Job Fitcited by 1
  12. 2026Optimizing RAG Rerankers with LLM Feedback via Reinforcement Learningcited by 1
  13. 2026Can Retrieval Heads See Images? Multimodal Retrieval Heads in Long-Context Vision-Language Modelscited by 1
  14. 2026Lost at the End: Primacy Bias in Multimodal Retrieval-Augmented Question Answeringcited by 1
  15. 2025Rationale-Augmented Retrieval with Constrained LLM Re-Ranking for Task Discoverycited by 0
  16. 2025Embedding-Based Context-Aware Rerankercited by 0
  17. 2025Citation Failure: Definition, Analysis and Efficient Mitigationcited by 0
  18. 2026Zero-shot Vision-Language Reranking for Cross-View Geolocalizationcited by 0
  19. 2026FRESCO: Benchmarking and Optimizing Re-rankers for Evolving Semantic Conflict in Retrieval-Augmented Generationcited by 0
  20. 2026Rethinking the Necessity of Adaptive Retrieval-Augmented Generation through the Lens of Adaptive Listwise Rankingcited by 0
  21. 2026Learning to Route Queries to Heads for Attention-based Re-ranking with Large Language Modelscited by 0
  22. 2026Test-Time Training for Zero-Resource Dense Retrieval Rerankingcited by 0
  23. 2026Activation-Based Active Learning for In-Context Learning: Challenges and Insightscited by 0
  24. 2026CompRank: Efficient LLM Reranking via Token-Level Compression and Decoding-Free Scoringcited by 0
  25. 2026Position Bias Correction is Insufficient for One-Pass Attention Sortingcited by 0
  26. 2026AttnLink: Turning Attention into Schema Links for Text-to-SQLcited by 0
  27. 2026From Saliency to Discriminability: Rank-Preserving Visual Token Pruning for VLM Rerankerscited by 0
  28. 2026Less Is Personal: Learning Minimal Sufficient User Profiles for Personalized Language Modelscited by 0
  29. 2026How Calibration Content Shapes Attention-Based Rerankingcited by 0
  30. 2026Component-Aware Feedback for Self-Evolving Programscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025ProRank: Prompt Warmup via Reinforcement Learning for Small Language Models Reranking
  2. 2026Tool-Adaptive LLM Reranker
  3. 2024ICLERB: In-Context Learning Embedding and Reranker Benchmark
  4. 2025Language Model Re-rankers are Fooled by Lexical Similarities
  5. 2026ResRank: Unifying Retrieval and Listwise Reranking via End-to-End Joint Training with Residual Passage Compression
  6. 2026LLM-Confidence Reranker: A Training-Free Approach for Enhancing Retrieval-Augmented Generation Systems
  7. 2024Improving Zero-shot LLM Re-Ranker with Risk Minimization
  8. 2025The Evolution of Reranking Models in Information Retrieval: From Heuristic Methods to Large Language Models