Asymmetric Distance Computation (ADC) is a lookup-table acceleration algorithm in Product Quantization (PQ) that evaluates Euclidean distance or dot product between an unquantized query vector
q∈RD and a quantized database vector
x^∈RD; at query onset, it pre-computes distances between query sub-vectors
qm and all
K=256 centroids
cm,k into a Look-Up Table (LUT: size
M×256), enabling database vector distance estimation via
M fast table lookups and additions
∑m=1MLUT[m][codem].