Evaluating document chunking approaches for retrieval augmented generation in editorial content

Read full text
Authors: Erwann Lavarec, Yu Du
Cited by: 1

Abstract

Retrieval-augmented generation (RAG) systems promise grounded answers from large language models (LLMs), yet performance depends critically on how source documents are segmented before indexing. This study investigates how pre-index chunking strategies affect both retrieval accuracy and answer quality in domain-specific scenarios. We curated a corpus on software-as-a-service (SaaS) editorial content and constructed a high-quality evaluation dataset containing 2,419 question-answer (QA) pairs generated through automated prompting and quality control. We compared four chunking approaches, including fixed-size, structure-aware recursive, semantic, and LLM-based methods. Our evaluation protocol assessed retrieval through document localization, semantic similarity, and context relevance, while generation quality was evaluated using chain-of-thought (CoT) criteria driven by judgments from LLMs. Results demonstrate that recursive chunking consistently outperforms other approaches across all metrics. Smaller chunks improve document localization, while moderately larger chunks enhance semantic alignment and generation scores. LLM based chunking variants show competitive performance but do not exceed top recursive configurations on the dataset. These findings indicate that preserving document structure through recursive chunking is beneficial for practical RAG implementations, providing actionable guidance for chunk size selection while highlighting token-budget constraints in current long context models.

Fields of Study & Subjects

Topic Modeling Expert finding and Q&A systems Information Retrieval and Search Behavior

Publication details

Journal / source
IAES International Journal of Artificial Intelligence
Publisher
Institute of Advanced Engineering and Science
Volume
15
Issue
2
Pages
1909–1909
Publication date
1 April 2026