mlsanityData to 7 Oct 2026

Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentation

arXiv 2608.22679 ↗First posted 24 Aug 2026cs.CV cs.ROcited by 0

Not on the map. Why?

Abstract (arXiv)

Semantic segmentation has rapidly advanced with deep learning; however, challenges remain in effectively capturing local and global contexts as well as addressing the long-tailed distribution problem. To tackle these issues, we present Contextrast++, a robust contrastive learning method for semantic segmentation that improves multi-scale feature integration and mitigates class imbalance issues. Our method consists of two key components: 1) contextual contrastive learning (CCL) and 2) boundary-aware negative (BANE) sampling. CCL includes three subcomponents: adaptive fusion module, pixel-to-anchor (PA) loss, and anchor-to-anchor (AA) loss. The adaptive fusion module dynamically balances local and global feature integration, resulting in a more context-aware representation. While the PA loss leverages the fused multi-scale features to improve feature representation learning, the AA loss focuses on addressing the long-tailed distribution problem by utilizing a memory bank that stores a fixed number of class-balanced representative anchors. Meanwhile, BANE sampling enhances segmentation precision by selecting hard negatives from misclassified boundary regions, which refines fine-grained details during contrastive learning. As verified in extensive experiments using public datasets, we demonstrate that Contextrast++ substantially improves semantic segmentation performance over existing contrastive learning-based state-of-the-art approaches, while introducing no additional computational overhead during inference.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 62 of its 92 references that are in the map. First posted on arXiv 24 Aug 2026.

Builds on

62 of 92 references.

References · 62

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  7. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  8. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  9. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  10. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
  11. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  12. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
38 more
  1. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  2. 2020Supervised Contrastive Learningcited by 2,803
  3. 2016Pyramid Scene Parsing Networkcited by 2,472
  4. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  5. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  6. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  7. 2018Dual Attention Network for Scene Segmentationcited by 1,001
  8. 2016COCO-Stuff: Thing and Stuff Classes in Contextcited by 858
  9. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  10. 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
  11. 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
  12. 2020Hard Negative Mixing for Contrastive Learningcited by 399
  13. 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
  14. 2020Causal Intervention for Weakly-Supervised Semantic Segmentationcited by 229
  15. 2019High-Resolution Representations for Labeling Pixels and Regionscited by 211
  16. 2018Pyramid Attention Network for Semantic Segmentationcited by 148
  17. 2021Targeted Supervised Contrastive Learning for Long-Tailed Recognitioncited by 132
  18. 2020Context Prior for Scene Segmentationcited by 121
  19. 2018Learning a Discriminative Feature Network for Semantic Segmentationcited by 114
  20. 2020SegFix: Model-Agnostic Boundary Refinement for Segmentationcited by 97
  21. 2021Multi-Scale High-Resolution Vision Transformer for Semantic Segmentationcited by 92
  22. 2021Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenescited by 89
  23. 2022Deep Hierarchical Semantic Segmentationcited by 84
  24. 2020Hard negative examples are hard, but usefulcited by 82
  25. 2020Cars Can't Fly up in the Sky: Improving Urban-Scene Segmentation via Height-driven Attention Networkscited by 70
  26. 2020Are all negatives created equal in contrastive instance discrimination?cited by 50
  27. 2018Adaptive Affinity Fields for Semantic Segmentationcited by 48
  28. 2024Frequency-aware Feature Fusion for Dense Image Predictioncited by 48
  29. 2023Understanding Imbalanced Semantic Segmentation Through Neural Collapsecited by 46
  30. 2021CTNet: Context-based Tandem Network for Semantic Segmentationcited by 43
  31. 2021Active Boundary Loss for Semantic Segmentationcited by 40
  32. 2020Delving into Inter-Image Invariance for Unsupervised Visual Representationscited by 37
  33. 2022Hierarchical Feature Alignment Network for Unsupervised Video Object Segmentationcited by 37
  34. 2022FCN-Transformer Feature Fusion for Polyp Segmentationcited by 37
  35. 2021Progressive Semantic Segmentationcited by 35
  36. 2024SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentationcited by 31
  37. 2023Semantic Diffusion Network for Semantic Segmentationcited by 30
  38. 2023InvPT++: Inverted Pyramid Multi-Task Transformer for Visual Scene Understandingcited by 22

50 most cited of 62 All 62 (JSON)

Built on by

Not cited yet.