Discussion about this post

User's avatar
Raghav Mehta's avatar

Worth flagging the main constraint on late chunking: the whole document has to fit in the embedding model's context window (8K tokens for the jina-embeddings-v2 models the original paper used). Past that you have to split into macro-chunks first, so you're back to choosing boundaries, just at a coarser level.

The payoff is real for reference-heavy text. Under fixed-size splitting, a chunk like "its revenue grew 3%" loses which company "its" means, while late chunking keeps that because every token was embedded with the full document in view. Curious whether anyone has measured agentic chunking against plain recursive splitting plus a reranker, since a good reranker often recovers most of what clever boundaries buy you.

Nan Deng's avatar

Agentic chunking is the one I'd want a record for, not just a better split. The agent reads the file, decides it is a contract or a table, and picks the method, but retrieval later only sees the chunks. A contract clause cut on paragraph length and a table cut on rows then look the same in the index, and a bad answer can't be traced to that choice. I'd store the label and the splitter next to each chunk, so the next run can tell a wrong method from a weak embedding.

18 more comments...

No posts

Ready for more?