CogMorph: A Cognitive Morphing Attack Against Text-to-Image ModelsCogMorph: Cognitive Morphing Attacks for Text-to-Image Models
The researchers propose CogMorph, a cognitive morphing attack method against text-to-image models, which can manipulate the model to generate images that retain the original core subject but embed toxic or harmful contextual elements, exploiting the cognitive principle that human perception of concepts is influenced by the overall visual scene to amplify emotional harm. The paper constructs an image toxicity taxonomy covering 10 major categories and 48 subcategories, and generates 1176 high-quality toxic prompts accordingly; the method includes cognitive toxicity enhancement, which builds a toxicity knowledge base containing fine-grained visual features to guide adversarial prompt optimization, and contextual hierarchical morphing, which hierarchically extracts scene, subject, and body parts from the original prompt and iteratively retrieves and fuses toxic features. Experiments on multiple open-source text-to-image models and black-box commercial APIs such as DALLE-3 show that CogMorph averages 20.62% higher than baselines.