Manuscript Offprint

arXiv:2509.11552

HiChunk: Evaluating and Enhancing Retrieval-Augmented Generation with Hierarchical Chunking

Wensheng Lu, Keyu Chen, Ruizhi Qiao, Xing Sun

Wensheng Lu ∗1^{*1} Keyu Chen ∗1^{*1} Ruizhi Qiao 1^{1} Xing Sun 1^{1}

1^{1}Tencent Youtu Lab

Retrieval-Augmented Generation (RAG) enhances the response capabilities of language models by integrating external knowledge sources. However, document chunking as an important part of RAG system often lacks effective evaluation tools. This paper first analyzes why existing RAG evaluation benchmarks are inadequate for assessing document chunking quality, specifically due to evidence sparsity. Based on this conclusion, we propose HiCBench, which includes manually annotated multi-level document chunking points, synthesized evidence-dense question answer(QA) pairs, and their corresponding evidence sources. Additionally, we introduce the HiChunk framework, a multi-level document structuring framework based on fine-tuned LLMs, combined with the Auto-Merge retrieval algorithm to improve retrieval quality. Experiments demonstrate that HiCBench effectively evaluates the impact of different chunking methods across the entire RAG pipeline. Moreover, HiChunk achieves better chunking quality within reasonable time consumption, thereby enhancing the overall performance of RAG systems.

Date: Sep 15, 2025

Correspondence: Ruizhi.Qiao@tencent.com

Code: https://github.com/TencentYoutuResearch/HiChunk.git

Data: https://huggingface.co/datasets/Youtu-RAG/HiCBench

1 Introduction

RAG (Retrieval-Augmented Generation) enhances the quality of LLM responses to questions beyond their training corpus by flexibly integrating external knowledge through the retrieval of relevant content chunks as prompts[Lewis et al., 2020]. This approach helps reduce hallucinations[Chen et al., 2024, Zhang et al., 2025], especially when dealing with real-time information[He et al., 2022] and specialized domain knowledge[Wang et al., 2023, Li et al., 2023]. Document chunking, a crucial component of RAG systems, significantly impacts the quality of retrieved knowledge and, consequently, the quality of responses. Poor chunking methods may separate continuous fragments, leading to information loss, or combine unrelated information, making it more challenging to retrieve relevant content. For instance, as noted in Bhat et al. [2025], the optimal chunk size varies significantly across different datasets.

Although numerous benchmarks exist for evaluating RAG systems[Bai et al., 2024, Dasigi et al., 2021, Duarte et al., 2024, Zhang et al., 2024, Yang et al., 2018, Kočiský et al., 2018, Pang et al., 2021], they mostly focus on assessing either the retriever's capability or the reasoning ability of the response model, without effectively evaluating chunking methods. We analyzed several datasets to determine the average word and sentence count of evidence. As shown in Table 1, existing benchmarks generally suffer from evidence sparsity, where only a few sentences in the document are relevant to the query. As illustrated in Figure 1, this sparsity of

∗^{*} Equal Contribution

HiChunk

evidence makes these datasets inadequate for evaluating the performance of chunking methods. In reality, user tasks might be evidence-dense, such as enumeration or summarization tasks, requiring chunking methods to accurately and completely segment semantically continuous fragments. Therefore, it is essential to effectively evaluate chunking methods.

To address this, we introduce Hierarchical Chunking Benchmark(HiCBench), a benchmark for document QA designed to effectively evaluate the impact of chunking methods on different components of RAG systems, including the performance of document chunking, retrievers, and response models. HiCBench's original documents are sourced from OHRBench. We curated documents of appropriate length for the corpus and manually annotated chunking points at various hierarchical levels for evaluation purposes. These points are used to assess the chunker's performance and construct QA pairs, followed by using LLMs and the annotated document structure to create evidence-dense QA, and finally extracting relevant evidence sentences and filtering non-compliant samples using LLMs.

Additionally, existing document chunking methods only consider linear document structure[Duarte et al., 2024, Xiao et al., 2024, Zhao et al., 2025, Wang et al., 2025], while user problems may involve fragments with different semantic granularity, and linear document structure makes it difficult to adaptively adjust during retrieval. Therefore, we propose the Hierarchical Chunking framework(HiChunk), which employs fine-tuned LLMs for hierarchical document structuring and incorporates iterative reasoning to address the challenge of adapting to extremely long documents. For hierarchically structured documents, we introduce the Auto-Merge retrieval algorithm, which adaptively adjusts the granularity of retrieval chunks based on the query, thereby maximizing retrieval quality.

In this work, our main contributions are as follows:

  • We introduce HiCBench, a benchmark designed to assess the performance of chunker and the impact of chunking methods on retrievers and response models within RAG systems. HiCBench includes information on chunking points at different hierarchical levels of documents, as well as sources of evidence and factual answers related to evidence-dense QA, enabling better evaluation of chunking methods.
  • We propose the HiChunk framework, a document hierarchical structuring framework that allows RAG systems to dynamically adjust the semantic granularity of retrieval chunks.
  • We conduct comprehensive performance evaluations on several open-source datasets and HiCBench, analyzing the impact of different chunking methods across three dimensions: performance of chunker, retriever, and responder.

Table 1. Statistics of document QA benchmark.

DatasetQasperOHRBenchGutenQA
Numdoc\text{Num}_{doc}4161261100
Sentd\text{Sent}_{d}1641765,373
Wordd\text{Word}_{d}4.2k5.4k146.5k
Numqa\text{Num}_{qa}1,3728,4983,000
Wordq\text{Word}_{q}8.920.616.0
Worda\text{Word}_{a}16.05.626.0
Worde\text{Word}_{e}239.436.539.3
Sente\text{Sent}_{e}10.51.71.7

Figure

Figure 1. Different chunk methods produce same answer.

HiChunk

References (59)