arXiv AI

Keep It CALM: Analyzing the Limits of Global Unsafety in Text-to-Image Generation

The paper examines the limitations of global unsafety signals used in training‑free safeguards for text‑to‑image generation, showing a trade‑off between coverage and selectivity. It introduces CALM, a counterfactual adaptive local modulation method that locally corrects unsafe token representations while preserving benign content. Experiments demonstrate that CALM outperforms global removal approaches in suppressing unsafe content without compromising utility.

arXiv Computer Vision
Oct 16

Decoupled Safety Control: A Safety-Control Algorithm for Training-Free Safety Guidance

Decoupled Safety Control (DSC) is a plug‑in algorithm that improves training‑free safety guidance for diffusion models by separating the unsafe condition from the intervention process. Unlike existing coupled safety‑control chains, DSC determines the intervention based on the current generation state, reducing residual unsafe content and preserving benign‑generation quality. Experiments on standard safety benchmarks demonstrate that DSC achieves stronger unsafe‑content suppression while maintaining efficient inference.

By Huilin Zhou, Ruoxi Cheng, Yuhang Wang, Yuming Liu, Minghao Sun, Ruolong Ma, Lan Zhang
arXiv AI
Sep 3

Transfer Safety Awareness for Cross-Modal Safety Drift in Multimodal Large Language Models

The paper investigates cross‑modal safety drift in multimodal large language models, where a harmless text query paired with a visual image can trigger harmful responses. Empirical analysis identifies unsafe response patterns and shows that visual cues receive limited attention, weakening refusal mechanisms. The authors introduce Safety‑Awareness Representation Transfer (SRT), a lightweight method that transfers safety signals from text processing to mitigate cross‑modal drift while maintaining model utility.

By Tianqi Xiao, Shiyao Cui, Minghao Zhang, Junxiao Yang, Renmiao Chen
arXiv Computation and Language
Aug 31

Steering Multimodal Large Language Models Decoding for Context-Aware Safety

The paper introduces Safety-aware Contrastive Decoding (SafeCoDe), a lightweight, model‑agnostic framework designed to improve context‑aware safety in Multimodal Large Language Models (MLLMs). SafeCoDe operates in two stages: a contrastive decoding step that highlights tokens sensitive to visual context by contrasting real and Gaussian‑noised images, and a global‑aware token modulation strategy that adjusts refusals based on scene‑level reasoning and predicted safety verdicts. Experiments across various MLLM architectures and safety benchmarks demonstrate that SafeCoDe consistently enhances context‑sensitive refusal behaviors while maintaining model helpfulness.

By Zheyuan Liu, Zhangchen Xu, Guangyao Dou, Xiangchi Yuan, Zhaoxuan Tan, Radha Poovendran, Meng Jiang
arXiv Computer Vision
Nov 9

No Safe Dose: How Training Data Drives Unsafe Image Generation

The study investigates how the proportion of unsafe images in training data influences the safety of text‑to‑image models. By training identical models on corpora ranging from 0% to 9.6% unsafe content and evaluating 10,000 generations per model, the authors find that unsafe output increases monotonically with contamination, saturating at 26.4% for the highest contamination level. Filtering a fixed fraction of unsafe images is equally effective across different dataset sizes and does not degrade image quality, yet it cannot eliminate unsafe generation entirely, indicating that data curation and encoder choices are complementary but insufficient alone.

By Felix Friedrich, Lukas Helff, Niharika Hegde, Patrick Schramowski, Kristian Kersting
arXiv AI
Sep 24

InGuard: Towards Generalized Inner Guardrail for Safe Text-to-Image Generation

InGuard introduces an inner guardrail for text-to-image generation that operates within the model’s own representations, avoiding external classifiers. It grades prompts using the text encoder’s embeddings, modifies risky embeddings with SAGE to produce safe images, and employs a latent detector to halt generation early. Evaluated on the RevGen Safety Benchmark, InGuard achieves a 97.9–98.8% safety rate across five open-weight models while reducing benign disturbances, model parameters, and denoising steps.

By Zeyu Wang, Xiaodan Li, Zhiwen Li, Yuefeng Chen, Hui Xue
arXiv AI
Aug 19

DiSCO: Defending text-to-image generation through distribution-guided contrastive prompt optimization

DiSCO is a zero‑shot, black‑box defense for text‑to‑image models that operates solely at the prompt level. It expands prompts with a distribution‑guided suffix using beam search and contrastive scoring against safe and unsafe image pools generated by the target model, iteratively refining until safe content is produced. The method improves safety on the I2P benchmark under various red‑teaming attacks, reducing attack success rates by 37.7% and 25.13% while preserving semantic fidelity and image coherence.

By Tong Zhang, Motasem Alfarra, Carlos Hinojosa, Christos Louizos, Bernard Ghanem
arXiv Computer Vision
Oct 9

When Scene Text Hijacks the Scene: Uncovering, Exploiting, and Mitigating Rendered-Text Semantic Leakage in Image Generation Models

The paper investigates how rendered text in image generation models can leak semantic information, acting as an unintended control channel. By separating the visual prompt from the text, the authors measure how text semantics influence generated images and show that harmful meanings can persist even when the main prompt is benign. They also propose a mitigation strategy that limits unsafe semantic transfer while maintaining correct text rendering.

By Feifei Li, Runjie Wang, Xiaohan Zhang, Zhenxing Qian, Mi Wen, Mi Zhang
arXiv AI
Jun 6

Do Models Share Safety Representations? Cross-Model Steering for Safe Visual Generation

arXiv:2606. 05290v1 Announce Type: cross Abstract: Recent progress in generative modeling has made safety control a central challenge, yet existing approaches remain largely model-specific, requiring retraining or tailored interventions for each new architecture.

By Tobia Poppi, Silvia Cappelletti, Sara Sarto, Florian Schiffers, Garin Kessler, Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara