Chunking Is a Relevance Decision, Not an ETL Step
Chunk boundaries change what search can find and what an answer can prove. Treat chunk size, overlap and surrounding context as relevance parameters you can test.
Somewhere in your ingestion code, there is probably a number like 512. Someone chose it when the first documents went into the index. Since then, you've changed the embedding model, added a reranker and spent an afternoon adjusting the prompt. The number is still there.
That number decides whether a table arrives with its heading, whether a qualification stays beside the claim it qualifies, and whether five search results contain five pieces of evidence or five overlapping copies of one paragraph. It deserves the same scrutiny as a ranking weight.
Chunking defines the units a retrieval system can find, score and return. Changing those units changes relevance, even when the query, model and ranking algorithm stay fixed. The splitter can run in an ingestion job; ownership of its behavior belongs with the people evaluating search.
The studies disagree because they measure different jobs
Ask for the best chunk size and you can find a study to support almost any reasonable answer. Read the experiments, though, and the disagreement becomes useful.
Chroma's 2024 evaluation measured retrieved evidence at the token level. It rewarded finding relevant text without surrounding it with unnecessary material. A simple recursive splitter using 200-token chunks and no overlap was a strong baseline. Large overlapping chunks could retrieve the evidence while scoring poorly on precision: getting the right sentence back inside a much larger passage isn't the same as getting a useful passage back.
NVIDIA's 2025 evaluation asked a different question: how accurately does the complete RAG system answer? Across five datasets, page-level chunking had the highest average score, 0.648. The best token size varied by dataset; FinanceBench favored 1,024 tokens, while Earnings favored 512. Tables and charts were preserved as separate, complete units in that experiment, a consequential detail if you're trying to reproduce it.
| Evaluation | What it measured | What to take into your own experiment |
|---|---|---|
| Chroma | Relevant tokens recovered and irrelevant tokens retrieved | Measure how much of the returned context is useful |
| NVIDIA | Answer accuracy in a particular RAG pipeline | Test whether passages carry enough context to answer |
| Qu, Tu and Bao | Document retrieval, evidence retrieval and answer generation | Compare an expensive semantic splitter with a simple baseline |
The third study, Is Semantic Chunking Worth the Computational Cost?, found that semantic splitting did not deliver consistent gains sufficient to justify its additional computation. That doesn't rule it out for your corpus. It does remove the presumption that a more elaborate splitter deserves to be the default.
A precise question about an invoice date and a question about why a company's margins fell need different amounts of evidence. An average across both can hide an improvement for one and a regression for the other. Split your evaluation by question type before deciding that one chunk size won.
A paragraph can lose its meaning without losing a word
Consider a passage that begins, “Revenue increased 12% over the same period.” Every word survived extraction. The company, reporting period and business unit didn't, because they were in the section heading.
Increasing chunk size might recover that heading. It might also add several unrelated business units. There are more targeted ways to retain context.
Anthropic's Contextual Retrieval prepends a short, generated explanation of a chunk's place in its document before indexing it. In Anthropic's tests, contextual embeddings combined with contextual BM25 reduced top-20 retrieval failures by 49%; adding reranking brought the reduction to 67%, from 5.7% to 1.9%. Those are retrieval-failure measurements in that setup, not a promised improvement in answer accuracy.
Notice that the lexical index receives the context too. Adding a company name or section subject changes which queries can match the passage, not just where its vector lands. Generated context also needs checking: a wrong date in the preamble can make a passage easier to retrieve for the wrong question. Keep it distinguishable from the source text used as evidence.
Late chunking takes another route. A compatible long-context embedding model processes the document's tokens together, then pools their contextual representations into separate chunk vectors. Nearby text can influence a chunk's representation without being copied into its returned text. This requires access to token representations and an appropriate model; it isn't a postprocessing trick you can apply to any document embedding.
For many collections, the first experiment can be simpler than either technique: carry the title, section path and source revision with each chunk. Then test whether generated context or late chunking adds enough to pay for itself.
Overlap has a bill, and top-k can hide it
For long documents split into fixed windows, a chunk size of s and overlap of o gives an approximate duplication factor of s / (s - o), ignoring document ends. An 800-token window with 400-token overlap processes roughly twice as many tokens as non-overlapping windows. That's arithmetic, not a benchmark, and it assumes each window is embedded independently.
The duplicate text may be buying recall at boundaries. It may also fill the result set with near-identical passages. Measure both effects. Deduplicating returned passages saves context, but it doesn't refund the work already spent embedding and indexing them.
There is another trap in the comparison. Ten 1,024-token chunks give the answer model roughly four times the text budget of ten 256-token chunks. Holding k fixed doesn't hold the experiment's resources fixed.
Run two comparisons: one under your existing API settings, and one under the same total returned-token budget. Record evidence coverage, answer quality and tokens actually read. When chunks overlap, score unique source spans as well as raw returned text, so repeated evidence doesn't look like additional coverage.
An agent that can fetch neighboring passages offers a useful alternative: retrieve a narrow passage first, then expand when the question requires it. This trades smaller initial responses for extra calls and possible missed context. A question spanning several sections may still favor a larger retrieval unit. Give both approaches the same task set and let the failures tell you which to keep.
Make the next chunking experiment cheap
Keep original documents and stable source offsets. Store the parser version, chunker version, size, overlap, context method and embedding model alongside the derived index. Otherwise, “try a different splitter” becomes an archaeology project.
A manageable first comparison has three candidates: your current setup, a smaller sentence-aware split, and a layout that respects sections or pages. Keep the embedding model, reranker and answer model fixed. Include short factual questions, questions spanning sections, tables, and documents whose headings carry essential context. Tune on one set and make the decision on held-out questions.
In WarpSearch, multi-vector fields let several passage vectors rank one document by its best matching vector. Separate chunk documents provide another layout when passages need their own fields and identities. Neither layout chooses the boundaries for you. Keep that choice explicit, and account for the documented restrictions when combining grouping with hybrid fusion.
The useful output of a chunking experiment is a set of observed failures: a missing heading, a severed table, an answer buried under duplicate context. Fix those, rerun the queries, and version the result. The next person looking at 512 should be able to find the experiment that put it there.