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

Yuqing Li, Jiangnan Li, Mo Yu, Yanyu Chen, Guoxuan Ding, Zheng Lin, Wei Zhang, Jie Zhou


Abstract
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 the 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.
Anthology ID:
2026.emnlp-main.1607
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
36553–36571
Language:
URL:
https://aclanthology.org/2026.emnlp-main.1607/
DOI:
Bibkey:
Cite (ACL):
Yuqing Li, Jiangnan Li, Mo Yu, Yanyu Chen, Guoxuan Ding, Zheng Lin, Wei Zhang, and Jie Zhou. 2026. Query-focused and Memory-aware Reranker for Long Context Processing. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 36553–36571, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Query-focused and Memory-aware Reranker for Long Context Processing (Li et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.1607.pdf