



A quantization-based vector indexing algorithm that combines Inverted File Index (IVF) with 8-bit scalar quantization (SQ8). Designed to tackle large-scale similarity search challenges, achieving faster searches with a much smaller memory footprint compared to exhaustive search methods by using 8-bit integers instead of 32-bit floats.
IVF_SQ8 is a quantization-based indexing algorithm designed to tackle large-scale similarity search challenges. It combines the Inverted File Index (IVF) structure with 8-bit scalar quantization (SQ8) to achieve faster searches with a much smaller memory footprint.
The dataset is partitioned into clusters using k-means clustering, where each cluster is represented by a centroid. During search, the query vector is compared to centroids to identify the nearest clusters, and only vectors within those clusters are searched.
SQ8 uses 8-bit integers instead of the typical 32-bit floating point numbers to store each dimension value of a vector. This 4x reduction in size:
Available in open-source vector databases like Milvus and FAISS.
Loading more......