arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.05910cs.CVcs.AIcs.CL
收藏

PolicyShiftGuard:基准测试与改进策略自适应图像护栏

PolicyShiftGuard: Benchmarking and Improving Policy-Adaptive Image Guardrails

Fudan University(复旦大学);Tongji University(同济大学);Virtue AI(美德人工智能公司);The Chinese University of Hong Kong(香港中文大学);University of Chicago(芝加哥大学);University of Illinois, Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Mingyang Song, Luxin Xu, Haoyu Sun, Minzhou Pan, Yu Cheng, Bo Li

AI总结:

研究策略自适应图像护栏问题,提出PolicyShiftGuard方法,结合随机策略SFT和边界对策略适应进行两阶段训练,在PolicyShiftBench基准测试中显著提升性能,消融实验验证关键因素。

摘要:

图像护栏通常在固定安全策略下进行训练和评估,将安全视为图像的固有属性。实际部署中,同一图像在不同产品中可能有不同的安全策略。本文研究策略自适应图像护栏,引入PolicyShiftBench基准测试,提出PolicyShiftGuard方法。实验表明现有模型在策略变化时性能不佳,而PolicyShiftGuard显著提升了策略敏感性能,消融实验证实匹配的通过/阻止边界对是稳定策略适应的关键。

英文摘要:

Image guardrails are typically trained and evaluated under a fixed safety policy, implicitly treating safety as an intrinsic property of an image. Real deployments are different: the same image may be allowed in one product, restricted in another, and newly disallowed when a policy boundary changes. We study policy-adaptive image guardrailing, where a model must decide whether an image violates the currently supplied policy and generalize to held-out policy definitions. We introduce PolicyShiftBench, a comprehensive benchmark with 2,000 policy-discriminative instances over 265 images, where each image is paired with 7.55 policy-conditioned prompts on average to test whether models adapt to the active policy rather than relying on image-level safety priors. We then propose PolicyShiftGuard, a compact policy-conditioned guardrail trained with a two-stage training recipe that combines Randomized Policy SFT (RP-SFT) with Boundary-Pair Policy Adaptation (BP-Adapt). BP-Adapt trains matched prompts for the same image and risk category using standard label supervision and a pairwise comparison loss that separates blocking policies from passing policies. Experiments show that existing VLMs and specialized guardrails remain brittle under policy shifts, while PolicyShiftGuard substantially improves policy-sensitive performance. The 7B model achieves SOTA performance of 76.9 Avg. F1 and 72.1 Avg. PSS on PolicyShiftBench, transfers well to UnSafeBench and SafeEditBench, and improves the latency-performance trade-off with a concise output format. Ablations confirm that matched pass/block boundary pairs are essential for stable policy adaptation.

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

↑