Semantic–Structural Entropy (S²-Entropy)
- Semantic–Structural Entropy (S²-Entropy) is a unified metric that quantifies the interplay between local semantic diversity and global structural coherence across diverse domains.
- Its formulation leverages rigorous tools from information geometry and recursive segmentation to encode time series and natural language into symbolic representations with measurable entropy.
- Empirical findings show its practical utility in areas such as EEG seizure detection, language model evaluation, and adaptive network analysis, outperforming traditional metrics.
Semantic–Structural Entropy (S²-Entropy) quantifies the interplay and balance between semantic information and structural organization in complex systems such as time series, natural language, and dynamic networks. S²-Entropy is framework-agnostic, with rigorous instantiations in information geometry, linguistic structure, and network science. It unifies measurements of local patterning (“semantic diversity”) and global arrangement (“structural coherence”) into a single metric, enabling principled characterization of complexity, discovery, and synchronization phenomena across domains (Majumdar et al., 2018, Zhong et al., 13 Feb 2026, Buehler, 24 Mar 2025, Montemurro et al., 2015).
1. Geometric Encoding and S²-Entropy in Time Series
A discrete time series can be modeled as the trajectory of a unit-mass particle in a force field, encoding information in its local geometric structure. At each time step, three-point neighborhoods are classified via the signs of finite-difference-based P-operators:
- Backward difference:
- Forward difference:
- Second difference:
Defining left and right P-operators as and , one enumerates all possible patterns generated by sign changes. Under strict sign-hierarchy constraints, exactly 13 geometric configurations occur in discrete time (Theorem 1 and Lemmas 1–4), each mapped to a unique symbol—yielding a lossless, symbolic representation of the original series over a 13-symbol alphabet (Majumdar et al., 2018).
For a sequence encoded over points, let be the count of configuration , . The semantic entropy is defined as:
which measures the diversity of local shapes.
In analogy to Newtonian mechanics, information power reflects the mean absolute value of the P-operator, quantifying the “structural intensity” or curvature:
The ratio S²-Entropy is then:
Low values signal highly regular yet “energetic” dynamics (synchronous states, e.g. epileptic seizures), whereas high values mark irregular, diverse configurations (Majumdar et al., 2018).
2. S²-Entropy in Semantic Hierarchies of Natural Language
S²-Entropy in linguistic settings characterizes how the hierarchical, multiscale organization of meaning constrains token-level unpredictability. Consider a corpus segmented recursively into semantically coherent chunks via a self-similar K-ary fragmentation model. For a text of tokens, construct a rooted tree where each node at level has size , and employ a uniform splitting kernel:
with associated probabilities,
The overall entropy for such a hierarchical semantic ensemble is extensive for large :
where is the S²-Entropy rate, depending only on (the semantic complexity, or maximal branching factor). For , nats/token; for large ,
( is Euler’s constant) (Zhong et al., 13 Feb 2026).
Selecting to match empirical chunk-size distributions allows precise prediction of per-token entropy rates for corpora, matching LLM cross-entropy rates across genres (e.g., for simple stories, for poetry). S²-Entropy thus demonstrates that much of the apparent redundancy in natural language emerges from multiscale, recursively organized semantic chunks, and that the entropy rate systematically increases with semantic complexity (Zhong et al., 13 Feb 2026).
3. S²-Entropy in Word-Distributional Structure
A complementary formulation of S²-Entropy arises from measuring the degree to which word distributions are structured across contexts. Partitioning a text of tokens into equal-sized contiguous regions ( per context), the mutual information between word-type and context is
where , , and .
To correct for sampling noise, subtract the baseline computed from random surrogates:
This S²-Entropy measures, for each word, the reduction in conditional entropy compared to a uniform distribution,
where (Montemurro et al., 2015).
exhibits a universal maximum at an intermediate scale words and identifies keywords and semantic domains without prior linguistic annotation. Its nonzero value across languages and genres indicates the deep, scale-dependent structuring of semantic information in texts (Montemurro et al., 2015).
4. Semantic–Structural Interplay in Graph Reasoning and Adaptive Networks
S²-Entropy generalizes to dynamic networks. Structural entropy is captured by the Von Neumann graph entropy:
where is the normalized Laplacian density matrix.
Semantic entropy is similarly defined, but replacing adjacency with embedding-derived inner products (e.g., cosine similarities of Sentence-BERT vectors), leading to a semantic Laplacian and . The two entropies are combined as a dimensionless interplay metric:
The sign and magnitude of indicate the dominance of structural versus semantic complexity.
Empirically, agentic graph-reasoning systems dynamically evolve to a critical discovery state where (semantic entropy exceeds structure by ) and a stable fraction () of “surprising” edges (i.e., structurally valid but semantically distant links) persists. This regime supports ongoing exploration and self-organized criticality, balancing innovation and coherence (Buehler, 24 Mar 2025).
5. Applications and Empirical Findings
S²-Entropy has demonstrated practical utility across temporal, linguistic, and network domains:
- In intracranial EEG, the ratio serves as a sensitive biomarker of epileptic seizures. During seizures, semantic entropy decreases while information power increases, yielding a pronounced minimum of S²-Entropy () in the ictal state in $72/87$ seizures, outperforming permutation entropy and spectral power as a synchrony index (Majumdar et al., 2018).
- In natural language, S²-Entropy rates derived from semantic chunking align with LLM per-token cross-entropy across diverse corpora (stories, scientific abstracts, poetry). Variations in capture genre-dependent differences in redundancy and semantic complexity (Zhong et al., 13 Feb 2026).
- In textual analysis, extracted from word-to-context mutual information robustly identifies theme-changing segments and keywords; its universality affirms the self-organized structuring of information in language (Montemurro et al., 2015).
- In knowledge networks, monitoring S²-Entropy-informed metrics such as and the fraction of surprising edges provides actionable guidance for sustaining long-term discovery and preventing stasis or semantic collapse (Buehler, 24 Mar 2025).
6. Theoretical Foundations and Extensions
The S²-Entropy framework rests on rigorous mathematical arguments:
- For time series, Theorems 1–2 and Lemmas 1–4 precisely delimit admissible local geometric configurations and underpin the encoding procedure.
- In semantic chunking models for language, maximal entropy hierarchies are analytically tractable (e.g., via recursive partition functions and saddle-point methods) allowing for closed-form or numerical determination of entropy rates and their corpus dependence (Zhong et al., 13 Feb 2026).
- Graph measures leverage spectral theory of Laplacians for both structural and embedding-induced semantics, with critical discovery formalized via dimensionless ratios (Buehler, 24 Mar 2025).
- Mutual information-based linguistic measures reduce to frequency-weighted differences of conditional entropies, corrected for sampling via analytical or Monte Carlo approximations (Montemurro et al., 2015).
Extensions of S²-Entropy encompass adaptive priors on segmentation, multimodal data (e.g., music, code), and real-time tracking of innovation in evolving agentic systems. The consistent finding across domains is that semantic richness and structural organization may be formally tracked and delicately balanced by entropy-based indices, serving both explanatory and control-theoretic purposes.
7. Summary Table: S²-Entropy Across Domains
| Domain | Semantic Aspect | Structural Aspect | S²-Entropy Formula |
|---|---|---|---|
| Time series | Diversity of local shapes () | Information power () | |
| Natural language | Multiscale semantic chunking | Hierarchical chunk structure | |
| Texts | Word-context clustering | Baseline-corrected distribution | |
| Networks | Embedding spread () | Laplacian spectrum () |
In all cases, S²-Entropy operationalizes the dynamic tension between richness of meaning and organizational structure, offering a unifying analytic lens across temporal, textual, and relational data (Majumdar et al., 2018, Zhong et al., 13 Feb 2026, Buehler, 24 Mar 2025, Montemurro et al., 2015).