[Paper Review] Membership Inference Attacks Against Text-to-image Generation Models
The paper analyzes membership inference in text-to-image generation models and proposes four attacks that infer whether an image was in the model’s training data, with semantic-level methods delivering high accuracy.
Text-to-image generation models have recently attracted unprecedented attention as they unlatch imaginative applications in all areas of life. However, developing such models requires huge amounts of data that might contain privacy-sensitive information, e.g., face identity. While privacy risks have been extensively demonstrated in the image classification and GAN generation domains, privacy risks in the text-to-image generation domain are largely unexplored. In this paper, we perform the first privacy analysis of text-to-image generation models through the lens of membership inference. Specifically, we propose three key intuitions about membership information and design four attack methodologies accordingly. We conduct comprehensive evaluations on two mainstream text-to-image generation models including sequence-to-sequence modeling and diffusion-based modeling. The empirical results show that all of the proposed attacks can achieve significant performance, in some cases even close to an accuracy of 1, and thus the corresponding risk is much more severe than that shown by existing membership inference attacks. We further conduct an extensive ablation study to analyze the factors that may affect the attack performance, which can guide developers and researchers to be alert to vulnerabilities in text-to-image generation models. All these findings indicate that our proposed attacks pose a realistic privacy threat to the text-to-image generation models.
Motivation & Objective
- Motivate privacy risks in text-to-image generation due to large training datasets containing sensitive information.
- Define a realistic black-box threat model for membership inference using only output images.
- Design four attack methods based on three intuitions about membership information.
- Evaluate attacks on diffusion-based (LDM) and sequence-to-sequence (DALL-E mini) models across multiple datasets.
- Provide ablations to identify factors affecting attack effectiveness.
Proposed method
- Model the problem as a binary membership classifier using an auxiliary dataset built from a small member subset and local non-members.
- Attack I: pixel-level and semantic-level quality distinctions (I-P, I-S).
- Attack II: pixel-level and semantic-level reconstruction errors (II-P, II-S).
- Attack III: semantic-level faithful reflection of captions (III).
- Attack IV: integrates all three intuitions using semantic-level features; employs concatenation of embeddings as input to the attack classifier.
- Use BLIP/CLIP-based captioning and embeddings; train attack models (CNN for pixel, 3-layer MLP for semantic) with cross-entropy loss; evaluation via accuracy.
Experimental results
Research questions
- RQ1Can a black-box attacker infer membership of a query image in a target text-to-image model using only the generated image?
- RQ2What are the most effective modalities (pixel vs semantic) for membership inference in text-to-image models?
- RQ3How do diffusion-based vs sequence-to-sequence text-to-image models differ in susceptibility to membership inference?
- RQ4What factors (auxiliary data size, denoising steps, caption/embedding tools) influence attack success?
- RQ5Are defense strategies feasible against such membership leaks in resource-constrained settings?
Key findings
- All four proposed attacks achieve accuracy well above random (up to near 100% in some cases).
- Semantic-level attacks consistently outperform pixel-level attacks across models and datasets.
- Attack IV (integrating all intuitions) and Attack II-S perform best in most settings, often approaching near-perfect accuracy.
- Semantic embeddings with same-modality comparisons yield stronger signals than cross-modality ones.
- Increasing denoising steps offers limited gains for attack performance after images become usable (e.g., around 20 steps).
- Attack effectiveness persists even with as little as 5% auxiliary data; performance degrades only slightly with reduced auxiliary data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.