Visualizing and Understanding Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Contrastive learning has revolutionized the field of computer vision, learning rich representations from unlabeled data, which generalize well to diverse vision tasks. Consequently, it has become increasingly important to explain these approaches and understand their inner workings mechanisms. Given that contrastive models are trained with interdependent and interacting inputs and aim to learn invariance through data augmentation, the existing methods for explaining single-image systems (e.g., image classification models) are inadequate as they fail to account for these factors and typically assume independent inputs. Additionally, there is a lack of evaluation metrics designed to assess pairs of explanations, and no analytical studies have been conducted to investigate the effectiveness of different techniques used to explaining contrastive learning. In this work, we design visual explanation methods that contribute towards understanding similarity learning tasks from pairs of images. We further adapt existing metrics, used to evaluate visual explanations of image classification systems, to suit pairs of explanations and evaluate our proposed methods with these metrics. Finally, we present a thorough analysis of visual explainability methods for contrastive learning, establish their correlation with downstream tasks and demonstrate the potential of our approaches to investigate their merits and drawbacks.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 44 of its 65 references that are in the map. First posted on arXiv 20 Jun 2022.
Builds on
44 of 65 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
32 more
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2018Sanity Checks for Saliency Mapscited by 1,149
- 2017SmoothGrad: removing noise by adding noisecited by 1,097
- 2014Striving for Simplicity: The All Convolutional Netcited by 983
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2016Training Region-based Object Detectors with Online Hard Example Miningcited by 577
- 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 575
- 2018Real-world Anomaly Detection in Surveillance Videoscited by 570
- 2014Understanding Deep Image Representations by Inverting Themcited by 399
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
- 2016European Union regulations on algorithmic decision-making and a "right to explanation"cited by 343
- 2021How Much Can CLIP Benefit Vision-and-Language Tasks?cited by 321
- 2020How Well Do Self-Supervised Models Transfer?cited by 213
- 2022Multiview Transformers for Video Recognitioncited by 148
- 2017Explaining Recurrent Neural Network Predictions in Sentiment Analysiscited by 87
- 2020Use HiResCAM instead of Grad-CAM for faithful explanations of convolutional neural networkscited by 79
- 2022NLX-GPT: A Model for Natural Language Explanations in Vision and Vision-Language Taskscited by 60
- 2020Driver Anomaly Detection: A Dataset and Contrastive Learning Approachcited by 41
- 2020Building and Interpreting Deep Similarity Modelscited by 34
- 2015Analyzing Classifiers: Fisher Vectors and Deep Neural Networkscited by 24
- 2019Visualizing Deep Similarity Networkscited by 24
- 2021Consistent Explanations by Contrastive Learningcited by 18
- 2020Breaking Batch Normalization for better explainability of Deep Neural Networks through Layer-wise Relevance Propagationcited by 11
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 1.
7 papers.
- 2025Interpreting CLIP with Hierarchical Sparse Autoencoderscited by 54
- 2025Explaining Similarity in Vision-Language Encoders with Weighted Banzhaf Interactionscited by 6
- 2024Rethinking Positive Pairs in Contrastive Learningcited by 5
- 2024Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributionscited by 3
- 2025Information-Maximized Soft Variable Discretization for Self-Supervised Image Representation Learningcited by 1
- 2024Effect of Rotation Angle in Self-Supervised Pre-training is Dataset-Dependentcited by 0
- 2026Beyond Success and Failure: Length-Aware Contrastive Learning for GUI Agentscited by 0
- 2026Beyond Success and Failure: Length-Aware Contrastive Learning for GUI Agents22 Aug 2026
- 2025Explaining Similarity in Vision-Language Encoders with Weighted Banzhaf Interactions7 Aug 2025
- 2025Interpreting CLIP with Hierarchical Sparse Autoencoders27 Feb 2025
- 2025Information-Maximized Soft Variable Discretization for Self-Supervised Image Representation Learning7 Jan 2025
- 2024Rethinking Positive Pairs in Contrastive Learning23 Oct 2024
- 2024Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributions26 Aug 2024
- 2024Effect of Rotation Angle in Self-Supervised Pre-training is Dataset-Dependent21 Jun 2024