AI Pulse
📄 论文解读

同一张图,这个AI能按不同规矩判断是否违规

现在的AI安全审核默认一张图要么违规要么不违规,但现实是同一张图在A产品允许、B产品禁止,政策一变又可能被禁。研究者做了个新基准PolicyShiftBench,每张图配7.55条不同政策下的问题,测试AI能否按当前政策判断而非凭直觉。他们又训练了PolicyShiftGuard,用两阶段训练法让模型学会区分“允许”和“禁止”的边界,7B模型在基准上F1达76.9,远超现有模型。这不是你明天能用的工具,但它揭示了AI安全审核必须从“一刀切”转向“按政策适配”的趋势。

📄 原文摘要(英文)

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.

arXiv 原文

订阅 AI Pulse

每天 08:00 · 12:30 · 18:30 · 23:50 更新