Contextrast: Contextual Contrastive Learning for Semantic Segmentation

Abstract

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.

Cite

Text

Sung et al. "Contextrast: Contextual Contrastive Learning for Semantic Segmentation." Conference on Computer Vision and Pattern Recognition, 2024. doi:10.1109/CVPR52733.2024.00358

Markdown

[Sung et al. "Contextrast: Contextual Contrastive Learning for Semantic Segmentation." Conference on Computer Vision and Pattern Recognition, 2024.](https://mlanthology.org/cvpr/2024/sung2024cvpr-contextrast/) doi:10.1109/CVPR52733.2024.00358

BibTeX

@inproceedings{sung2024cvpr-contextrast,
  title     = {{Contextrast: Contextual Contrastive Learning for Semantic Segmentation}},
  author    = {Sung, Changki and Kim, Wanhee and An, Jungho and Lee, Wooju and Lim, Hyungtae and Myung, Hyun},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2024},
  pages     = {3732-3742},
  doi       = {10.1109/CVPR52733.2024.00358},
  url       = {https://mlanthology.org/cvpr/2024/sung2024cvpr-contextrast/}
}