arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.10106cs.CRcs.CV
收藏

超越提示词攻击:概念擦除的最小动作审计

Beyond Prompt Attacks: Least-Action Auditing of Concept Erasure

Tohoku University(东北大学)

Yifei Zhu

AI总结:

该研究提出最小动作审计方法,通过ΔS_rob估计残余概率,在18个概念-机制对中准确预测Stable Diffusion的概念擦除泄漏,还可修复检查点并降低泄漏。

摘要:

文本到图像扩散模型中的概念擦除(或称概念遗忘)通常通过提示词攻击进行审计。提示词攻击测试某一条件字符串是否仍能检索到被擦除的概念,但它无法衡量冻结生成器对该概念的分配概率。我们引入对这种残余概率的最小动作审计,并在Stable Diffusion概念擦除检查点上进行评估。最小动作屏障是将冻结的反向过程驱动到检测器定义的概念事件的最小控制成本,该成本等于模型在该事件条件下的路径空间KL散度,因此也是该事件的负对数概率。估计量ΔS_rob使用CLIP∧DINOv2共识终端,无需重新训练且无对抗提示。在涵盖对象类别和NSFW裸体的18个擦除概念-机制对中,ΔS_rob通过审计中未使用的检测器,基于每个模型1500个新鲜样本预测部署泄漏(合并Spearman相关系数ρ=-0.76,p=5×10^-4)。在每个被审计的概念中,屏障更高的擦除器泄漏更少(18/18)。在NSFW裸体方面,屏障对标准擦除器的排序完全正确:UCE的ΔS_rob=3.9(泄漏16.4%)< ESD 75.5(9.8%)< RECE 224.5(1.4%),而Safe Latent Diffusion(SLD)接近零,在明确提示下泄漏85.5%。相同轨迹可修复部署的检查点,经审计引导的闭式补丁将UCE裸体泄漏从16.2%降至0/1500,RECE教堂泄漏减少3.3倍,而方向计数匹配的随机编辑则失败。

英文摘要:

Concept erasure, or concept unlearning, in text-to-image diffusion models is usually audited with prompt attacks. A prompt attack tests whether one conditioning string still retrieves the erased concept. It does not measure the probability that the frozen generator still assigns to that concept. We introduce least-action auditing of this residual probability, and evaluate it on Stable Diffusion concept-erasure checkpoints. The least-action barrier is the minimum control cost of driving the frozen reverse process into a detector-defined concept event. This cost equals the path-space KL divergence of conditioning the model on the event, and therefore the event's negative log-probability. The estimate $ΔS_{\mathrm{rob}}$ uses a CLIP$\wedge$DINOv2 consensus terminal, with no retraining and no adversarial prompt. Across $18$ erased concept-mechanism pairs spanning object classes and NSFW nudity, $ΔS_{\mathrm{rob}}$ predicts deployment leakage counted on $1{,}500$ fresh samples per model by detectors excluded from the audit (pooled Spearman $ρ{=}{-}0.76$, $p{=}5{\times}10^{-4}$). Within every audited concept, the eraser with the higher barrier leaks less ($18/18$). On NSFW nudity the barrier orders the standard erasers exactly: UCE $ΔS_{\mathrm{rob}}{=}3.9$ (leak $16.4\%$) $<$ ESD $75.5$ ($9.8\%$) $<$ RECE $224.5$ ($1.4\%$), while Safe Latent Diffusion (SLD) stays near zero and leaks $85.5\%$ under explicit prompts. The same trajectories repair deployed checkpoints. An audit-guided closed-form patch reduces UCE nudity leakage from $16.2\%$ to $0/1{,}500$ and RECE church leakage by $3.3\times$, where direction-count-matched random edits fail.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑