Skip to Content
EntropyEntropy
  • Feature Paper
  • Article
  • Open Access

14 May 2026

16 Pages

Semantic Algorithmic Information Theory: From Kolmogorov Complexity to Semantic Equivalence

,
,
,
and
1
State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications, Beijing 100876, China
2
China Mobile Research Institute, Beijing 100080, China
3
Key Laboratory of Universal Wireless Communications, Ministry of Education, Beijing University of Posts and Telecommunications, Beijing 100876, China
*
Author to whom correspondence should be addressed.

Abstract

Classical Algorithmic Information Theory (AIT) provides a rigorous foundation for information-based similarity measurement, but classical formulations and their compression-based approximations largely operate at the syntactic level, making them sensitive to surface-level variation and insufficient for semantic equivalence. To address this limitation, this paper introduces Semantic Algorithmic Information Theory. The contributions are organized around three core aspects. First, regarding algorithmic extension, we formalize the Semantic Turing Machine System (STMS) to decouple abstract concepts from their diverse syntactic realizations. Within this framework, Semantic Complexity is defined as the minimum program length required to generate some realization in a synonymous set, thereby characterizing compact meaning representation. Second, to enable approximate computation, we move from the ideal, uncomputable semantic information distance to a model-based direct estimator of the Normalized Semantic Information Distance (NSID), which uses neural autoregressive models as conditional probability estimators. Finally, through experimental validation and comparative analysis, we show that the NSID estimator suppresses syntactic variance while preserving semantic structure. Empirical results indicate that NSID provides a practical, computable surrogate for semantic distance and improves upon classical syntactic metrics in evaluating cross-representational equivalence.

1. Introduction

The fundamental goal of information theory is to quantify the amount of information contained in data and the information shared between different objects. While Shannon’s classical information theory [1] established the statistical limits of communication, it deliberately abstracted away the “meaning” of messages. To measure the absolute information content of individual objects, Algorithmic Information Theory (AIT) introduced Kolmogorov complexity [2], formally defined as the length of the shortest program required to compute a string on a universal Turing machine. Beyond mere compression, Kolmogorov’s framework also provides the ultimate basis for model selection and determining the structural properties of data [3]. Building on this, the Information Distance [4] and its normalized form, the Normalized Information Distance (NID) [5], were developed.
Approximated in practice via the Normalized Compression Distance (NCD) [6], this framework has served as a principled baseline for parameter-free similarity measurement, with extensions and applications ranging from multiset similarity [7] to image similarity detection [8] and low-resource text classification [9].
However, a fundamental limitation persists: classical AIT and practical NCD remain representation-dependent and largely operate at the syntactic level. Standard Turing machines and classical compression algorithms operate on surface-level bytes or tokens. They evaluate the algorithmic cost of transforming one exact string into another. Consequently, traditional metrics are highly sensitive to “syntactic noise.” For instance, an English sentence and its precise French translation share almost identical semantic information. Yet, classical NCD would report a large distance between them due to completely different vocabularies and syntactic structures.
Recently, the success of Large Language Models (LLMs) has renewed the connection between prediction, compression, and understanding. The “Language Modeling is Compression” paradigm [10] and subsequent large-scale compression results [11] show that neural models can serve as strong lossless compressors. However, a critical paradox remains: replacing classical compressors with LLM-based neural compressors in NCD does not consistently improve classification accuracy and can even underperform traditional compressors despite better compression rates [12]. This suggests that stronger probabilistic compression alone is insufficient for semantic similarity, motivating an information-distance formulation in semantic space.
Although advanced representation learning and embedding models, such as EmbeddingGemma [13], have achieved strong empirical performance in semantic tasks, their connection to the algorithmic information bounds of Kolmogorov complexity remains underdeveloped. Related work has incorporated semantic similarity into predictability-oriented information measures [14,15], but these approaches remain closer to probabilistic predictability than to algorithmic information distance. In parallel, semantic communication theory [16,17] has generalized Shannon’s framework through synonymous mappings, semantic entropy, and semantic channel capacity, but does not directly provide a metric space for individual algorithmic objects.
To bridge this theoretical gap and resolve the LLM-NCD paradox, this paper introduces Semantic Algorithmic Information Theory. We explicitly decouple the complexity of abstract concepts from the complexity of their syntactic realizations. Our core theoretical contributions begin with the definition of the Semantic Turing Machine System (STMS), which integrates a classical Turing machine with a computable synonymous mapping. Under this model, we formalize Semantic Complexity, establishing a rigorous boundary between semantic entropy and semantic algorithmic complexity.
Furthermore, to transition from abstract theory to practical measurement, we propose a model-based direct approximation to the Normalized Semantic Information Distance (NSID). Rather than blindly applying the NCD formula—which has proven problematic with LLMs [12]—NSID is a conceptual reformulation of the ideal NID specifically tailored for the semantic space. By utilizing LLMs as conditional probability estimators, the resulting Direct NSID estimator computes a model-induced informational cost of generating a target sequence given a semantic context. Because observable systems inevitably introduce a syntactic transformation cost, point-wise comparisons are insufficient. Therefore, we establish a set-theoretic framework—utilizing Intra-Synonymous Set Cohesion, Inter-Synonymous Set Separability, and the Discrimination Ratio—to statistically quantify the phenomenon of Semantic Equivalence: the state where a system substantially suppresses syntactic noise and keeps diverse synonymous realizations computationally close.
The rest of the paper is organized as follows: Section 2 recalls necessary background on Kolmogorov complexity and semantic entropy. Section 3 introduces the Semantic Turing Machine and Semantic Complexity with formal definitions and proofs. Section 4 establishes the ideal semantic metric space and the set-theoretic framework. Section 5 defines the computable NSID estimator via LLMs. Extensive empirical validations demonstrating cross-lingual semantic equivalence are presented in Section 6, followed by the conclusion.

2. Preliminaries

2.1. Kolmogorov Complexity and Information Distance

We first recall some basic notation and facts regarding Kolmogorov complexity found in standard texts [2]. Let { 0 , 1 } * denote the set of all finite binary strings. The Kolmogorov complexity, or algorithmic entropy, K ( x ) of a string x is formally defined as the length of the shortest binary program p that, when executed on a fixed universal Turing machine U 0 , computes x and halts; i.e.,  K ( x ) = min { | p | : U 0 ( p ) = x } . Essentially, K ( x ) represents the length of the ultimate compressed version of x. The conditional Kolmogorov complexity K ( x ∣ y ) is defined similarly as the length of the shortest program to compute x when y is provided as an auxiliary input. Although defined relative to the specific machine U 0 , the Invariance Theorem ensures that these values are machine-independent up to an additive constant, endowing K ( x ) with an absolute character.
Based on these concepts, Bennett et al. [4] defined the information distance E ( x , y ) between two strings x and y as the length of the shortest binary program that transforms x into y as well as y into x. Such a program functions in a catalytic capacity: it facilitates the transformation between inputs while remaining present and unchanged throughout the computation. It was proven that this distance is equal to the maximum of the conditional complexities, up to a logarithmic additive term:
E ( x , y ) = max { K ( x ∣ y ) , K ( y ∣ x ) } + O ( log max { K ( x ) , K ( y ) } ) .
To enable comparisons between sequences of different lengths, Li et al. [5] introduced the Normalized Information Distance (NID). The NID normalizes the information distance by the maximum complexity of the two strings, yielding a universal metric that is asymptotically bounded in [ 0 , 1 ] up to the standard additive terms.
NID ( x , y ) = max { K ( x ∣ y ) , K ( y ∣ x ) } max { K ( x ) , K ( y ) } .
The NID is considered the “gold standard” for similarity metrics because it minorizes all other computable normalized metrics; a lower NID indicates that x and y share more information.
Since the function K ( · ) is non-computable, the NID cannot be directly calculated. In practice, we approximate K ( x ) using a standard real-world compression algorithm C, where C ( x ) denotes the length of the compressed string x. This leads to the Normalized Compression Distance (NCD), a computable approximation of the NID defined as follows:
NCD ( x , y ) = C ( x y ) − min { C ( x ) , C ( y ) } max { C ( x ) , C ( y ) } ,
where x y represents the concatenation of strings x and y. The term C ( x y ) captures the shared information between the two strings, relying on the compressor’s ability to exploit redundancy in the concatenated sequence.

2.2. Semantic Entropy and Synonymous Mapping

Following the framework of semantic information theory [16,17], we consider a discrete syntactic symbol set U = { u 1 , … , u N } and a corresponding semantic symbol set U ˜ = { u ˜ 1 , … , u ˜ N ˜ } . A synonymous mapping f : U → U ˜ establishes the correspondence between these spaces by mapping syntactically distinct symbols to their semantic equivalents.
This mapping induces a partition of the syntactic space U into disjoint synonymous sets (or equivalence classes). For each semantic entity u ˜ k ∈ U ˜ , the corresponding synonymous set U k is defined as the set of all syntactic symbols that map to u ˜ k :
U k = { u ∈ U : f ( u ) = u ˜ k } .
These sets satisfy the properties of a partition: U k ∩ U j = ∅ for k ≠ j , and  ⋃ k U k = U .
Let U be a discrete random variable taking values in U with probability mass function p ( u ) . We define the semantic variable U ˜ = f ( U ) as the random variable associated with the semantic entities. The probability distribution of U ˜ is derived from U by aggregating the probabilities of the syntactic symbols within each synonymous set:
p ( u ˜ k ) ≜ p ( U k ) = ∑ u ∈ U k p ( u ) .
The semantic entropy H s ( U ˜ ) is formally defined as the Shannon entropy of the semantic variable U ˜ . It quantifies the uncertainty associated with the semantic content:
H s ( U ˜ ) ≜ − ∑ k = 1 N ˜ p ( u ˜ k ) log p ( u ˜ k ) = − ∑ k = 1 N ˜ ∑ u ∈ U k p ( u ) log ∑ u ∈ U k p ( u ) .
A fundamental property of semantic entropy is that it is upper-bounded by the syntactic entropy: H s ( U ˜ ) = H ( f ( U ) ) ≤ H ( U ) . The inequality is strict when f merges at least two syntactic symbols with positive probability; otherwise equality may hold.

3. Theory of Semantic Algorithmic Information

In this section, we formally extend Algorithmic Information Theory (AIT) to the semantic domain. We establish the computational model, define semantic complexity metrics, and prove fundamental theorems regarding universality, invariance, and semantic reduction.

3.1. Semantic Turing Machine System

To define complexity relative to semantics, we must extend the classical model of computation to incorporate semantic processing.
We use the same symbol f for the computable synonymous mapping f : { 0 , 1 } * → U ˜ , as the algorithmic counterpart of the entropy-theoretic mapping f : U → U ˜ introduced above.
Definition 1
(Semantic Turing Machine System). A Semantic Turing Machine System (STMS) is a pair ( T , f ) , where
1. 
T is a standard prefix Turing machine (with a unidirectional input tape, a working tape, and a unidirectional output tape).
2. 
f : { 0 , 1 } * → U ˜ is a computable surjective function, termed the synonymous mapping, which maps syntactic strings to their semantic representations in a semantic universe U ˜ .
  • For any binary program p, the operation of the system is defined as follows: First, T executes program p. If T halts and outputs a string z ∈ { 0 , 1 } * , the system then applies f to z. The final semantic output is u ˜ = f ( z ) . We say that program p semantically generates x if f ( T ( p ) ) = f ( x ) .
Definition 2
(Synonymous Mapping and Synonymous Set). Let f : { 0 , 1 } * → U ˜ be a synonymous mapping that maps syntactically different but semantically equivalent strings to the same semantic entity u ˜ . This function defines the relationship between syntax (binary strings) and their corresponding semantics.
For any string x ∈ { 0 , 1 } * , we define the synonymous set of x under f as follows:
[ x ] f : = { z ∈ { 0 , 1 } * : f ( z ) = f ( x ) } .
Thus, [ x ] f collects all syntactic realizations semantically equivalent to x, allowing semantic complexity to ignore surface-form variation.
To provide a more intuitive understanding, Figure 1 illustrates the architecture of the STMS. As shown on the left, the universal reference machine U 0 executes a program to generate a syntactic string z. The central mapping function f then transforms this string into a semantic entity u ˜ . On the right, the dashed boundary represents the synonymous set [ x ] f , visually illustrating how multiple distinct syntactic strings (e.g., x 1 , … , x 5 ) converge onto the same underlying semantic concept. This decoupling of syntax and semantics is essential for defining complexity based on meaning rather than surface form.
Figure 1. Architecture of the universal Semantic Turing Machine System ( U 0 , f ) .
Definition 3
(Admissible Synonymous Mapping). To avoid trivial solutions (e.g., mapping all strings to a constant), a mapping f is admissible if it satisfies the non-degeneracy condition. Formally, for the source distribution under consideration, f is admissible if the induced semantic random variable f ( X ) has at least two semantic outcomes with positive probability, equivalently H ( f ( X ) ) > 0 .

3.2. Universality and Invariance

A core requirement for any algorithmic complexity measure is invariance with respect to the underlying computational model.
For an arbitrary STMS ( A , f ) , define
K f , A ( x ) : = min { | p | : f ( A ( p ) ) = f ( x ) } .
When A = U 0 , this becomes K f , U 0 ( x ) .
Theorem 1
(Universality of Semantic Systems). Let U 0 be a universal prefix Turing machine. Then ( U 0 , f ) constitutes a universal STMS. For any other STMS ( A , f ) based on a machine A, there exists a constant c A (dependent on A but independent of the semantic target) such that for all x:
K f , U 0 ( x ) ≤ K f , A ( x ) + c A .
Proof. 
Let s A be the simulation prefix for machine A such that U 0 ( s A p ) = A ( p ) for all programs p. Let p * be the shortest program satisfying f ( A ( p * ) ) = f ( x ) , so that | p * | = K f , A ( x ) . The concatenated program p ′ = s A p * simulates A on U 0 , yielding a syntactic output z with f ( z ) = f ( x ) . Thus, p ′ semantically generates x on ( U 0 , f ) and has length | p ′ | = | s A | + | p * | = c A + K f , A ( x ) .    □
In the following, we fix the universal reference system ( U 0 , f ) and write K f ( x ) for K f , U 0 ( x ) .

3.3. Semantic Complexity

We distinguish between the complexity of a syntactic string relative to its meaning ( K f ( x ) ) and the complexity of the abstract concept itself ( K s ( u ˜ ) ).
Definition 4
(Semantic Complexity). The semantic complexity of a string x is defined as the minimum description length required to compute its semantic representation:
K f ( x ) : = min { | p | : f ( U 0 ( p ) ) = f ( x ) } .
We now relate semantic complexity to classical syntactic complexity.
Theorem 2
(Syntactic–Semantic Decomposition). For any string x, the syntactic complexity admits the following decomposition:
K ( x ) ≤ K f ( x ) + K ( x ∣ p f * ( x ) ) + O ( log K ( x ) ) ,
where p f * ( x ) denotes a shortest program satisfying f ( U 0 ( p f * ( x ) ) ) = f ( x ) .
Proof. 
The result follows from the chain rule of Kolmogorov complexity. A description of x can be given by a two-part, self-delimiting code: first a program that generates its semantic content, and second a description that specifies the particular syntactic realization among all strings sharing that semantic value. The logarithmic term accounts for the overhead of delimiting and combining the two parts.    □
Corollary 1
(Semantic Reduction). For any string x, semantic complexity is equal, up to an additive constant, to the minimum syntactic complexity among all strings in its synonymous set:
K f ( x ) = min z ∈ [ x ] f K ( z ) + O ( 1 ) .
Consequently, since x ∈ [ x ] f , semantic complexity is upper-bounded by syntactic complexity:
K f ( x ) ≤ K ( x ) + O ( 1 ) .
The gap
Δ K f ( x ) = K ( x ) − K f ( x )
quantifies syntactic redundancy, i.e., the information required to specify the particular surface realization once the semantic equivalence class is fixed.
Theorem 3
(Exact Invariance under Synonymous Transformation). Let ϕ : { 0 , 1 } * → { 0 , 1 } * be any transformation satisfying
f ( ϕ ( x ) ) = f ( x ) .
Then
K f ( ϕ ( x ) ) = K f ( x ) .
Proof. 
Since f ( ϕ ( x ) ) = f ( x ) , the set of programs that semantically generate ϕ ( x ) is identical to the set of programs that semantically generate x. Taking the minimum program length over the same set gives K f ( ϕ ( x ) ) = K f ( x ) .    □

Concept-Level Semantic Complexity

The next definition lifts semantic complexity from a string realization to an abstract semantic concept.
Definition 5
(Semantic Complexity of Concepts). For a semantic concept u ˜ ∈ U ˜ , the unconditional semantic complexity is defined as
K s ( u ˜ ) : = min { | p | : f ( U 0 ( p ) ) = u ˜ } .
For any x ∈ { 0 , 1 } * , the string-indexed and concept-indexed definitions agree:
K f ( x ) = K s ( f ( x ) ) .
We use K f ( x ) for observed syntactic realizations and K s ( u ˜ ) for concept-level distances.
Definition 6
(Conditional Semantic Complexity of Concepts). Let e : U ˜ → { 0 , 1 } * be a fixed effective encoding of semantic concepts. For two concepts u ˜ , v ˜ ∈ U ˜ , the conditional semantic complexity is defined as
K s ( u ˜ ∣ v ˜ ) : = min { | p | : f ( U 0 ( p , e ( v ˜ ) ) ) = u ˜ } .

4. Semantic Distance and Set-Theoretic Metrics

In the previous section, we established the Semantic Turing Machine framework. To quantitatively evaluate the capability of a system to maintain semantic invariance across different syntactic realizations, we must transition from abstract semantic concepts to a rigorous distance-based framework. In this section, we first define the ideal semantic information distance and its normalized form, then discuss the theoretical inevitability of representation noise, and finally derive a set-theoretic framework for measuring semantic alignment.

4.1. The Ideal Semantic Metric Space

Let U ˜ denote the semantic universe induced by the synonymous mapping f : { 0 , 1 } * → U ˜ . For each syntactic realization x, its associated semantic concept is given by u ˜ = f ( x ) , and the corresponding synonymous set is [ x ] f = { z ∈ { 0 , 1 } * : f ( z ) = f ( x ) } . To analyze the geometry of meaning, we define distances directly on semantic concepts in U ˜ , rather than on surface-level syntactic strings. Following the classical information distance framework, we first define an ideal semantic information distance and then introduce its normalized form.
Definition 7
(Ideal Semantic Information Distance). Let u ˜ , v ˜ ∈ U ˜ be two abstract semantic concepts. The ideal semantic information distance is defined as
E s ( u ˜ , v ˜ ) = max { K s ( u ˜ ∣ v ˜ ) , K s ( v ˜ ∣ u ˜ ) } .
Here K s ( · ) and K s ( · ∣ · ) denote the concept complexity and conditional concept complexity defined in Definitions 5 and 6.
The distance E s is the semantic analogue of the classical information distance. In the algorithmic setting, it is interpreted up to the standard additive terms of Kolmogorov complexity. In this ideal sense, it satisfies the following metric-like properties for any u ˜ , v ˜ , w ˜ ∈ U ˜ :
  • Non-negativity:  E s ( u ˜ , v ˜ ) ≥ 0 .
  • Identity of Indiscernibles:  E s ( u ˜ , v ˜ ) = O ( 1 ) if u ˜ = v ˜ , and is positive up to additive constants when u ˜ ≠ v ˜ .
  • Symmetry:  E s ( u ˜ , v ˜ ) = E s ( v ˜ , u ˜ ) .
  • Triangle Inequality:  E s ( u ˜ , w ˜ ) ≤ E s ( u ˜ , v ˜ ) + E s ( v ˜ , w ˜ ) + O log max { K s ( u ˜ ) , K s ( v ˜ ) , K s ( w ˜ ) } .
Definition 8
(Ideal Normalized Semantic Information Distance). The ideal Normalized Semantic Information Distance (NSID) is defined as the normalized form of E s :
NSID s ( u ˜ , v ˜ ) = E s ( u ˜ , v ˜ ) max { K s ( u ˜ ) , K s ( v ˜ ) } .
Equivalently,
NSID s ( u ˜ , v ˜ ) = max { K s ( u ˜ ∣ v ˜ ) , K s ( v ˜ ∣ u ˜ ) } max { K s ( u ˜ ) , K s ( v ˜ ) } .
In the ideal normalized setting, NSID s is bounded by 1 up to the usual additive and normalization terms of algorithmic information theory. It provides the normalized semantic distance used in the observation model and in the empirical estimators below.

4.2. Theoretical Observation Model and System Noise

While NSID s defines the ideal normalized distance between abstract semantic concepts, external observers (and computational systems) can only measure distances between syntactic realizations x , y ∈ { 0 , 1 } * . Even with perfect synonymous mapping, the variation in surface form introduces an inherent cost.
We model the Observed Empirical Distance d ^ ( x , y ) as a noisy observation of the ideal normalized semantic distance under the following additive observation hypothesis.
Definition 9
(Observed Empirical Distance). For any two syntactic realizations x , y , the observed distance is decomposed as follows:
d ^ ( x , y ) = NSID s ( f ( x ) , f ( y ) ) + ϵ sys ( x , y ) ,
where ϵ sys ( x , y ) ≥ 0 represents the Syntactic Transformation Cost.
Remark 1.
The term ϵ sys is not measurement error, but the residual cost of aligning different surface realizations. Thus, even when x and y are synonymous and NSID s ( f ( x ) , f ( y ) ) vanishes up to the usual additive and normalization terms, the observed distance may remain positive, which motivates the set-theoretic metrics below.

4.3. Set-Theoretic Metrics for Semantic Topology

Given the existence of ϵ sys , we cannot rely on single pairs of samples to evaluate semantic integrity. Instead, we analyze the statistical properties of the Synonymous Set S u ˜ = { x 1 , … , x n } , which acts as the empirical instantiation under the synonymous mapping f, containing n distinct syntactic realizations of a single semantic concept u ˜ .

4.3.1. Intra-Synonymous Set Cohesion (Semantic Compactness)

The first requirement for a robust semantic system is that realizations of the same meaning should form a compact cluster. We quantify this by the average pairwise distance within a synonymous set.
Definition 10
(Intra-Synonymous Set Cohesion).
C intra ( S u ˜ ) = 1 n ( n − 1 ) ∑ x ∈ S u ˜ ∑ y ∈ S u ˜ , y ≠ x d ^ ( x , y )
For within-set pairs ( x , y ∈ S u ˜ ), this metric estimates the expected syntactic transformation cost E [ ϵ sys ] for concept u ˜ . A lower C intra indicates high semantic invariance, where the system treats different phrasings as functionally similar.

4.3.2. Inter-Synonymous Set Separability (Semantic Divergence)

Distinct concepts must be topologically separable. For two disjoint synonymous sets S u ˜ and S v ˜ (where u ˜ ≠ v ˜ ), separability is the average distance between their elements.
Definition 11
(Inter-Synonymous Set Separability). Let | S u ˜ | = n and | S v ˜ | = m .
D inter ( S u ˜ , S v ˜ ) = 1 n · m ∑ x ∈ S u ˜ ∑ y ∈ S v ˜ d ^ ( x , y )

4.3.3. Semantic Discrimination Ratio

To define the boundary between effective alignment and metric failure, we propose the Discrimination Ratio, representing the signal-to-noise ratio of the semantic space.
Definition 12
(Semantic Discrimination Ratio).
R disc ( S u ˜ , S v ˜ ) = D inter ( S u ˜ , S v ˜ ) 1 2 ( C intra ( S u ˜ ) + C intra ( S v ˜ ) )
Definition 13
(Condition of Semantic Indistinguishability). A system is in a state of Semantic Indistinguishability (Topological Degeneracy) with respect to concepts u ˜ and v ˜ if
R disc ( S u ˜ , S v ˜ ) ≤ 1 + δ
where δ is a small margin of error. This condition implies that the semantic distance between distinct concepts has become statistically indistinguishable from the syntactic noise within a single concept, indicating a failure to discriminate distinct semantic concepts.

5. Practical Approximation: Model-Based Direct NSID

In the previous section, we defined the ideal Normalized Semantic Information Distance NSID s on abstract semantic concepts. Since this quantity depends on semantic Kolmogorov complexities, it is not directly computable. In this section, we introduce a model-based direct estimator of NSID, denoted by NSID ^ M , using Large Language Models (LLMs) as conditional probability estimators. We then substitute this estimator into the set-theoretic formulas to obtain the concrete computational methods used in our analysis.

5.1. From Complexity to Conditional Probability

The core challenge is to approximate conditional semantic concept complexity, such as K s ( u ˜ ∣ v ˜ ) , from observable syntactic sequences. Classical NCD relies on joint compression terms such as C ( x y ) , whereas neural conditional sequence models allow conditional code lengths to be estimated directly through sequence likelihoods. Let M be a pre-trained conditional sequence model, including decoder-only autoregressive and encoder–decoder architectures, and let τ M denote its tokenizer. For a syntactic realization x, write τ M ( x ) = ( x 1 , … , x L x ) for the token sequence induced by M . Let ctx M ( y ) denote the model-specific conditioning input induced by y. The conditional code length of x is defined by the Shannon–Fano code length induced by the model likelihood:
C M ( x ∣ y ) = − log 2 P M ( τ M ( x ) ∣ ctx M ( y ) ) = − ∑ t = 1 L x log 2 P M x t ∣ x < t , ctx M ( y ) .
When no conditioning context is provided, C M ( x ) denotes the unconditional code length of x:
C M ( x ) = − ∑ t = 1 L x log 2 P M ( x t ∣ x < t ) .

5.2. The Direct NSID Estimator

Based on the conditional code length, we define the computable implementation of the empirical distance d ^ ( x , y ) . We term this model-based estimator the Direct Normalized Semantic Information Distance.
Definition 14
(Direct NSID Estimator). The Direct NSID estimator between two syntactic realizations x and y is defined as follows:
NSID ^ M ( x , y ) = max { C M ( x ∣ y ) , C M ( y ∣ x ) } max { C M ( x ) , C M ( y ) } .
Here, the maximum symmetrizes the two conditional directions to reduce autoregressive directional bias, while the denominator normalizes for sequence length.

5.3. Discrete Estimators for Set Metrics

To obtain the numerical results, we substitute the generic d ^ ( x , y ) from Section 4.3 with the computed NSID ^ M ( x , y ) . Let S u ˜ and S v ˜ be two finite sets of synonymous realizations with cardinalities | S u ˜ | = n and | S v ˜ | = m . The final computational formulas are defined as follows:

5.3.1. Estimator for Intra-Synonymous Set Cohesion

C ^ intra ( S u ˜ ) = 1 n ( n − 1 ) ∑ x ∈ S u ˜ ∑ y ∈ S u ˜ , y ≠ x NSID ^ M ( x , y )

5.3.2. Estimator for Inter-Synonymous Set Separability

D ^ inter ( S u ˜ , S v ˜ ) = 1 n · m ∑ x ∈ S u ˜ ∑ y ∈ S v ˜ NSID ^ M ( x , y )

5.3.3. Estimator for Semantic Discrimination Ratio

R ^ disc ( S u ˜ , S v ˜ ) = D ^ inter ( S u ˜ , S v ˜ ) 1 2 C ^ intra ( S u ˜ ) + C ^ intra ( S v ˜ )
Together, these discrete estimators are used in the experiments below.

6. Empirical Validation

To validate the proposed Semantic Algorithmic Information Theory, we conducted a controlled topological analysis across 50 cross-lingual sentences. This empirical validation focuses on Cross-Lingual Semantic Equivalence, designed to demonstrate the system’s capacity to significantly reduce syntactic variance and to quantitatively measure Semantic Friction across different languages, thereby providing robust empirical grounding for our theoretical framework.

6.1. Experimental Setup

We utilized the FLORES-200 dataset [18] to construct synonymous sets across N = 10 distinct semantic concepts. Formally, the i-th experimental synonymous set is denoted by S i : = S u ˜ i ( 5 ) = { x i , en , x i , fr , x i , de , x i , nl , x i , it } ⊆ f − 1 ( u ˜ i ) , where i = 0 , … , 9 . Here, S 0 , … , S 9 are used as experimental labels for the ten semantic concepts. For each concept, we retrieved its realization in five languages from Germanic and Romance branches: English (en), French (fr), German (de), Dutch (nl), and Italian (it). To establish a rigorous comparison, we evaluated both a syntactic baseline and multiple neural implementations of the semantic method:
  • Syntactic Baseline: Normalized Compression Distance (NCD) using standard Gzip compression.
  • Semantic Method (Ours): The model-based Direct NSID estimator computed using two pretrained language models: a T5-based encoder–decoder architecture (google/t5gemma-2-1b-1b, hereafter T5-1B) and a decoder-only large language model (Qwen3-14B, hereafter Qwen3-14B).
A. Model Comparison and Intra-Synonymous Set Cohesion: Before presenting the full matrix topology, we first compare the mean pairwise distance within five representative cross-lingual synonymous sets, with the full set-level breakdown reported in Table 1. Figure 2 shows that both neural semantic models substantially outperform the classical syntactic baseline. T5-1B and Qwen3-14B achieve broadly comparable intra-set cohesion overall, although each has advantages on individual sets. Given this comparable performance, we adopt T5-1B as the default semantic model in the subsequent experiments because it requires substantially less computation than Qwen3-14B. For readability, we refer to NSID ^ M instantiated with T5-1B as T5-NSID in the following analysis. For a concrete multilingual realization format, Appendix A presents the full five-language synonymous set for S6.
Table 1. Full quantification of semantic friction and synonymous set hardness. Values are reported as mean ± standard error.
Figure 2. Mean cross-lingual distance within selected synonymous sets.
B. Matrix Topology and Inter-Synonymous Set Separability:Figure 3 visualizes the full pairwise distance matrices. The baseline (Gzip) exhibits an irregular, diffuse pattern with distances hovering around 0.6 to 0.8 ( R ¯ ^ disc ≈ 1.20 ). Under a practical tolerance δ = 0.2 , this corresponds to the degeneracy boundary in Definition 13. Because standard compression algorithms rely heavily on character-level redundancy, they are dominated by surface-level syntactic complexity and fail to capture cross-lingual semantic equivalence. This results in Semantic Indistinguishability, where semantic signals are obscured by linguistic noise. Conversely, the T5-NSID matrix reveals a sharp block-diagonal structure. The dark diagonal squares represent cohesive synonymous sets, while the uniform background ( D ¯ ^ inter = 0.9801 ) indicates near-maximal separation between distinct synonymous sets. This high inter-synonymous set separability demonstrates that the model effectively filters out syntactic variations to isolate semantic characteristics.
Figure 3. Pairwise distance matrices for semantic equivalence (left: Gzip; right: T5-1B-based semantic method). The red dashed boxes mark the within-set regions corresponding to the ten cross-lingual synonymous sets, where different-language expressions share the same underlying meaning.
C. Geometric Projection: To further validate this topological separation, we applied Multidimensional Scaling (MDS) to project the high-dimensional semantic distances into a 2D space, illustrated in Figure 4. The visualization yields N = 10 clearly demarcated clusters, explicitly bounded by dashed circles. Each circle encapsulates a distinct cross-lingual synonymous set. Crucially, within each synonymous set, the different geometric shapes (representing the 5 distinct languages: English, French, German, Dutch, and Italian) are tightly clustered and intermixed. Meanwhile, the vast spatial separation between disparate circles confirms high inter-synonymous set separability. This geometric evidence visually supports that our metric successfully overcomes cross-lingual surface variation to capture language-invariant semantic equivalence.
Figure 4. Two-dimensional MDS projection of the high-dimensional semantic space. Different colors and dashed circles indicate different synonymous sets, while marker shapes denote different languages.
For the global summary in Table 2, we aggregate the discrete estimators introduced in Section 5.3 over all N synonymous sets. Specifically, C ¯ ^ intra is obtained by averaging the estimated intra-synonymous set cohesion C ^ intra ( S i ) over all synonymous sets, while D ¯ ^ inter is obtained by averaging the estimated inter-synonymous set separability D ^ inter ( S i , S j ) over all unordered pairs of distinct synonymous sets. The reported global discrimination ratio R ¯ ^ disc is then computed as the ratio between these two aggregated quantities, thereby providing a corpus-level summary of the topological separation induced by each distance measure.
Table 2. Global quantitative comparison of macroscopic metrics.

6.2. Microscopic Analysis: Semantic Friction and Synonymous Set Hardness

While the T5-NSID metric achieves high global separability, the intra-synonymous set cohesion is not absolute ( C ^ intra > 0 ). Because the semantic concepts underlying these synonymous sets possess distinct linguistic characteristics, the structural variations within individual synonymous sets warrant a closer investigation. To understand the source of this residual distance, we decompose the intra-set distance of each experimental synonymous set S i into an intrinsic monolingual baseline ϵ mono , i , estimated from monolingual paraphrasing, and the observed cross-lingual cohesion cost C i : = C ^ intra ( S i ) , derived from the off-diagonal pairwise T5-NSID distances among different expressions within the same synonymous set. Here, ϵ mono , i reflects the system-level noise caused by monolingual paraphrasing, whereas C i captures the actual intra-set distance after cross-lingual semantic alignment. We formally define Semantic Friction as their difference: Δ i = C i − ϵ mono , i .
Figure 5 presents a micro-analysis of this phenomenon. The gap between the cross-lingual boxplots and the monolingual noise baseline effectively quantifies the “energy cost” or friction incurred when translating a meaning across different languages. Table 1 provides a granular breakdown of this friction across all synonymous sets, revealing distinct patterns of translation hardness. For instance, synonymous sets representing abstract concepts, such as S0 (Tech) and S6 (Legal/Order), exhibit high friction ( Δ > 0.36 ). Because these underlying meanings lack rigid physical referents, their structural representations undergo significant deformation when mapped across different linguistic rules. Conversely, S3 (Sports/Entity) demonstrates the lowest friction ( Δ = 0.215 ). Although paraphrasing specific entities like “Vidal” introduces high intrinsic noise ( ϵ mono , 3 = 0.365 ), the cross-lingual translation remains remarkably stable. Such entity-centric terms act as semantic anchors that strongly resist structural deformation during translation.
Figure 5. Micro-analysis of semantic friction across different cross-lingual synonymous sets. Gray dots denote individual off-diagonal pairwise NSID distances between different expressions within the same synonymous set, the boxplots summarize their distribution, and the red dashed line indicates the global monolingual noise baseline, ϵ ¯ mono ≈ 0.25 .
Ultimately, this micro-analysis demonstrates that cross-lingual semantic equivalence is not a rigid binary state, but rather a spectrum governed by the inherent translation hardness of the synonymous sets. By isolating and quantifying this semantic friction, the T5-NSID metric not only provides a highly discriminative measure for global semantic alignment, but also offers a practical, interpretive lens for understanding the difficulty of mapping complex meanings across diverse languages.

7. Conclusions

In this paper, we have established Semantic Algorithmic Information Theory to address the fundamental limitations of classical, syntax-bound algorithmic information theory. By integrating standard Turing machines with computable synonymous mappings, we formalized the Semantic Turing Machine System (STMS) and Semantic Complexity. This framework theoretically decouples the informational value of abstract concepts from the algorithmic cost of their diverse syntactic realizations. To transition from theory to computable metrics, we introduced a model-based Direct NSID estimator as a computable approximation to the ideal Normalized Semantic Information Distance using modern neural autoregressive estimators. Through a set-theoretic evaluation framework, we quantified the phenomenon of Semantic Equivalence—demonstrating that appropriate computational systems can suppress syntactic noise and preserve semantic structure more consistently across diverse surface realizations.
Looking forward, this framework provides a theoretical basis for several future research directions. Future work could systematically analyze the gap between syntactic and semantic entropy across diverse language families. Additionally, extending our metric from static objects to dynamic stochastic processes could offer new mathematical perspectives on cognitive modeling and language evolution. By elevating Kolmogorov complexity from syntactic descriptions toward conceptual representations, this work aims to contribute to the development of semantic-aware information metrics.

Author Contributions

Conceptualization, K.N. and P.Z.; methodology, J.W. and Y.S.; software, J.W.; validation, J.W. and S.W.; formal analysis, J.W. and Y.S.; investigation, J.W. and S.W.; resources, J.W. and Y.S.; data curation, J.W. and S.W.; writing—original draft preparation, J.W.; writing—review and editing, J.W. and K.N.; visualization, J.W.; supervision, K.N. and P.Z.; project administration, K.N.; funding acquisition, K.N. and P.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the National Natural Science Foundation of China (No. 62293481, No. 92467301) and in part by the Beijing University of Posts and Telecommunications–China Mobile Communications Group Co., Ltd. Joint Institute (BUPT–CMCC Joint Institute).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

Author Sen Wang was employed by the company China Mobile Research Institute. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The China Mobile Research Institute had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
AITAlgorithmic Information Theory
NCDNormalized Compression Distance
NIDNormalized Information Distance
NSIDNormalized Semantic Information Distance
STMSSemantic Turing Machine System

Appendix A

This appendix presents a multilingual synonymous set example (ID: S6) from Section 6, with equivalent realizations in English, French, German, Dutch, and Italian.
Table A1. Multilingual synonymous set for S6 used in the experiments.

References

  1. Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Scilit]
  2. Li, M.; Vitányi, P. An Introduction to Kolmogorov Complexity and Its Applications; Springer: Berlin/Heidelberg, Germany, 2008; Volume 3. [Google Scholar]
  3. Vereshchagin, N.K.; Vitányi, P.M. Kolmogorov’s structure functions and model selection. IEEE Trans. Inf. Theory 2004, 50, 3265–3290. [Google Scholar] [CrossRef]
  4. Bennett, C.H.; Gács, P.; Li, M.; Vitányi, P.M.; Zurek, W.H. Information distance. IEEE Trans. Inf. Theory 1998, 44, 1407–1423. [Google Scholar] [CrossRef] [Scilit]
  5. Li, M.; Chen, X.; Li, X.; Ma, B.; Vitányi, P.M. The similarity metric. IEEE Trans. Inf. Theory 2004, 50, 3250–3264. [Google Scholar] [CrossRef] [Scilit]
  6. Cilibrasi, R.; Vitányi, P.M.B. Clustering by compression. IEEE Trans. Inf. Theory 2005, 51, 1523–1545. [Google Scholar] [CrossRef] [Scilit]
  7. Cohen, A.R.; Vitányi, P.M. Normalized compression distance of multisets with applications. IEEE Trans. Pattern Anal. Mach. Intell. 2014, 37, 1602–1614. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Coltuc, D.; Datcu, M.; Coltuc, D. On the use of normalized compression distances for image similarity detection. Entropy 2018, 20, 99. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Mao, Y.; Liu, P.; Cui, T.; Liu, C.; You, D. Low-resource fast text classification based on intra-class and inter-class distance calculation. In Proceedings of the 31st International Conference on Computational Linguistics, Abu Dhabi, United Arab Emirates, 19–24 January 2025; pp. 1045–1056. [Google Scholar]
  10. Delétang, G.; Ruoss, A.; Duquenne, P.A.; Catt, E.; Genewein, T.; Mattern, C.; Grau-Moya, J.; Wenliang, L.K.; Aitchison, M.; Orseau, L.; et al. Language modeling is compression. In Proceedings of the Twelfth International Conference on Learning Representations, Vienna, Austria, 7–11 May 2024. [Google Scholar]
  11. Li, Z.; Huang, C.; Wang, X.; Hu, H.; Wyeth, C.; Bu, D.; Yu, Q.; Gao, W.; Liu, X.; Li, M. Lossless data compression by large models. Nat. Mach. Intell. 2025, 7, 794–799. [Google Scholar] [CrossRef] [Scilit]
  12. Hurwitz, J.; Nicholas, C.; Raff, E. Large Language Models and Normalized Compression Distance: Better Compression Yet Worse Accuracy. In ECAI 2025; IOS Press: Amsterdam, The Netherlands, 2025; pp. 4273–4280. [Google Scholar]
  13. Vera, H.S.; Dua, S.; Zhang, B.; Salz, D.; Mullins, R.; Panyam, S.R.; Smoot, S.; Naim, I.; Zou, J.; Chen, F.; et al. Embeddinggemma: Powerful and lightweight text representations. arXiv 2025, arXiv:2509.20354. [Google Scholar] [CrossRef] [Scilit]
  14. Meister, C.; Giulianelli, M.; Pimentel, T. Towards a similarity-adjusted surprisal theory. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Miami, FL, USA, 12–16 November 2024; pp. 16485–16498. [Google Scholar]
  15. Giulianelli, M.; Wallbridge, S.; Fernández, R. Information value: Measuring utterance predictability as distance from plausible alternatives. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, Singapore, 6–10 December 2023; pp. 5633–5653. [Google Scholar]
  16. Niu, K.; Zhang, P. The Mathematical Theory of Semantic Communication; Springer: Berlin/Heidelberg, Germany, 2025. [Google Scholar]
  17. Niu, K.; Zhang, P. A mathematical theory of semantic communication. J. Commun. 2024, 45, 7–59. [Google Scholar]
  18. NLLB Team; Costa-Jussà, M.R.; Cross, J.; Çelebi, O.; Elbayad, M.; Heafield, K.; Heffernan, K.; Kalbassi, E.; Lam, J.; Licht, D.; et al. No Language Left Behind: Scaling human-centered machine translation. arXiv 2022, arXiv:2207.04672. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.