[KongchangAI]
Concept分片 / 文档分片 / 文本分割

Chunking

A preprocessing technique in RAG systems that splits long documents into smaller text segments. Common strategies include fixed-size splitting, paragraph splitting, section splitting, and semantics-based dynamic segmentation. The granularity of the resulting chunks directly affects retrieval quality.

Core Facts

Timeline (last 90 days)

Oct 30

In chunking, cutting documents too finely loses context, while cutting them too large dilutes semantics and takes up the context window; chunk size, overlap length and split boundaries are among the hyperparameters most worth prioritizing for tuning during retrieval evaluation.

Unverified50%
Oct 16

Chunking is essentially a trade-off between "retrieval precision" and "context completeness," and this trade-off has no universal optimal solution; it depends on whether the query leans toward details or toward generalization.

Unverified50%
Oct 16

When chunks are split across semantic boundaries, with the definition in one chunk and the example in another, only one of them is recalled, and the LLM gets only half the answer.

Unverified50%
Oct 16

Chunking is the step most often glossed over in RAG tutorials, and most tutorials only suggest splitting documents into 500-token chunks, but poor retrieval performance often stems from exactly this.

Unverified50%
Oct 16

When chunks are too small, they lose context; the retrieved passage reads fine on its own, but the LLM cannot answer, because the answer's basis falls in other chunks that were not recalled.

Unverified50%
Oct 16

The correct chunking strategy depends on the structure of the source document and the form of the query, not on some blog's default number.

Unverified50%
Oct 14

RAG tutorials rarely cover a key issue: chunk boundaries are almost always wrong; when documents are chunked and embedded, assumptions are actually being made about which context belongs together, and these assumptions often do not hold.

Verified70%
Oct 12

In chunking, chunks that are too small lose contextual semantics, while chunks that are too large cause vector similarity to be diluted and irrelevant content to be mixed in.

Unverified50%
Oct 12

Fixed-size chunking breaks semantic integrity, while paragraph- or semantic-boundary-based chunking requires more complex parsing logic.

Unverified50%
Oct 6

Mainstream chunking strategies fall into three categories: fixed-length chunking, semantics-aware chunking, and sliding window chunking

Unverified50%

10 more timeline events

All Facts (20)

Verified

RAG tutorials rarely cover a key issue: chunk boundaries are almost always wrong; when documents are chunked and embedded, assumptions are actually being made about which context belongs together, and these assumptions often do not hold.

70%
Verified

The core process of Retrieval-Augmented Generation (RAG) consists of three steps: chunking and vectorizing knowledge base documents for storage, retrieving the most semantically relevant segments, and injecting those segments as context into the LLM prompt.

70%
Verified

A complete RAG pipeline consists of four stages: document chunking, vector storage, reranking, and retrieval-to-generation.

65%
Unverified

Knowledge base documents must undergo chunking before ingestion, with common strategies including fixed-length chunking, sentence/paragraph chunking, recursive character chunking, and the parent-child chunk strategy.

90%
Unverified

When handling long texts, engineered chunking and sliding window strategies are the standard solutions.

90%
Partially Verified

The overlap in text chunking is typically set to 10%–20% of the chunk_size.

65%
Unverified

The granularity of chunk splitting directly affects retrieval quality: segments that are too long introduce noise, while segments that are too short may lose context.

60%
Unverified

In Chunking practice, an inter-chunk overlap rate of 10%–20% is typically set to ensure that information spanning chunks is not lost.

60%
Unverified

In chunking, cutting documents too finely loses context, while cutting them too large dilutes semantics and takes up the context window; chunk size, overlap length and split boundaries are among the hyperparameters most worth prioritizing for tuning during retrieval evaluation.

50%
Unverified

When chunks are split across semantic boundaries, with the definition in one chunk and the example in another, only one of them is recalled, and the LLM gets only half the answer.

50%
Unverified

The correct chunking strategy depends on the structure of the source document and the form of the query, not on some blog's default number.

50%
Unverified

Chunking is the step most often glossed over in RAG tutorials, and most tutorials only suggest splitting documents into 500-token chunks, but poor retrieval performance often stems from exactly this.

50%
Unverified

When chunks are too small, they lose context; the retrieved passage reads fine on its own, but the LLM cannot answer, because the answer's basis falls in other chunks that were not recalled.

50%
Unverified

Chunking is essentially a trade-off between "retrieval precision" and "context completeness," and this trade-off has no universal optimal solution; it depends on whether the query leans toward details or toward generalization.

50%
Unverified

In chunking, chunks that are too small lose contextual semantics, while chunks that are too large cause vector similarity to be diluted and irrelevant content to be mixed in.

50%
Unverified

Fixed-size chunking breaks semantic integrity, while paragraph- or semantic-boundary-based chunking requires more complex parsing logic.

50%
Unverified

Mainstream chunking strategies fall into three categories: fixed-length chunking, semantics-aware chunking, and sliding window chunking

50%
Unverified

RAG chunking quality directly determines retrieval recall rate; if a complete argument is cut across two chunks, vector retrieval may only recall half the content, causing the LLM to answer based on incomplete information.

50%
Unverified

Document chunk sizes that are too large introduce noise, while sizes that are too small lose context, requiring adjustment of chunk size and overlap length based on document type.

50%
Unverified

Chunk size is typically recommended to be between 256 and 512 tokens, with a 10–15% overlap region preserved.

50%

Source Articles