Chunking Strategy
A set of technical approaches used in RAG pipelines and local indexing to split documents or code into retrievable units. Common strategies include fixed-length chunking, semantic-boundary chunking, and sliding-window chunking. The chosen granularity directly affects the trade-off between retrieval precision and contextual completeness.
Timeline (last 90 days)
Register recycling techniques typically need to be co-designed with specific tiling strategies and place high demands on the compiler's register allocation algorithm.
The chunking strategy cuts a large image into multiple chunks so that each chunk is encoded at close to the original pixel density, thereby increasing effective resolution, but it increases token consumption and context budget and may lose information at chunk boundaries.
Chunking strategies (such as fixed-length chunking, chunking by paragraph/heading, overlapping chunking) and the number of retrieved snippets need to be adjusted as a trade-off: chunks that are too large add noise, while chunks that are too small lose context; the more snippets, the richer the context, but the greater the inference burden and latency.
The recall quality of semantic retrieval depends on the vectorization scheme and chunking strategy, and poor tuning instead introduces noise.
Two strategies may produce the same number of chunks, but the size variance differs enormously; high variance usually means some chunks are extremely small and some extremely large, which directly affects retrieval stability.
When recall@5 on adversarial questions is low, the correct action is to go back and check the chunking strategy; only after recall@5 meets the bar is it meaningful to invest in optimizing the embedding model or reranker.
There is no universal value for chunk size; 256-512 tokens is a common starting point, but technical documents may need to be chunked by heading hierarchy.
Common chunking methods include splitting by fixed character count, splitting by sentence/paragraph boundaries, and sliding splits with overlapping windows
All Facts (9)
Common chunking methods include splitting by fixed character count, splitting by sentence/paragraph boundaries, and sliding splits with overlapping windows
60%UnverifiedRegister recycling techniques typically need to be co-designed with specific tiling strategies and place high demands on the compiler's register allocation algorithm.
50%UnverifiedThe chunking strategy cuts a large image into multiple chunks so that each chunk is encoded at close to the original pixel density, thereby increasing effective resolution, but it increases token consumption and context budget and may lose information at chunk boundaries.
50%UnverifiedChunking strategies (such as fixed-length chunking, chunking by paragraph/heading, overlapping chunking) and the number of retrieved snippets need to be adjusted as a trade-off: chunks that are too large add noise, while chunks that are too small lose context; the more snippets, the richer the context, but the greater the inference burden and latency.
50%UnverifiedThe recall quality of semantic retrieval depends on the vectorization scheme and chunking strategy, and poor tuning instead introduces noise.
50%UnverifiedTwo strategies may produce the same number of chunks, but the size variance differs enormously; high variance usually means some chunks are extremely small and some extremely large, which directly affects retrieval stability.
50%UnverifiedWhen recall@5 on adversarial questions is low, the correct action is to go back and check the chunking strategy; only after recall@5 meets the bar is it meaningful to invest in optimizing the embedding model or reranker.
50%UnverifiedThere is no universal value for chunk size; 256-512 tokens is a common starting point, but technical documents may need to be chunked by heading hierarchy.
50%Unverified向量检索的效果高度依赖于分块策略,常用方法包括固定长度分块、基于语义的分块以及递归分块
50%