Back to search

Nanyang Technological University

Recursive retrieval RAG for long-text semantic modeling

Abstract

dc:description.abstract

Retrieval-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 × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/201357

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Shi, Tianhao. Recursive retrieval RAG for long-text semantic modeling. Nanyang Technological University, 2025. https://hdl.handle.net/10356/201357