A New HOPE: Domain-agnostic Automatic Evaluation of Text Chunking
Henrik Brådland, Morten Goodwin, Per-Arne Andersen, Alexander S. Nossum, Aditya Gupta
TL;DR
This work investigates how the way documents are chunked into passages affects Retrieval-Augmented Generation (RAG) performance, highlighting that LLMs are sensitive to data layout and structure. It introduces HOPE, a domain-agnostic automatic evaluation that quantifies chunking quality across intrinsic passage properties, extrinsic passage properties, and passages-document coherence, without requiring annotated data. Across seven domains, HOPE correlates with RAG performance, with semantic independence driving substantial gains in factual and answer correctness, while concept unity shows minimal or even negative impact. The findings offer actionable guidance for designing chunking strategies and suggest future directions such as reward-based chunk boundary optimization and domain-adaptive HOPE applications to improve factuality and response quality in RAG systems.
Abstract
Document chunking fundamentally impacts Retrieval-Augmented Generation (RAG) by determining how source materials are segmented before indexing. Despite evidence that Large Language Models (LLMs) are sensitive to the layout and structure of retrieved data, there is currently no framework to analyze the impact of different chunking methods. In this paper, we introduce a novel methodology that defines essential characteristics of the chunking process at three levels: intrinsic passage properties, extrinsic passage properties, and passages-document coherence. We propose HOPE (Holistic Passage Evaluation), a domain-agnostic, automatic evaluation metric that quantifies and aggregates these characteristics. Our empirical evaluations across seven domains demonstrate that the HOPE metric correlates significantly (p > 0.13) with various RAG performance indicators, revealing contrasts between the importance of extrinsic and intrinsic properties of passages. Semantic independence between passages proves essential for system performance with a performance gain of up to 56.2% in factual correctness and 21.1% in answer correctness. On the contrary, traditional assumptions about maintaining concept unity within passages show minimal impact. These findings provide actionable insights for optimizing chunking strategies, thus improving RAG system design to produce more factually correct responses.
