Visual Compliance via Executable Safety Rule Entailment
Abstract
Recent advances in LLMs and VLMs have enabled safety systems to reason beyond simple risk patterns toward more contextual and semantic safety concerns. However, as risk patterns continue to evolve and safety rules become more complex, existing training-based end-to-end safeguards face persistent challenges in adaptability and explainable reasoning over complex safety rules. To address these challenges, we propose GuardEn (Guarding by Safety Rule Entailment), an executable safeguard framework that decomposes safety policies into atomic propositions through Safety-Rule Compilation, modeling their composition as executable code. At test time, Scene-Grounded Execution instantiates these atomic propositions with contextual visual information derived from scene graphs, enabling rule-grounded and interpretable safety reasoning. Experiments on SafetyVisionBench demonstrate the effectiveness of programmable safeguard for complex visual safety assessment, achieving an average improvement of 9.8 F1 points over the strongest baseline.
Create a lesson
Metadata
- Comments
- Accepted to EMNLP 2026. 36 pages, 20 figures, 24 tables
Related papers
Same Executions, Different Gaps: Judgment Rules in Web-Agent Evaluation
Shared title terminologycs.AIZelong Wang, Weiyue Li, Fei Xue et al.
Beyond Routine Compliance: Cunning Data Cultivates Safety Vigilance in Large Language Models
Shared title terminologycs.AIYoujia Wang, Lin Xu, Yang Sun et al.
Look Before You Commit: Visual-Evidence-Guided Decoding for Multimodal Diffusion Language Models
Shared title terminologycs.AITongxiao Hu, Yikai Zhao, Qiyan Zhao et al.
Safe Autoformalization: Sufficiency and Necessity with Entailment Graphs
Shared title terminologycs.AIUmut A. Acar, Eli Goldweber
Aggregation Rules Induced by KL-Regularised Preference Dynamics on Networks
Shared title terminologycs.AIMilan Vojnovic
VeriWorld: A Verifiable Visual SWE-Bench for Spatial Reasoning in 3D Environments
Shared title terminologycs.AIYan Zheng, ShengYun Peng, Xuyao Liang et al.