Dot Product
The dot product is a fundamental operation on two vectors in linear algebra, yielding the sum of the products of corresponding components. Its geometric meaning reflects the angle between the two vectors and their directional similarity.
Timeline (last 90 days)
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.
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.
In the attention mechanism, the dot product of queries and keys is very sensitive to the scale of input features, and large differences in feature scales among physical quantities may cause an imbalanced distribution of attention weights.
Vector search maps queries and documents into dense vectors in a high-dimensional space, measuring semantic closeness via cosine similarity or dot product.
All Facts (4)
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.
50%UnverifiedIn recommender systems, taking the dot product or cosine similarity of a user vector and an item vector measures how close their interest directions are.
50%UnverifiedIn the attention mechanism, the dot product of queries and keys is very sensitive to the scale of input features, and large differences in feature scales among physical quantities may cause an imbalanced distribution of attention weights.
50%UnverifiedVector search maps queries and documents into dense vectors in a high-dimensional space, measuring semantic closeness via cosine similarity or dot product.
50%