← 返回论文库
CVPR 2026   Finalist

Black-box Membership Inference Attacks on the Pre-training Data of Image-generation Models

Tao Qi ⋅ Huili Wang ⋅ Yuanhong Huang ⋅ Wendan Wang ⋅ Lianchao Zhao ⋅ Jinrui Wang ⋅ Zichen Qin ⋅ Shangguang Wang ⋅ Yongfeng Huang

摘要 Abstract

The rapid advancement of diffusion-based image generation models has raised serious concerns regarding potential copyright and privacy infringements involving human-created data.Membership inference attacks (MIAs) have emerged as a promising tool for identifying unauthorized data usage during model training.Existing methods typically assess the ability of model to denoise perturbed suspect images as an indicator of membership status.However, the discriminative power of such features is highly dependent on the degree of model memorization and deteriorates significantly when applied to less exposed data (e.g., pre-training data).Although several methods attempt to enhance detection by leveraging internal model features, these features are generally inaccessible in mainstream closed-source image generation platforms, limiting their practicality.In this paper, we demonstrate that analyzing how a black-box diffusion model denoises a target image and corresponding perturbed textual instructions can reveal more distinctive membership cues. Based on this insight, we propose a black-box membership inference attack framework (named SD-MIA) that leverages a cross-modal data perturbation mechanism to detect pre-training data in diffusion models.We conduct extensive experiments on both a public benchmark dataset and a newly constructed dataset, each comprising pre-training membership and non-membership samples with identical distributions. Experimental results demonstrate that SD-MIA achieves superior performance compared to existing baselines, including those with the unfair advantage of accessing internal model features.

📝 精读笔记

灵魂一句
现有 diffusion 成员推断攻击(MIA,判断某图是否被用于训练)几乎都“给图加噪 → 测模型去噪还原能力”,但这招对预训练数据(曝光弱、记忆浅)失效,还常要访问模型内部去噪轨迹特征(闭源 API 拿不到)。本文抓住一个结构性非对称:文本 embedding 全程不加噪、且模型对预训练成员样本内化了“局部过拟合的文本→视觉映射”(representation-region collapse,表示区坍缩)。于是 SD-MIA 改去扰动文本指令(而非图像),用 cross-modal relevance 当“不可观测的生成概率”的 surrogate,纯黑盒即可检测预训练数据,反超能看内部特征的 gray-box 方法。
问题 & 动机
三个硬伤:① 主流范式“扰图+测去噪”判别力高度依赖记忆程度,对预训练样本(vs fine-tuning)急剧退化(原文 “deteriorates significantly when applied to less exposed data”);② 改进方法靠内部去噪轨迹特征,但闭源平台只暴露最终输出、拿不到中间状态 → gray-box 不实用;③ 评测协议有偏:多数在 fine-tuning 合成设置上验证(人为过拟合、夸大记忆),或 non-member 取自无关数据集(如 Zhai 用 MS-COCO 对比 LAION 成员,引入域级差异让分类变简单)。
核心方法 + 关键公式
根因(§3.2,为何 image 扰动失效):① VAE encoder 局部收缩,Jacobian ‖Jfv(x)‖₂ ≪ 1 把细粒度图像变化压没(式2 ‖δz‖₂ ≲ ‖Jfv‖₂‖δx‖₂);② 随机扩散轨迹注入的噪声进一步淹没残余扰动 → |δxp(xm)−δxp(xn)| ≈ ξ·δx → 0(式3),成员/非成员重建几乎无差。
文本不同:text 全程不加噪、持续做 conditioning;训练把成员样本训成 representation-region collapse → ∇cp(member) ≈ 0、非成员不成立 → δcp(member) ≪ δcp(non-member)(式4-5),文本扰动成判别信号。
SD-MIA 两件套:① Indirect Textual Perturbation(§3.3):黑盒不能直接改 embedding,用 LLM(GPT-5)改写出 3 个 view 的位移谱——token-view(词法句法微改,τt=0.9)/ style-view(改风格不改语义,τs=0.8)/ semantic-view(改物体语义保风格,τc=0.6),约束 sim(fe(c),fe(ĉ)) ≥ τ。② Maximum Cross-Modal Relevance(§3.4):p(x|c) 不可查,用 CLIP relevance s(x,ĉ)=[hv(x)⊕ht(dx)]·[hv(x̂)⊕ht(dx̂)](式6)当 surrogate;对每个 view 取 top-K% relevance 均值 pooling 对抗扩散随机性(式7),最后 sf=sf(x,ĉ)−sf(x,c) 近似 δcp。
关键结果
benchmark:LAION-mi(SD v1.2–v1.5 + 分布对齐 non-member)+ 自建 FlickrMIA-25(member=LAION-2B,non-member=Flickr 2025-01-01 后的图,时间不相交)。Table1:SD-MIA 全部最高——SD-v1-2 balanced AUC 66.28%(次优 Reconstruction 59.66%),SD-v3-5 66.93%(最强 gray-box DRC 60.44%),比 DRC 高 up to 10% AUC;1:10 imbalanced 也稳。set-level(Fig4)L=30 时 AUC >95%。闭源 DALL·E/Gemini/GPT-4o(Fig5)也超 SOTA 黑盒。鲁棒性(Fig6):Gaussian blur 下 SD-MIA 61.5% 而 Reconstruction 掉到近随机。
亮点
① 首次系统化提出 cross-modal perturbation-reconstruction 机制做 diffusion MIA(原文 “has not been systematically conceptualized … in prior MIA studies”);② 纯黑盒反超 gray-box(连看不到内部特征都赢 DRC);③ representation-region collapse 给了理论(curvature/Jacobian 推导 式1-5)+ gray-box 实证(Fig8:‖δ‖<2.5 时成员 RSR 几乎不掉、非成员骤降);④ 提出无偏 benchmark(blind baseline 0.518/0.533 ≈ 随机猜)且能迁移到 image-AR 模型(Infinity,AUC 58.68% vs 黑盒 baseline 55.55%)。
疑问
① representation-region collapse 与样本出现频次 / 记忆强度的定量关系,原文给了梯度范数论证 + RSR 实证,但未充分量化“多稀疏的预训练样本仍能 collapse” → 需查。② 重度依赖外部 GPT-5(生成扰动)+ CLIP(算 relevance)+ BLIP2(无描述时补 caption),这些外部模型自身偏差对结果的影响原文未讨论。③ instance-level AUC 仅 ~66%(虽超所有 baseline),真正强实用性靠 set-level(L=30 >95%)。④ 摘要把 “OpenAI” 列为模型名疑为笔误,正文闭源实验实际是 DALL·E / Gemini / GPT-4o。

📖 逐段精读 · 笔记

批量精读:① Abstract 逐句 → ② Intro problem→solution→why → ③ Method 核心机制+关键公式 → ④ 实验/消融关键数值 + 全文一页总结。原文优先、引英文原句、外部概念单开背景块。最后更新 2026-06-21。
① Abstract(摘要)— 逐句精讲
原文(verbatim):“Existing methods typically assess the ability of model to denoise perturbed suspect images as an indicator of membership status. However, the discriminative power of such features is highly dependent on the degree of model memorization and deteriorates significantly when applied to less exposed data (e.g., pre-training data).”
在说什么:现有成员推断(MIA)的主流套路是"给嫌疑图加噪 → 看模型去噪/重建能力 → 重建得好就判定是训练成员"。但这条信号强依赖记忆程度:在被反复过拟合的 fine-tuning 数据上很灵,到了"被稀释的 pre-training 数据"上几乎失效。为什么重要:真实世界里绝大多数训练数据是在大规模预训练阶段消化的,所以"能否在 pre-training 数据上做 MIA"才是版权/隐私审计的实战命题。
原文(方法句):“we demonstrate that analyzing how a black-box diffusion model denoises a target image and corresponding perturbed textual instructions can reveal more distinctive membership cues. Based on this insight, we propose a black-box membership inference attack framework (named SD-MIA) that leverages a cross-modal data perturbation mechanism to detect pre-training data.”
逐词指路:① “black-box”——只能通过 API 文生图、拿不到任何内部特征(这是和 gray-box 方法的根本分野)。② “perturbed textual instructions”——核心创新:不扰动图像,扰动文本条件。③ “cross-modal”——用"文本扰动 → 图像重建一致性"的跨模态机制。④ 结论 “SD-MIA achieves superior performance … including those with the unfair advantage of accessing internal model features”——黑盒的 SD-MIA 甚至打败了能看内部特征的 gray-box 方法。
一句话抓 Abstract:把 MIA 的探针从"加噪图像→看去噪"换成"扰动文本→看重建一致性",纯黑盒就能在 pre-training 数据上可靠判定成员,且超过有内部访问特权的基线。
② 📚 背景知识(外部 + 附录预备,读懂 SD-MIA 必备)
① 扩散模型(附录式8–10):前向加噪 \( q(z_t\mid z_{t-1})=\mathcal{N}(z_t;\sqrt{1-\beta_t}\,z_{t-1},\beta_t I) \);反向去噪由网络 \( \epsilon_\theta(z_t,c,t) \) 预测噪声 \( p_\theta(z_{t-1}\mid z_t,c)=\mathcal{N}\!\big(z_{t-1};\tfrac{1}{\sqrt{1-\beta_t}}(z_t-\beta_t\epsilon_\theta(z_t,c,t)),\tilde\beta_t I\big) \);训练最小化去噪分数匹配损失 \( \mathcal{L}(\theta)=\mathbb{E}_{z_0,c,t,\epsilon}[\|\epsilon-\epsilon_\theta(z_t,c,t)\|_2^2] \)。关键:文本 \(c\) 全程作为条件注入,不被加噪。
② Latent Diffusion 的 VAE:SD 这类是 latent diffusion——图像先经 VAE encoder \( f_v \) 压成 latent \( z=f_v(x) \) 再扩散。VAE 是局部收缩(contractive)映射,雅可比范数 \( \|J_{f_v}(x)\|_2\ll 1 \),会"抹平"图像上的细微扰动。这是后面"图像扰动失效"的物理根因。
③ MIA 三种访问级别(附录 Table 2):white-box(看梯度/参数)、gray-box(看去噪轨迹中间态/latent 噪声预测,如 SecMIA/PIA/CLiD/DRC)、black-box(只有输入输出,如 REDIFFUSE/Reconstruction)。原文强调商业系统 “typically expose only final outputs”,所以 gray-box 在实战中不可用——SD-MIA 是唯一同时满足 black-box + cross-modal(CM) + pre-training-data(PD) 评测的方法。
④ 评测指标:AUC(ROC 曲线下面积,越高越能分开成员/非成员);TPR@5% FPR(把误报率压到 ≤5% 时还能召回多少真成员——隐私审计更看重的低误报区指标)。
③ §1 Introduction — problem → 现有不足 → solution → why(闭环)
problem:原文 “the vast majority of training data is consumed during large-scale pre-training and remains substantially less exposed to the attacker.” 而 “image perturbation–based detection signals … deteriorate sharply when applied to pre-training samples.”——实战要审计的是 pre-training 数据,但现有图像扰动信号正好在这里失效。
现有不足(两条都堵死):① fine-tuning 评测不真实——“prior work commonly fine-tunes open-source diffusion models on randomly partitioned datasets”,人为制造强过拟合 → 虚高的检测精度,“do not reflect real-world deployments”。② gray-box 不可得——改进方法靠 “fine-grained internal features extracted from the denoising trajectory”(如 Kong et al. 用中间噪声预测),但 “practical image generation systems typically expose only final outputs … making such gray-box techniques infeasible”。
solution(转向文本模态):原文 “these observations motivate a shift toward the textual modality in our work. Since text embeddings remain un-noised throughout generation, and diffusion models usually internalize locally overfitted textual–visual mappings for pre-training samples, small textual perturbations for member textual descriptions tend to remain within a collapsed representation region and thus yield stable generations.”
why it works(机理):结构性不对称——对成员,文本小扰动仍落在"塌缩区"内 → 重建稳定;对非成员,没有这种塌缩结构 → 文本扰动把条件推到表示空间别处 → 输出明显发散。原文:“textual perturbations applied to non-member data are more likely to exit this region, producing noticeably divergent outputs and thereby offering informative signals.” 这个"member 稳 / non-member 散"的差异就是判别信号。
Q&A · 它要解决的主要问题是什么?
核心:在纯黑盒(只能调 API)、且针对pre-training 数据(弱记忆)的现实约束下,做出可靠的成员推断。三个被同时卡住的难点:① 弱记忆 → 图像扰动信号太微弱;② 黑盒 → 拿不到 gray-box 的内部轨迹特征;③ 评测公平性 → 既有协议要么靠 fine-tuning 虚高、要么非成员取自无关数据集(MS-COCO)带域偏差。SD-MIA 用"文本扰动 + 跨模态一致性"绕开①②,用 LAION-mi/FlickrMIA-25 同分布基准解决③。
④ §2 Related Work — 评测公平性是隐藏战场
方法谱系:white/gray-box 靠内部信号(梯度、latent 噪声预测、重建损失),“effectiveness sharply declines in large-scale pre-training settings”;近期 gray-box(Fu/Kong/Zhai)尝试用 latent generative priors 攻 pre-training,但 “still rely on semi-transparent access to internal features”。SD-MIA = fully black-box。
评测偏差(论文专门点名):原文 “their non-member selection procedures often introduce distributional biases … For example, Zhai et al. selected non-members from the MS-COCO dataset to contrast against LAION-based pre-training members, resulting in domain-level discrepancies … that inadvertently simplify the classification task.”——非成员若取自不同域,分类器其实在分"域"而非"成员性",会高估攻击效果。本文用 LAION-mi(成员/非成员同域同分布)+ 自建 FlickrMIA-25(成员=LAION-2B、非成员=2025 年后 Flickr 图,时间上与训练语料不相交)。Fig 3 用 PCA + blind 分类器证明无偏:准确率 0.518 / 0.533(≈随机)。
⑤ §3.1–3.2 为什么图像扰动会失效(式1–3 推导)
威胁模型(§3.1):原文 “the adversary can only interact with \(\mathcal{M}_\theta\) via query-based text-to-image generation … obtain the corresponding generated images \(\hat x_i\sim\mathcal{M}_\theta(\cdot\mid c_i)\).” 拿不到参数、训练数据、优化过程、任何中间 latent。
推导(图像扰动信号被两道工序杀死):设扰动 \(\delta x\),对(不可观测的)生成概率 \(p(x\mid c;\theta^*)\) 的影响(式1):
\[ \delta_x p \approx \big|\nabla_z p(z,c;\theta^*)\cdot\delta z\big| \lesssim \|\nabla_z p(z,c;\theta^*)\|_2\cdot\|\delta z\|_2 \]
而 VAE 局部收缩(式2):\( \|\delta z\|_2=\|f_v(x+\delta x)-f_v(x)\|_2 \lesssim \|J_{f_v}(x)\|_2\,\|\delta x\|_2 \),且 \( \|J_{f_v}(x)\|_2\ll 1 \) → latent 扰动 \(\|\delta z\|_2\) 迅速消失。叠加扩散随机轨迹进一步淹没残余信号,得(式3):\( |\delta_x p(x_m)-\delta_x p(x_n)|\approx \xi\cdot\delta x\to 0,\ |J_{f_v}(x)|\lt\xi \)。结论:成员/非成员在图像扰动下的重建差异 → 0(与 Fig 1A、Fig 2 一致:member/non-member 分布几乎重合,p=4.8e−01 不显著)。原文还补一刀:黑盒下 \(\delta_x p\) 本身不可观测,靠采样近似又引入额外随机性,进一步掩盖差异。
⑥ §3.2 Our insight — 跨模态扰动(式4–5 + representation-region collapse)
关键不对称:原文 “text and images follow fundamentally different computational pathways … textual instructions are mapped into representations that remain un-noised throughout the entire generation process, persisting as conditioning signals.” 文本不被加噪 → 文本扰动的信号能"活到"输出端。
representation-region collapse(表示区塌缩):原文 “the model usually internalizes a locally overfitted mapping … This induces a representation-region collapse, where a neighborhood of semantically proximate text variants funnels into a single visual mode.”——训练时模型把"某条描述及其语义邻域"过拟合地映到"某个训练图的视觉特征",于是该描述附近一整块文本表示都坍缩到同一个视觉输出。
推导(式4–5):文本扰动 \(\delta c\) 的影响 \( \delta_c p \approx |\nabla_c p(z,c;\theta^*)\cdot\delta c|\lesssim\|\nabla_c p\|_2\cdot\|\delta c\|_2 \)(式4)。塌缩意味着成员对 \((x_m,c_m)\) 处 \( \|\nabla_c p(z_m,c_m;\theta^*)\|_2\approx 0 \)(梯度近零=局部平台=扰动不改变输出),非成员不满足。于是同样 \(\|\delta c\|_2\) 下 \( \delta_c p(x_m)\ll\delta_c p(x_n) \),即(式5):\( |\delta_c p(x_m)-\delta_c p(x_n)|\approx\|\nabla_c p(z_n,c_n;\theta^*)\cdot\delta c_n\|_2\gg 0 \)。这就是判别信号的理论基础。Fig 2 实证:文本扰动下 member/non-member 分布显著分离(p=1.3e−17)。
Q&A · 为什么成员处 \( \nabla_c p\approx 0 \)?这和"梯度"有什么关系?
直觉:把"文本 → 生成概率"看成一个曲面。对成员,因为塌缩区是被过拟合压出来的一个局部平台(高概率盆地),平台上微移文本几乎不改变生成概率 → 一阶梯度 \( \nabla_c p\approx 0 \) → 输出稳定。对非成员,没有这个被刻意压出来的平台,文本一动概率/输出就跟着变 → 梯度大 → 输出发散。所以 SD-MIA 测的本质是"生成概率曲面在文本方向的曲率/平坦度"(原文 “probability curvature”):成员=平坦、非成员=陡峭。这比"图像方向"灵,是因为图像方向的扰动早被 VAE+扩散抹平了(见⑤)。
⑦ §3.3 多视角文本扰动(token / style / semantic 三视角)
两个同时约束:原文要求扰动 “remain within the collapsed neighborhood” 且 “induce a measurable embedding displacement \(\|\delta c\|\)”——既要够小(留在塌缩区内才能区分成员),又要够大(能测到位移)。黑盒下不能直接改 embedding,于是用 LLM(GPT-5)做自然语言改写间接造位移,并加相似度约束 \( \mathrm{sim}(f_e(c),f_e(\hat c))\ge\tau \) 防止漂太远。
三视角(位移梯度递增):① token-view(词法/句法改写、保语义,最小位移,τt=0.9)——探测"是否仍在塌缩区";② style-view(改语气/详略/叙述风格、保语义,中等位移,τs=0.8)——测塌缩区对风格漂移的稳定性;③ semantic-view(改语义属性如换物体、保风格,最大位移,τc=0.6)——逼近"扰动离开塌缩区"的边界,对非成员最易触发发散。得到扰动集 \( \{\hat c^t_i,\hat c^s_i,\hat c^c_i\}_{i=1}^N \)。附录给了三套 prompt(token 只换措辞、style 只加 1–2 个风格词、semantic 只换主体保风格)。
⑧ §3.4 Maximum Cross-Modal Relevance Estimation(式6–7)
难点:真正想要的 \(p(x\mid\hat c;\theta^*)\) 黑盒不可查。替代信号(式6):用"目标图 \(x\)"与"按扰动描述 \(\hat c\) 重建出的 \(\hat x\)"的跨模态相关度当 surrogate。先用 caption 模型得 \(d_x,d_{\hat x}\),再用视觉/文本编码器(CLIP)\(h_v,h_t\) 拼接打分:
\[ s(x,\hat c)=\big(h_v(x)\oplus h_t(d_x)\big)\cdot\big(h_v(\hat x)\oplus h_t(d_{\hat x})\big) \]
塌缩区内的扰动重建 \(\hat x\) 贴近 \(x\)(高相关)、区外的发散(低相关),所以 \(s\) 是 \(p(x\mid\hat c;\theta^*)\) 的合理代理。
抗随机性:max-relevance pooling(式7):扩散采样随机 → 单次重建噪声大。利用第二重不对称:非成员"即使反复重采也基本重建不出 \(x\)",成员"多次查询里总有几次能复现"。于是对每视角取 top-K% 相关度的均值:\( s^t=\frac{1}{n}\sum_{j=1}^n s(x,\hat c^t_{R_j}),\ n=\lfloor N\cdot K\%\rfloor \)(\(R_j\) 是 top 排名索引);style/semantic 同理得 \(s^s,s^c\),融合成统一估计 \(s_f(x,\hat c)\)。最终判据:\( s_f=s_f(x,\hat c)-s_f(x,c) \) 作为 \( \delta_c p \) 的经验近似——反映"文本扰动引起的生成概率位移",成员小、非成员大。实现:CLIP ViT-L/14、缺描述用 BLIP2 生成、每条扰动查 10 次、5 个随机种子取均值±方差。
Q&A · 为什么是"取最大(top-K)"而不是"取平均"?
原因:成员的"可复现性"是偶发但确实存在的——多次随机采样里,成员总有一部分能高保真复现目标图,非成员几乎永远不行。若取全体平均,成员那几次"高分"会被大量"普通分"稀释,信号被随机性糊掉;取 top-K% 最大值恰好放大"成员能复现、非成员不能"这一结构性差异(原文 “accentuates the separation … by pooling the highest relevance values obtained across multiple stochastic reconstructions”)。这是用"最好情况统计量"对抗扩散随机性的经典思路。
⑨ §4 实验设置 + 主结果(Table 1 真实数值)
设置:基准 = LAION-mi(SD v1.2–v1.5 成员 + 同分布非成员)+ 自建 FlickrMIA-25(含 SD3.5-large 与闭源 DALL·E/GPT-4o/Gemini);7 个基线跨 white/gray/black;指标 AUC + TPR@5%FPR;balanced 与 imbalanced(1:10) 两种比例。
Table 1(balanced,AUC% / TPR@5%FPR%;摘关键行):
方法SD v1-2SD v1-4SD v1-5SD v3-5
Loss (white)51.59 / 4.7352.91 / 6.5353.75 / 6.5342.10 / 1.20
DRC (gray, 最强基线)54.66 / 11.2755.83 / 9.1354.61 / 9.4060.44 / 12.47
Reconstruction (black)59.66 / 12.1360.99 / 14.4060.30 / 11.7346.74 / 1.47
SD-MIA (black, 本文)66.28 / 16.7366.23 / 15.8065.92 / 13.6766.93 / 18.33
读表:SD-MIA 在四个模型 AUC 全部 ~66%,全面领先;原文 “outperform even the strongest gray-box baseline, DRC, by up to 10% AUC”。关键看 SD v3-5:多数基线在新架构上崩到随机甚至 <50(Loss 42.10、SecMIA 34.68、Reconstruction 46.74),SD-MIA 仍 66.93——验证跨模型/跨代泛化。imbalanced(1:10) 下 SD-MIA 仍 ~65–66 AUC,证明 max-relevance pooling 在极不平衡下保信号。
⑩ §4 set-level / 闭源 / 鲁棒性 / 消融(Fig4–7 + 附录 Table3)
set-level(Fig 4):从"单图"升到"判断整个数据集是否被用过",随集合大小 L 增大性能单调升,原文 “when the set size reaches L = 30, SD-MIA achieves an AUC exceeding 95%”——成员信号可聚合放大,适合数据集级审计。
闭源模型(Fig 5):在 DALL·E-3 / Gemini-2.0 / GPT-4o-Image 上仍稳超 SOTA 黑盒基线。原文推断 “the method captures a modality-level behavioral property of modern large-scale generative models rather than relying on architectural artifacts specific to diffusion models.”——抓的是模态级行为,不是扩散结构特例(附录 Table 3 还在自回归图像模型 Infinity 上验证:SD-MIA 58.68 vs Reconstruction 55.55 AUC)。
鲁棒性(Fig 6):对目标图加 Gaussian blur / noise / brightness / shear 四类失真,SD-MIA 始终更稳。例:Gaussian blur 下 SD-MIA AUC 61.5%,而 Reconstruction “drops to near-random performance”——文本侧探针对图像失真不敏感。
消融(Fig 7):(A) 三视角单独都有正贡献,token-view(最小位移)在某些模型上单独就很强(对细微记忆敏感),三者整合互补最佳——“multi-view perturbation is crucial”。(B) 配对原始描述(PD):拿不到原描述时用 BLIP 生成 surrogate,信号略弱但 “SD-MIA remains highly effective, outperforming the image-only DRC baseline”——证明实战可用。
📌 全文一页总结(问题 → 方法 → 实验 → takeaway)
问题(§1):实战要审计的是弱记忆的 pre-training 数据且只有黑盒 API;现有图像扰动 MIA 在此失效、gray-box 内部特征拿不到、评测又常被非成员域偏差虚高。
方法(§3):洞察"文本不被加噪 + representation-region collapse"——成员处生成概率对文本方向曲率近平(\(\nabla_c p\approx 0\))、非成员陡。SD-MIA = ① 多视角文本扰动(token/style/semantic 三档位移,LLM 改写 + 相似度约束 τ);② 跨模态相关度(CLIP \(h_v\oplus h_t\))当不可观测 \(p\) 的 surrogate;③ top-K% max-relevance pooling 抗扩散随机性;判据 \( s_f=s_f(x,\hat c)-s_f(x,c)\approx\delta_c p \)。
实验(§4):LAION-mi + 自建 FlickrMIA-25(同分布、PCA 验证无偏);7 基线全面落后,AUC ~66% 超最强 gray-box DRC 达 10%;SD v3-5 上别人崩到随机而它不崩;set-level L=30 AUC>95%;闭源 DALL·E/Gemini/GPT-4o 与自回归 Infinity 均有效;对四类图像失真鲁棒。
Takeaway(≥3 条 + 适用边界):
① 换模态换天地:当图像扰动信号被 VAE 收缩 + 扩散随机性杀死时,转到"不被加噪的文本条件"是恢复判别力的关键——MIA 应顺着"信号能活到输出端"的模态走。
② 把不可观测量代理化:真正的 \(p(x\mid c)\) 黑盒不可得,用跨模态相关度 + top-K pooling 构造稳定 surrogate,是黑盒攻击的通用范式。
③ 评测公平性是一等公民:非成员必须同域同分布,否则分类器在分"域"不是分"成员"——本文用 LAION-mi/FlickrMIA-25 + blind 分类器 ≈0.5 自证清白。
适用边界 / 诚实:(a) 绝对 AUC ~66%(实例级)不算高——pre-training 弱记忆下这是现实天花板,真正可靠靠 set-level 聚合(L=30 才 >95%);(b) 依赖外部大模型(GPT-5 改写、CLIP/BLIP 编码),其偏置可能影响信号 [论文未深入讨论];(c) representation-collapse 的直接证据在附录 6.4(gray-box RSR 实验),正文是间接论证;(d) 阈值 τt/τs/τc、K% 等超参的敏感性正文未系统消融 [需查附录]。

🖼 论文原图(本地 PDF 截图,原文 caption 未改写)

Figure 1. Methodology insights and framework. (A) Visual perturbation struggles to reveal the generation probability curvature gap between member and non-member, resulting in insignificant detection signals. (B) SD-MIA addresses this via a multi-view text perturbation mechanism, enabling precise measurement of curvature shifts and reliable detection of pre-training data in diffusion models.
Figure 2. Distributional comparison between visual-perturbation method and text-perturbation black-box method SD-MIA.
Figure 3. Aligned distributions and near-chance classifier accuracy demonstrate the absence of benchmark bias.
Figure 4. Set-level MIA performance: (A) AUC results at different set sizes L; (B) corresponding p-values for sd v1–4 across L.
Figure 5. Membership inference attack performance against closed-source image generation models (dall-e-3, gemini-2.0, gpt-4o).
Figure 6. Robustness evaluation under four training-data distortion settings, image blur, Gaussian noise, brightness adjustment, and shear transformation. Within each sub-plot, the distortion intensity increases from left to right.
Figure 7. Ablation study of SD-MIA, including: (A) perturbation view of textual input, and (B) paired textual description (PD).
Figure 8. Gray-box evidence of representation collapse.
Figure 9. Efficiency-utility trade-off of SD-MIA compared to the Reconstruction baseline, evaluated across different numbers of re- peated generations.