[KongchangAI]
ConceptCosine Similarity / cosine similarity

Cosine Similarity

A similarity measure that computes the cosine of the angle between two vectors, with values ranging from -1 to 1. It considers only the direction of vectors, not their magnitude, and is widely used in NLP text similarity computation and information retrieval.

Core Facts

Timeline (last 90 days)

Nov 26

Vector geometry cannot accomplish the proposition verification task: cosine similarity saturates, and a sentence's embedding is not a linear combination of its individual proposition embeddings.

Unverified50%
Nov 26

When judging whether a proposition belongs to a sentence, an NLI judge is a more reliable choice than cosine similarity.

Unverified50%
Nov 25

Gradient alignment typically uses metrics such as cosine similarity to compute the consistency of the direction of two gradients.

Unverified50%
Nov 23

Developers can quickly determine via cosine similarity whether an adapter comes from the target backbone, avoiding blind reuse.

Unverified50%
Nov 23

The cosine score reliably identifies the source backbone and performs consistently across the evaluated tasks.

Unverified50%
Nov 23

The study proposes two practical tools: backbone identification based on cosine similarity, and a registered-adapter reuse inner-product test that requires no coordinate alignment.

Unverified50%
Nov 18

BRIDGE is a minimal RAG memory system consisting of chained observation notes, hybrid retrieval combining BM25 and cosine similarity, and chronological rendering, consuming about 5-7K reader prompt tokens per query and requiring only one LLM call per ingestion or query.

Unverified50%
Nov 15

The dot product is defined as the sum of the products of the corresponding components of two vectors, and its geometric meaning is a·b = ||a|| ||b|| cosθ, where θ is the angle between the two vectors.

Unverified50%
Nov 15

In recommender systems, taking the dot product or cosine similarity of a user vector and an item vector measures how close their interest directions are.

Unverified50%
Nov 15

Cosine similarity is normalized as cosθ = (a·b)/(||a|| ||b||), retaining only directional information and ignoring magnitude.

Unverified50%

40 more timeline events

All Facts (20)

Verified

Semantic search converts text into high-dimensional vectors and finds the most relevant conclusions by computing cosine similarity, allowing queries phrased in different ways to match semantically equivalent results.

80%
Verified

余弦相似度是衡量两个向量方向接近程度的指标,值域在-1到1之间,越接近1表示语义越相似

80%
Verified

Vector similarity computation typically uses cosine similarity, which measures the angle between vector directions rather than absolute distance and is insensitive to vector magnitude.

80%
Verified

The core of semantic search is vector embedding technology, which converts code snippets and natural language queries into high-dimensional vectors and calculates semantic distance using methods such as cosine similarity.

80%
Verified

Cosine similarity has a value range of [-1, 1]; in semantic retrieval, attention is typically focused only on the positively correlated range of 0 to 1, with values closer to 1 indicating greater semantic similarity.

65%
Verified

Cosine similarity only cares about vector direction and not length, with values strictly falling in the range [-1, 1].

65%
Verified

A cosine similarity value of 1 indicates completely identical directions (angle 0°), a value of 0 indicates orthogonality (angle 90°), and a value of -1 indicates completely opposite directions (angle 180°).

65%
Verified

Cosine similarity is the default standard in the field of face recognition for measuring whether two feature vectors belong to the same person.

65%
Verified

When feature vectors are L2-normalized, cosine similarity is equivalent to the dot product operation.

65%
Verified

Text is encoded by an Embedding model into floating-point vectors of 768 to 3072 dimensions, stored in a vector database, and similarity retrieval is completed at millisecond speed via approximate nearest neighbor algorithms (HNSW, IVF, etc.).

65%
Unverified

Evaluation metrics based on semantic similarity (such as cosine similarity) cannot capture differences at the level of behavioral constraints and have systematic blind spots.

70%
Unverified

RAG relies on cosine similarity between embedding vectors to recall fragments, but similarity only measures "how alike" things are, not "what relationship" they have.

60%
Unverified

Cosine similarity measures the directional consistency of two vectors, has a range of [-1, 1], and is the foundation of tasks such as semantic search and clustering.

60%
Unverified

Vectors are normalized when building the index, so that cosine similarity at runtime reduces to a single dot product.

60%
Unverified

In RAG, documents are split into chunks, an embedding model converts each chunk into a high-dimensional vector, and the system finds the segments semantically closest to the user's query by computing similarity between vectors (such as cosine similarity).

60%
Unverified

Cosine similarity measures closeness by computing the cosine of the angle between two vectors: 1 indicates perfect agreement, 0 indicates orthogonality, and -1 indicates complete opposition.

60%
Unverified

Exact-match-based duplicate detection is difficult to cover semantic duplication scenarios, which can be addressed by introducing embedding cosine similarity to determine semantic duplicates.

60%
Unverified

Cosine similarity measures the cosine of the angle between two vectors, with the formula cos(θ) = (A · B) / (||A|| × ||B||).

60%
Unverified

Vector geometry cannot accomplish the proposition verification task: cosine similarity saturates, and a sentence's embedding is not a linear combination of its individual proposition embeddings.

50%
Unverified

When judging whether a proposition belongs to a sentence, an NLI judge is a more reliable choice than cosine similarity.

50%

Source Articles