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

基于Stable Diffusion潜在代码增强的无数据替代攻击

Latent Code Augmentation Based on Stable Diffusion for Data-free Substitute Attacks

School of Computer Science and Technology, China University of Petroleum (East China)(中国石油大学(华东)计算机科学与技术学院);Harbin Institute of Technology(哈尔滨工业大学)

Mingwen Shao, Lingzhuang Meng, Yuanjian Qiao, Lixu Zhang, Wangmeng Zuo

AI总结:

针对黑盒无数据替代攻击中GAN方案效率低、生成质量差的问题,提出基于Stable Diffusion的潜在代码增强LCA,以成员数据潜在代码引导生成高多样性且符合目标分布的数据,提升攻击成功率并降低查询预算。

摘要:

由于在黑盒替代攻击中无法获取目标模型的训练数据,近期大多数方案利用GAN生成数据来训练替代模型。然而,这些基于GAN的方案存在训练效率低的问题,因为在替代训练过程中需要针对每个目标模型重新训练生成器,同时还存在生成质量低的问题。为克服这些局限,我们考虑利用扩散模型生成数据,并提出一种基于Stable Diffusion(SD)的新型无数据替代攻击方案,以提升替代训练的效率和准确率。尽管SD生成的数据质量较高,但其呈现出不同的域分布,并且对于目标模型而言正负样本差异较大。针对该问题,我们提出潜在代码增强(Latent Code Augmentation,LCA),以促使SD生成符合目标模型数据分布的数据。具体而言,我们使用LCA增强推断出的成员数据的潜在代码,并将其作为SD的引导。在LCA的引导下,SD生成的数据不仅满足目标模型的判别标准,还表现出高度多样性。利用这些数据,可以更高效地训练与目标模型高度相似的替代模型。大量实验表明,对于不同目标模型,与基于GAN的方案相比,我们的LCA实现了更高的攻击成功率,并且需要更少的查询预算。代码可在https://github.com/LzhMeng/LCA获取。

英文摘要:

Since the training data of the target model is not available in the black-box substitute attack, most recent schemes utilize GANs to generate data for training the substitute model. However, these GANs-based schemes suffer from low training efficiency as the generator needs to be retrained for each target model during the substitute training process, as well as low generation quality. To overcome these limitations, we consider utilizing the diffusion model to generate data, and propose a novel data-free substitute attack scheme based on the Stable Diffusion (SD) to improve the efficiency and accuracy of substitute training. Despite the data generated by the SD exhibiting high quality, it presents a different distribution of domains and a large variation of positive and negative samples for the target model. For this problem, we propose Latent Code Augmentation (LCA) to facilitate SD in generating data that aligns with the data distribution of the target model. Specifically, we augment the latent codes of the inferred member data with LCA and use them as guidance for SD. With the guidance of LCA, the data generated by the SD not only meets the discriminative criteria of the target model but also exhibits high diversity. By utilizing this data, it is possible to train the substitute model that closely resembles the target model more efficiently. Extensive experiments demonstrate that our LCA achieves higher attack success rates and requires fewer query budgets compared to GANs-based schemes for different target models. Our codes are available at \url{https://github.com/LzhMeng/LCA}.

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

↑