跳到正文
arXiv (AI + Vision + Imaging)· Ji Guo, Rui Zhang, Guomin Lu, Aiguo Chen, Tianwei Zhang, Hongwei Li, Wenbo Jiang·· 6 天前AI 评分20

VerifyPrompt:面向黑盒API背后的Text-to-Image模型验证

VerifyPrompt: Towards Text-to-Image Models Verification Behind Black-Box APIs

AI 导读

VerifyPrompt通过专门设计的验证提示词判断黑盒目标模型是否与黑盒参考模型一致,用于识别第三方平台以模型替换欺诈冒充所声称的T2I模型。该提示词对目标模型过拟合、不具迁移性,使目标模型生成特定图像而其他模型输出完全不同的图像。配合基于强化学习的VerifyPrompt-RL搜索策略,在多个T2I平台上验证准确率超过90%。

正文 · 原文

arXiv:2410.22725v5 Announce Type: replace Abstract: With the rise of diverse Text-to-Image (T2I) models such as DALL-E 3, third-party platforms increasingly integrate multiple black-box APIs to deliver cost-effective services. This also raises a new and practical security question: are these third-party platforms truly offering the models they claim? Such model substitution fraud, in which a malicious third-party platform operator acts as the adversary, enables the platform to profit illicitly while undermining user interests and damaging the commercial reputation of legitimate model providers. To address this practical concern, we first define the task of T2I model verification, which determines whether a black-box target model matches a black-box oracle reference model. After that, we propose VerifyPrompt, which performs T2I model verification through a specially designed verify prompt. Intuitively, the verify prompt is an adversarial prompt for the target model, without transferability to other models. It makes the target model generate a specific image while making other models produce entirely different images. Our key idea for generating verify prompts is to enforce strong interactions between adversarial perturbations and the target model, thereby overfitting the target and producing model-specific perturbations. To enable efficient black-box search for verify prompts, we further introduce VerifyPrompt-RL, a reinforcement learning-based strategy that leverages multi-sample exploration and group relative error estimation to stabilize and accelerate the search process. Experiments show that VerifyPrompt achieves over 90\% accuracy across various T2I platforms, confirming its effectiveness in real-world third-party services.

来源:arXiv (AI + Vision + Imaging) · arxiv.org