mlsanityData to 7 Oct 2026

No Token Left Behind: Explainability-Aided Image Classification and Generation

arXiv 2204.04908 ↗First posted 11 Apr 2022cs.CVcited by 25

Not on the map. Why?

Abstract (arXiv)

The application of zero-shot learning in computer vision has been revolutionized by the use of image-text matching models. The most notable example, CLIP, has been widely used for both zero-shot classification and guiding generative models with a text prompt. However, the zero-shot use of CLIP is unstable with respect to the phrasing of the input text, making it necessary to carefully engineer the prompts used. We find that this instability stems from a selective similarity score, which is based only on a subset of the semantically meaningful input tokens. To mitigate it, we present a novel explainability-based approach, which adds a loss term to ensure that CLIP focuses on all relevant semantic parts of the input, in addition to employing the CLIP similarity loss used in previous works. When applied to one-shot classification through prompt engineering, our method yields an improvement in the recognition rate, without additional training or fine-tuning. Additionally, we show that CLIP guidance of generative models using our method significantly improves the generated images. Finally, we demonstrate a novel use of CLIP guidance for text-based image generation with spatial conditioning on object location, by requiring the image explainability heatmap for each object to be confined to a pre-determined bounding box.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 33 of its 49 references that are in the map. First posted on arXiv 11 Apr 2022.

Builds on

33 of 49 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2020End-to-End Object Detection with Transformerscited by 7,384
  7. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  8. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  9. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  10. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  11. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  12. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
21 more
  1. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  2. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  3. 2019Natural Adversarial Examplescited by 1,401
  4. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  5. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
  6. 2021Blended Diffusion for Text-driven Editing of Natural Imagescited by 924
  7. 2020Quantifying Attention Flow in Transformerscited by 759
  8. 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
  9. 2020Differentiable Augmentation for Data-Efficient GAN Trainingcited by 361
  10. 2021Text2Mesh: Text-Driven Neural Stylization for Meshescited by 332
  11. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
  12. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
  13. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 197
  14. 2021ZeroCap: Zero-Shot Image-to-Text Generation for Visual-Semantic Arithmeticcited by 150
  15. 2021Paint by Wordcited by 107
  16. 2015Webly Supervised Learning of Convolutional Networkscited by 95
  17. 2016Learning Visual N-Grams from Web Datacited by 95
  18. 2021FuseDream: Training-Free Text-to-Image Generation with Improved CLIP+GAN Space Optimizationcited by 71
  19. 2021Mind the Gap: Domain Gap Control for Single Shot Domain Adaptation for Generative Adversarial Networkscited by 68
  20. 2021Image-Based CLIP-Guided Essence Transfercited by 39
  21. 2021Semantic Segmentation In-the-Wild Without Seeing Any Segmentation Examplescited by 24

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 10; 2024: 10; 2025: 2.

25 papers.

Sort:

By area:

  1. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  2. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Modelscited by 696
  3. 2022SpaText: Spatio-Textual Representation for Controllable Image Generationcited by 217
  4. 2023Teaching CLIP to Count to Tencited by 194
  5. 2023A Closer Look at the Explainability of Contrastive Language-Image Pre-trainingcited by 95
  6. 2023Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulationcited by 61
  7. 2023Divide, Evaluate, and Refine: Evaluating and Improving Text-to-Image Alignment with Iterative VQA Feedbackcited by 31
  8. 2023SPIRE: Semantic Prompt-Driven Image Restorationcited by 24
  9. 2024Teach CLIP to Develop a Number Sense for Ordinal Regressioncited by 20
  10. 2024LoMOE: Localized Multi-Object Editing via Multi-Diffusioncited by 11
  11. 2023Text-guided Eyeglasses Manipulation with Spatial Constraintscited by 10
  12. 2024Text-guided Explorable Image Super-resolutioncited by 9
13 more
  1. 2024Zero-Painter: Training-Free Layout Control for Text-to-Image Synthesiscited by 9
  2. 2023Word-Level Explanations for Analyzing Bias in Text-to-Image Modelscited by 8
  3. 2024A2SF: Accumulative Attention Scoring with Forgetting Factor for Token Pruning in Transformer Decodercited by 7
  4. 2024FRAP: Faithful and Realistic Text-to-Image Generation with Adaptive Prompt Weightingcited by 5
  5. 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributionscited by 5
  6. 2023Visual Attention Prompted Prediction and Learningcited by 2
  7. 2024MaskInversion: Localized Embeddings via Optimization of Explainability Mapscited by 2
  8. 2024MePT: Multi-Representation Guided Prompt Tuning for Vision-Language Modelcited by 1
  9. 2024Explainable Search and Discovery of Visual Cultural Heritage Collections with Multimodal Large Language Modelscited by 1
  10. 2025Structure-aware Contrastive Learning for Diagram Understanding of Multimodal Modelscited by 1
  11. 2022LDEdit: Towards Generalized Text Guided Image Manipulation via Latent Diffusion Modelscited by 0
  12. 2023Composite Diffusion | whole >= Sigma partscited by 0
  13. 2025CountFormer: A Transformer Framework for Learning Visual Repetition and Structure in Class-Agnostic Object Countingcited by 0