arXiv:2611.08778cs.CLNov 2026

Manuscript Offprint

arXiv:2611.08778

Semantic Conditional Similarity (SCS): A Formal Mathematical Framework

Mehmet Murat Albayrakoğlu

Abstract

Semantic Textual Similarity (STS) operates on document pairs, returning a single scalar for each comparison. In multi-document settings where several source texts may have contributed to a single target, pairwise STS cannot disentangle the marginal semantic contribution of each source from the vocabulary they share. This paper introduces Semantic Conditional Similarity (SCS), a conditional form of STS in which the similarity between two documents is computed after eliminating the semantic elements shared with a third document, via set-theoretic operations. SCS makes four contributions. First, it introduces directionality to semantic similarity, partitioning pairwise relations into lateral (inter-source) and vertical (source-to-target) classes. Second, the conditioning operation induces role-dependent asymmetry: extending the comparison domain from unordered document pairs to ordered, conditioned triples produces scores that depend on which source serves as reference and which as conditioning document. The asymmetry is a consequence of the set-theoretic construction, not a relaxation of the similarity function itself. Third, SCS introduces inter-document conditioning, which subtracts shared content from a third document, as a complement to the intra-document attribute-based conditioning of recent Conditional STS (C-STS) work. Fourth, the set-theoretic decomposition achieves threshold-free partitioning of shared and residual content, requiring no arbitrary similarity cutoff. Although developed for the many-to-one (n→1n \to 1) configuration, the framework extends to the one-to-many (1→n1 \to n) case through a vertical role reversal of the conditioning structure, and to the many-to-many (m→nm \to n) case through the independent composition of source-side and target-side conditioning. Together with the established one-to-one (1→11 \to 1) case, these extensions span the entire document cardinality spectrum. SCS scores should be interpreted ordinally, as rankings of marginal contributions rather than as absolute measurements. The broader implication is that the metric space axioms commonly assumed in similarity formalizations impose substantive constraints on expressiveness in role-differentiated multi-document settings, and that extending the comparison domain to conditioned triples can recover information that pairwise-symmetric comparisons suppress.

1 Introduction