A recent study evaluated eight methods for protecting vector embeddings, including noise injection, secret transformations, and quantization. The research demonstrates that while these techniques may prevent the reconstruction of raw text, they often fail to protect against document identification attacks.
The experiments used two English-language datasets, SciFact and NFCorpus, and two embedding models. The researcher found that even when search quality is reduced by half, noise-based protection methods still allow for nearly 99% of documents to be identified if an attacker possesses a small subset of known document-embedding pairs.
Secret linear transformations, often proposed as a security measure, proved ineffective against linear alignment attacks. With as few as 100 to 200 known pairs—representing only 2–4% of the dataset—an attacker can successfully map protected vectors back to their original documents.
Product quantization (PQ) was identified as the most effective method among those tested, as it reduces information density. However, achieving significant protection requires substantial sacrifices in search quality, and the effectiveness of this method varies depending on the homogeneity of the dataset.
The study concludes that geometric protection schemes are inherently vulnerable to mapping attacks. For sensitive data, the author recommends keeping models and databases private rather than relying on embedding obfuscation, as current methods do not provide a guaranteed defense against identification.






