ld.← ALL FIELD NOTESTHE RELATED CASE STUDY ↗
FIELD NOTES / 16QUANTIZATION   ·   THE QDRANT SERIES

Smaller vectors, measurable trade-offs.

Quantization can reduce the memory used for vector search, but the right choice depends on recall, latency, and the embedding distribution.

A compression spectrum

Scalar quantization maps FP32 values to 8-bit values, reducing the size of that representation to roughly one quarter. Product quantization compresses groups of dimensions; binary approaches use very few bits per dimension, with accuracy depending on the data and model.

Qdrant 1.18 introduced TurboQuant, which applies a rotation before compression. Its published benchmarks show competitive recall at different bit depths, but results vary by dataset and embedding model.

SMALLER REPRESENTATIONS
SCALAR8-bit values
BINARYFew bits per dimension
TURBOQUANTRotation + compression

Measure the whole system

Oversampling and rescoring can recover recall by evaluating more candidates and, when available, comparing original vectors. They also have a cost: rescoring disk-backed originals can add I/O and latency.

A compressed copy is not necessarily the only copy on disk; storage configuration matters. Compare recall, latency, memory, and total disk usage on your own workload before choosing a method.

Continue the conversation

Further reading

KEEP READING / 15Why the write-ahead log matters.

Another note from the notebook.