Contextrast: Contextual Contrastive Learning for Semantic Segmentation
Not on the map. Why?
Abstract (arXiv)
Despite great improvements in semantic segmentation, challenges persist because of the lack of local/global contexts and the relationship between them. In this paper, we propose Contextrast, a contrastive learning-based semantic segmentation method that allows to capture local/global contexts and comprehend their relationships. Our proposed method comprises two parts: a) contextual contrastive learning (CCL) and b) boundary-aware negative (BANE) sampling. Contextual contrastive learning obtains local/global context from multi-scale feature aggregation and inter/intra-relationship of features for better discrimination capabilities. Meanwhile, BANE sampling selects embedding features along the boundaries of incorrectly predicted regions to employ them as harder negative samples on our contrastive learning, resolving segmentation issues along the boundary region by exploiting fine-grained details. We demonstrate that our Contextrast substantially enhances the performance of semantic segmentation networks, outperforming state-of-the-art contrastive learning approaches on diverse public datasets, e.g. Cityscapes, CamVid, PASCAL-C, COCO-Stuff, and ADE20K, without an increase in computational cost during inference.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 47 of its 56 references that are in the map. First posted on arXiv 16 Apr 2024.
Builds on
47 of 56 references.
References · 47
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2020Supervised Contrastive Learningcited by 2,803
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
35 more
- 2018Dual Attention Network for Scene Segmentationcited by 1,001
- 2016COCO-Stuff: Thing and Stuff Classes in Contextcited by 858
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2014Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFscited by 552
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2020Hard Negative Mixing for Contrastive Learningcited by 399
- 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
- 2019High-Resolution Representations for Labeling Pixels and Regionscited by 211
- 2018Pyramid Attention Network for Semantic Segmentationcited by 148
- 2021Targeted Supervised Contrastive Learning for Long-Tailed Recognitioncited by 132
- 2020Context Prior for Scene Segmentationcited by 121
- 2018Learning a Discriminative Feature Network for Semantic Segmentationcited by 114
- 2020SegFix: Model-Agnostic Boundary Refinement for Segmentationcited by 97
- 2021Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenescited by 89
- 2022Deep Hierarchical Semantic Segmentationcited by 84
- 2022PIDNet: A Real-time Semantic Segmentation Network Inspired by PID Controllerscited by 84
- 2020Cars Can't Fly up in the Sky: Improving Urban-Scene Segmentation via Height-driven Attention Networkscited by 70
- 2019Semantic Correlation Promoted Shape-Variant Context for Segmentationcited by 61
- 2019Dual Graph Convolutional Network for Semantic Segmentationcited by 59
- 2022Stepwise Feature Fusion: Local Guides Globalcited by 56
- 2020Are all negatives created equal in contrastive instance discrimination?cited by 50
- 2018Adaptive Affinity Fields for Semantic Segmentationcited by 48
- 2023Understanding Imbalanced Semantic Segmentation Through Neural Collapsecited by 46
- 2021Active Boundary Loss for Semantic Segmentationcited by 40
- 2020Delving into Inter-Image Invariance for Unsupervised Visual Representationscited by 37
- 2022FCN-Transformer Feature Fusion for Polyp Segmentationcited by 37
- 2021Progressive Semantic Segmentationcited by 35
- 2023Semantic Diffusion Network for Semantic Segmentationcited by 30
- 2023Using DUCK-Net for Polyp Image Segmentationcited by 30
- 2022ColonFormer: An Efficient Transformer based Method for Colon Polyp Segmentationcited by 28
- 2024Semantic Scene Segmentation for Roboticscited by 16
- 2022Multi-scale and Cross-scale Contrastive Learning for Semantic Segmentationcited by 8
- 2021Semantic Scene Segmentation for Robotics Applicationscited by 7
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 3.
12 papers.
- 2024Uncertainty-Participation Context Consistency Learning for Semi-supervised Semantic Segmentationcited by 6
- 2025Selective Contrastive Learning for Weakly Supervised Affordance Groundingcited by 6
- 2025Revisiting Efficient Semantic Segmentation: Learning Offsets for Better Spatial and Class Feature Alignmentcited by 5
- 2025Divide, Conquer and Unite: Hierarchical Style-Recalibrated Prototype Alignment for Federated Medical Segmentationcited by 2
- 2024Outlier-Robust Long-Term Robotic Mapping Leveraging Ground Segmentationcited by 1
- 2024Efficient Fourier Filtering Network with Contrastive Learning for AAV-based Unaligned Bimodal Salient Object Detectioncited by 1
- 2024AFANet: Adaptive Frequency-Aware Network for Weakly-Supervised Few-Shot Semantic Segmentationcited by 1
- 2025Video-Based MPAA Rating Prediction: An Attention-Driven Hybrid Architecture Using Contrastive Learningcited by 0
- 2025OMUDA: Omni-level Masking for Unsupervised Domain Adaptation in Semantic Segmentationcited by 0
- 2026Intra-Class Subdivision for Pixel Contrastive Learning: Application to Semi-supervised Cardiac Image Segmentationcited by 0
- 2026Grounding Agentic VLMs with Dedicated Segmentation for Fine-Grained Vehicle Damage Assessmentcited by 0
- 2026Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentationcited by 0
- 2026Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentation24 Aug 2026
- 2026Grounding Agentic VLMs with Dedicated Segmentation for Fine-Grained Vehicle Damage Assessment3 Aug 2026
- 2026Intra-Class Subdivision for Pixel Contrastive Learning: Application to Semi-supervised Cardiac Image Segmentation30 Jan 2026
- 2025OMUDA: Omni-level Masking for Unsupervised Domain Adaptation in Semantic Segmentation13 Dec 2025
- 2025Divide, Conquer and Unite: Hierarchical Style-Recalibrated Prototype Alignment for Federated Medical Segmentation14 Nov 2025
- 2025Video-Based MPAA Rating Prediction: An Attention-Driven Hybrid Architecture Using Contrastive Learning8 Sep 2025
- 2025Revisiting Efficient Semantic Segmentation: Learning Offsets for Better Spatial and Class Feature Alignment12 Aug 2025
- 2025Selective Contrastive Learning for Weakly Supervised Affordance Grounding11 Aug 2025
- 2024AFANet: Adaptive Frequency-Aware Network for Weakly-Supervised Few-Shot Semantic Segmentation23 Dec 2024
- 2024Uncertainty-Participation Context Consistency Learning for Semi-supervised Semantic Segmentation23 Dec 2024
- 2024Efficient Fourier Filtering Network with Contrastive Learning for AAV-based Unaligned Bimodal Salient Object Detection6 Nov 2024
- 2024Outlier-Robust Long-Term Robotic Mapping Leveraging Ground Segmentation18 May 2024