arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.15429cs.CVcs.AIcs.LG
收藏

ProTIP:针对随机扰动的文本生成图像扩散模型概率鲁棒性验证

ProTIP: Probabilistic Robustness Verification on Text-to-Image Diffusion Models against Stochastic Perturbation

WMG, University of Warwick(华威大学WMG学院);University of Liverpool(利物浦大学)

Yi Zhang, Yun Tang, Wenjie Ruan, Xiaowei Huang, Siddartha Khastgir, Paul Jennings, Xingyu Zhao

AI总结:

针对文本生成图像扩散模型鲁棒性评估的现有方法局限,提出带统计保障的概率鲁棒性定义及ProTIP框架,通过序贯分析与自适应集中不等式降本提效,可用于防御方法排序。

摘要:

文本生成图像(Text-to-Image, T2I)扩散模型(Diffusion Models, DMs)已展现出基于简单文本描述生成高质量图像的出色能力。然而,与许多深度学习(Deep Learning, DL)模型的常见问题一致,扩散模型存在鲁棒性不足的缺陷。现有研究尝试将T2I扩散模型的鲁棒性评估为二元问题或最坏情况问题,但这类方法无法回答在可找到对抗样本(adversarial example, AE)的情况下,模型整体的鲁棒程度如何。本研究首先提出了T2I扩散模型鲁棒性的概率化定义,随后构建了名为ProTIP的高效框架,可在具备统计保障的前提下评估该鲁棒性。研究面临的主要挑战包括:其一,生成过程计算成本高昂;其二,判断扰动输入是否为对抗样本需要比较两个输出分布,这与分类等其他深度学习任务中仅通过标签预测错误即可识别对抗样本的方式相比,难度本质上更高。为应对上述挑战,我们在用于识别对抗样本的统计检验中采用了带有效和无效提前停止规则的序贯分析方法,并运用自适应集中不等式,在达到验证目标时动态确定“恰好合适”的随机扰动数量。实证实验验证了ProTIP在常用T2I扩散模型上的有效性与高效性。最后,我们展示了ProTIP在对常用防御方法进行排序方面的应用。

英文摘要:

Text-to-Image (T2I) Diffusion Models (DMs) have shown impressive abilities in generating high-quality images based on simple text descriptions. However, as is common with many Deep Learning (DL) models, DMs are subject to a lack of robustness. While there are attempts to evaluate the robustness of T2I DMs as a binary or worst-case problem, they cannot answer how robust in general the model is whenever an adversarial example (AE) can be found. In this study, we first introduce a probabilistic notion of T2I DMs' robustness; and then establish an efficient framework, ProTIP, to evaluate it with statistical guarantees. The main challenges stem from: i) the high computational cost of the generation process; and ii) determining if a perturbed input is an AE involves comparing two output distributions, which is fundamentally harder compared to other DL tasks like classification where an AE is identified upon misprediction of labels. To tackle the challenges, we employ sequential analysis with efficacy and futility early stopping rules in the statistical testing for identifying AEs, and adaptive concentration inequalities to dynamically determine the "just-right" number of stochastic perturbations whenever the verification target is met. Empirical experiments validate the effectiveness and efficiency of ProTIP over common T2I DMs. Finally, we demonstrate an application of ProTIP to rank commonly used defence methods.

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

↑