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

Wensheng Lu, Keyu Chen, Ruizhi Qiao, Xing Sun · DOI

Introduction: The Chunking Bottleneck

Retrieval-Augmented Generation (RAG) has become a cornerstone for grounding Large Language Models (LLMs) in external knowledge. However, its performance is often bottlenecked by the initial "chunking" phase—the process of splitting documents into manageable segments for indexing. Most current benchmarks fail to measure chunking effectiveness because they rely on "evidence-sparse" tasks where a single sentence can answer a query. In real-world applications, users often ask "evidence-dense" questions that require information spread across multiple sections or paragraphs.

The impact of chunking on RAG: a "bad chunk" can split critical evidence, while a "good chunk" preserves context.

As illustrated above, poor chunking can fragment context, leading to incomplete or incorrect responses. This paper introduces HiCBench, a benchmark designed for evidence-dense tasks, and HiChunk, a framework that leverages hierarchical document structures to improve retrieval granularity.

The HiChunk Framework and Auto-Merge Retrieval

To address the limitations of flat, fixed-size chunking, the authors propose a two-part solution that treats documents as hierarchical trees rather than simple strings.

The HiChunk framework: (a) Iterative inference for document structuring and (b) the Auto-Merge retrieval algorithm.

1. Hierarchical Structuring

HiChunk utilizes a fine-tuned LLM (specifically Qwen3-4B) to identify the logical hierarchy of a document. It assigns IDs to sentences and predicts the boundaries of sections and subsections. To handle extremely long documents, the framework employs an Iterative Inference strategy. This processes text in overlapping windows, ensuring structural consistency across the entire document without losing the "big picture."

2. Auto-Merge Retrieval Algorithm

Once the document is structured as a tree, the system moves beyond simple leaf-node retrieval. The Auto-Merge algorithm traverses the tree dynamically. If a significant percentage of "child" chunks within a section are deemed relevant to a query, the algorithm "merges upward," retrieving the entire parent section. This ensures the LLM receives a semantically complete context rather than fragmented snippets. The algorithm uses an adaptive threshold ($\theta^*$) that becomes stricter as the token budget is consumed, balancing context richness with efficiency.

HiCBench: A New Standard for Evaluation

The study introduces HiCBench, built from the OHRBench corpus, to specifically test RAG systems on complex, distributed information. HiCBench features:

  • Manual Annotations: Human-verified hierarchical structures for ground-truth comparison.
  • Task Levels: Tasks are categorized into $T_0$ (Sparse), $T_1$ (Single-Chunk Dense), and $T_2$ (Multi-Chunk Dense) to evaluate retrieval at different depths.
  • Evidence-Dense QA: Questions designed to require information that is widely distributed across the document.

Key Results and Insights

HiChunk demonstrates significant improvements in both structural accuracy and end-to-end RAG performance:

  • Chunking Accuracy: On the Gov-Report dataset, HiChunk achieved an $F1_{Lall}$ score of 0.9882, vastly outperforming traditional Semantic Chunking (0.0616).
  • Pipeline Performance: In tests using Llama-3.1 and Qwen-3, the combination of HiChunk and Auto-Merge (HC200+AM) consistently yielded the highest Evidence Recall and Fact-Coverage scores, particularly on the more challenging $T_1$ and $T_2$ tasks.
  • Efficiency: While more complex than rule-based methods, HiChunk is optimized for speed. It processed a document from the Qasper set in approximately 1.5 seconds, compared to 5.5 seconds for other LLM-based competitors like LumberChunker.

Conclusion

HiChunk represents a shift from treating documents as flat data to understanding them as intentional structures. By combining hierarchical awareness with adaptive retrieval, the framework ensures that RAG systems can handle the complexity of real-world, evidence-dense queries. Future work will explore even more efficient models for structuring and extending the approach to multi-modal documents containing tables and images.

Summary updated

BibTeX
@inproceedings{lu2026hichunk,
  author = {Wensheng Lu and Keyu Chen and Ruizhi Qiao and Xing Sun},
  title = {{HiChunk: Evaluating and Enhancing Retrieval-Augmented Generation with Hierarchical Chunking}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1372},
}
Figure