Skip to main navigation Skip to search Skip to main content

Black-Box Embedding Inversion Attack on Vector Databases

  • Lichao Sun
  • , Yuncheng Wu*
  • , Haichao Sha
  • , Xinjian Luo
  • , Mingyang Yi
  • , Meihui Zhang
  • , Cuiping Li
  • , Hong Chen*
  • *Corresponding author for this work
  • School of Information
  • School of Computer Science
  • Shanghai Jiao Tong University
  • Beijing Institute of Technology

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Vector databases that index and serve dense embeddings have become central to modern data science applications. Embeddings are often regarded as privacy-preserving surrogates for raw data, motivating practitioners to outsource vector databases to third-party services for scalability. However, recent studies show that even text embeddings alone can leak sensitive information, raising serious privacy concerns. Existing attacks on image embeddings, meanwhile, typically assume access to model architecture or parameters, which does not hold in outsourced settings. In this paper, we propose a novel black-box image embedding inversion attack that reconstructs high-fidelity images using only query access to the embedding model or API. Our approach leverages an in-distribution auxiliary dataset to train a conditional diffusion model, capturing domain-aligned knowledge of the data owner's private images. We introduce an embedding-guided cross-attention mechanism, where image embeddings serve as conditional signals to steer the generation process. To improve efficiency, we perform diffusion in the latent space of a pretrained VQGAN with deterministic decoding, which reduces the computational cost while preserving both structural and perceptual fidelity in reconstructed images. Extensive experiments on three real-world datasets and three popular embedding models demonstrate that our approach significantly outperforms four state-of-the-art baselines. These findings reveal that image embeddings can expose sensitive visual information, highlighting the need for stronger privacy protections in outsourced vector databases.

Original languageEnglish
Title of host publicationKDD 2026 - Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2
PublisherAssociation for Computing Machinery
Pages4486-4497
Number of pages12
ISBN (Electronic)9798400722592
DOIs
Publication statusPublished - 8 Aug 2026
Externally publishedYes
Event32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026 - Jeju Island, Korea, Republic of
Duration: 9 Aug 2026 → 13 Aug 2026

Publication series

NameProceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
Volume2-B
ISSN (Print)2154-817X

Conference

Conference32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026
Country/TerritoryKorea, Republic of
CityJeju Island
Period9/08/26 → 13/08/26

Keywords

  • black-box attack
  • diffusion model
  • embedding inversion
  • privacy leakage
  • vector databases

Fingerprint

Dive into the research topics of 'Black-Box Embedding Inversion Attack on Vector Databases'. Together they form a unique fingerprint.

Cite this