WhoBuilt

Stop Chunking Like It's 2022

Sep 16, 2026· 18 min· 30K views·Watch on YouTube

Speaker

Yuval Belfer of AI21 Labs explains why chunking still matters for retrieval at an AI Engineer talk.

Why chunking still matters

Belfer argues that agentic search tools such as grabs, ls, and find do not fully solve retrieval across large, varied datasets. Search can be costly and inefficient when information is scattered across many folders, such as finding which team won the most World Cups across records for every tournament.

Chunk size depends on the query

Belfer describes chunking as lossy compression: large chunks preserve context but can lose nuance, while small chunks can miss the bigger picture. In Seinfeld examples, a focused question about Jerry’s favorite shirt worked better with small chunks, while finding Newman as Jerry’s nemesis required more context. He argues there is no single best chunk size because performance depends on the query.

Measuring the opportunity

Belfer’s experiments duplicated datasets into indexes with different chunk sizes, including QMSum, NarrativeQA, and an in-house Seinfeld trivia dataset. An oracle that selected the best chunk size per query achieved a 20% to 40% gain in recall over fixed-size chunking across several datasets. The oracle was for evaluation only, since a real system does not know the answer in advance.

Combining multiple chunk sizes

Belfer frames the challenge as an information gap: chunk sizes are chosen at indexing time, before queries are known, and cannot be changed at retrieval time. His multi-scale indexing approach keeps copies of the data chunked at several sizes, retrieves from each index, then combines document rankings with reciprocal rank fusion (RRF). Tests on QMSum, NarrativeQA, SciFact, and FinanceBench matched or improved on the best fixed-size results, with reported gains reaching 20% to 40%.

Costs and next steps

Multi-scale indexing uses extra memory to store several database copies, estimated at a constant factor of roughly two to five. Belfer says retrieval calls can run in parallel, so latency is not substantially affected, and RRF adds little processing time. Future work includes choosing the number and sizes of chunks and evaluating better ranking combination methods.

Takeaways

  • Treat chunk size as query-dependent; a single setting can miss either detail or context.
  • Evaluate retrieval on different query types, since one dataset can favor different chunk sizes for different questions.
  • Consider indexing several chunk sizes and combining document rankings with RRF when recall is important.
  • Budget for roughly two to five times the index memory when using multi-scale indexing.
  • Tune the number and spacing of chunk sizes instead of assuming a fixed set is optimal.

Mentioned in this talk

Search inside this talk

What was claimed 5

Related talks