TL;DR
Before an AI system can look up facts in a library of documents, someone has to slice those documents into readable pieces—a surprisingly fragile step called chunking. Instead of relying on arbitrary word counts or rough rules of thumb, SEISMOS treats text like a physical wave, using classical statistical signal detection to find exact topic shifts. The result is cleaner retrieved evidence, more faithful AI answers, and preprocessing speeds up to 23× faster than standard semantic chunking tools—all without calling a single Large Language Model (LLM).
What Problem Does This Paper Address?
In Retrieval-Augmented Generation (RAG), language models answer questions using external documents pre-sliced into smaller passages ("chunks"). If a naive chunker slices right through the middle of a crucial argument, or glues two unrelated paragraphs together, no downstream search engine or clever AI can rescue the mangled evidence.
Most production systems either chop text every $N$ tokens (fixed-length chunking) or use "semantic chunking"—measuring embedding similarity between adjacent sentences and cutting wherever similarity drops below a global threshold or document-mean percentage. The authors show that these popular semantic rules aren't just rough heuristics; they are statistically misspecified. Because different documents naturally have different baseline similarity levels and noise profiles, global or mean-scaled thresholds inevitably over-shred some documents while leaving others untouched. Meanwhile, newer methods ask an LLM where to cut, which works well but is painfully slow and expensive.
Methods
SEISMOS reframes chunking as a formal statistical hypothesis test. First, as is standard, a sentence encoder converts each sentence into a vector, and cosine similarities between consecutive sentences form a 1D signal across the document.
What’s new is how SEISMOS reads that signal. Under the null hypothesis that no topic shift occurred between two sentences, the authors prove mathematically that the document's average similarity cancels out completely—meaning the standard deviation (local variance), not the mean, is the only valid way to normalize a drop.
Furthermore, adjacent sentence similarities aren't independent; they exhibit positive lag-1 autocorrelation (a smooth drift, modeled as an AR(1) process). To account for this, SEISMOS applies a discrete Laplacian ($D_i = x_{i+1} - 2x_i + x_{i-1}$), which measures local curvature—how sharply a valley dips below both neighbors. Dividing $D_i$ by the sample standard deviation of the curvature sequence creates a "self-normalizing" test statistic ($t_i$). It automatically absorbs both document variance and autocorrelation without needing to estimate either separately. You just pick one parameter, $k$ (mapped directly to a bell-curve false-positive rate, like $k=2.5$), and cut whenever $t_i > k$. After embedding, this takes linear $O(n)$ arithmetic.
Datasets
SEISMOS requires no training; it is evaluated zero-shot across four distinct regimes (no new benchmarks are introduced):
- Short-document retrieval (BEIR): SciFact, NFCorpus, FiQA, and ArguAna (used as development sets to study signal properties and fix $k=2.5$), plus TREC-COVID as a strictly held-out test corpus.
- Long-document retrieval: Four subsets of DAPR (MS MARCO, Natural Questions, ConditionalQA, Genomics) and three subsets of ConTEB (NarrativeQA, ESG, Geography).
- Multilingual retrieval: MIRACL across three typologically distinct languages: Japanese, German, and Arabic.
- End-to-end RAG: LongBench NarrativeQA, featuring stories averaging ~27,000 tokens.
Key Insights and Ideas
- Mean-based thresholds are mathematically broken: Because baseline similarity cancels out when subtracting adjacent scores, scaling thresholds by a document's average similarity introduces noise rather than removing it. Switching to variance normalization immediately allows a single parameter $k$ to generalize across wildly different domains.
- Three universal laws of text signals: Across scientific, financial, biomedical, and argumentative corpora, sentence-similarity signals share three invariant traits: (1) bimodal structure (roughly 18–23% of documents have sharp topic shifts, while 34–58% are semantically flat), (2) rapid decay (>80% of local dips are shallow noise), and (3) positive autocorrelation (0.27–0.38).
- Built-in flat-document protection: On short, single-topic documents where similarity barely wiggles, standard chunkers often hallucinate boundaries out of tiny numerical jitters. SEISMOS's Laplacian ratio naturally hovers near zero on flat signals, leaving coherent short documents peacefully intact without needing extra tuning gates.
- Avoiding "micro-chunk" shrapnel: Production tools like LangChain and LlamaIndex left tiny, context-starved fragments (<20 tokens) in 94 out of 100 LongBench documents, compared to just 11 out of 100 for SEISMOS—explaining why downstream RAG faithfulness improves so dramatically.
Key Results
On all five BEIR datasets under one fixed setting ($k=2.5$), SEISMOS (Laplacian) outperforms all heuristic and production semantic chunkers—beating the best-tuned fixed-length chunker by up to +4.98%, recursive chunking by up to +6.21%, and LlamaIndex by up to +11.93% (NDCG@10 on ArguAna). It also transfers zero-shot to the held-out TREC-COVID dataset, scoring 71.35 vs. 70.00 (Recursive) and 66.90 (LangChain).
On long documents (DAPR, ConTEB) and multilingual text (MIRACL), SEISMOS stays highly competitive—matching or edging out strong 480-token fixed windows on MIRACL (+0.8% on German) and several long-doc subsets, while trailing slightly (0.3–1.5 points) on others.
Where SEISMOS really shines is end-to-end RAG on LongBench NarrativeQA:
- Better evidence: Chunk-level nDCG@5 jumps to 0.190 vs. 0.106–0.113 for baselines (a 68–79% relative gain).
- Fewer hallucinations: HHEM answer faithfulness improves by +0.043 to +0.098 over all baselines, corroborated by human evaluators on a 21-item sample (95.2% correctness vs. 33.3–42.9%).
- Speed: Preprocessing takes 0.133 seconds per document (with the math itself taking 0.0025s)—making it 15–23× faster than LangChain (2.04s) and LlamaIndex (3.11s).
Limitations and Future Work
- Sentence-tokenizer reliance: Because SEISMOS operates sentence-by-sentence, messy inputs like tables, source code, bullet-heavy lists, or broken punctuation may violate its statistical assumptions.
- Encoder-dependent operating point: While $k$ transfers across datasets, its ideal plateau shifts slightly depending on the embedding model and document length (e.g., $k=2.5$ for BGE on short text vs. $3.0–3.5$ for E5 on long documents).
- Local, query-blind view: SEISMOS only looks at adjacent sentences and ignores global document hierarchy or what the user is actually asking. Exploring hierarchical structure, query-aware chunking, and head-to-head quality comparisons against expensive LLM-based chunkers remain open avenues for future work.
Summary updated