paper-with-me

Papers

SafeCtrl: Region-Based Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress

2025-08-16 · Lingyun Zhang, Yu Xie, Yanwei Fu, Ping Chen arxiv

The widespread deployment of text-to-image models is challenged by their potential to generate harmful content. While existing safety methods, such as prompt rewriting or model fine-tuning, provide valuable interventions, they often introduce a trade-off between safety and fidelity. Recent localization-based approaches have shown promise, yet their reliance on explicit ``concept replacement" can sometimes lead to semantic incongruity. To address these limitations, we explore a more flexible detect-then-suppress paradigm. We introduce SafeCtrl, a lightweight, non-intrusive plugin that first precisely localizes unsafe content. Instead of performing a hard A-to-B substitution, SafeCtrl then suppresses the harmful semantics, allowing the generative process to naturally and coherently resolve into a safe, context-aware alternative. A key aspect of our work is a novel training strategy using Direct Preference Optimization (DPO). We leverage readily available, image-level preference data to train our module, enabling it to learn nuanced suppression behaviors and perform region-guided interventions at inference without requiring costly, pixel-level annotations. Extensive experiments show that SafeCtrl significantly outperforms state-of-the-art methods in both safety efficacy and fidelity preservation. Our findings suggest that decoupled, suppression-based control is a highly effective and scalable direction for building more responsible generative models.

📄 PDF Abstract BibTeX arXiv:2508.11904

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SafeCtrl: Region-Aware Safety Control for Text-to-Image Diffusion via Detect-Then-Suppress

2026-04-05 · Lingyun Zhang, Yu Xie, Zhongli Fang, Yu Liu 외 arxiv

The widespread deployment of text-to-image diffusion models is significantly challenged by the generation of visually harmful content, such as sexually explicit content, violence, and horror imagery. Common safety interv…

SafeCtrl-RL: Inference-Time Adaptive Behaviour Control for LLM Dialogue via RL-Driven Prompt Optimisation

2026-05-25 · Michael Orme, Yanchao Yu, Zhiyuan Tan arxiv

Ensuring safe and contextually appropriate behaviour in Large Language Models (LLMs) remains a critical challenge for real-world deployment. We present \textbf{SafeCtrl-RL}, an inference-time behavioural control framewor…

Reinforcement LearningDialogue Generation

Safe Bayesian Optimization for Complex Control Systems via Additive Gaussian Processes

2024-08-29 · Hongxuan Wang, Xiaocong Li, Lihao Zheng, Adrish Bhaumik 외

Controller tuning and optimization have been among the most fundamental problems in robotics and mechatronic systems. The traditional methodology is usually model-based, but its performance heavily relies on an accurate …

Bayesian OptimizationGaussian Processes

Data-Driven and Stealthy Deactivation of Safety Filters

2024-12-02 · Daniel Arnström, André M. H. Teixeira

Safety filters ensure that control actions that are executed are always safe, no matter the controller in question. Previous work has proposed a simple and stealthy false-data injection attack for deactivating such safet…

Advanced Safety Filter for Smooth Transient Operation of a Battery Energy Storage System

2024-05-23 · Michael Schneeberger, Florian Dörfler, Silvia Mastellone

In this paper, we implement an advanced safety filter to smoothly limit the current of an inverter-based Battery Energy Storage System. The task involves finding suitable Control Barrier Function and Control Lyapunov Fun…