Document splitting is often the first place a RAG pipeline breaks. Even top-tier LLMs return weak answers when poorly placed chunk boundaries sever tables, pronouns, or logical arguments before retrieval even starts.

Five Intrinsic Metrics for Label-Free Chunk Scoring

Because documents vary widely in layout and discourse flow, a single fixed chunking rule fails across mixed corpora. Adaptive Chunking evaluates split quality without ground-truth QA labels using five intrinsic metrics. Referential Completeness (RC) tracks unresolved pronouns across boundaries, while Block Integrity (BI) checks whether tables, lists, and figures stay intact.

Intra-Chunk Coherence (ICC) measures semantic similarity inside each chunk, Discourse Contextual Coherence (DCC) evaluates transitions across neighboring chunks, and Size Compliance (SC) penalizes deviations from target token ranges. Scoring candidate outputs across these five signals lets the pipeline pick the highest-scoring splitter per document.

LLM Regex Splitters and Two-Pass Split-then-Merge

The authors also add two chunking methods to expand the candidate pool. First, the LLM Regex Splitter inspects document structure once with an LLM to synthesize custom regular-expression boundary rules, avoiding expensive per-boundary LLM calls across long files.

Second, the Split-then-Merge two-pass recursive splitter recombines fine-grained fragments to preserve context while staying within token limits. A post-processing pass re-splits oversized chunks and merges undersized ones so token budgets stay predictable.

For document ingestion, the framework defaults to open-source Docling while also supporting lightweight PyMuPDF and cloud parsing APIs, passing extracted structural metadata straight into the chunking engine.

Measurable Gains in End-to-End RAG Accuracy

Evaluated on RAG benchmarks without changing the downstream LLM or prompt templates, switching from a single fixed splitter to per-document adaptive selection lifted answer accuracy from 62-64% to roughly 72%. The number of questions answered accurately jumped by more than 30%, showing how much retrieval headroom sits inside document boundary decisions alone.

Summary

  • Replaces one-size-fits-all splitting with per-document strategy selection driven by document layout and discourse flow.
  • Automates label-free chunk evaluation across 5 intrinsic metrics (RC, BI, ICC, DCC, and SC).
  • Pairs a one-shot LLM Regex Splitter with Split-then-Merge post-processing to lift RAG answer accuracy from 62-64% to around 72%.