Semantic Similarity

Category: NLP / Language Processing

A measure of how alike two pieces of text are in meaning, regardless of their surface-level wording.

Full Explanation

Semantic similarity quantifies the degree to which two text segments convey the same or related meaning. It goes beyond lexical overlap to capture paraphrases, synonymy, and conceptual relatedness. Modern approaches compute semantic similarity by comparing dense vector embeddings of sentences using cosine similarity or other distance metrics. Sentence transformer models trained on semantic textual similarity (STS) benchmarks produce high-quality embeddings for this purpose. Semantic similarity is fundamental to applications like duplicate detection, plagiarism checking, semantic search, and clustering. Benchmark datasets such as STS-B provide human-annotated similarity scores for evaluation. The concept is closely related to but distinct from textual entailment and paraphrase detection.

Related Terms

More in NLP / Language Processing

Explore More