SafeFix: Targeted Model Repair via Controlled Image Generation
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
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023GPT-4 Technical Reportcited by 18,396
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2025Qwen2.5-VL Technical Reportcited by 5,587
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
27 more
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
- 2015Holistically-Nested Edge Detectioncited by 592
- 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 565
- 2023Effective Data Augmentation With Diffusion Modelscited by 283
- 2022Domino: Discovering Systematic Errors with Cross-Modal Embeddingscited by 156
- 2020Debugging Tests for Model Explanationscited by 147
- 2023Diversify Your Vision Datasets with Automatic Diffusion-Based Augmentationcited by 100
- 2022Diffusion Visual Counterfactual Explanationscited by 96
- 2022Distilling Model Failures as Directions in Latent Spacecited by 82
- 2024The Neglected Tails in Vision-Language Modelscited by 63
- 2022Post hoc Explanations may be Ineffective for Detecting Unknown Spurious Correlationcited by 59
- 2024Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selectioncited by 48
- 2022Adaptive Testing of Computer Vision Modelscited by 39
- 2023Dataset Interfaces: Diagnosing Model Failures Using Controllable Counterfactual Generationcited by 35
- 20213DB: A Framework for Debugging Computer Vision Modelscited by 31
- 2022Sparse Visual Counterfactual Explanations in Image Spacecited by 30
- 2021Robust Feature-Level Adversaries are Interpretability Toolscited by 27
- 2024Finetuned Multimodal Language Models Are High-Quality Image-Text Data Filterscited by 25
- 2022Adaptive Fairness-Aware Online Meta-Learning for Changing Environmentscited by 17
- 2025HiBug2: Efficient and Interpretable Error Slice Discovery for Comprehensive Model Debuggingcited by 11
- 2024Distributionally Generative Augmentation for Fair Facial Attribute Classificationcited by 8
- 2023Improving Prediction Backward-Compatiblility in NLP Model Upgrade with Gated Fusioncited by 6
- 2024GenMix: Combining Generative and Mixture Data Augmentation for Medical Image Classificationcited by 3
- 2023Targeted Data Augmentation for bias mitigationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SPARK: Representation-Level KV Memory Alignment for Safer Vision-Language Models
- 2026It Takes Little to Rewrite Perception: Targeted Semantic Substitution in Vision-Language Models at ε≤ 4/255
- 2023Identifying and Mitigating Model Failures through Few-shot CLIP-aided Diffusion Generation
- 2026SafeRI: Recognition and Intervention for Token-Level Safety Intervention in Large Vision Language Models
- 2025Internal Activation Revision: Safeguarding Vision Language Models Without Parameter Update
- 2026Test-Time Logit Prompting for Source-Free Missing Modality Adaptation
- 2024The Unmet Promise of Synthetic Training Images: Using Retrieved Real Images Performs Better
- 2025DAVSP: Safety Alignment for Large Vision-Language Models via Deep Aligned Visual Safety Prompt