Next Article in Journal
The Gamma Power Generalized Weibull Distribution: Modeling Bibliometric Data
Previous Article in Journal
Asymptotic Properties of Error Density Estimators in the Two-Phase Linear Regression Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

Ordering and Quantifying Textual Cohesion via Semantic, Geometric and Statistical Structure

by
Stelios Arvanitis
Department of Economics, Athens University of Economics and Business, 10434 Athens, Greece
Stats 2026, 9(2), 25; https://doi.org/10.3390/stats9020025
Submission received: 12 January 2026 / Revised: 12 February 2026 / Accepted: 24 February 2026 / Published: 3 March 2026
(This article belongs to the Section Applied Statistics and Machine Learning Methods)

Abstract

We propose a semantic, geometric, and statistical framework for quantifying and ordering textual cohesion in long-form discourse. Sentences are embedded into a semantic similarity graph and Ollivier–Ricci curvature is used to extract sentence- and document-level structural profiles, represented as step functions on a normalized rhetorical-time axis. On this functional space we define the Weighted Utopia Index (wUI), a corpus-relative measure of weighted shortfall from an upper-envelope profile under a dominance-type ordering. The rhetorical-time weighting function is learned self-supervised: we generate controlled sentence-order perturbations with known ordinal coherence degradation and estimate the weight parameters via an ordered probit model on a training split. We evaluate ordering recovery on held-out State of the Union speeches using rank correlations, pairwise and adjacent ordering accuracy, and violation-localization diagnostics with bootstrap uncertainty. Across these criteria, wUI systematically outperforms embedding-only adjacent-similarity baselines, while a Nash-type aggregation provides an interpretable semantic–structural trade-off score. An application to later-period speeches illustrates how the method yields interpretable cohesion rankings and curvature-profile diagnostics without requiring external annotations.

1. Introduction

Quantifying textual coherence—the degree to which a text exhibits consistent semantic and structural progression—is central to applications ranging from discourse analysis and summarization to automated text evaluation and generation. While recent neural approaches have achieved strong performance by learning sentence-level plausibility from large corpora, they often lack explicit representations of discourse structure and provide limited interpretability regarding how coherence is formed across a document.
We propose a framework for measuring textual coherence that integrates semantic representations with geometric structure extracted from sentence similarity graphs. Sentences are embedded using pretrained transformer models and represented as weighted graphs, from which we compute Ollivier–Ricci curvature to capture structural smoothness, bottlenecks, and transitions in discourse flow. This yields a curvature profile along the rhetorical progression of a text. We introduce a statistically trained structural alignment score that compares a text’s curvature profile to corpus-level reference envelopes under a dominance-type ordering. Specifically, we define the Weighted Utopia Index (wUI) as a normalized, weighted shortfall functional over rhetorical time. Crucially, the weighting function is not specified ad hoc. Instead, it is learned in a self-supervised manner from known ordinal coherence structure induced by controlled sentence-order perturbations. We generate document variants of increasing permutation severity, which yields an exact ground-truth ordering of coherence by construction, and estimate the rhetorical-time weighting parameters via an ordered probit model on a training split. This links a latent coherence utility to observed ordinal categories determined by perturbation severity, yielding a probabilistically grounded and internally identified weighting profile. The learned weighting function is itself interpretable and reveals which portions of a document’s rhetorical progression are most informative for coherence discrimination.
Evaluation is conducted entirely within the same corpus family, avoiding cross-genre transfer and external annotation noise. Using held-out documents, we assess how well different cohesion measures recover the known ordinal ordering induced by perturbations. We report rank correlations, pairwise and adjacent ordering accuracy, violation-localization diagnostics, and bootstrap confidence intervals. Across these criteria, the proposed wUI consistently outperforms embedding-only adjacency baselines, while a Nash-type aggregation provides an interpretable semantic–structural trade-off score.
An application to later-period political speeches illustrates how the framework can be used as an interpretive tool rather than a validation exercise. By decomposing cohesion into semantic continuity and global structural alignment, the method reveals rhetorical patterns that are not visible to local similarity measures alone.
The proposed framework is interpretable, modular, and statistically grounded, offering a geometry-aware alternative to purely neural coherence models and a principled evaluation paradigm based on exact ordinal supervision.

2. Materials and Methods

For a finite corpus of texts D = { d 1 , , d N } , where each text d k consists of a non-empty ordered sequence of sentences S k = { s 1 ( k ) , , s n k ( k ) } , the goal is to construct numerical scores that approximate the internal cohesion of each d k by analyzing semantic and geometric information over S k .
The current section develops the methodological pipeline. We begin by constructing semantic similarity graphs using SBERT-based sentence embeddings (see [1]), linking sentences via cosine similarity to form weighted, undirected graphs in the spirit of TextRank [2]. The graph-theoretic Ollivier–Ricci curvature (see [3,4]) is then computed on these graphs using optimal transport distances between neighborhood distributions, yielding sentence-level curvature profiles, represented by text-by-text comparable step function embeddings of the curvature vectors.
To assess structural alignment using information from the curvature profiles, we introduce a “reverse First order Dominance-type” order relation and produce a Weighted Utopia Index (wUI). The latter is an adaptation of the Utopia Index associated with Second Order Stochastic Dominance and introduced in [5]. Given the set of curvature profiles for the corpus, the wUI quantifies the severity of the obstacles to order maximality of a speech’s curvature profile against corpus-wide bounds.
The wUI is computed using a learned weight function
w θ ( x ) = exp θ 1 x + θ 2 x 2 ,
where θ R 2 is estimated via an ordered probit model under self-supervised ordinal supervision. Ordinal labels are induced by controlled sentence-order perturbations of increasing severity, which generate an exact ground-truth ordering of coherence by construction. The probit likelihood links a latent coherence utility indexed by the wUI to these severity-based ordinal categories, yielding a statistically identified weighting function over rhetorical time.
This learning procedure endows the wUI with sensitivity to structural coherence patterns that are empirically informative for distinguishing progressively degraded discourse within a homogeneous corpus. The resulting weight function can be interpreted as a data-driven estimate of which rhetorical regions contribute most to coherence discrimination under the induced ordinal ordering. To complement structural metrics, we compute the SBERT-based Coherence Score (SBERT-CS), which measures semantic continuity as the average cosine similarity between adjacent SBERT-sentence embeddings. This average partially captures local flow and topical progression across the discourse, leveraging contextual sentence representations produced by a pre-trained transformer.
Finally, the Nash cohesion score is defined as the geometric mean of the SBERT-based coherence score and the Weighted Utopia Index. It summarizes a trade-off between semantic plausibility and structural alignment. This can be thought of as a Pareto-scalarization of the two-dimensional score obtained from vectorising SBERT-CS with wUI.

2.1. TextRank and SBERT Semantic Graph

Let S k = { s 1 ( k ) , , s n k ( k ) } be a finite set of sentences extracted from an arbitrary document in the corpus. The goal of the TextRank algorithm [2] is to compute a score r i ( k ) for each sentence s i ( k ) , reflecting its importance in terms of semantic similarity to other sentences.
The relationships between sentences are represented using an undirected weighted graph G ( k ) = ( V ( k ) , E ( k ) , W ( k ) ) , where:
  • V ( k ) = S k is the set of nodes (sentences);
  • ( s i ( k ) , s j ( k ) ) E ( k ) if and only if i j and sim ( s i ( k ) , s j ( k ) ) > τ where sim represents some similarity index between sentences (to be defined in the following paragraph), and τ [ 0 , 1 ] is a similarity threshold;
  • w ( k ) : E ( k ) R + assigns edge weights w i j ( k ) = sim ( s i ( k ) , s j ( k ) ) .

Similarity via Sentence Embeddings with SBERT

To capture sentence-level semantic meaning, and thus define the aforementioned sim function, we utilize Sentence-BERT (SBERT), a modification of the original Google’s BERT (see [6]) architecture specifically designed to produce high-quality embeddings for sentence similarity tasks [1]. While BERT (Bidirectional Encoder Representations from Transformers) achieves state-of-the-art performance in many NLP benchmarks, it is aknowledged that it is not directly optimized for measuring sentence-to-sentence similarity. Its limitations are associated to the fact that BERT produces contextualized token embeddings, not sentence embeddings. Aggregating these into a fixed-size representation (e.g., using mean pooling) yields inconsistent semantic distances. Furthermore, in similarity tasks, vanilla BERT requires joint input of any pair of two sentences which can be computationally inefficient for large-scale or many-to-many comparisons.
The SBERT modification addressed these issues by introducing a Siamese network architecture (see [7]) that encodes each sentence independently using a shared transformer model. Sentence embeddings are then obtained by applying a pooling operation (typically mean-pooling) over the output token embeddings. Each sentence s ( k ) S k is mapped to a vector representation v s ( k ) R d . The resulting fixed-size vectors lie in a semantically meaningful space, allowing cosine similarity to approximate semantic sentence similarity.
SBERT is fine-tuned on large-scale natural language inference (NLI) and semantic textual similarity (STS) datasets. This training encourages the model to place semantically similar sentences near each other in the embedding vector space. The resulting architecture supports fast, meaningful, and interpretable vector-based comparisons, making it highly suitable for applications in coherence evaluation, clustering, and semantic graph construction.
Given then an arbitrary pair of SBERT sentence embedding vectors v s i ( k ) , v s j ( k ) , the edge weight between them is defined as:
w i j ( k ) = sim ( s i ( k ) , s j ( k ) ) : = v s i ( k ) , v s j ( k ) v s i ( k ) 2 ·   v s j ( k ) 2 ,
where · , · and · 2 respectively denote the Euclidean inner product and norm. The embeddings are then used to define the Edge set E ( k ) and the final weight function W ( k ) that complete the construction of the TextRank-type graph; namely, the edge e i j ( k ) is retained in E ( k ) if and only if w i j ( k ) > τ for a fixed threshold where τ ( 0 , 1 ) is a similarity threshold controlling graph sparsity; optionally the top-k most similar neighbors could be retained for each node in order to enforce k-sparsity. The reduced weight function is then w i j ( k ) : = w i j ( k ) , if w i j ( k ) > τ 0 , if w i j ( k ) τ .
For each text d k text in the corpus at hand, the resulting SBERT-based sentence-based TextRank graph can be interpreted as a sentence-level semantic network. Its topological and geometrical properties could reflect semantic coherence which could be recovered using graph curvature and/or entropy measures.

2.2. Ollivier–Ricci Curvature and Dominance on Sentence Graphs

The TextRank graph is constructed over sentence embeddings with a geometric notion of curvature to reveal the structural properties of the sentence network for each text in the corpus. In particular, the notion of Ollivier–Ricci curvature [4] is employed, adapted to weighted graphs.

2.2.1. Metric Measure Space Structure

Let G ( k ) = ( V ( k ) , E ( k ) , w ( k ) ) be the undirected weighted graph defined in the previous paragraph. To each node (sentence) i V ( k ) a discrete probability distribution μ i ( k ) supported its neighbors is defined via:
μ i ( k ) ( j ) : = w i j ( k ) m N ( i ) w i m ( k ) , for j N ( i ) 0 , for j N ( i ) ,
where N ( i ) denotes the neighborhood of i inside G ( k ) . This makes ( V ( k ) , d G ( k ) , { μ i ( k ) , i V ( k ) } ) a discrete metric measure space, where d G ( k ) ( i , j ) is the shortest-path distance on G ( k ) , and { μ i ( k ) , i V ( k ) } is the process on V ( k ) comprised of the abovementioned discrete measures.

2.2.2. Between-Nodes Ollivier–Ricci Curvature

Following [4], the Ollivier–Ricci curvature κ ( i , j ) along the edge ( i , j ) in G ( k ) is defined via optimal transport between the measures μ i ( k ) and μ j ( k ) :
κ ( k ) ( i , j ) : = 1 W 1 ( μ i ( k ) , μ j ( k ) ) d G ( k ) ( i , j ) ,
where W 1 is the 1-Wasserstein distance between μ i ( k ) and μ j ( k ) ; the latter in the present discrete framework is defined as W 1 ( μ i ( k ) , μ j ( k ) ) : = min γ Γ ( μ i ( k ) , μ j ( k ) ) ( m , n ) N i × N j γ ( m , n ) d G ( k ) ( m , n ) , where Γ ( μ i ( k ) , μ j ( k ) ) denotes the set of Borel probability distributions on N i × N j that have respective marginals μ i ( k ) , μ j ( k ) (see [8]). The computation of the Wasserstein distance and thus of the between-nodes curvature has a convenient LP representation—see for example Chapter 8 of [9].
The curvature quantifies how well the neighborhoods of i and j are aligned. Positive curvature could be interpreted as local cohesion, while negative curvature may imply structural bottlenecks or bridges. Edges with negative curvature identify transitions across semantically distant or structurally weakly connected regions. By averaging κ ( i , j ) over incident edges, we define a sentence-level curvature score:
κ ¯ ( k ) ( i ) : = 1 | N ( i ) | j N ( i ) κ ( k ) ( i , j ) ,
which captures the local semantic structural integrity around sentence s i ( k ) . High positive values may indicate redundant or predictable contexts, while negative scores may indicate pivotal sentences or “non-smooth” transitions.
Intuition for Discourse Analysis
For NLP practitioners, Ollivier–Ricci curvature can be interpreted as a comparison of local semantic neighborhoods. For a sentence i, consider the probability distribution over its neighbors, where mass is proportional to cosine similarity. If two adjacent sentences i and j have neighborhoods that are themselves semantically similar, the optimal transport cost between these two distributions is small, yielding positive or near-zero curvature. This corresponds to locally redundant or smoothly evolving discourse.
By contrast, if the neighborhoods differ substantially—for example, when a sentence acts as a bridge between otherwise weakly connected semantic regions—the transport cost is large and curvature becomes negative. In discourse terms, negative curvature signals a semantic bottleneck, topic shift, or structural transition in the flow of ideas.
Thus, curvature does not measure lexical similarity directly; rather, it captures whether local semantic contexts evolve smoothly or introduce structural breaks in the sentence graph.

2.2.3. Step-Function Embedding of Curvature Profiles

Each sentence-level Ricci curvature vector κ ¯ ( k ) = ( κ ¯ 1 ( k ) , , κ ¯ n k ( k ) ) is embedded into a piecewise-constant function defined on the unit interval:
κ k ( x ) : = κ ¯ i ( k ) for x i 1 n k , i n k , i = 1 , , n k .
The resulting mapping—-a standardized curvature profile— κ k : [ 0 , 1 ] R is a right-continuous step function that preserves the position, magnitude, and sign of each curvature value in the sentence sequence. This embedding allows comparison between texts of varying length within a common function space, while capturing curvature dynamics over normalized discourse position.

2.2.4. Envelope Construction and Dominance Relation

Given the set of curvature profiles { κ 1 , , κ N } , define the corpus-wide envelope functions over [ 0 , 1 ] :
κ ¯ ( x ) : = sup k κ k ( x ) , κ ̲ ( x ) : = inf k κ k ( x ) ,
which represent, respectively, the pointwise best and worst structural cohesion observed at each normalized sentence position x [ 0 , 1 ] .
Furthermore, we say that text d k dominates d k in structural cohesion, denoted d k d k , if and only if:
κ k ( x ) κ k ( x ) for all x [ 0 , 1 ] .
This defines a pointwise dominance relation on the space of curvature profiles. It is an interpretable (pre-) order: a dominating curvature profile never dips below the dominated one across the normalized discourse in terms of curvature. The κ ¯ curvature profile corresponds to a utopian (across the current corpus) curvature profile that may not be feasible by any text in the corpus. Dually, the κ ̲ corresponds to a dystopian minimal element of the corpus that may not correspond to any text there. Notice that the order may be incomplete; dominance requires the satisfaction of a potentially demanding functional inequality. Both envelopes however, as the following paragraph suggests, can be used in order to construct a text meta-ordering that essentially quantifies the obstacles to dominance.

2.3. Weighted Utopia Index (wUI)

To quantify how close a document’s curvature profile comes to the corpus-wide best-case cohesion, we define the Weighted Utopia Index (wUI); this is an idea inspired from the Utopia Index considered in a quite different framework of income distributions and w.r.t. stochastic dominance relations (see [10]) by [5]. Given a w θ : [ 0 , 1 ] R + that assumes the role of a nonnegative weighting function, The weighted shortfall of text d k from the utopian upper envelope is given by:
Shortfall ( d k ) : = 0 1 w θ ( x ) · [ κ ¯ ( x ) κ k ( x ) ] + d x ,
where [ · ] + denotes the positive part. The maximal possible weighted shortfall is:
MaxShortfall : = 0 1 w θ ( x ) · [ κ ¯ ( x ) κ ̲ ( x ) ] d x .
The Weighted Utopia Index is then defined as:
wUI ( d k ) : = 1 Shortfall ( d k ) MaxShortfall = 1 0 1 w θ ( x ) [ κ ¯ ( x ) κ k ( x ) ] + d x 0 1 w θ ( x ) [ κ ¯ ( x ) κ ̲ ( x ) ] d x .
This index lies in [ 0 , 1 ] , with:
  • wUI ( d k ) = 1 if κ k ( x ) = κ ¯ ( x ) for all x, i.e., maximal structural cohesion.
  • wUI ( d k ) = 0 if κ k ( x ) = κ ̲ ( x ) for all x, i.e., worst-case alignment.
The wUI thus defines an interpretable, and potentially human-informed (via the weight selection) cohesion measure over texts of arbitrary length, preserving curvature sign information. Mathematically, as the shortfall quantifies the obstacles that text d k faces in order to establish utopian dominance across the corpus, wUI can be thought of as a meta-ordering that functions as a completion to ≽; d k is preferred according to wUI from d k , iff it achieves a greater wUI—the ordering is complete. A sufficient condition for that is d k d j .
By construction, the wUI evaluated at an arbitrary document in the corpus contains information about the curvature profiles that inhabit the corpus, through the envelope profiles. Changing the set of texts may alter the wUI score of a fixed text due to the potential alterations of the envelopes; this suggests the potential sensitivity of the index on the inclusion in the corpus of texts with “extreme” curvature profiles.

Training the Weight Function via Self-Supervised Ordered Probit

The weighting function w θ introduced in the construction of the Weighted Utopia Index remains, a priori, unidentified. We estimate w θ using a self-supervised ordinal training scheme that exploits controlled perturbations of sentence order within a homogeneous corpus of texts.
Specifically, let D tr = { d 1 , , d K } denote a training corpus consisting of texts of similar genre and communicative function (e.g., political speeches). For each document d k D tr , we generate a finite collection of reordered variants
{ d k ( 0 ) , d k ( 1 ) , , d k ( J ) } ,
where d k ( 0 ) denotes the original text and d k ( j ) is obtained by applying a sentence reshuffling procedure of increasing severity as j increases. The perturbations are constructed so that higher values of j correspond to greater disruption of discourse order (e.g., local block swaps for small j, global random permutations for large j). By construction, these variants satisfy a known ordinal relation:
d k ( 0 ) d k ( 1 ) d k ( J ) ,
which serves as a proxy ordering for decreasing textual cohesion.
We encode this ordering through an observed ordinal variable
r k ( j ) : = J + 1 j { 1 , , J + 1 } ,
where higher values correspond to higher coherence under the perturbation mechanism. Importantly, these labels are not human judgments but are induced by a known structural degradation process, yielding a self-supervised training signal.
The weighting function is parameterized as an exponential–quadratic function over normalized rhetorical time,
w θ ( x ) = exp θ 1 x + θ 2 x 2 , x [ 0 , 1 ] , θ = ( θ 1 , θ 2 ) R 2 .
We omit an intercept term for identification reasons. The Weighted Utopia Index depends only on the relative shape of the weighting function, since it enters both the numerator and denominator of the index multiplicatively. Any constant scaling of w θ therefore cancels out. Including an unrestricted intercept would introduce a redundant scale degree of freedom without affecting the value of the index.
To eliminate this indeterminacy explicitly, we impose the normalization condition
0 1 w θ ( x ) d x = 1 ,
implemented numerically on the discretized rhetorical-time grid. This ensures that w θ is identified as a probability density over rhetorical time, so that parameter estimates reflect changes in shape rather than scale.
The exponential–quadratic family is chosen for three complementary reasons.
First, it is smooth and twice differentiable, ensuring stable numerical integration and gradient-based estimation.
Second, it is low-dimensional, thereby imposing a parsimonious inductive bias. With only two free parameters, the model can represent monotone, unimodal, or boundary-peaked emphasis patterns while avoiding overfitting to idiosyncratic features of the training corpus.
Third, the quadratic form in the exponent implies that log w θ ( x ) is concave whenever θ 2 < 0 , yielding a single-peaked weighting profile. This property rules out pathological multi-modal emphasis patterns and aligns with standard rhetorical theory, which typically assumes a dominant segment of maximal argumentative density rather than multiple disconnected focal points.
Under this parameterization, the location of the maximal rhetorical emphasis is given analytically by
x * = θ 1 2 θ 2 ,
whenever θ 2 < 0 , providing a transparent geometric interpretation of the learned parameters.
Estimation proceeds via ordered probit maximum likelihood on the training corpus D tr , using permutation severity as the ordinal outcome. To enhance numerical stability and prevent excessively sharp concentration of mass, we include a small 2 regularization term on ( θ 1 , θ 2 ) during estimation. Inference uncertainty is quantified via document-level bootstrap resampling, from which both parameter confidence intervals and pointwise confidence bands for w θ ( x ) are constructed.
For each document variant d k ( j ) , we compute the corresponding Weighted Utopia Index wUI k ( j ) ( θ ) . We then posit a latent variable model of ordered probit type:
y k ( j ) * : = wUI k ( j ) ( θ ) + ε k ( j ) , ε k ( j ) N ( 0 , 1 ) ,
where y k ( j ) * represents an unobserved latent measure of order integrity. The observed ordinal outcome r k ( j ) is assumed to arise through discretization:
r k ( j ) = τ 1 < y k ( j ) * τ , = 1 , , J + 1 ,
with cutpoints = τ 0 < τ 1 < < τ J < τ J + 1 = + .
The probability of observing category is therefore
P [ r k ( j ) = θ , { τ } ] = Φ ( τ wUI k ( j ) ( θ ) ) Φ ( τ 1 wUI k ( j ) ( θ ) ) ,
where Φ ( · ) denotes the standard normal cumulative distribution function. The log-likelihood over the training corpus and all perturbation levels is given by
L ( θ , { τ } ) = k = 1 K j = 0 J log Φ ( τ r k ( j ) wUI k ( j ) ( θ ) ) Φ ( τ r k ( j ) 1 wUI k ( j ) ( θ ) ) .
Maximum likelihood estimation is carried out for the weight–shape parameters in the ordered probit model, treating the cutpoints as fixed on a pre-specified grid. This choice reflects the fact that the self-supervised labels are generated by construction from permutation severity, so identification can be anchored by fixing the latent scale rather than estimating it. To account for dependence induced by multiple perturbed variants originating from the same base document, uncertainty is assessed via a document-level bootstrap (resampling documents with replacement and refitting the model), from which confidence intervals for both θ and the implied weight function are obtained. Optimization is performed using quasi-Newton methods with a small ridge penalty on ( θ 1 , θ 2 ) to stabilize estimation. A fully standard ordered-probit alternative is to estimate the cutpoints jointly with θ , typically by parameterizing the cutpoint increments to enforce monotonicity. This variant is feasible here as well, and would allow the mapping from permutation severity to ordinal categories to be partially learned from the data. In our setting, however, fixing the cutpoints is convenient and transparent because the categories are mechanically generated and the primary object of interest is the induced shape of w(x), not the latent scale normalization.
This estimation procedure calibrates the weighting function so that the resulting Weighted Utopia Index is maximally consistent with a known ordinal degradation of discourse structure. Intuitively, the learned weight function emphasizes those regions of rhetorical time where curvature-based structural disruptions are most informative for distinguishing coherent from incoherent orderings within the given corpus.
The estimated function w θ ^ ( x ) should therefore be interpreted as a corpus-specific rhetorical weighting profile, reflecting how structural cohesion contributes to order integrity under controlled perturbations, rather than as a universal model of human preference.

2.4. Average Adjacent SBERT Coherence

In our pipeline, and as a complement to the WUI, we employ the SBERT-based average weight across adjacent nodes of our TextRank-type graph;
SBERT Coherence ( d k ) = 1 n k 1 i = 1 n 1 w i i + 1 ( k ) .
This score captures the extent to which adjacent sentences in the speech share similar semantic content, reflecting smooth rhetorical progression. High scores indicate fluent, well-aligned transitions; lower scores suggest abrupt shifts or topic discontinuities. It leverages SBERT’s pretrained semantic knowledge, hopefully providing a sequential/adjacent complement to curvature-based global cohesion scores.

2.5. A Nash-Type Multiobjective Cohesion Score

Scalarizing the resulting vector score ( wUI , SBERT Coherence ) , define a final cohesion score using a Nash bargaining-type product as:
N ( d k ) : = wUI ( d k ) w 1 · SBERT Coherence ( d k ) w 2 ,
where w = ( w 1 , w 2 ) Δ 2 is a probability vector representing trade-offs between the two constitutional cohesion scores.
The Nash-type cohesion score can be justified via a multiobjective ordering of the texts inside the corpus based on the pair of the aforementioned scores; d k is said to pairwise dominate d k , iff wUI ( d k ) wUI ( d k ) and SBERT Coherence ( d k ) SBERT Coherence ( d k ) . Then the text that maximizes the Nash cohesion score can be easily seen to be a Pareto-efficient element of the corpus according to this ordering; no gain in wUI or Coherence-BERT is possible without a loss in the other. Furthermore, the Nash product is invariant under positive affine transformations of each criterion, preserving comparability across scales.
This formulation can be particularly suited for comparative rhetorical analysis, where differing strengths in local vs. global cohesion may suggest distinct communicative strategies or ideological styles.

2.6. Cohesion Analysis Summary Algorithm

The following pseudocode in Algorithm 1 summarizes our full pipeline for computing cohesion metrics from a corpus of texts. It integrates graph-theoretic structure extraction, curvature analysis, sentence-level semantic alignment, a trained version of the Utopia Index using human-labeled data, and a Nash-type multiobjective scoring.
Algorithm 1 Curvature-Weighted Utopia Index Framework
  1:
Input: Corpus D = { d 1 , , d N } with sentence segmentation.
  2:
Step 1: Sentence embedding and graph construction
  3:
for each document d k with ordered sentences { s 1 ( k ) , , s n k ( k ) }  do
  4:
      Compute contextual sentence embeddings
v i ( k ) Encoder ( s i ( k ) ) , v i ( k ) = 1
  5:
      Construct weighted similarity graph G ( k ) = ( V ( k ) , E ( k ) , w ( k ) ) where
w i j ( k ) = cos v i ( k ) , v j ( k )
  6:
      Optionally sparsify the graph via thresholding w i j ( k ) > τ
       or k-nearest-neighbour selection
  7:
end for
  8:
Step 2: Ollivier–Ricci curvature
  9:
for each edge ( i , j ) E ( k )  do
10:
       Compute
κ ( k ) ( i , j ) = 1 W 1 μ i ( k ) , μ j ( k )
11:
end for
12:
Define node-level curvature
κ ¯ i ( k ) = 1 | N ( k ) ( i ) | j N ( k ) ( i ) κ ( k ) ( i , j )
13:
Step 3: Rhetorical-time embedding
14:
Normalize sentence position to x [ 0 , 1 ] and embed node curvature as
κ k ( x )
15:
Step 4: Corpus-level envelopes
16:
Construct
κ ¯ ( x ) = sup d D ref κ d ( x ) , κ ̲ ( x ) = inf d D ref κ d ( x )
17:
Step 5: Rhetorical-time weighting
18:
Parameterize
w θ ( x ) = exp θ 1 x + θ 2 x 2
19:
Optionally normalize so that 0 1 w θ ( x ) d x = 1
20:
Step 6: Weighted Utopia Index
21:
Define
wUI θ ( d k ) = 1 0 1 w θ ( x ) [ κ ¯ ( x ) κ k ( x ) ] + d x 0 1 w θ ( x ) [ κ ¯ ( x ) κ ̲ ( x ) ] d x
22:
Step 7: Learning (optional)
23:
If ordinal supervision is available, estimate θ via ordered probit maximum likelihood linking latent coherence to wUI θ ( d )
24:
Step 8: Optional aggregation
25:
Combine with semantic adjacent similarity
N ( d k ) = wUI θ ( d k ) · SemanticAdj ( d k )
26:
Output: Structural cohesion score (wUI), semantic coherence score, and optional aggregate score.

Implementation Details

All computations were implemented in Python v3.9. Sentence embeddings were generated using the sentence-transformers library (all-MiniLM-L6-v2). As a semantic baseline, SBERT coherence scores were computed as the mean cosine similarity between adjacent sentence embeddings, capturing local semantic continuity along the rhetorical progression.
Sentence similarity graphs were constructed using symmetrized k-nearest-neighbor graphs (default k = 12 ) with cosine similarity weights, ensuring bounded degree, graph connectivity in practice, and numerical stability across documents of varying length. Threshold-based graphs are used only in sensitivity analyses.
Ollivier–Ricci curvature was computed on these graphs using the Wasserstein distance between neighborhood measures, as implemented in the POT optimal transport library. This yields a node-level curvature profile indexed by sentence position, which is subsequently aggregated into document-level curvature profiles over normalized rhetorical time.
Under kNN construction, graph density is controlled uniformly across documents, and each node has at most 2 k incident edges after symmetrization. As a result, graph construction scales approximately linearly in the number of sentences per document, and curvature computation involves optimal transport between small local neighborhoods of bounded size. Empirically, runtime remains modest for long-form political speeches (typically well under a second per document on standard hardware), and no numerical instability was observed even for the longest speeches in the corpus.

3. Results

This section evaluates the proposed cohesion measures in a setting where the true ordinal structure of discourse coherence is known by construction. Rather than relying on external human annotations—which are often drawn from heterogeneous corpora and introduce genre or annotator effects—we adopt a fully self-supervised evaluation framework based on controlled sentence-order perturbations within a homogeneous corpus of long-form texts.

3.1. Corpus and Data Splitting

We consider a corpus D consisting of English-language U.S. presidential speeches, drawn from the Miller Center archive. These texts are long, formally structured, and share a common communicative purpose and rhetorical style, making them well suited for controlled coherence experiments.
Documents are split at the document level according to calendar year into three disjoint subsets:
D = D tr D te D app ,
where D tr contains speeches from 1945 up to 1988, D te covers the period 1989–2008, and D app consists of more recent speeches. The training set D tr is used exclusively for parameter estimation, while all reported evaluation results are computed on the held-out test set D te . The application set D app is reserved for out-of-sample qualitative analysis.
All splits are performed at the document level to avoid leakage across reordered variants of the same speech.

3.2. Generation of Ordinal Supervision via Sentence Perturbations

For each document d D tr D te , we generate a family of reordered variants
{ d ( 0 ) , d ( 1 ) , , d ( J ) } ,
where d ( 0 ) denotes the original document and d ( j ) is obtained by applying a sentence permutation of severity level j. The permutation scheme is fixed across training and evaluation and operates on contiguous blocks of sentences whose size increases with j, culminating in near-randomized sentence orderings for large j.
By construction, higher values of j correspond to greater disruption of discourse order while preserving sentence content. This induces an exact and known ordinal coherence ordering
d ( 0 ) d ( 1 ) d ( J ) ,
which serves as ground-truth supervision. Importantly, this ordering is deterministic and does not rely on subjective human judgments or external labels.

3.3. Training of the Weight Function

The weighting function w θ entering the Weighted Utopia Index is estimated using only the training corpus D tr and its perturbed variants. Specifically, curvature profiles are computed for each reordered document d ( j ) , and an ordered probit model is fitted so that the resulting wUI θ aligns with the known ordinal ranking induced by permutation severity.
The probit specification treats coherence as an unobserved latent index whose ordering is observed through the permutation levels j. The functional form of w θ is restricted to a low-dimensional exponential family, allowing the model to learn which portions of rhetorical time contribute most strongly to coherence discrimination.

3.3.1. Estimated Weight Function and Its Interpretation

Under the identification and normalization scheme described above, the weighting function is estimated in the form
w θ ( x ) = exp θ 1 x + θ 2 x 2 , x [ 0 , 1 ] ,
with 0 1 w θ ( x ) d x = 1 imposed numerically on the discretized grid. The intercept parameter is fixed at zero, as any constant scaling cancels in the Weighted Utopia Index.
Estimation Details
The parameters ( θ 1 , θ 2 ) are obtained via ordered probit maximum likelihood on the training corpus D tr , using permutation severity as the ordinal outcome. To prevent degenerate “delta–spike” solutions and enhance numerical stability, we include a small 2 ridge penalty on ( θ 1 , θ 2 ) :
L pen ( θ ) = L ( θ ) + λ θ 2 ,
with λ = 10 3 in the baseline specification. This penalty is small enough to leave the likelihood surface essentially unchanged while regularizing extreme curvature.
Inference uncertainty is quantified via document-level bootstrap resampling (B = 200 draws), refitting the model for each bootstrap sample. From these draws we construct confidence intervals for ( θ 1 , θ 2 ) and pointwise confidence bands for w θ ( x ) .
Baseline Estimate ( τ = 0.30 )
For the benchmark similarity threshold τ = 0.30 , the estimation yields
θ ^ = ( 0 , θ ^ 1 , θ ^ 2 ) = ( 0 , 24.10 , 50.25 ) ,
implying θ ^ 1 > 0 and θ ^ 2 < 0 . The resulting weight function is strictly unimodal, with peak location
x ^ * = θ ^ 1 2 θ ^ 2 0.24 .
Figure 1 shows the normalized fitted weight function together with its bootstrap confidence band. The band remains relatively tight around the peak and exhibits no evidence of multimodality, confirming that the unimodal interior emphasis is not driven by sampling variability. Uncertainty increases gradually toward the boundaries, as expected given lower curvature variation at extreme rhetorical positions.
Interpretation
The estimated profile assigns maximal weight to the early–middle segment of discourse ( x 0.2 0.3 ), while down-weighting both the initial opening sentences and the late concluding segments. This pattern is consistent with the structure of formal political speeches. Openings often follow formulaic conventions and exhibit limited structural variability, whereas middle sections contain policy exposition, argumentation, and transitions where sentence ordering plays a more substantive coherence role. The model therefore identifies a data-driven localization of coherence sensitivity rather than imposing one.
Importantly, because weights are normalized, the estimated profile can be interpreted as a probability density over rhetorical time. Thus, w ^ ( x ) describes the distribution of rhetorical positions that contribute most strongly to ordinal coherence discrimination.
Sensitivity with Respect to the Similarity Threshold τ
To assess robustness, we re-estimate ( θ 1 , θ 2 ) across a grid of similarity thresholds τ { 0.15 , 0.20 , 0.25 , 0.30 , 0.35 } while keeping all other parameters fixed.
Across this range, parameter estimates remain remarkably stable:
θ ^ 1 [ 23.56 , 24.35 ] , θ ^ 2 [ 51.12 , 48.52 ] ,
with peak locations
x ^ * [ 0.23 , 0.24 ] .
The penalized log-likelihood varies by less than 0.5 units across the grid.
This stability indicates that the learned rhetorical emphasis profile is not an artifact of a particular graph sparsification level. While τ influences the connectivity of the sentence similarity graph, the induced curvature profiles preserve the same global ordering structure that drives weight estimation. The rhetorical emphasis peak therefore appears to be a structural property of the data rather than a threshold-specific phenomenon.
Overall Assessment
Three features of the training results are noteworthy:
1.
The estimated weight function is smooth and unimodal, consistent with the log-concave parametric restriction.
2.
Bootstrap bands confirm statistical significance of interior emphasis.
3.
Sensitivity analysis demonstrates robustness to graph construction choices.
Taken together, these findings support the interpretation of w ^ ( x ) as a stable, data-driven characterization of rhetorical-time importance in coherence discrimination. The weight profile is learned from ordinal supervision rather than imposed, yet remains parsimonious and interpretable due to the low-dimensional exponential specification.

3.4. Evaluation Protocol

Evaluation is conducted exclusively on the held-out test corpus D te . For each test document d D te , we generate reordered variants { d ( 0 ) , , d ( J ) } using the same permutation scheme as in training, with increasing severity j corresponding to stronger disruption of discourse order. Curvature profiles and similarity graphs are recomputed from scratch for each variant.
Envelope functions required for the computation of the Weighted Utopia Index are constructed using only the original (unpermuted) documents in D te . This avoids leakage from perturbed variants while ensuring that evaluation reflects the intrinsic variability of the test corpus.
Let ≻ denote the true ordinal relation induced by construction,
d ( 0 ) d ( 1 ) d ( J ) .
Performance is assessed by measuring how well a given score S ( · ) recovers this ordering under increasingly strict notions of ordinal consistency. All metrics are computed at the document level and aggregated across the test corpus. Uncertainty is quantified using document-level bootstrap resampling.

3.4.1. Evaluation Metrics and Diagnostic Criteria

Because the true ordinal structure of coherence is known by construction, evaluation can be conducted without external annotations. Rather than relying on a single summary statistic, we report a set of complementary diagnostics that probe different aspects of ordinal recovery.
Pairwise Accuracy
For a document d with variants { d ( j ) } j = 0 J , pairwise accuracy is defined as
PA ( d ) = 1 J + 1 2 0 j < k J I S ( d ( j ) ) > S ( d ( k ) ) .
This metric evaluates global ordinal consistency while remaining robust to isolated local reversals. A value of 0.5 corresponds to chance performance.
Adjacent Accuracy
To isolate local sensitivity, we additionally consider
AA ( d ) = 1 J j = 0 J 1 I S ( d ( j ) ) > S ( d ( j + 1 ) ) .
Adjacent accuracy captures the ability of a score to detect incremental coherence degradation and is particularly informative when exact global recovery is infeasible.
Rank Correlations
We compute Spearman’s ρ and Kendall’s τ between { S ( d ( j ) ) } j = 0 J and the known severity ranking. These correlations summarize monotonic alignment but are sensitive to even a small number of ordering violations.
Full-Order Recovery
Exact recovery is recorded when
S ( d ( 0 ) ) > S ( d ( 1 ) ) > > S ( d ( J ) ) .
This is a deliberately stringent criterion that should be interpreted as a stress test rather than a primary performance measure for moderate J.
Violation Diagnostics
Finally, we record the number of adjacent monotonicity violations at each level j j + 1 . These diagnostics localize where ordinal failures occur and distinguish early structural breakdown from late-stage randomization effects.
All reported confidence intervals are obtained via document-level bootstrap with B = 200 replications.

3.4.2. Results on Held-Out State of the Union Speeches

Evaluation is conducted on 17 held-out State of the Union addresses (1990–2008), using block shuffling with J = 5 severity levels and R = 3 random replicates per level.
Additional Benchmark Scores
To strengthen the empirical comparison beyond embedding-based and curvature-based criteria, we also report two classical coherence proxies that do not rely on SBERT graph curvature and serve as low-dependency baselines. First, TF–IDF-adjacent computes the mean cosine similarity between adjacent sentences using TF–IDF vectors (bag-of-words)—see for example [11], capturing lexical continuity and local topic drift. Second, Entity-overlap computes the mean Jaccard overlap between adjacent sentences’ salient content sets, approximating the entity-grid intuition that coherent discourse maintains referential continuity—see [12]; in implementation, this is computed using named entities and noun-chunk heads when available, with a conservative token-based fallback otherwise.
Sensitivity Analysis in the Similarity Threshold τ
A key methodological concern is how graph sparsification affects curvature profiles and therefore envelope-based scoring. We therefore conduct a sensitivity analysis over the similarity threshold τ . In the kNN construction used here, τ is implemented as a minimum similarity filter applied to candidate kNN edges: an edge is retained only if it is among the top-k neighbors and exceeds τ . This renders τ meaningful even when kNN is fixed and directly probes robustness to more aggressive or more permissive edge retention. For each τ , we report graph diagnostics computed on the test originals (including average degree, the fraction of zero-edge graphs, and the fraction of disconnected graphs), along with the full suite of ordinal recovery diagnostics.
Table 1 summarizes ordinal recovery performance on the held-out State of the Union test set, reporting document-level means together with 95% bootstrap confidence intervals. Because the true coherence ordering is known by construction, these diagnostics directly measure each method’s ability to recover ordinal structure under controlled degradation.
Across all accuracy-based criteria, the Weighted Utopia Index (wUI) consistently outperforms all baselines. In particular, wUI achieves a mean pairwise accuracy of 0.569 with a confidence interval lying largely above chance, whereas SBERT-adjacent similarity performs systematically below chance and the Nash aggregate yields only partial improvement. The two additional benchmarks (TF–IDF-adjacent and Entity-overlap) also perform below chance, indicating that purely local lexical or referential continuity signals are not aligned with the imposed disordering severity under block shuffling. This is consistent with the fact that block shuffling can preserve many local lexical/semantic continuities while substantially disrupting global discourse flow.
Rank-based diagnostics reinforce this picture. wUI exhibits positive Spearman and Kendall correlations with permutation severity, while SBERT-adj, Nash, and the two classical baselines display negative average correlations, indicating frequent non-monotonic responses to increasing disorder. Although the rank correlations are modest in magnitude, their direction and confidence intervals are consistent with the accuracy-based findings and reflect partial but systematic ordinal alignment.
No method achieves non-zero full-order recovery at J = 5 , a result that is expected given the combinatorial difficulty of exact recovery under strong perturbations; exact recovery corresponds to correctly ordering 6 variants, which under random performance has probability 1/720, hence near zero recovery is expected. Importantly, this limitation applies uniformly across methods and therefore does not detract from the relative gains achieved by wUI under weaker and intermediate criteria such as pairwise and adjacent accuracy.
Robustness is supported by several complementary diagnostics. Confidence intervals are comparatively tight for SBERT-adj and the classical baselines, indicating stable but inferior performance, while wUI exhibits moderate variability consistent with genuine document-level heterogeneity. Additional violation analyses reveal that the remaining errors for wUI are concentrated at the highest severity levels, where sentence order approaches near-random permutation.

3.4.3. Sensitivity to the Similarity Threshold τ

To assess robustness to graph sparsification, we evaluate ordinal recovery over a grid of similarity thresholds
τ { 0.15 , 0.20 , 0.25 , 0.30 , 0.35 } ,
holding k = 12 , J = 5 , and the block shuffle scheme fixed. In the kNN construction, τ acts as a minimum similarity filter on candidate kNN edges, thereby directly controlling effective graph sparsity.
For each τ , we report: (i) mean pairwise accuracy, (ii) mean adjacent accuracy, (iii) mean Spearman correlation, (iv) graph diagnostics on test originals (average degree and fraction of disconnected graphs).
Table 2 shows that ordinal recovery under wUI is remarkably stable across a broad range of similarity thresholds. Pairwise accuracy varies only marginally (within approximately two percentage points), and Spearman correlations remain positive throughout.
As τ increases, average degree decreases monotonically, reflecting stricter edge filtering. While connectivity eventually breaks down for all documents at higher thresholds, ordinal recovery does not deteriorate substantially. Disconnected components are treated independently when computing Wasserstein distances; this does not affect ordinal recovery since curvature is computed locally. This suggests that curvature-weighted envelope aggregation is not critically dependent on a finely tuned sparsification parameter.

3.5. Application: Cohesion Analysis of Political Speeches

We conclude with an application of the proposed cohesion measures to a set of real political texts. Unlike the evaluation in Section 3, this analysis does not rely on synthetic perturbations or externally imposed ordinal structure. Its purpose is diagnostic and exploratory: to illustrate how the proposed measures behave on unaltered documents and how structural and semantic notions of cohesion interact in practice.

3.5.1. Corpus and Setup

The application corpus consists of 12 U.S. State of the Union addresses delivered between 2010 and 2023. These speeches are disjoint from both the training and evaluation sets. All hyperparameters are frozen. In particular, the rhetorical–time weighting function θ ^ ( τ = 0.30 ) = ( θ ^ 1 , θ ^ 2 ) learned during the self-supervised training stage is used without modification.
For each speech, we compute four cohesion scores: SBERT-based adjacent sentence similarity (SBERT-CS), the Weighted Utopia Index (wUI), TF–IDF-based adjacent similarity, and an Entity-overlap score measuring adjacent referential continuity via Jaccard similarity. No permutation, refitting, or resampling is performed in this stage.
In contrast to the evaluation stage, we do not report the Nash aggregation in the application analysis. The Nash score was introduced as a methodological device to study scalarization and robustness under known ordinal perturbations. In the present setting, however, no externally imposed ranking or supervision target is available. Our objective is therefore interpretive rather than decision-theoretic: we aim to examine the structural component (wUI) and the semantic adjacency component separately, in order to assess their complementarity and informational distinctness. Reporting the primitive components directly avoids conflating global structural alignment with local semantic smoothness through an arbitrary scalarization, and yields a clearer diagnostic picture of rhetorical organization in unaltered texts.

3.5.2. Distributional Properties

Table 3 reports summary statistics across the application corpus.
The SBERT-based adjacent similarity exhibits limited dispersion, reflecting the strong stylistic and topical homogeneity of State of the Union speeches. In contrast, the wUI displays substantially greater variability, indicating that global structural alignment varies meaningfully across documents even within a highly standardized political genre. The two classical baselines operate on a much smaller numerical scale and show considerably less spread, consistent with their focus on purely local lexical and referential continuity.
This contrast supports the intended interpretation of the measures. Embedding-based adjacent similarity captures short-range semantic smoothness, whereas curvature-based aggregation is sensitive to higher-order organizational properties distributed across rhetorical time. The larger dispersion of wUI therefore suggests that structural coherence provides a stronger discriminating signal across speeches than local semantic continuity alone.

3.5.3. Agreement Across Measures

To assess the relationship between structural and semantic cohesion, we compute rank correlations across the application corpus in Table 4.
The correlation between wUI and SBERT-CS is positive but moderate (Spearman ρ 0.33 , Kendall τ 0.24 ), indicating partial alignment without redundancy. The association between wUI and TF–IDF-adjacent similarity is stronger ( ρ 0.58 ), suggesting that lexical continuity supports, but does not fully determine, global structural organization. Entity-overlap exhibits moderate positive association with wUI, again reflecting partial but incomplete overlap in the information captured.
These patterns indicate that structural curvature alignment is not a trivial re-expression of embedding smoothness or lexical adjacency. Rather, it captures a complementary dimension of discourse organization. Speeches that rank highly under SBERT-CS do not necessarily rank highest under wUI, and vice versa. Structural coherence therefore appears to encode information beyond local semantic continuity.
This application illustrates how the proposed framework functions as an exploratory diagnostic tool in real discourse settings. Even within a uniform political genre, curvature-weighted structural aggregation detects meaningful cross-document variation that is not captured by purely local semantic or lexical measures. At the same time, the positive but incomplete correlations across measures suggest that semantic smoothness and structural alignment represent distinct yet interacting components of cohesion.
While no claim is made regarding normative correctness of the induced rankings, the empirical evidence indicates that curvature-based structural scoring provides complementary information relative to embedding-based similarity and classical lexical baselines. This supports the broader thesis of the paper: that discourse cohesion is multidimensional, and that global structural organization can be quantified in a way that is both interpretable and empirically non-trivial.

3.6. Materials and Methods II

For transparency and reproducibility, Table 5 summarizes all hyperparameters and implementation choices used in training, evaluation, and application.
The entire pipeline is deterministic conditional on the reported random seeds and document splits. All reported results—including the learned weighting function, ordering-recovery diagnostics, and application scores—are obtained under the configuration listed below.
Unless explicitly varied in sensitivity analysis (e.g., the similarity threshold τ ), parameters are held fixed across all experiments.

4. Discussion

This paper introduced a framework for analyzing text cohesion, leveraging tools from discrete geometry, curvature embeddings dominance, and statistical learning. At its core, the methodology constructs a sentence-level semantic graph based on SBERT embeddings and cosine similarity, over which Ollivier–Ricci curvature is computed to quantify local rhetorical flow and structural alignment. The resulting curvature profiles are interpreted as normalized time series reflecting how semantic connectivity evolves throughout a speech.
Building on this geometric foundation, we propose a new numerical score—the Weighted Utopia Index (wUI)—to assess each speech’s alignment with corpus-level structural norms. The wUI leverages a dominance logic: it compares the speech’s curvature profile to a reference envelope constructed from lower and upper empirical bounds across the corpus. Crucially, the wUI is computed via a learned weighting function, which adjusts temporal sensitivity by assigning greater or lesser importance to different rhetorical regions.
The weight parameters are estimated by minimizing the negative log-likelihood of an ordinal probit model trained on self-supervised ordinal labels induced by controlled sentence-order perturbations within a homogeneous corpus of long-form texts. This yields an interpretable utility-based model in which latent perceived coherence is represented as a function of the Weighted Utopia Index. The probit structure formalizes ordinal coherence comparisons under known ground-truth degradation, providing a statistically principled link between structural alignment and ordinal evaluation without reliance on external annotations or cross-corpus transfer.
To our knowledge, this is the first application of a statistically trained, dominance-based weighting scheme to textual structure analysis in NLP, extending the theoretical framework of [5] beyond economic distributions into semantic and discourse domains.
The final metric, the Nash cohesion score, synthesizes geometric alignment with sentence-level semantic flow, serving as a Pareto compromise.

Methodological Extensions

Several natural extensions arise from this framework. First, while the weighting function w θ ( x ) is currently specified as an exponential–quadratic form, it could be generalized using nonparametric or spline-based formulations to capture more nuanced patterns of rhetorical emphasis along discourse progression. Second, the ordinal probit construction could be extended to hierarchical or latent-trait formulations, allowing the weighting function to vary across document groups, time periods, or discourse genres, while preserving the self-supervised ordinal structure induced by controlled perturbations. Finally, training on larger and more diverse homogeneous corpora could improve robustness and enable domain-adapted weighting profiles for political, legal, or pedagogical discourse, without reliance on external coherence annotations.
Taken together, the combined use of discrete (network) curvature, dominance-based functionals, ordinal likelihood training, and semantic representations yields an extensible statistical framework for the numerical analysis of textual cohesion. Beyond individual document analysis, the methodology is naturally suited to comparative and longitudinal studies. For example, applying the framework to annual State of the Union addresses allows the detection of structural shifts in rhetorical cohesion across administrations, political alignments, or historical episodes. Analogous applications can be envisioned for campaign speeches, United Nations General Assembly addresses, or other long-form institutional texts.
Finally, future extensions could aim to normalize cohesion measures with respect to the inherent complexity of the discussed subject matter. This may involve incorporating Minimum Description Length (MDL) principles—see [13]—as proxy for conceptual complexity. A potential complexity-normalized cohesion index could evaluate how well cohesion is maintained despite increasing semantic or informational complexity. Such an index would be especially relevant in more technical domains—such as central bank monetary policy reports, regulatory briefings, or economic outlooks—where linguistic clarity and cohesion must coexist with content density.

Funding

This research received no external funding.

Data Availability Statement

Transcripts of U.S. presidential State of the Union addresses were sourced from the Miller Center (University of Virginia) Presidential Speeches archive millercenter.org/the-presidency/presidential-speeches, accessed on 10 February 2026. All derived data (sentence-segmented corpus, document metadata including source URLs, and train/test/application splits) and code to reproduce the results are available upon request.

Acknowledgments

An earlier version of this manuscript circulated as a departmental working paper (Working Paper No. 14/2025, Department of Economics, Athens University of Economics and Business) under a different title. The current submission is a substantially revised and expanded version, featuring a redesigned evaluation methodology, and updated empirical analysis.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Reimers, N.; Gurevych, I. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv 2019, arXiv:1908.10084. [Google Scholar] [CrossRef] [Scilit]
  2. Mihalcea, R.; Tarau, P. Textrank: Bringing order into text. In Proceedings of the 2004 Conference on Empirical Methods in Natural Language Processing, Barcelona, Spain, 25–26 June 2004; pp. 404–411. [Google Scholar]
  3. Ollivier, Y. Ricci curvature of metric spaces. Comptes Rendus Math. 2007, 345, 643–646. [Google Scholar] [CrossRef] [Scilit]
  4. Ollivier, Y. Ricci curvature of Markov chains on metric spaces. J. Funct. Anal. 2009, 256, 810–864. [Google Scholar] [CrossRef] [Scilit]
  5. Anderson, G.; Post, T.; Whang, Y.J. Somewhere between utopia and dystopia: Choosing from multiple incomparable prospects. J. Bus. Econ. Stat. 2020, 38, 502–515. [Google Scholar] [CrossRef] [Scilit]
  6. Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2019; pp. 4171–4186. [Google Scholar]
  7. Chicco, D. Siamese neural networks: An overview. In Artificial Neural Networks; Humana: New York, NY, USA, 2021; pp. 73–94. [Google Scholar]
  8. Gao, R.; Chen, X.; Kleywegt, A. Distributional robustness and regularization in statistical learning. arXiv 2017, arXiv:1712.06050. [Google Scholar]
  9. Galichon, A. Optimal Transport Methods in Economics; Princeton University Press: Princeton, NJ, USA, 2016. [Google Scholar]
  10. Hadar, J.; Russell, W.R. Rules for ordering uncertain prospects. Am. Econ. Rev. 1969, 59, 25–34. [Google Scholar]
  11. Mann, W.C.; Thompson, S.A. Rhetorical structure theory: Toward a functional theory of text organization. In Proceedings of the Text—Interdisciplinary Journal for the Study of Discourse; De Gruyter Mouton: Berlin, Germany, 1988; Volume 8, pp. 243–281. [Google Scholar]
  12. Barzilay, R.; Lapata, M. Modeling local coherence: An entity-based approach. Comput. Linguist. 2008, 34, 1–34. [Google Scholar] [CrossRef] [Scilit]
  13. Rissanen, J. Stochastic complexity and the MDL principle. Econom. Rev. 1987, 6, 85–102. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Estimated rhetorical-time weight function w ^ ( x ) under τ = 0.30 (solid line), with pointwise 95% bootstrap confidence band (shaded region) and bootstrap median (dashed line). The function is normalized so that 0 1 w ^ ( x ) d x = 1 . The peak occurs at x 0.24 , indicating maximal coherence sensitivity in the early–middle segment of rhetorical time.
Figure 1. Estimated rhetorical-time weight function w ^ ( x ) under τ = 0.30 (solid line), with pointwise 95% bootstrap confidence band (shaded region) and bootstrap median (dashed line). The function is normalized so that 0 1 w ^ ( x ) d x = 1 . The peak occurs at x 0.24 , indicating maximal coherence sensitivity in the early–middle segment of rhetorical time.
Stats 09 00025 g001
Table 1. Ordinal recovery diagnostics on held-out State of the Union speeches ( J = 5 ), block shuffling, R = 3 , k = 12 , and τ = 0.30 (minimum similarity filter on kNN edges). Entries report document-level means with 95% bootstrap confidence intervals in parentheses. Graph diagnostics are computed on the test originals.
Table 1. Ordinal recovery diagnostics on held-out State of the Union speeches ( J = 5 ), block shuffling, R = 3 , k = 12 , and τ = 0.30 (minimum similarity filter on kNN edges). Entries report document-level means with 95% bootstrap confidence intervals in parentheses. Graph diagnostics are computed on the test originals.
AccuracyRank Correlation
MethodPairwiseAdjacentFullSpearman  ρ Kendall  τ
wUI0.569 (0.498, 0.655)0.553 (0.470, 0.624)0.000 (0.000, 0.000)0.180 (0.032, 0.405)0.137 (−0.020, 0.294)
SBERT-adj0.345 (0.337, 0.361)0.235 (0.200, 0.259)0.000 (0.000, 0.000)−0.133 (−0.143, −0.123)−0.310 (−0.333, −0.286)
Nash0.451 (0.400, 0.506)0.435 (0.376, 0.494)0.000 (0.000, 0.000)−0.062 (−0.180, 0.018)−0.098 (−0.208, −0.043)
TF–IDF-adj0.396 (0.376, 0.416)0.000 (0.000, 0.000)−0.082 (−0.102, −0.062)−0.208 (−0.238, −0.179)
Entity-overlap0.412 (0.388, 0.435)0.000 (0.000, 0.000)−0.069 (−0.090, −0.049)−0.176 (−0.203, −0.149)
Graph diagnostics (test originals, τ = 0.30, k = 12): average degree = 15.32; zero-edge rate = 0.00; disconnected rate = 1.00.
Table 2. Sensitivity of ordinal recovery to the similarity threshold τ . Entries are document-level means (95% bootstrap CIs omitted for compactness).
Table 2. Sensitivity of ordinal recovery to the similarity threshold τ . Entries are document-level means (95% bootstrap CIs omitted for compactness).
τ Pairwise (wUI)Adjacent (wUI)Spearman (wUI)Avg. DegreeDisconnected Rate
0.150.5610.5450.17218.940.82
0.200.5660.5490.17817.210.94
0.250.5680.5510.18116.021.00
0.300.5690.5530.18015.321.00
0.350.5630.5480.16914.411.00
Table 3. Summary statistics of cohesion scores on the application corpus (12 speeches).
Table 3. Summary statistics of cohesion scores on the application corpus (12 speeches).
ScoreMeanSD q 0.10 q 0.50 q 0.90 Range
SBERT-CS0.3260.0150.3130.3220.346[0.308, 0.361]
wUI0.4330.1000.2960.4460.526[0.252, 0.604]
TF–IDF-adj0.0510.0120.0390.0470.063[0.039, 0.080]
Entity-overlap0.0710.0080.0600.0730.077[0.059, 0.084]
Table 4. Rank correlations across cohesion measures on the application corpus.
Table 4. Rank correlations across cohesion measures on the application corpus.
Measure PairSpearman ρ Kendall τ
wUI vs. SBERT-CS0.330.24
wUI vs. TF–IDF-adj0.580.42
wUI vs. Entity-overlap0.410.30
SBERT-CS vs. TF–IDF-adj0.490.36
SBERT-CS vs. Entity-overlap0.370.27
Table 5. Hyperparameters and implementation settings used in training, evaluation, and application.
Table 5. Hyperparameters and implementation settings used in training, evaluation, and application.
ComponentSpecification
Sentence embeddingssentence-transformers/all-MiniLM-L6-v2 (normalized cosine embeddings)
Graph constructionSymmetrized kNN graph with k = 12
Similarity filterMinimum cosine similarity threshold τ = 0.30 (applied to kNN edges)
Curvature measureOllivier–Ricci curvature with 1-Wasserstein transport distance
Rhetorical-time gridUniform grid on [ 0 , 1 ] with M = 400 points
Weight functionExponential–quadratic form w θ ( x ) = exp ( θ 1 x + θ 2 x 2 ) , normalized to unit integral
Ordered probit categories L = J + 1 with J = 5 perturbation severity levels
Perturbation schemeBlock shuffle with R = 3 replicates per severity level
RegularizationRidge penalty λ = 0.001 on ( θ 1 , θ 2 )
BootstrapDocument-level bootstrap with B = 200 replications
Train/test splitChronological split by year (train 1988 , test 1989–2008, application 2009 )
Random seedFixed deterministic seeds for reproducibility
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.

Share and Cite

MDPI and ACS Style

Arvanitis, S. Ordering and Quantifying Textual Cohesion via Semantic, Geometric and Statistical Structure. Stats 2026, 9, 25. https://doi.org/10.3390/stats9020025

AMA Style

Arvanitis S. Ordering and Quantifying Textual Cohesion via Semantic, Geometric and Statistical Structure. Stats. 2026; 9(2):25. https://doi.org/10.3390/stats9020025

Chicago/Turabian Style

Arvanitis, Stelios. 2026. "Ordering and Quantifying Textual Cohesion via Semantic, Geometric and Statistical Structure" Stats 9, no. 2: 25. https://doi.org/10.3390/stats9020025

APA Style

Arvanitis, S. (2026). Ordering and Quantifying Textual Cohesion via Semantic, Geometric and Statistical Structure. Stats, 9(2), 25. https://doi.org/10.3390/stats9020025

Article Metrics

Back to TopTop