Findings of WSDM 2027

When Does Compression Need to Preserve Inner Products? Two Geometric Knobs for Gallery Retrieval

Xiaoyu Li, Zheng Gao, Jiangxuan Long, Zhizhou Sha, Jiaojiao Jiang

Findings of the 20th ACM International Conference on Web Search and Data Mining (WSDM ’27), Hong Kong, February 15–19, 2027, 2027

Abstract

Compressing a gallery of learned embeddings is how retrieval scales, and a practitioner faces two natural choices: preserve the pairwise distances of the gallery (classical MDS, terminal embeddings) or preserve its inner products (a Johnson-Lindenstrauss projection). The maximum-inner-product-search literature argues for the latter, since retrieval scores an inner product. We ask the sharper question: when does the choice actually matter? The answer is governed by two measurable geometric knobs, and there are exactly two because of an invariance gap: inner products are preserved by the origin-fixing orthogonal group, distances by the full isometry group, and the quotient is a radial and a translational degree of freedom. The radial one is the norm-spread kappa; the translational one is the off-center ratio rho. A one-line penalty lemma makes both exact: each failure appears only on queries whose retrieval margin falls inside a band set by its own knob, and each yields a ranking ceiling computable from the raw gallery before any index is built. The two knobs are independent, which corrects a folk intuition twice over. On the unit sphere (kappa = 0) distance and inner-product ranking coincide, so those two families are interchangeable; but mean-centering, though linear, is neither, and it costs half the top-10 on a normalized ResNet gallery, so "linear is safe" is false on the sphere as well as off it. Measured on image encoders, a MovieLens recommender, dense text retrieval, and a 10⁵-image gallery in a real product-quantization index, the ceilings are predictive to 0.001 Recall@10 at scale, and the correct quantization objective flips sign with kappa: reconstruction wins by up to 0.14 on the sphere and loses by up to 0.50 off it. The deliverable is a two-line pre-deployment check returning a compressor family, a recall cap, and a certified query set.

BibTeX

@inproceedings{li2027compression,
  title     = {When Does Compression Need to Preserve Inner Products? Two Geometric Knobs for Gallery Retrieval},
  author    = {Li, Xiaoyu and Gao, Zheng and Long, Jiangxuan and Sha, Zhizhou and Jiang, Jiaojiao},
  booktitle = {Findings of the 20th ACM International Conference on Web Search and Data Mining (WSDM)},
  year      = {2027},
}

← All publications