mlsanityData to 7 Oct 2026

Learning to Route Queries to Heads for Attention-based Re-ranking with Large Language Models

arXiv 2604.24608 ↗First posted 27 Apr 2026cs.IR cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have recently been explored as fine-grained zero-shot re-rankers by leveraging attention signals to estimate document relevance. However, existing methods either aggregate attention signals across all heads or rely on a statically selected subset identified by heuristic rules. This solution can be suboptimal because the informative heads can vary across queries or domains. Moreover, naively combining multiple heads can degrade performance due to redundancy or conflicting ranking signals. In this paper, we propose a query-dependent head selection method, RouteHead, for attention-based re-ranking with LLMs. Specifically, we learn a lightweight router that can map each query to an optimal head set, and relevance scores are computed by aggregating attention signals only from these heads. Since query-to-head optimal labels are unavailable, we first construct pseudo labels via an offline search. The router represents each head with a learnable embedding and represents each query using an embedding extracted from the hidden states of the frozen LLM. Then it is trained on the pseudo labels with a sparsity regularizer. Experiments on diverse benchmarks and multiple LLM backbones show that the proposed method consistently outperforms strong baselines.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 43 of its 54 references that are in the map. First posted on arXiv 27 Apr 2026.

Builds on

43 of 54 references.

References · 43

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  4. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  5. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  6. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
  7. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  8. 2019Are Sixteen Heads Really Better than One?cited by 803
  9. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  10. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
  11. 2020Fact or Fiction: Verifying Scientific Claimscited by 546
  12. 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
31 more
  1. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
  2. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
  3. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
  4. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
  5. 2020Distilling Knowledge from Reader to Retriever for Question Answeringcited by 226
  6. 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
  7. 2019Multi-Stage Document Ranking with BERTcited by 200
  8. 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 195
  9. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
  10. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 164
  11. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
  12. 2023ConvGQR: Generative Query Reformulation for Conversational Searchcited by 59
  13. 2024Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankerscited by 42
  14. 2024RATT: A Thought Structure for Coherent and Correct LLM Reasoningcited by 39
  15. 2023Unsupervised Dense Retrieval with Relevance-Aware Contrastive Pre-Trainingcited by 35
  16. 2025Query-Focused Retrieval Heads Improve Long-Context Reasoning and Re-rankingcited by 30
  17. 2024A Survey of Conversational Searchcited by 22
  18. 2024Ranked List Truncation for Large Language Model-based Re-Rankingcited by 20
  19. 2025A Survey of Model Architectures in Information Retrievalcited by 20
  20. 2024Query Performance Prediction using Relevance Judgments Generated by Large Language Modelscited by 18
  21. 2025UniConv: Unifying Retrieval and Response Generation for Large Language Models in Conversationscited by 11
  22. 2026OpenDecoder: Open Large Language Model Decoding to Incorporate Document Quality in RAGcited by 11
  23. 2026Revisiting Text Ranking in Deep Researchcited by 7
  24. 2025Parametric Retrieval-Augmented Generation using Latent Routing of LoRA Adapterscited by 5
  25. 2026ReAttn: Improving Attention-based Re-ranking via Attention Re-weightingcited by 5
  26. 2026StaRPO: Stability-Augmented Reinforcement Policy Optimizationcited by 5
  27. 2025Contrastive Retrieval Heads Improve Attention-Based Re-Rankingcited by 4
  28. 2022mRobust04: A Multilingual Version of the TREC Robust 2004 Benchmarkcited by 3
  29. 2026Conv-FinRe: A Conversational and Longitudinal Benchmark for Utility-Grounded Financial Recommendationcited by 3
  30. 2026Preference Heads in Large Language Models: A Mechanistic Framework for Interpretable Personalizationcited by 2
  31. 2026Context-Fidelity Boosting: Enhancing Faithful Generation through Watermark-Inspired Decodingcited by 1

Built on by

Not cited yet.