



A vector similarity metric that calculates the dot product of two vectors, combining both magnitude and direction. Equivalent to cosine similarity when vectors are normalized, and commonly used for Maximum Inner Product Search (MIPS).
Loading more......
On this page
Inner Product Similarity
Inner Product Similarity, also known as dot product, is a fundamental vector similarity metric that reports both the angle and magnitude between two vectors. It is widely used in recommendation systems, neural search, and machine learning.
For vectors a and b: Inner Product = a · b = Σ(aᵢ × bᵢ)
When vectors are normalized (||a|| = ||b|| = 1):
vs. Cosine: Same for normalized vectors, faster to compute vs. Euclidean: Considers angle and magnitude differently, better for learned embeddings vs. Hamming: Works with continuous values, not discrete
Supported by major vector databases including Pinecone, Milvus, Qdrant, and Weaviate under names like "dot product", "inner product", or "IP".
Not applicable (mathematical concept).
Explore more items related to this one