A New HOPE: Domain-agnostic Automatic Evaluation of Text Chunking

Henrik Brådland, Morten Goodwin, Per-Arne Andersen, Alexander S. Nossum, Aditya Gupta
5/4/2025
cs.CLcs.AI

No official code found. Best implementation: kartAI/HOPE (0 stars, MIT, last commit 2025-06-18).

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.

View on arXivView PDF

Code Implementations(1)

kartAI/HOPECommunity73%
MIT

Code for the article "A New HOPE: Domain-agnostic Automatic Evaluation of Text Chunking"

00Python, DockerfileJun 17, 20251 years agoMIT

Similar Papers

Cite this paper

@article{brdland2025hope,
  title  = {A New HOPE: Domain-agnostic Automatic Evaluation of Text Chunking},
  author = {Henrik Brådland and Morten Goodwin and Per-Arne Andersen and Alexander S. Nossum and Aditya Gupta},
  year   = {2025},
  eprint = {2505.02171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.02171v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.02171.svg)](https://codeofpaper.com/paper/2505.02171)

Discussion