Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Query-focused and Memory-aware Reranker for Long Context Processing

About

Built upon the existing analysis of retrieval heads in large language models, we propose an alternative reranking framework that trains models to estimate passage-query relevance using the attention scores of selected heads. This approach provides a listwise solution that leverages holistic information within the entire candidate shortlist during ranking. At the same time, it naturally produces continuous relevance scores, enabling training on arbitrary retrieval datasets without requiring Likert-scale supervision. Our framework is lightweight and effective, requiring only small-scale models (e.g., 4B parameters) to achieve strong performance. Extensive experiments demonstrate that our method outperforms existing state-of-the-art pointwise and listwise rerankers across multiple domains, including Wikipedia and long narrative datasets. It further establishes a new state-of-the-art on the LoCoMo benchmark that assesses the capabilities of dialogue understanding and memory usage. We further demonstrate that our framework supports flexible extensions. For example, augmenting candidate passages with contextual information further improves ranking accuracy, while training attention heads from middle layers enhances efficiency without sacrificing performance.

Yuqing Li, Jiangnan Li, Mo Yu, Guoxuan Ding, Zheng Lin, Weiping Wang, Jie Zhou• 2026

Related benchmarks

TaskDatasetResultRank
Long-context Question AnsweringLocomo
Average F157.32
64
Question AnsweringNarrativeQA
F133.61
36
RetrievalHotpotQA
R@596.9
24
RetrievalMuSiQue
Recall@577.37
10
RetrievalNarrativeQA
Recall@329.11
8
RetrievalDetectiveQA
Recall@332.22
8
RetrievalOverall (Musique, HotpotQA, NarrativeQA, DetectiveQA)
Avg Recall@356.64
8
Question AnsweringDetectiveQA
Accuracy67.25
6
Retrieval and RerankingLoCoMo (test)
Recall@387.34
5
Showing 9 of 9 rows

Other info

Follow for update