arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.11815cs.CV
收藏

CogMorph:针对文本到图像模型的认知变形攻击

CogMorph: Cognitive Morphing Attacks for Text-to-Image Models

Beihang University(北京航空航天大学);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学)

Zonglei Jing, Zonghao Ying, Le Wang, Siyuan Liang, Aishan Liu, Xianglong Liu, Dacheng Tao

AI总结:

本文提出认知变形攻击(CogMorph),利用人类认知原理操纵文本到图像模型生成嵌入有害情境的图像,通过构建毒性分类体系和分层变形方法,显著增强攻击效果,平均提升20.62%。

摘要:

文本到图像(T2I)生成模型的发展使得从文本提示生成高质量合成图像成为可能,为创意设计和内容生成开辟了新的前沿。然而,本文揭示了该技术中一个重大且此前未被认识到的伦理风险,并提出了一种新方法,称为认知变形攻击(CogMorph),该方法操纵T2I模型生成保留原始核心主体但嵌入有毒或有害情境元素的图像。这种微妙的操纵利用了人类对概念的感知受整个视觉场景及其情境影响的认知原理,产生的图像在情感伤害上远超仅保留原始语义的攻击。为解决此问题,我们首先构建了一个图像毒性分类体系,涵盖10个主要类别和48个子类别,与人类认知-感知维度对齐,并进一步构建了一个毒性风险矩阵,生成了1,176个高质量的T2I有毒提示。在此基础上,我们的CogMorph首先引入了认知毒性增强(Cognitive Toxicity Augmentation),开发了一个认知毒性知识库,其中包含丰富的外部毒性表征(例如细粒度视觉特征),可用于进一步指导对抗性提示的优化。此外,我们提出了情境分层变形(Contextual Hierarchical Morphing),它分层提取原始提示的关键部分(例如场景、主体和身体部位),然后迭代检索和融合毒性特征以注入有害情境。在多个开源T2I模型和黑盒商业API(例如DALLE-3)上的大量实验证明了CogMorph的有效性,其性能大幅超越其他基线(平均提升+20.62%)。

英文摘要:

The development of text-to-image (T2I) generative models, that enable the creation of high-quality synthetic images from textual prompts, has opened new frontiers in creative design and content generation. However, this paper reveals a significant and previously unrecognized ethical risk inherent in this technology and introduces a novel method, termed the Cognitive Morphing Attack (CogMorph), which manipulates T2I models to generate images that retain the original core subjects but embeds toxic or harmful contextual elements. This nuanced manipulation exploits the cognitive principle that human perception of concepts is shaped by the entire visual scene and its context, producing images that amplify emotional harm far beyond attacks that merely preserve the original semantics. To address this, we first construct an imagery toxicity taxonomy spanning 10 major and 48 sub-categories, aligned with human cognitive-perceptual dimensions, and further build a toxicity risk matrix resulting in 1,176 high-quality T2I toxic prompts. Based on this, our CogMorph first introduces Cognitive Toxicity Augmentation, which develops a cognitive toxicity knowledge base with rich external toxic representations for humans (e.g., fine-grained visual features) that can be utilized to further guide the optimization of adversarial prompts. In addition, we present Contextual Hierarchical Morphing, which hierarchically extracts critical parts of the original prompt (e.g., scenes, subjects, and body parts), and then iteratively retrieves and fuses toxic features to inject harmful contexts. Extensive experiments on multiple open-sourced T2I models and black-box commercial APIs (e.g., DALLE-3) demonstrate the efficacy of CogMorph which significantly outperforms other baselines by large margins (+20.62% on average).

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

↑