arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24820cs.CVcs.AI
收藏

SafeEditor:用于高效事后T2I安全编辑的统一多模态大语言模型

SafeEditor: Unified MLLM for Efficient Post-hoc T2I Safety Editing

PKU Alignment Team, Peking University(北京大学对齐团队);LLM Safety Centre, Beijing Academy of Artificial Intelligence(北京人工智能研究院大语言模型安全中心)

Ruiyang Zhang, Jiahao Luo, Xiaoru Feng, Qiufan Pang, Yaodong Yang, Juntao Dai

AI总结:

针对文生图推理时安全方法过度拒绝、安全与实用性失衡的问题,提出基于MR-SafeEdit数据集的多轮事后安全编辑框架及统一MLLM SafeEditor,实现更优的安全-实用性平衡。

摘要:

随着文生图(text-to-image, T2I)模型的快速发展,确保其安全性变得日益关键。现有安全方法可分为训练时方法和推理时方法两类。尽管推理时方法因成本效益高被广泛采用,但它们常存在过度拒绝、安全性与实用性失衡等局限。为应对这些挑战,我们提出一种多轮安全编辑框架,它是模型无关的即插即用模块,可为任意文生图模型实现高效的安全对齐。该框架的核心是MR-SafeEdit,这是一个专门为文生图安全编辑构建的多轮图文交错数据集。我们提出了一种事后安全编辑范式,其模拟了人类识别并修正不安全内容的认知过程。为实现该范式,我们开发了SafeEditor——一种可对生成图像进行多轮安全编辑的统一多模态大语言模型(MLLM)。实验结果表明,SafeEditor优于现有安全方法,在减少过度拒绝的同时,实现了更优的安全-实用性平衡。

英文摘要:

With the rapid advancement of text-to-image (T2I) models, ensuring their safety has become increasingly critical. Existing safety approaches can be categorized into training-time and inference-time methods. While inference-time methods are widely adopted due to their cost-effectiveness, they often suffer from limitations such as over-refusal and imbalance between safety and utility. To address these challenges, we propose a multi-round safety editing framework that functions as a model-agnostic, plug-and-play module, enabling efficient safety alignment for any text-to-image model. Central to this framework is MR-SafeEdit, a multi-round image-text interleaved dataset specifically constructed for safety editing in text-to-image generation. We introduce a post-hoc safety editing paradigm that mirrors the human cognitive process of identifying and refining unsafe content. To instantiate this paradigm, we develop SafeEditor, a unified MLLM capable of multi-round safety editing on generated images. Experimental results show that SafeEditor surpasses prior safety approaches by reducing over-refusal while achieving a more favorable safety-utility balance.

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

↑