Product Quantization (PQ) is a lossy compression method for high-dimensional vectors that decomposes the original space into a Cartesian product of lower-dimensional subspaces and quantizes each subspace independently. This technique dramatically reduces memory footprint by replacing full-precision vectors with compact codes, enabling billion-scale vector databases to operate efficiently. The core trade-off is between compression ratio, reconstruction error, and search speed, making it fundamental for Approximate Nearest Neighbor (ANN) search in systems like FAISS.
