mlsanityData to 14 Oct 2026

SafeFix: Targeted Model Repair via Controlled Image Generation

arXiv 2508.08701 ↗First posted 12 Aug 2025cs.CV cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Deep learning models for visual recognition often exhibit systematic errors due to underrepresented semantic subpopulations. Although existing debugging frameworks can pinpoint these failures by identifying key failure attributes, repairing the model effectively remains difficult. Current solutions often rely on manually designed prompts to generate synthetic training images -- an approach prone to distribution shift and semantic errors. To overcome these challenges, we introduce a model repair module that builds on an interpretable failure attribution pipeline. Our approach uses a conditional text-to-image model to generate semantically faithful and targeted images for failure cases. To preserve the quality and relevance of the generated samples, we further employ a large vision-language model (LVLM) to filter the outputs, enforcing alignment with the original data distribution and maintaining semantic consistency. By retraining vision models with this rare-case-augmented synthetic dataset, we significantly reduce errors associated with rare cases. Our experiments demonstrate that this targeted repair strategy improves model robustness without introducing new bugs. Code is available at https://github.com/oxu2/SafeFix

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 49 references that are in the map. First posted on arXiv 12 Aug 2025.

Builds on

39 of 49 references.

References · 39

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  5. 2023GPT-4 Technical Reportcited by 18,396
  6. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  7. 2022Classifier-Free Diffusion Guidancecited by 5,847
  8. 2025Qwen2.5-VL Technical Reportcited by 5,587
  9. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
  10. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  11. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  12. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
27 more
  1. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  2. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  3. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
  4. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
  5. 2015Holistically-Nested Edge Detectioncited by 592
  6. 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 565
  7. 2023Effective Data Augmentation With Diffusion Modelscited by 283
  8. 2022Domino: Discovering Systematic Errors with Cross-Modal Embeddingscited by 156
  9. 2020Debugging Tests for Model Explanationscited by 147
  10. 2023Diversify Your Vision Datasets with Automatic Diffusion-Based Augmentationcited by 100
  11. 2022Diffusion Visual Counterfactual Explanationscited by 96
  12. 2022Distilling Model Failures as Directions in Latent Spacecited by 82
  13. 2024The Neglected Tails in Vision-Language Modelscited by 63
  14. 2022Post hoc Explanations may be Ineffective for Detecting Unknown Spurious Correlationcited by 59
  15. 2024Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selectioncited by 48
  16. 2022Adaptive Testing of Computer Vision Modelscited by 39
  17. 2023Dataset Interfaces: Diagnosing Model Failures Using Controllable Counterfactual Generationcited by 35
  18. 20213DB: A Framework for Debugging Computer Vision Modelscited by 31
  19. 2022Sparse Visual Counterfactual Explanations in Image Spacecited by 30
  20. 2021Robust Feature-Level Adversaries are Interpretability Toolscited by 27
  21. 2024Finetuned Multimodal Language Models Are High-Quality Image-Text Data Filterscited by 25
  22. 2022Adaptive Fairness-Aware Online Meta-Learning for Changing Environmentscited by 17
  23. 2025HiBug2: Efficient and Interpretable Error Slice Discovery for Comprehensive Model Debuggingcited by 11
  24. 2024Distributionally Generative Augmentation for Fair Facial Attribute Classificationcited by 8
  25. 2023Improving Prediction Backward-Compatiblility in NLP Model Upgrade with Gated Fusioncited by 6
  26. 2024GenMix: Combining Generative and Mixture Data Augmentation for Medical Image Classificationcited by 3
  27. 2023Targeted Data Augmentation for bias mitigationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026SPARK: Representation-Level KV Memory Alignment for Safer Vision-Language Models
  2. 2026It Takes Little to Rewrite Perception: Targeted Semantic Substitution in Vision-Language Models at ε≤ 4/255
  3. 2023Identifying and Mitigating Model Failures through Few-shot CLIP-aided Diffusion Generation
  4. 2026SafeRI: Recognition and Intervention for Token-Level Safety Intervention in Large Vision Language Models
  5. 2025Internal Activation Revision: Safeguarding Vision Language Models Without Parameter Update
  6. 2026Test-Time Logit Prompting for Source-Free Missing Modality Adaptation
  7. 2024The Unmet Promise of Synthetic Training Images: Using Retrieved Real Images Performs Better
  8. 2025DAVSP: Safety Alignment for Large Vision-Language Models via Deep Aligned Visual Safety Prompt