arXiv(opens in a new tab)cs.IRMay 2025Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2505.21700

Rethinking Chunk Size For Long-Document Retrieval: A Multi-Dataset Analysis

Sinchana Ramakanth Bhat, Max Rudat, Jannis Spiekermann, Nicolas Flores-Herr

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sinchana Ramakanth Bhat

Fraunhofer IAIS

Germany

sinchana.ramakanth.bhat@iais.fraunhofer.de

Jannis Spiekermann

Fraunhofer IAIS

Germany

jannis.spiekermann@iais.fraunhofer.de

Max Rudat

Fraunhofer IAIS

Germany

max.rudat@iais.fraunhofer.de

Nicolas Flores-Herr

Fraunhofer IAIS

Germany

Nicolas.Flores-Herre@iais.fraunhofer.de

June 10, 2025

ABSTRACT

Chunking is a crucial preprocessing step in retrieval-augmented generation (RAG) systems, significantly impacting retrieval effectiveness across diverse datasets. In this study, we systematically evaluate fixed-size chunking strategies and their influence on retrieval performance using multiple embedding models. Our experiments, conducted on both short-form and long-form datasets, reveal that chunk size plays a critical role in retrieval effectiveness - smaller chunks (64-128 tokens) are optimal for datasets with concise, fact-based answers, whereas larger chunks (512-1024 tokens) improve retrieval in datasets requiring broader contextual understanding. We also analyze the impact of chunking on different embedding models, finding that they exhibit distinct chunking sensitivities. While models like Stella benefit from larger chunks, leveraging global context for long-range retrieval, Snowflake performs better with smaller chunks, excelling at fine-grained, entity-based matching. Our results underscore the trade-offs between chunk size, embedding models, and dataset characteristics, emphasizing the need for improved chunk quality measures, and more comprehensive datasets to advance chunk-based retrieval in long-document Information Retrieval (IR).

1 Introduction

Retrieval-Augmented Generation (RAG) has emerged as a powerful paradigm in natural language processing (NLP), enabling large language models (LLMs) to enhance response accuracy by incorporating relevant external knowledge retrieved from document corpora [1] [2]. This approach has significantly improved performance in knowledge-intensive tasks by mitigating the limitations of parametric memory in LLMs and enhancing factual consistency [3]. The effectiveness of RAG systems heavily depend on document chunking strategies, which segment textual data into manageable units before retrieval. Among various chunking techniques, fixed-size token-based chunking remains a prevalent method due to its simplicity and ease of implementation [4]. Fixed-size chunking segments documents into uniform token-length chunks, ensuring compatibility with transformer-based architectures that have strict token limits [5].

However, despite its widespread adoption, the robustness of this approach across varied document lengths remains underexplored. The effectiveness of fixed-size chunking can be influenced by factors such as information dispersion across chunks, redundancy in retrieval, and retrieval precision [6]. Understanding these factors is crucial to optimizing retrieval performance and downstream generation quality in RAG applications.

The importance of dataset characteristics in retrieval performance has been well established. Some datasets exhibit high answer locality, where relevant spans are concentrated within a few sentences, while others require reasoning over long

Table 1: Overview of dataset statistics, including key properties. Datasets that were stitched together to create longer synthetic documents are marked with an asterisk (*) next to their names.

Dataset# DocsQ/DocTokens/DocTokens/QTokens/AUnique Tokens/Doc
NarrativeQA10731.951830.48.512.68983.5
Natural Questions (NQ)250101.06918.29.06.82864.8
NewsQA*68511.98484.56.55.23265.3
COVID-QA*552.110009.28.811.12904.5
TechQA*4510.67597.251.146.92130.1
SQuAD*30643.77998.39.93.92949.3

contexts spanning multiple chunks [7]. Recent studies have highlighted that datasets with diverse document structures demand adaptive chunking strategies to optimize retrieval effectiveness [8]. Additionally, the role of embedding models in retrieval varies - encoder-based models tend to benefit from exact term matching, whereas decoder-based models leverage broader contextual cues [9].

Despite its widespread use, fixed-size chunking may not be optimal for all datasets. For instance, hierarchical chunking methods have been shown to improve retrieval by preserving semantic coherence within chunks [10]. Moreover, the challenge of evaluating chunking strategies stems from the difficulty of establishing ground truth relevance in retrieval [11]. While prior work has explored chunking in traditional retrieval systems, there is limited research on how fixed-size chunking impacts retrieval performance across documents of varying domains in modern RAG architectures. We address this research gap through a structured set of ablations on different domain-specific datasets across different chunk sizes and embedding models. For reproducibility of results, our code is available on Github 1^{1} . Our key contributions can be summarized as follows:

  • We systematically evaluate the impact of fixed-size chunking on retrieval effectiveness across multiple datasets, analyzing recall@k trends for different chunk sizes and embedding models.

  • We investigate how document length, domain, and dataset diversity influence retrieval performance, providing insights into chunk size selection for different question-answering scenarios.

  • We explore retrieval biases across different embedding models, highlighting how chunking strategies interact with model architectures to optimize retrieval outcomes of chunk size.

References (30)