Enhancing Retrieval Augmented Generation with Hierarchical Text Segmentation Chunking

Hai Toan Nguyen, Tien Dat Nguyen, Viet Ha Nguyen
7/14/2025
cs.CLcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Retrieval-Augmented Generation (RAG) systems commonly use chunking strategies for retrieval, which enhance large language models (LLMs) by enabling them to access external knowledge, ensuring that the retrieved information is up-to-date and domain-specific. However, traditional methods often fail to create chunks that capture sufficient semantic meaning, as they do not account for the underlying textual structure. This paper proposes a novel framework that enhances RAG by integrating hierarchical text segmentation and clustering to generate more meaningful and semantically coherent chunks. During inference, the framework retrieves information by leveraging both segment-level and cluster-level vector representations, thereby increasing the likelihood of retrieving more precise and contextually relevant information. Evaluations on the NarrativeQA, QuALITY, and QASPER datasets indicate that the proposed method achieved improved results compared to traditional chunking techniques.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nguyen2025enhancing,
  title  = {Enhancing Retrieval Augmented Generation with Hierarchical Text Segmentation Chunking},
  author = {Hai Toan Nguyen and Tien Dat Nguyen and Viet Ha Nguyen},
  year   = {2025},
  eprint = {2507.09935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.09935v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.09935.svg)](https://codeofpaper.com/paper/2507.09935)

Discussion