No Caption, No Problem: Caption-Free Membership Inference via Model-Fitted Embeddings
Organizations: Korea Advanced Institute of Science and Technology (KAIST)
Abstract
Latent diffusion models have achieved remarkable success in high-fidelity text-to-image generation, but their tendency to memorize training data raises critical privacy and intellectual property concerns. Membership inference attacks (MIAs) provide a principled way to audit such memorization by determining whether a given sample was included in training. However, existing approaches assume access to ground-truth captions. This assumption fails in realistic scenarios where only images are available and their textual annotations remain undisclosed, rendering prior methods ineffective when substituted with vision-language model (VLM) captions. In this work, we propose MoFit, a caption-free MIA framework that constructs synthetic conditioning inputs that are explicitly overfitted to the target model's generative manifold. Given a query image, MoFit proceeds in two stages: (i) model-fitted surrogate optimization, where a perturbation applied to the image is optimized to construct a surrogate in regions of the model's unconditional prior learned from member samples, and (ii) surrogate-driven embedding extraction, where a model-fitted embedding is derived from the surrogate and then used as a mismatched condition for the query image. This embedding amplifies conditional loss responses for member samples while leaving hold-outs relatively less affected, thereby enhancing separability in the absence of ground-truth captions. Our comprehensive experiments across multiple datasets and diffusion models demonstrate that MoFit consistently outperforms prior VLM-conditioned baselines and achieves performance competitive with caption-dependent methods.
Figures & tables
| Metric | (d) Member | (e) Hold-out |
| Mean ± Std (GT) | 0.0253 ± 0.0091 | 0.0433 ± 0.0125 |
| Mean ± Std (VLM) | 0.0300 ± 0.0104 | 0.0432 ± 0.0125 |
| KS Test - Statistic | 0.2284 | 0.0264 |
| KL Divergence | 0.7126 | 0.2796 |
| Methods | Condition | Pokemon | MS-COCO | Flickr | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| CLiD | GT | 96.52 | 99.17 | 90.14 | 86.50 | 90.27 | 68.80 | 91.10 | 95.13 | 77.20 |
| Loss | VLM | 72.27 | 78.99 | 4.81 | 63.70 | 67.88 | 4.80 | 61.60 | 64.24 | 5.40 |
| SecMI | 78.51 | 86.22 | 6.97 | 57.30 | 58.07 | 4.20 | 54.00 | 52.38 | 2.00 | |
| PIA | 71.79 | 76.76 | 10.82 | 66.00 | 69.70 | 6.60 | 61.00 | 64.05 | 5.00 | |
| PFAMI | 74.43 | 81.25 | 6.01 | 80.40 | 87.50 | 29.40 | 76.90 | 84.99 | 24.80 | |
| Methods | Condition | Stable Diffusion v1.5 | ||
| ASR | AUC | TPR@1%FPR | ||
| CLiD | GT | 77.38 | 77.83 | 49.65 |
| Loss | VLM | 68.21 | 74.73 | 4.87 |
| SecMI | 55.10 | 54.57 | 8.12 | |
| PIA | 63.92 | 66.74 | 6.03 | |
| PFAMI | 72.85 | 78.15 | 19.26 | |
| Input | Condition | Pokemon | MS-COCO | Flickr | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| 75.63 | 81.64 | 11.06 | 78.00 | 85.59 | 31.00 | 75.50 | 82.75 | 27.20 | ||
| 93.99 | 96.42 | 10.34 | 81.70 | 89.76 | 29.20 | 79.60 | 86.63 | 28.60 | ||
| 75.87 | 81.79 | 7.45 | 78.00 | 85.43 | 34.00 | 75.00 | 82.32 | 28.00 | ||
| MoFit | 94.48 | 97.30 | 50.48 | 88.00 | 94.17 | 47.00 | 86.00 | 91.32 | 53.20 | |
| Methods | Condition | (a) Gaussian Blur | (b) JPEG Compression | (c) LoRA | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| CLiD | GT | 89.10 | 92.27 | 70.40 | 85.50 | 89.59 | 61.00 | 59.00 | 52.05 | 1.00 |
| Loss | VLM | 64.10 | 68.17 | 4.20 | 63.40 | 66.53 | 3.80 | 54.50 | 49.26 | 0.00 |
| SecMI | 60.10 | 62.15 | 5.20 | 54.00 | 54.59 | 2.80 | 58.50 | 53.50 | 1.00 | |
| PIA | 63.10 | 65.28 | 4.40 | 64.90 | 67.18 | 5.00 | 58.50 | 53.50 | 0.00 | |
| PFAMI | 80.60 | 87.51 | 27.72 | 78.04 | 84.39 | 36.03 | 73.50 | 77.50 | 1.00 | |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Methods | Condition | LAION-mi | ||
| ASR | AUC | TPR@1%FPR | ||
| Loss | GT | 55.02 | 50.72 | 1.60 |
| SecMI | 53.55 | 53.34 | 2.90 | |
| PIA | 54.80 | 49.58 | 2.00 | |
| PFAMI | 52.75 | 51.67 | 0.75 | |
| CLiD | 56.90 | 58.62 | 4.60 | |
| Methods | Condition | Pokemon | MS-COCO | Flickr | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| Loss | GT | 80.07 | 87.50 | 8.65 | 72.16 | 78.21 | 10.20 | 66.70 | 70.14 | 4.60 |
| SecMI | 81.99 | 89.53 | 6.49 | 59.20 | 60.47 | 5.00 | 55.00 | 54.66 | 2.40 | |
| PIA | 80.43 | 86.90 | 19.95 | 78.28 | 84.64 | 16.40 | 70.31 | 74.94 | 5.80 | |
| PFAMI | 75.75 | 81.06 | 47.10 | 84.80 | 91.41 | 44.60 | 83.00 | 90.58 | 41.20 | |
| CLiD | 96.52 | 99.17 | 90.14 | 86.50 | 90.27 | 68.80 | 91.10 | 95.13 | 77.20 | |
| (a) Surrogate | VRAM (MB) | Runtime (sec) | (b) Embedding | VRAM (MB) | Runtime (sec) |
| Adam | 18053.79 | 333.24 | Adam ( Ours ) | 14799.11 | 38.28 |
| SGD | 18052.38 | 333.19 | SGD | 14797.22 | 38.21 |
| RMSProp | 18050.83 | 333.66 | RMSProp | 14803.43 | 38.15 |
| LION | 18049.72 | 333.57 | LION | 14803.64 | 38.15 |
| Ours | 20667.50 | 358.96 |
| Threshold | (a) Surrogate Optimziation | Threshold | (b) Embedding Extraction | ||||||
| ASR | AUC | TPR@1%FPR | Runtime | ASR | AUC | TPR@1%FPR | Runtime | ||
| 0.10 | 81.50 | 88.53 | 32.00 | 10.71 | 0.009 | 81.00 | 88.17 | 35.00 | 29.11 |
| 0.09 | 82.00 | 89.67 | 39.00 | 16.33 | 0.008 | 82.00 | 89.62 | 33.00 | 34.37 |
| 0.08 | 84.00 | 90.15 | 42.00 | 22.32 | 0.007 | 84.00 | 90.50 | 31.00 | 40.45 |
| 0.07 | 85.00 | 90.68 | 49.00 | 33.62 | 0.006 | 85.00 | 91.57 | 37.00 | 48.07 |
| 0.06 | 86.50 | 91.00 | 39.00 | 55.41 | 0.005 | 86.00 | 92.97 | 43.00 | 58.19 |
| Methods | Condition | (a) SD v1.5 | (b) SD v2.1 | (c) SD v3 | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| CLiD | GT | 60.00 | 58.13 | 1.00 | 58.00 | 55.82 | 2.00 | 67.50 | 71.64 | 5.00 |
| Loss | VLM | 52.00 | 50.48 | 0.60 | 55.50 | 52.47 | 1.00 | 53.00 | 46.27 | 0.00 |
| SecMI | 52.50 | 50.28 | 2.00 | 57.50 | 54.37 | 0.00 | 62.50 | 65.06 | 4.00 | |
| PIA | 51.50 | 49.75 | 1.60 | 59.00 | 57.53 | 0.00 | 55.00 | 50.84 | 0.00 | |
| PFAMI | 54.00 | 52.58 | 0.75 | 51.50 | 39.63 | 1.00 | 68.50 | 69.81 | 3.00 | |
| LAION-mi | COCO | Flickr | CC3M | LAION-mi |
| member vs. | hold-out | |||
| FID | 53.6041 | 61.8270 | 16.0582 | 8.8673 |
| Methods | Condition | Prompt2MedImage | ||
| ASR | AUC | TPR@1%FPR | ||
| CLiD | GT | 60.50 | 60.30 | 0.00 |
| Loss | VLM | 54.00 | 47.27 | 0.00 |
| SecMI | 53.00 | 46.20 | 0.00 | |
| PIA | 51.50 | 44.25 | 0.00 | |
| PFAMI | 53.00 | 50.22 | 1.00 | |
| Methods | Condition | (a) SD v1.5 | (b) SD v2.1 | (c) SD v3 | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| CLiD | MoonDream2 | 74.91 | 80.20 | 13.22 | 77.50 | 83.41 | 31.00 | 75.20 | 81.62 | 33.40 |
| CLiD | Molmo | 78.00 | 81.40 | 8.00 | 72.00 | 71.65 | 17.00 | 68.50 | 69.23 | 21.00 |
| ASR | AUC | TPR@1%FPR | |
| Random 1 | 94.50 | 96.96 | 18.00 |
| Random 2 | 94.00 | 96.23 | 25.00 |
| Random 3 | 94.00 | 95.85 | 18.00 |
| Random 4 | 95.50 | 96.72 | 41.00 |
| Methods | MS-COCO | Flickr | ||||||
| TP | FN | FP | TN | TP | FN | FP | TN | |
| Colorfulness | 135.27 | 122.65 | 147.64 | 132.54 | 146.22 | 138.56 | 147.51 | 147.95 |
| Entropy | 15.22 | 13.70 | 15.11 | 14.27 | 15.55 | 15.05 | 14.92 | 15.33 |
| Keypoint | 500.00 | 471.95 | 499.25 | 492.20 | 500.00 | 494.55 | 499.65 | 497.75 |
| Methods | Condition | (a) 500 images | (b) 1,000 images | ||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| CLiD | GT | 80.50 | 83.35 | 55.00 | 83.00 | 86.76 | 60.00 |
| Loss | VLM | 64.50 | 68.05 | 5.00 | 64.50 | 67.72 | 4.00 |
| SecMI | 62.00 | 62.31 | 4.00 | 58.00 | 59.49 | 4.00 | |
| PIA | 66.50 | 70.71 | 7.00 | 69.50 | 71.83 | 9.00 | |
| PFAMI | 83.00 | 87.26 | 23.00 | 83.50 | 90.45 | 31.00 | |
| Methods | Condition | Pokemon | MS-COCO | Flickr | ||||||
| ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ||
| ReDiffuse | GT | 52.40 | 49.53 | 0.72 | 54.20 | 52.41 | 1.20 | 60.00 | 48.23 | 0.20 |
| ReDiffuse | VLM | 52.16 | 49.75 | 0.72 | 55.30 | 53.37 | 1.60 | 51.30 | 48.73 | 0.20 |
Membership Inference Attacks
Membership inference attacks test whether records or entities were used to train a machine-learning model, revealing potential privacy leakage.
See all 116 papers