Exposing Private Corpus Leakage in Multimodal RAG
Abstract
Multimodal Retrieval-Augmented Generation (RAG) helps mitigate hallucinations in Vision-Language Models (VLMs) by grounding generations in external knowledge bases. However, this externalized memory also introduces privacy risks, as external queries may reveal signals about sensitive visual records in the retrieval corpus, including medical images, scanned contracts, and proprietary business documents. To study this risk, we propose the Semantic Degradation Attack (SDA), a two-query method for exposing private corpus leakage in multimodal RAG by testing how strongly generated responses depend on retrieved evidence. SDA constructs transferable retrieval-disrupting perturbations using local surrogate visual encoders. By measuring the drop in the semantic similarity of the VLM's generated descriptions and the candidate caption after perturbation, SDA can distinguish whether a target image-caption record exists in the private retrieval corpus. Extensive experiments across five popular VLMs demonstrate that SDA outperforms existing baselines on two general-domain image-caption datasets and remains effective on two medical datasets.