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

ReVision:一种基于视觉的后处理技术,用于在图像生成管道中替换不可接受的概念

ReVision : A Post-Hoc, Vision-Based Technique for Replacing Unacceptable Concepts in Image Generation Pipeline

University of Waterloo(滑铁卢大学);University of Melbourne(墨尔本大学);Thapar Institute of Engineering and Technology(塔帕尔工程与技术学院);University of Queensland(昆士兰大学)

Gurjot Singh, Prabhjot Singh, Aashima Sharma, Maninder Singh, Ryan Ko

AI总结:

ReVision是一种无需训练的后处理框架,通过视觉模型检测并替换图像生成中不安全的概念,提升安全性与生成质量。

摘要:

图像生成模型被广泛应用于各个行业。最近的研究表明,它们可以被利用来生成违反政策的内容。现有的缓解策略主要在生成前或生成中阶段通过提示过滤和安全意识训练/微调等技术进行操作。先前的研究表明,这些方法可以被绕过,并且往往降低生成质量。在本工作中,我们提出了ReVision,一种无需训练、基于提示的、后处理的安全框架,用于图像生成管道。ReVision通过分析生成的图像并选择性地编辑不安全的概念来作为最后一道防线,而不会改变底层生成器。它使用Gemini-2.5-Flash模型作为通用的违反政策概念检测器,避免了依赖多个类别特定的检测器,并通过局部语义编辑来替换不安全的内容。先前的后处理编辑方法往往依赖于不精确的空间定位,这会削弱可用性并限制部署性,特别是在多概念场景中。为了解决这一限制,ReVision引入了VLM辅助的空间门控机制,强制实例一致的定位,使编辑能够精确进行,同时保持场景的完整性。我们评估了ReVision在一个包含单概念和多概念场景的245张图像基准上。结果表明,ReVision(i)在平均上提高了基于CLIP的对安全提示的对齐度,提高了+0.121;(ii)显著提高了多概念背景的保真度(LPIPS 0.166→0.058);(iii)在类别特定检测器上实现了几乎完全的抑制(例如,NudeNet 70.51→0);(iv)在人类审核研究中将违反政策内容的可识别性从95.99%降低到10.16%。

英文摘要:

Image-generative models are widely deployed across industries. Recent studies show that they can be exploited to produce unacceptable content. Existing mitigation strategies rely on prompt filtering and safety-aware training, both of which can be bypassed and often degrade generative quality. In this work, we propose ReVision, a training-free, prompt-based, post-hoc safety framework for image-generation pipeline. ReVision acts as a post-generation safeguard by analyzing generated images and selectively editing unsafe concepts without altering the underlying generator. Prior post-hoc editing methods often rely on imprecise spatial localization, limiting deployability, in multi-concept scenes. To address this limitation, ReVision introduces a VLM-assisted spatial gating mechanism for instance-consistent localization, enabling integrity-preserving edits. We introduce an 800-image benchmark spanning single- and multi-unsafe-concept images, each composed alongside benign concepts in shared scenes. On this benchmark, ReVision improves CLIP alignment toward safe prompts by +0.121, reduces multi-concept background LPIPS from 0.166 to 0.058, and eliminates NudeNet detections (70.51 -> 0). Across external benchmarks, ReVision outperforms prior methods, and a human study shows it reduces recognizability of unacceptable content from 96% to 10%.

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

↑