Back to AI Engineering Mind Map
中文·English
🤖 AI EngineeringID: semantic-chunking

Semantic Chunking

Semantic 语义断崖自适应切分
🎯Core Definition
Semantic Chunking is an adaptive, content-aware document segmentation algorithm driven strictly by semantic coherence rather than arbitrary character or token limits; the document is split into sentences, each embedded into high-dimensional space, and cosine distance deltas between consecutive sentence embeddings are mapped onto a temporal curve; thresholding against dynamic statistical percentiles (e.g., 95th percentile distance gradient spikes) flags semantic transition cliffs, bundling coherent sentences into organically bounded semantic chunks.
💡Use Cases
Unstructured narratives lacking explicit headers, multi-speaker meeting transcripts, customer interview audio dumps, and rapidly shifting thematic documents.
Key Problems Solved
Fixed-length splitters rigidly dissect sentences across semantic midpoints, breaking coherent topics or merging unrelated themes into a single noisy vector; semantic chunking guarantees maximum intra-chunk thematic cohesion, maximizing vector retrieval fidelity.
🎯5 High-Frequency Exam Points
1
Describe the algorithmic workflow of mapping sentence embedding distance curves and identifying cut points via percentile thresholds?
2
How to apply a sliding buffer of 2-3 sentences to smooth distance curves against single-sentence noise spikes?
3
Analyze the extra embedding API calls and latency costs generated by Semantic Chunking during document ingestion?
4
How to enforce a `max_chunk_size` fallback ceiling to prevent extremely long single-topic sections from overflowing LLM contexts?
5
Weigh the empirical Recall improvements of Semantic Chunking vs ingestion cost overhead compared to Recursive Splitters?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "Semantic Chunking"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardParent-Child ChunkingNext CardQuery Rewriting & Decomposition

🔗 More AI Engineering Knowledge Cards

Vector Distance Metrics & L2 NormalizationScalar Quantization (SQ8/SQ4)Product Quantization (PQ)ADC Asymmetric Distance Computation