mlsanityData to 7 Oct 2026

Positive-Negative Equal Contrastive Loss for Semantic Segmentation

arXiv 2207.01417 ↗First posted 4 Jul 2022cs.CVcited by 5

Not on the map. Why?

Abstract (arXiv)

The contextual information is critical for various computer vision tasks, previous works commonly design plug-and-play modules and structural losses to effectively extract and aggregate the global context. These methods utilize fine-label to optimize the model but ignore that fine-trained features are also precious training resources, which can introduce preferable distribution to hard pixels (i.e., misclassified pixels). Inspired by contrastive learning in unsupervised paradigm, we apply the contrastive loss in a supervised manner and re-design the loss function to cast off the stereotype of unsupervised learning (e.g., imbalance of positives and negatives, confusion of anchors computing). To this end, we propose Positive-Negative Equal contrastive loss (PNE loss), which increases the latent impact of positive embedding on the anchor and treats the positive as well as negative sample pairs equally. The PNE loss can be directly plugged right into existing semantic segmentation frameworks and leads to excellent performance with neglectable extra computational costs. We utilize a number of classic segmentation methods (e.g., DeepLabV3, HRNetV2, OCRNet, UperNet) and backbone (e.g., ResNet, HRNet, Swin Transformer) to conduct comprehensive experiments and achieve state-of-the-art performance on three benchmark datasets (e.g., Cityscapes, COCO-Stuff and ADE20K). Our code will be publicly available soon.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 50 of its 58 references that are in the map. First posted on arXiv 4 Jul 2022.

Builds on

50 of 58 references.

References · 50

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  9. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  10. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  11. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
  12. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
38 more
  1. 2020Supervised Contrastive Learningcited by 2,803
  2. 2016Pyramid Scene Parsing Networkcited by 2,472
  3. 2017Non-local Neural Networkscited by 2,290
  4. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  5. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  6. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  7. 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
  8. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  9. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  10. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  11. 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,128
  12. 2018Dual Attention Network for Scene Segmentationcited by 1,001
  13. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  14. 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
  15. 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 719
  16. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  17. 2020Contrastive Learning with Hard Negative Samplescited by 619
  18. 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
  19. 2020Dense Contrastive Learning for Self-Supervised Visual Pre-Trainingcited by 512
  20. 2016RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentationcited by 463
  21. 2020Understanding the Behaviour of Contrastive Losscited by 397
  22. 2020Contrastive learning of global and local features for medical image segmentation with limited annotationscited by 309
  23. 2020Propagate Yourself: Exploring Pixel-Level Consistency for Unsupervised Visual Representation Learningcited by 297
  24. 2018Context Encoding for Semantic Segmentationcited by 289
  25. 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
  26. 2019High-Resolution Representations for Labeling Pixels and Regionscited by 211
  27. 2022Rethinking Semantic Segmentation: A Prototype Viewcited by 140
  28. 2021SG-Net: Spatial Granularity Network for One-Stage Video Instance Segmentationcited by 87
  29. 2022Deep Hierarchical Semantic Segmentationcited by 84
  30. 2019ACFNet: Attentional Class Feature Network for Semantic Segmentationcited by 75
  31. 2020Cars Can't Fly up in the Sky: Improving Urban-Scene Segmentation via Height-driven Attention Networkscited by 70
  32. 2019Semantic Correlation Promoted Shape-Variant Context for Segmentationcited by 61
  33. 2019Adaptive Context Network for Scene Parsingcited by 51
  34. 2019Region Mutual Information Loss for Semantic Segmentationcited by 49
  35. 2018Adaptive Affinity Fields for Semantic Segmentationcited by 48
  36. 2021Mining Contextual Information Beyond Image for Semantic Segmentationcited by 48
  37. 2020Spatial Pyramid Based Graph Reasoning for Semantic Segmentationcited by 47
  38. 2021Revisiting the Transferability of Supervised Pretraining: an MLP Perspectivecited by 36

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 3.

5 papers.