Nanyang Technological University
Recursive retrieval RAG for long-text semantic modeling
Abstract
dc:description.abstractRetrieval-Augmented Generation (RAG) has become a powerful paradigm for enhancing language models with external knowledge access. However, in long-document scenarios, conventional RAG systems often suffer from semantic fragmentation, redundant retrieval, and lack of structural organization, which limit their effectiveness in complex reasoning tasks. To address these challenges, this study implements a recursive semantic modeling framework—Recursive Retrieval RAG for Long-Text Semantic Modeling—that constructs a multi-level hierarchical index to improve retrieval granularity and semantic coherence. The implemented framework first segments documents into semantically coherent chunks, encodes them using Sentence-BERT, and performs dimensionality reduction via UMAP followed by soft clustering with Gaussian Mixture Models. A recursive abstraction mechanism is introduced to summarize clustered content, yielding a semantic tree that captures both local and global representations. At inference, two structure-aware retrieval strategies—Layer-wise Traversal and Global Ranking—are employed to retrieve semantically relevant and hierarchically consistent context for response generation. Experiments conducted on three long-document QA benchmarks (NarrativeQA, QASPER, and QuALITY) demonstrate that the implemented framework consistently outperforms non-structured baselines across various retrievers (BM25, SBERT, DPR, BGE) and language models (DeepSeek-R1, Qwen2.5-7B-Instruct, Meta-LLaMA-3.1-8B-Instruct). Further ablation studies validate the effectiveness of the recursive structure and BIC-guided clustering. The results confirm the framework's generalizability, structural advantages, and potential for long-context retrieval-augmented applications.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Shi, Tianhao
- Advisor dc:contributor.supervisor
-
- Tan Yap Peng
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/201357