Semantic Similarity — AI Glossary

Semantic similarity is a measure of how close two pieces of text are in meaning, regardless of whether they share the same words. AI systems calculate semantic similarity by converting text into numerical vectors (embeddings) and measuring the distance between them — texts with similar meanings produce vectors that are close together in a high-dimensional space. This capability powers search engines, recommendation systems, duplicate detection, and retrieval-augmented generation pipelines.