SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.10413 · ACL · 2025

Hierarchical Document Refinement for Long-context Retrieval-augmented Generation

Yuyao Zhang, Yongkang Wu, Guanting Dong, Zhicheng Dou, Xiaoxi Li, Jiajie Jin, Yutao Zhu, Qi Ye, Zhonghua Li

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Real-world RAG applications often encounter long-context input scenarios, where redundant and noisy information results in higher inference costs and reduced performance. To address these challenges, we propose LongRefiner, an efficient plug-and-play refiner that leverages the inherent structural characteristics of long documents. LongRefiner employs dual-level query analysis, hierarchical document structuring, and adaptive refinement through multi-task learning on a single foundation model. Experiments on seven QA datasets demonstrate that LongRefiner achieves competitive performance in various scenarios while using 10x fewer computational costs and latency compared to the best baseline. Further analysis validates that LongRefiner is scalable, efficient, and effective, providing practical insights for real-world long-text RAG applications. Our code is available at https: //github.com/ignorejjj/LongRefiner.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.10413")
get_code_for_paper("2505.10413")
have("2505.10413")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.10413.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.10413.svg)](https://syntology.ai/paper/2505.10413)

Connect an agent — have() is free.