Confidence-Aware Contrastive Learning for Semantic Segmentation
Lele Lv, Qing Liu, Shichao Kan, Yixiong Liang
摘要
Recently supervised contrastive learning (SCL) has achieved remarkable progress in semantic segmentation. Nevertheless, prior works have often necessitated a substantial number of samples to attain satisfactory performance, leading to a significant increase in training overhead. In this work, we leverage the idea of reweighting each pair to reduce the demand for large numbers of training samples in contrastive learning and propose a novel loss, dubbed confidence-aware contrastive (CAC) loss, which adaptively reweights each pair according to the predicted confidence for semantic segmentation. To alleviate the misalignment between supervised learning and contrastive learning, we further introduce an extra weight branch with a stop-gradient operator to generate the pair weights. Moreover, we present a confidence-aware marginal anchor sampling method for the calculation of supervised contrastive loss which focuses on marginal rather than the hardest pairs. Coupling with our method consistently improves the performance of various models (e.g. HRNet, OCRNet, SegFormer) on Cityscapes, ADE20K, PASCAL-Context, and COCO-Stuff datasets. Compared to existing SCL-based methods, the proposed method achieves competitive or even better results without relying on a memory bank or a large number of samples. Our code is at https://github.com/CVIU-CSU/Confidence-Aware-Contrastive-Loss.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
相关 Paper
- Region-aware Contrastive Learning for Semantic SegmentationHanzhe Hu, Jinshi Cui, Liwei WangICCV 2021 · 132 次引用
- Contextrast: Contextual Contrastive Learning for Semantic SegmentationChangki Sung, Wanhee Kim, Jungho An, Wooju Lee 等CVPR 2024 · 29 次引用
- Contrastive Learning for Label Efficient Semantic SegmentationXiangyun Zhao, Raviteja Vemulapalli, Philip Andrew Mansfield, Boqing Gong 等ICCV 2021 · 200 次引用
- Bootstrapping Semantic Segmentation with Regional ContrastShikun Liu, Shuaifeng Zhi, Edward Johns, Andrew J. DavisonICLR 2022 · 151 次引用
- Consistent-Separable Feature Representation for Semantic SegmentationXingjian He, Jing Liu, Jun Fu, Xinxin Zhu 等AAAI 2021 · 6 次引用
