Skip to main content
QUICK REVIEW

[Paper Review] SimCon Loss with Multiple Views for Text Supervised Semantic Segmentation

Yash Patel, Yusheng Xie|arXiv (Cornell University)|Feb 7, 2023
Advanced Image and Video Retrieval TechniquesComputer Science4 citations
TL;DR

This paper proposes SimCon loss, a novel contrastive learning method that improves text-supervised zero-shot semantic segmentation by leveraging intra-modal similarities to identify robust positive samples, reducing noise from web-crawled image-text pairs. By combining SimCon with multiple image views (MV-SimCon), the method achieves state-of-the-art performance, improving mIoU by +3.0%, +3.3%, and +6.9% on PASCAL VOC, PASCAL Context, and MSCOCO, respectively, with further gains to 58.7%, 26.6%, and 33.3% using test-time augmentations.

ABSTRACT

Learning to segment images purely by relying on the image-text alignment from web data can lead to sub-optimal performance due to noise in the data. The noise comes from the samples where the associated text does not correlate with the image's visual content. Instead of purely relying on the alignment from the noisy data, this paper proposes a novel loss function termed SimCon, which accounts for intra-modal similarities to determine the appropriate set of positive samples to align. Further, using multiple views of the image (created synthetically) for training and combining the SimCon loss with it makes the training more robust. This version of the loss is termed MV-SimCon. The empirical results demonstrate that using the proposed loss function leads to consistent improvements on zero-shot, text supervised semantic segmentation and outperforms state-of-the-art by $+3.0\%$, $+3.3\%$ and $+6.9\%$ on PASCAL VOC, PASCAL Context and MSCOCO, respectively. With test time augmentations, we set a new record by improving these results further to $58.7\%$, $26.6\%$, and $33.3\%$ on PASCAL VOC, PASCAL Context, and MSCOCO, respectively. In addition, using the proposed loss function leads to robust training and faster convergence.

Motivation & Objective

  • To address the issue of noisy image-text pairs in web-crawled data that degrade performance in text-supervised semantic segmentation.
  • To improve zero-shot semantic segmentation without relying on dense annotations or weak supervision.
  • To develop a contrastive loss that accounts for intra-modal similarity to better identify positive samples beyond just paired image-text pairs.
  • To enhance training robustness and convergence speed through multiple synthetic views of images.
  • To achieve state-of-the-art performance in zero-shot semantic segmentation using only image-text alignment from web data.

Proposed method

  • Proposes SimCon loss, which computes intra-modal similarities (image-to-image and text-to-text) to define positive samples beyond the paired image-text pair.
  • Uses a thresholded similarity score to select positive images and texts for each anchor sample, improving robustness to noisy data.
  • Introduces MV-SimCon by generating multiple synthetic views of images during training and applying SimCon loss across all views.
  • Applies a negative cosine similarity (NCS) loss between different views of the same image to encourage consistency in visual representations.
  • Uses joint computation of image positives across views, where a sample is considered positive if it is similar in either view.
  • Combines SimCon loss with multiple views and NCS loss to jointly optimize for both cross-modal alignment and view consistency.
Figure 1 : Top : In the above image-text samples, the text corresponding to the first image does not contain any information about its visual content. The text for the second image correctly describes the visual content of both the first and the second images. Bottom : If we use the InfoNCE loss, on
Figure 1 : Top : In the above image-text samples, the text corresponding to the first image does not contain any information about its visual content. The text for the second image correctly describes the visual content of both the first and the second images. Bottom : If we use the InfoNCE loss, on

Experimental results

Research questions

  • RQ1Can intra-modal similarity improve the selection of positive samples in contrastive learning for text-supervised semantic segmentation?
  • RQ2Does using multiple synthetic views of images enhance robustness and performance in zero-shot semantic segmentation?
  • RQ3How does MV-SimCon compare to InfoNCE in terms of convergence speed, generalization, and performance across different datasets?
  • RQ4To what extent does MV-SimCon reduce sensitivity to noisy web-crawled image-text pairs?
  • RQ5Can MV-SimCon achieve state-of-the-art results without any dense supervision or fine-tuning?

Key findings

  • MV-SimCon achieves a +3.0% mIoU improvement over the baseline on PASCAL VOC, +3.3% on PASCAL Context, and +6.9% on MSCOCO under zero-shot evaluation.
  • With test-time augmentations, the method sets new SOTA records with 58.7% mIoU on PASCAL VOC, 26.6% on PASCAL Context, and 33.3% on MSCOCO.
  • The ablation study shows that joint image positives contribute the largest gain (2.7% mIoU) when added to SimCon with multiple views and NCS loss.
  • The model trained with MV-SimCon converges faster and is more robust to data distribution shifts than InfoNCE, even with smaller batch sizes and less training data.
  • Increasing batch size improves performance for both MV-SimCon and the baseline, but MV-SimCon maintains superior performance across all batch sizes tested.
  • Qualitative results show that MV-SimCon reduces over-segmentation and missing classes, producing more accurate and complete masks than InfoNCE.
Figure 2 : SimCon Overview. During training, the sampled images $I$ are passed through the GroupViT model $f_{\theta}$ , and the segment tokens are averaged and normalized to obtain the embedding $\mathbf{z}^{I}$ . The texts $T$ are passed through the text encoder $g_{\phi}$ to obtain the text embed
Figure 2 : SimCon Overview. During training, the sampled images $I$ are passed through the GroupViT model $f_{\theta}$ , and the segment tokens are averaged and normalized to obtain the embedding $\mathbf{z}^{I}$ . The texts $T$ are passed through the text encoder $g_{\phi}$ to obtain the text embed

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.