atlas

Research map / Detection and segmentation / CNN features

Contextrast: Contextual Contrastive Learning for Semantic Segmentation

CVPR 2024 · Detection and segmentation › CNN features · approach: Context modeling for semantic segmentation · 39 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Contextrast, a supervised contrastive learning framework for semantic segmentation that combines multi-scale contextual contrastive learning (CCL, with anchors updated from the last layer) and boundary-aware negative (BANE) sampling, improving DeepLabV3, HRNet and OCRNet without extra inference cost.

Problem

Semantic segmentation networks lack local/global context and fail to model relationships between them, producing under- and over-segmentation, especially along object boundaries.

Approach

Representative class anchors are computed at each encoder layer and updated by aggregating the last-layer anchors, so lower-layer anchors carry both local and global context; negatives are sampled from the boundaries of incorrectly predicted regions, as harder negatives for an InfoNCE-style pixel-anchor loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add CCL and BANE samplingDeepLabV3 · Cityscapes valmIoU (%): 77.12 -> 79.35Helped
Add CCL and BANE samplingHRNet · CamVidmIoU (%): 82.17 -> 84.33Helped
Add CCL and BANE samplingOCRNet · ADE20KmIoU (%): 41.51 -> 43.84Helped
Add CCL and BANE samplingDeepLabV3 · COCO-StuffmIoU (%): 37.92 -> 38.12Helped
Add CCL and BANE samplingOCRNet · COCO-StuffmIoU (%): 39.00 -> 39.08Helped
Add CCL and BANE samplingDeepLabV3 · PASCAL-CmIoU (%): 52.01 -> 52.62Helped
Add contextual contrastive learning (ablation)HRNet + BANE · Cityscapes valmIoU (%): 78.48 -> 81.88Helped
Add semi-hard sampling (ablation)HRNet + CCL · Cityscapes valmIoU (%): 81.88 -> 82.01Helped
Use BANE instead of semi-hard sampling (ablation)HRNet + CCL · Cityscapes valmIoU (%): 82.01 -> 82.20Helped
Add contextual contrastive learning (ablation)HRNet + BANE · CamVidmIoU (%): 82.17 -> 83.14Helped
Add semi-hard sampling (ablation)HRNet + CCL · CamVidmIoU (%): 83.14 -> 83.38Helped
Use BANE instead of semi-hard sampling (ablation)HRNet + CCL · CamVidmIoU (%): 83.38 -> 84.33Helped

Surprising findings

Limitations

Experimental setup

Datasets: Cityscapes CamVid COCO-Stuff ADE20K PASCAL-C ImageNet

Benchmarks: Cityscapes CamVid COCO-Stuff ADE20K PASCAL-C

Metrics: mIoU iIoU boundary mIoU alignment uniformity neighborhood uniformity

Baselines: ContrastiveSeg Region-aware contrastive learning Multi/cross-scale contrastive learning (Pissas et al.) semi-hard negative sampling HRNet OCRNet DeepLabV3

Builds on: ContrastiveSeg region-aware contrastive learning multi-scale and cross-scale contrastive learning OCRNet HRNet

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy