文本生成图像模型面对提示模板窃取的脆弱性:一种差分进化方法
Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approach
AI总结:
本研究揭示文本生成图像模型的提示模板窃取漏洞,提出基于差分进化的EvoStealer方法,构建Prism基准验证其在多类模型上窃取效果优于基线超10%,且计算成本极低。
摘要:
近年来,提示交易已成为一项重要的知识产权问题:商家先展示样图吸引用户,再出售可生成类似图像的提示模板。本研究探究了一项关键安全漏洞:攻击者仅需少量样图即可窃取提示模板。为研究这一威胁,我们提出了Prism(提示窃取基准),包含50个模板与450张图像,分为简单和困难两个难度等级。为明确视觉语言模型(VLM)在提示窃取方面的脆弱性,我们提出EvoStealer——一种新型模板窃取方法,无需模型微调,通过利用差分进化算法实现。该系统首先基于预定义模式,借助多模态大语言模型(MLLM)初始化种群集,随后通过MLLM迭代生成优化的后代个体。进化过程中,EvoStealer识别后代的共同特征,推导通用化模板。我们在开源模型(INTERNVL2-26B)与闭源模型(GPT-4o、GPT-4o-mini)上开展的综合评估表明,EvoStealer窃取的模板可复现与原图高度相似的图像,且能有效泛化至其他主体,性能显著优于基线方法,平均提升超10%。此外,成本分析显示,EvoStealer实现模板窃取的计算开销可忽略不计。我们的代码与数据集可在https://github.com/whitepagewu/evostealer获取。
英文摘要:
Prompt trading has emerged as a significant intellectual property concern in recent years, where vendors entice users by showcasing sample images before selling prompt templates that can generate similar images. This work investigates a critical security vulnerability: attackers can steal prompt templates using only a limited number of sample images. To investigate this threat, we introduce Prism, a prompt-stealing benchmark consisting of 50 templates and 450 images, organized into Easy and Hard difficulty levels. To identify the vulnerabity of VLMs to prompt stealing, we propose EvoStealer, a novel template stealing method that operates without model fine-tuning by leveraging differential evolution algorithms. The system first initializes population sets using multimodal large language models (MLLMs) based on predefined patterns, then iteratively generates enhanced offspring through MLLMs. During evolution, EvoStealer identifies common features across offspring to derive generalized templates. Our comprehensive evaluation conducted across open-source (INTERNVL2-26B) and closed-source models (GPT-4o and GPT-4o-mini) demonstrates that EvoStealer's stolen templates can reproduce images highly similar to originals and effectively generalize to other subjects, significantly outperforming baseline methods with an average improvement of over 10%. Moreover, our cost analysis reveals that EvoStealer achieves template stealing with negligible computational expenses. Our code and dataset are available at https://github.com/whitepagewu/evostealer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。