mlsanityData to 14 Oct 2026

SafetyPairs: Isolating Safety Critical Image Features with Counterfactual Image Generation

arXiv 2510.21120 ↗First posted 24 Oct 2025cs.CVcited by 2

Not on the map. Why?

Abstract (arXiv)

What exactly makes a particular image unsafe? Systematically differentiating between benign and problematic images is a challenging problem, as subtle changes to an image, such as an insulting gesture or symbol, can drastically alter its safety implications. However, existing image safety datasets are coarse and ambiguous, offering only broad safety labels without isolating the specific features that drive these differences. We introduce SafetyPairs, a scalable framework for generating counterfactual pairs of images, that differ only in the features relevant to the given safety policy, thus flipping their safety label. By leveraging image editing models, we make targeted changes to images that alter their safety labels while leaving safety-irrelevant details unchanged. Using SafetyPairs, we construct a new safety benchmark, which serves as a powerful source of evaluation data that highlights weaknesses in vision-language models' abilities to distinguish between subtly different images. Beyond evaluation, we find our pipeline serves as an effective data augmentation strategy that improves the sample efficiency of training lightweight guard models. We release a benchmark containing over 3,020 SafetyPair images spanning a diverse taxonomy of 9 safety categories, providing the first systematic resource for studying fine-grained image safety distinctions.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 26 of its 34 references that are in the map. First posted on arXiv 24 Oct 2025.

Builds on

26 of 34 references.

References · 26

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  5. 2023Visual Instruction Tuningcited by 7,869
  6. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  7. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
  8. 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 1,834
  9. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
  10. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  11. 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 1,006
  12. 2024Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMscited by 735
14 more
  1. 2020The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memescited by 490
  2. 2023MM-SafetyBench: A Benchmark for Safety Evaluation of Multimodal Large Language Modelscited by 274
  3. 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
  4. 2024Deepfake Generation and Detection: A Benchmark and Surveycited by 67
  5. 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Modelscited by 66
  6. 2024UnsafeBench: Benchmarking Image Safety Classifiers on Real-World and AI-Generated Imagescited by 53
  7. 2024LlavaGuard: An Open VLM-based Framework for Safeguarding Vision Datasets and Modelscited by 52
  8. 2023LANCE: Stress-testing Visual Models by Generating Language-guided Counterfactual Imagescited by 46
  9. 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Modelscited by 46
  10. 2024Training Unbiased Diffusion Models From Biased Datasetcited by 25
  11. 2024Robust CLIP-Based Detector for Exposing Diffusion Model-Generated Imagescited by 20
  12. 2024Generative AI Misuse: A Taxonomy of Tactics and Insights from Real-World Datacited by 20
  13. 2024AlignGuard: Scalable Safety Alignment for Text-to-Image Generationcited by 20
  14. 2025MSTS: A Multimodal Safety Test Suite for Vision-Language Modelscited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Towards Policy-Adaptive Image Guardrail: Benchmark and Method
  2. 2025HoliSafe: Holistic Safety Benchmarking and Modeling for Vision-Language Model
  3. 2026From Local Evidence to Safety Verdicts: Causal Tracing in Vision-Language Models
  4. 2025Beyond the Safety Tax: Mitigating Unsafe Text-to-Image Generation via External Safety Rectification
  5. 2025VLSU: Mapping the Limits of Joint Multimodal Understanding for AI Safety
  6. 2026ShieldCLIP: Selective Safety Alignment for Harmful Content Mitigation in Multimodal Foundation Models
  7. 2025Bridging the Gap in Vision Language Models in Identifying Unsafe Concepts Across Modalities
  8. 2026EviSafe: Evidence-Grounded Safety Evaluation for Vision-Language Models