SEISMOS: A Statistical Signal Detection Framework for Semantic Chunking

Ishtiak Mahmud Saad, Mominul Islam, Shahriyar Zaman Ridoy, Md Manjurul Ahsan, Azmine Toushik WasiNeurIPS 2026

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.

Figure 1: SEISMOS Pipeline. SEISMOS maps an ordered sentence sequence {𝑠1, … , 𝑠𝑛} into sentence embeddings 𝑒𝑖= 𝜙(𝑠𝑖) and forms the adjacent cosine-similarity signal 𝑥𝑖= ⟨𝑒𝑖, 𝑒𝑖+1⟩. The raw signal contains document-specific semantic baselines, so SEISMOS applies the discrete Laplacian 𝐷𝑖= 𝑥𝑖+1 −2𝑥𝑖+ 𝑥𝑖−1 to emphasize local curvature induced by semantic transitions. The curvature signal is normalized into a decision statistic 𝑡𝑖, and boundaries are declared when 𝑡𝑖> 𝑘. The selected boundaries split the document into semantically coherent chunks, which are indexed in a vector database for downstream retrieval.

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).

Zero-shot retrieval results (NDCG@10) on five BEIR datasets showing SEISMOS outperforming chunking baselines

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

Abstract

Chunking is a hidden bottleneck in dense retrieval and retrieval-augmented generation: it determines the units that can be indexed, retrieved, and ultimately used as evidence. Yet most systems still segment documents using fixed token windows or globally thresholded semantic similarity drops, treating chunking as an engineering heuristic rather than a statistical decision. We propose SEISMOS, a statistical signal detection framework for semantic chunking. SEISMOS models consecutive sentence-embedding cosine similarities as a document-level signal and derives boundary decisions from the null hypothesis of no semantic transition. Across four development BEIR corpora, we establish three corpus-invariant properties: bimodal document structure, rapid survival decay of shallow local minima, and positive lag-1 autocorrelation. These properties show that semantic boundaries should be detected by variance-normalized deviations, not by document means or global similarity thresholds. Accounting for autocorrelation leads to a normalized discrete Laplacian detector that identifies significant semantic valleys through a single interpretable decision rule. Evaluated on five BEIR benchmarks, SEISMOS consistently improves over fixed-length, recursive, and production semantic chunk- ing baselines under one fixed operating configuration. Without corpus-specific retuning, the same detector transfers to a held-out TREC-COVID corpus. Beyond short documents, SEISMOS remains competitive with strong fixed-length chunking on long-document (DAPR, ConTEB) and multilingual (MIRACL) retrieval across four encoders, and in end-to-end RAG on LongBench it retrieves better-ranked evidence and yields more faithful answers at 15–23× lower preprocessing cost than production semantic chunkers. Our results suggest that the boundaries needed for effective retrieval are already encoded in embedding-similarity signals, and that principled, efficient, LLM-free chunking can be obtained by detecting them statistically. SEISMOS is available at: seismos-sc.github.io.
BibTeX
@inproceedings{saad2026seismos,
  author = {Ishtiak Mahmud Saad and Mominul Islam and Shahriyar Zaman Ridoy and Md Manjurul Ahsan and Azmine Toushik Wasi},
  title = {{SEISMOS: A Statistical Signal Detection Framework for Semantic Chunking}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MiRf0wVbnB},
}
Figure