Lune

ACL2025Top-tier venue

Sliding Windows Are Not the End: Exploring Full Ranking with Long-Context Large Language Models

Wenhan Liu, Xinyu Ma, Yutao Zhu, Ziliang Zhao, Shuaiqiang Wang, Dawei Yin, Zhicheng Dou

Abstract

Large Language Models (LLMs) have shown exciting performance in listwise passage ranking. Due to the limited input length, existing methods often adopt the sliding window strategy. Such a strategy, though effective, is inefficient as it involves repetitive and serialized processing, which usually re-evaluates relevant passages multiple times. As a result, it incurs redundant API costs, which are proportional to the number of inference tokens. The development of long-context LLMs enables the full ranking of all passages within a single inference, avoiding redundant API costs. In this paper, we conduct a comprehensive study of long-context LLMs for ranking tasks in terms of efficiency and effectiveness. Surprisingly, our experiments reveal that full ranking with long-context LLMs can deliver superior performance in the supervised fine-tuning setting with a huge efficiency improvement. Furthermore, we identify two limitations of fine-tuning the full ranking model based on existing methods: (1) sliding window strategy fails to produce a full ranking list as a training label, and (2) the language modeling loss cannot emphasize top-ranked passage IDs in the label. To alleviate these issues, we propose a new complete listwise label construction approach and a novel importance-aware learning objective for full ranking. Experiments show the superior performance of our method over baselines. Our codes are available at https://github.com/8421BCD/fullrank.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Compress-then-Rank: Faster and Better Listwise Reranking with Large Language Models via Ranking-Aware Passage Compression cites Document Ranking with a Pretrained Sequence-to-Sequence Model
  • Compress-then-Rank: Faster and Better Listwise Reranking with Large Language Models via Ranking-Aware Passage Compression cites Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Models
  • Compress-then-Rank: Faster and Better Listwise Reranking with Large Language Models via Ranking-Aware Passage Compression cites TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategy
  • Compress-then-Rank: Faster and Better Listwise Reranking with Large Language Models via Ranking-Aware Passage Compression cites Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents
  • Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Models cites Document Ranking with a Pretrained Sequence-to-Sequence Model
  • Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Models cites TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategy
  • Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Models cites Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents
  • TFRank: Think-Free Reasoning Enables Practical Pointwise LLM Ranking cites Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents
  • Retrieval meets Long Context Large Language Models cites LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
  • ReasonRank: Empowering Passage Ranking with Strong Reasoning Ability cites TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategy
  • ReasonRank: Empowering Passage Ranking with Strong Reasoning Ability cites Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents
  • TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategy cites Document Ranking with a Pretrained Sequence-to-Sequence Model
  • Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agents cites Document Ranking with a Pretrained Sequence-to-Sequence Model
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired StrategyYiqun Chen, Qi Liu, Yi Zhang, Weiwei Sun et al.WWW 2025 · 52 citations
  2. ReasonRank: Empowering Passage Ranking with Strong Reasoning AbilityWenhan Liu, Xinyu Ma, Weiwei Sun, Yutao Zhu et al.ACL 2026 · 43 citations
  3. Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language ModelsQi Liu, Bo Wang, Nan Wang, Jiaxin MaoWWW 2025 · 26 citations
  4. TFRank: Think-Free Reasoning Enables Practical Pointwise LLM RankingYongqi Fan, Xiaoyang Chen, Dezhi Ye, Jie Liu et al.AAAI 2026 · 9 citations
  5. Compress-then-Rank: Faster and Better Listwise Reranking with Large Language Models via Ranking-Aware Passage CompressionZhewei Zhi, Yingyi Zhang, Yizhen Jing, Xianneng Li et al.AAAI 2026 · 1 citation

Builds on9

  1. Document Ranking with a Pretrained Sequence-to-Sequence ModelRodrigo Nogueira, Zhiying Jiang, Ronak Pradeep, Jimmy LinEMNLP Findings 2020 · 469 citations
  2. Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking AgentsWeiwei Sun, Lingyong Yan, Xinyu Ma, Shuaiqiang Wang et al.EMNLP 2023 · 182 citations
  3. Retrieval meets Long Context Large Language ModelsPeng Xu, Wei Ping, Xianchao Wu, Lawrence McAfee et al.ICLR 2024 · 131 citations
  4. NEFTune: Noisy Embeddings Improve Instruction FinetuningNeel Jain, Ping-yeh Chiang, Yuxin Wen, John Kirchenbauer et al.ICLR 2024 · 120 citations
  5. LongBench: A Bilingual, Multitask Benchmark for Long Context UnderstandingYushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu et al.ACL 2024 · 94 citations

Related papers

  1. LongRanker: Efficient One-Pass Document Reranking with Long-Context Large Language ModelsChangjiang Zhou, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke et al.WWW 2026
  2. CoRanking: Collaborative Ranking with Small and Large Ranking AgentsWenhan Liu, Xinyu Ma, Yutao Zhu, Lixin Su et al.EMNLP Findings 2025
  3. Self-Calibrated Listwise Reranking with Large Language ModelsRuiyang Ren, Yuhao Wang, Kun Zhou, Wayne Xin Zhao et al.WWW 2025 · 12 citations
  4. EcoRank: Budget-Constrained Text Re-ranking Using Large Language ModelsMuhammad Shihab Rashid, Jannat Ara Meem, Yue Dong, Vagelis HristidisACL Findings 2024 · 3 citations
  5. GroupRank: A Groupwise Paradigm for Effective and Efficient Passage Reranking with LLMsMeixiu Long, Duolin Sun, Dan Yang, Yihan Jiao et al.ACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines