[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)

Oct 29

The embedding model concatenates a tool's name, function description, parameter descriptions, and so on, and maps them into a fixed-dimensional vector; when a task arrives, the cosine similarity between the task vector and each tool vector can be computed to rank and recall.

Unverified50%
Oct 28

Vector retrieval commonly uses cosine similarity to compute the angle between vectors; the smaller the angle, the more relevant.

Unverified50%
Oct 28

Similarity scores (such as cosine similarity) measure semantic relevance, but they do not mean that the fragment can answer the query.

Unverified50%
Oct 26

The similarity measure is changed from cosine similarity to Total Variation similarity to suit probability distribution comparison on the simplex.

Unverified50%
Oct 24

Cosine similarity measures semantic closeness, not factual entailment; treating cosine similarity as a guarantee of factuality is a category error.

Unverified50%
Oct 21

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.

Unverified50%
Oct 20

Entailment relations are inherently directional and fine-grained, making them better suited to concept-level alignment judgments than global measures such as cosine similarity.

Unverified50%
Oct 20

A RAG system first splits documents and converts them into vector embeddings, then retrieves via measures such as cosine similarity; similarity measures semantic closeness, not factual correctness.

Unverified50%
Oct 19

After projecting three competitor copy samples into 1536-dimensional space using text-embedding-3-large, cosine similarity typically falls between 0.91 and 0.94.

Unverified50%
Oct 19

Contrastive activation probing uses cosine similarity to measure the directional deviation of intermediate-layer activations between the base model and the fine-tuned model under the same probe prompts, with lower similarity indicating greater drift.

Unverified50%

36 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

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

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

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

60%
Unverified

The embedding model concatenates a tool's name, function description, parameter descriptions, and so on, and maps them into a fixed-dimensional vector; when a task arrives, the cosine similarity between the task vector and each tool vector can be computed to rank and recall.

50%
Unverified

Vector retrieval commonly uses cosine similarity to compute the angle between vectors; the smaller the angle, the more relevant.

50%
Unverified

Similarity scores (such as cosine similarity) measure semantic relevance, but they do not mean that the fragment can answer the query.

50%
Unverified

The similarity measure is changed from cosine similarity to Total Variation similarity to suit probability distribution comparison on the simplex.

50%
Unverified

Cosine similarity measures semantic closeness, not factual entailment; treating cosine similarity as a guarantee of factuality is a category error.

50%
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.

50%
Unverified

Entailment relations are inherently directional and fine-grained, making them better suited to concept-level alignment judgments than global measures such as cosine similarity.

50%
Unverified

A RAG system first splits documents and converts them into vector embeddings, then retrieves via measures such as cosine similarity; similarity measures semantic closeness, not factual correctness.

50%
Unverified

After projecting three competitor copy samples into 1536-dimensional space using text-embedding-3-large, cosine similarity typically falls between 0.91 and 0.94.

50%
Unverified

Contrastive activation probing uses cosine similarity to measure the directional deviation of intermediate-layer activations between the base model and the fine-tuned model under the same probe prompts, with lower similarity indicating greater drift.

50%
Unverified

In the Little Kiln Support Copilot tests, relevant historical cases scored above 0.63 in cosine similarity and noise cases below 0.58, so the author raised the retrieval threshold from 0.5 to 0.6.

50%
Unverified

ItemCF's cosine similarity formula is sim(i,j) = C[i][j] / sqrt(N[i] * N[j]), and the denominator normalization naturally downweights popular items.

50%
Unverified

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

50%

Source Articles