Contrastive Reasoning in Neural Networks
Not on the map. Why?
Abstract (arXiv)
Neural networks represent data as projections on trained weights in a high dimensional manifold. The trained weights act as a knowledge base consisting of causal class dependencies. Inference built on features that identify these dependencies is termed as feed-forward inference. Such inference mechanisms are justified based on classical cause-to-effect inductive reasoning models. Inductive reasoning based feed-forward inference is widely used due to its mathematical simplicity and operational ease. Nevertheless, feed-forward models do not generalize well to untrained situations. To alleviate this generalization challenge, we propose using an effect-to-cause inference model that reasons abductively. Here, the features represent the change from existing weight dependencies given a certain effect. We term this change as contrast and the ensuing reasoning mechanism as contrastive reasoning. In this paper, we formalize the structure of contrastive reasoning and propose a methodology to extract a neural network's notion of contrast. We demonstrate the value of contrastive reasoning in two stages of a neural network's reasoning pipeline : in inferring and visually explaining decisions for the application of object recognition. We illustrate the value of contrastively recognizing images under distortions by reporting an improvement of 3.47%, 2.56%, and 5.48% in average accuracy under the proposed contrastive framework on CIFAR-10C, noisy STL-10, and VisDA datasets respectively.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 24 of its 63 references that are in the map. First posted on arXiv 23 Mar 2021.
Builds on
24 of 63 references.
References · 24
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2017VisDA: The Visual Domain Adaptation Challengecited by 432
12 more
- 2019Counterfactual Visual Explanationscited by 312
- 2018Generalisation in humans and deep neural networkscited by 237
- 2016Discovering Causal Signals in Imagescited by 79
- 2016Examining the Impact of Blur on Recognition by Convolutional Networkscited by 58
- 2020Gradients as a Measure of Uncertainty in Neural Networkscited by 55
- 2020Backpropagated Gradient Representations for Anomaly Detectioncited by 54
- 2017CURE-TSR: Challenging Unreal and Real Environments for Traffic Sign Recognitioncited by 32
- 2020Contrastive Explanations in Neural Networkscited by 26
- 2018CURE-OR: Challenging Unreal and Real Environments for Object Recognitioncited by 18
- 2020Novelty Detection Through Model-Based Characterization of Neural Networkscited by 17
- 2019Distorted Representation Space Characterization Through Backpropagated Gradientscited by 12
- 2015Analysis of A Splitting Approach for the Parallel Solution of Linear Systems on GPU Cardscited by 1
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 3; 2024: 2; 2025: 0; 2026: 2.
11 papers.
- 2021Robust Explainability: A Tutorial on Gradient-Based Attribution Methods for Deep Neural Networkscited by 48
- 2022OLIVES Dataset: Ophthalmic Labels for Investigating Visual Eye Semanticscited by 23
- 2022Introspective Learning : A Two-Stage Approach for Inference in Neural Networkscited by 19
- 2022Explanatory Paradigms in Neural Networkscited by 11
- 2023Gaussian Switch Sampling: A Second Order Approach to Active Learningcited by 10
- 2023Forgetful Active Learning with Switch Events: Efficient Sampling for Out-of-Distribution Datacited by 8
- 2023Clinically Labeled Contrastive Learning for OCT Biomarker Classificationcited by 8
- 2024VOICE: Variance of Induced Contrastive Explanations to quantify Uncertainty in Neural Network Interpretabilitycited by 3
- 2024Counterfactual Gradients-based Quantification of Prediction Trust in Neural Networkscited by 2
- 2026What is Missing? Explaining Neurons Activated by Absent Conceptscited by 1
- 2026Gradient based Severity Labeling for Biomarker Classification in OCTcited by 0
- 2026What is Missing? Explaining Neurons Activated by Absent Concepts10 Mar 2026
- 2026Gradient based Severity Labeling for Biomarker Classification in OCT23 Feb 2026
- 2024VOICE: Variance of Induced Contrastive Explanations to quantify Uncertainty in Neural Network Interpretability1 Jun 2024
- 2024Counterfactual Gradients-based Quantification of Prediction Trust in Neural Networks22 May 2024
- 2023Clinically Labeled Contrastive Learning for OCT Biomarker Classification24 May 2023
- 2023Gaussian Switch Sampling: A Second Order Approach to Active Learning16 Feb 2023
- 2023Forgetful Active Learning with Switch Events: Efficient Sampling for Out-of-Distribution Data12 Jan 2023
- 2022OLIVES Dataset: Ophthalmic Labels for Investigating Visual Eye Semantics22 Sep 2022
- 2022Introspective Learning : A Two-Stage Approach for Inference in Neural Networks17 Sep 2022
- 2022Explanatory Paradigms in Neural Networks24 Feb 2022
- 2021Robust Explainability: A Tutorial on Gradient-Based Attribution Methods for Deep Neural Networks23 Jul 2021