Quantifying Semantic Textual Similarity and Relatedness

47 concepts42 papers1 proposal

How do we teach a machine to understand that two completely different strings of text mean the same thing? For decades, natural language processing relied heavily on surface-level lexical matching—counting overlapping words or computing TF-IDF scores. However, human language is rich with paraphrases, metaphors, and contextual nuances.

To bridge this gap, researchers have developed methods to quantify Semantic Textual Similarity (STS) and Semantic Textual Relatedness (STR). The goal is to map linguistic expressions into a space where their computational distance reflects their conceptual alignment.

The Dimensions of Textual Comparison

To understand why quantifying similarity is challenging, we must first realize that "similarity" is not a monolithic concept. As Daniel Bär et al. clarify in A Reflective View on Text Similarity, text similarity can be broken down into distinct dimensions: structure, style, and content. A system might fail to recognize similarity if it conflates a shared narrative style with shared factual content.

Furthermore, the field distinguishes between strict similarity and broader relatedness:

This distinction is vital for downstream applications. As Mona T. Diab notes in Semantic Textual Similarity: past present and future, a robust metric for shared meaning serves as a foundational building block for machine translation evaluation, document summarization, and question answering.

The Evolution of the Mechanism

The mechanisms used to calculate these relationships have evolved from discrete graph networks to continuous, high-dimensional vector spaces.

1. Lexical Networks and Spreading Activation

Early approaches attempted to map semantic relationships using structured human knowledge. In Similarity between Words Computed by Spreading Activation on an English Dictionary, Hideki Kozima introduced a system that treated dictionary definitions as a semantic network. By initiating "spreading activation" from a target word node, the system could see which other words received the most energy through interconnected definitions, capturing lexical cohesion without relying on exact word matches.

2. Hybrid Feature Engineering

As the field scaled, researchers began combining machine translation evaluation metrics with distributional models. For instance, José G. C. de Souza et al. in FBK: Machine Translation Evaluation and Word Similarity metrics for Semantic Textual Similarity and Quan Hung Tran in TATO: Leveraging on Multiple Strategies for Semantic Textual Similarity demonstrated that combining syntactic features, lexical overlap, and distance-based metrics via regression models yielded a more comprehensive understanding of sentence-level equivalence than any single feature alone.

3. Continuous Vector Spaces and Embeddings

The true paradigm shift occurred with the advent of continuous vector space models. Instead of treating words as discrete entities, sentences are mapped to dense, low-dimensional vectors where semantic proximity mirrors geometric proximity.

Mikael Kågebäck et al. leveraged this in Extractive Summarization using Continuous Vector Space Models, showing that representing sentences as dense vectors allows algorithms to detect redundancy and importance far better than traditional TF-IDF methods. However, early vector models struggled with structure; Georgiana Dinu et al. observed in Saarland: Vector-based models of semantic textual similarity that while sophisticated contextualized vectors excelled at short, well-structured sentences, simple word-overlap baselines remained remarkably competitive for complex text.

Why Modern Embedding Frameworks Work

Modern systems solve the limitations of early vector models by utilizing deep, pre-trained Transformer architectures optimized via contrastive learning.

Instead of looking at words in isolation, models like BERT, LaBSE, or OpenAI's text-embedding models process the entire context of a sentence simultaneously. This allows them to resolve ambiguities and recognize when surface-level differences mask semantic equivalence. For example, in clinical settings, Paul Landes et al. noted in Hospital Discharge Summarization Data Provenance that medical notes often maintain high semantic similarity through paraphrasing even when their surface text looks entirely different.

To capture these relationships across diverse languages and contexts, contemporary approaches rely on two main pillars:

By transitioning from "Do these texts use the same words?" to "Do these texts map to the same neighborhood in a conceptual space?", semantic textual quantification allows machines to handle the inherent flexibility, creativity, and ambiguity of human language.

Key Foundational Work

Measurement of Similarity Between Nouns (1965) — contributed 1 concept elements to this direction.
Similarity between Words Computed by Spreading Activation on an English Dictionary (1993) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_semantic_textual_relatedness_quantificat_731d743e,
  title = {semantic textual relatedness quantification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/semantic-textual-relatedness-quantification/rdr_731d743e583c4b82ad29b1e1dc069f2d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_semantic_textual_relatedness_quantificat_731d743e_v1,
  title = {semantic textual relatedness quantification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/semantic-textual-relatedness-quantification/rdr_731d743e583c4b82ad29b1e1dc069f2d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake