Definition
Sentence similarity measures the degree of semantic overlap between two distinct sentences. It goes beyond lexical matching to understand meaning, context, and intent. This is typically achieved by converting sentences into dense vector embeddings and calculating the distance (e.g., cosine similarity) between them. High similarity scores indicate that the sentences convey the same or very similar information, even if they use different words. It is a foundational component for many natural language understanding applications.
Summary
A metric or task that quantifies how semantically alike two sentences are, often represented as a numerical score.
Key Concepts
- Cosine similarity
- Semantic equivalence
- Vector distance
- Meaning representation
Use Cases
- Duplicate question detection in forums
- Paraphrase identification
- Information retrieval and document clustering