Skip to main content
QUICK REVIEW

[Paper Review] Learning to "Segment Anything" in Thermal Infrared Images through Knowledge Distillation with a Large Scale Dataset SATIR

Junzhang Chen, Xiangzhi Bai|arXiv (Cornell University)|Apr 17, 2023
COVID-19 diagnosis using AIMedicine10 citations
TL;DR

The paper uses Segment Anything Model (SAM) to generate pseudo labels for pretraining a thermal infrared segmentation model, creating SATIR (100k+ images) and improving SODA real-subset segmentation performance via knowledge distillation.

ABSTRACT

The Segment Anything Model (SAM) is a promptable segmentation model recently introduced by Meta AI that has demonstrated its prowess across various fields beyond just image segmentation. SAM can accurately segment images across diverse fields, and generating various masks. We discovered that this ability of SAM can be leveraged to pretrain models for specific fields. Accordingly, we have proposed a framework that utilizes SAM to generate pseudo labels for pretraining thermal infrared image segmentation tasks. Our proposed framework can effectively improve the accuracy of segmentation results of specific categories beyond the SOTA ImageNet pretrained model. Our framework presents a novel approach to collaborate with models trained with large data like SAM to address problems in special fields. Also, we generated a large scale thermal infrared segmentation dataset used for pretaining, which contains over 100,000 images with pixel-annotation labels. This approach offers an effective solution for working with large models in special fields where label annotation is challenging. Our code is available at https://github.com/chenjzBUAA/SATIR

Motivation & Objective

  • Motivate pretraining segmentation models in specialized domains using large-scale models like SAM.
  • Propose a knowledge distillation framework to convert SAM masks into pseudo labels for thermal IR data.
  • Create a large-scale SATIR dataset with pixel-level annotations for pretraining.
  • Demonstrate improved segmentation performance on a real thermal IR dataset (SODA).

Proposed method

  • Apply SAM to unlabeled thermal IR images to generate masks with point/region prompts.
  • Construct pseudo labels by ranking SAM masks and assigning category indices to top masks.
  • Pretrain a segmentation model using the pseudo-labeled SATIR dataset to obtain a pretrained model.
  • Fine-tune the pretrained model on the target thermal IR segmentation task.
  • Evaluate the approach using SegFormer as backbone on the SODA real subset.
  • Compare against no-pretrain and ImageNet-pretrained baselines.
Figure 1: Overview of our proposed method for pretraining thermal infrared image segmentation using knowledge distillation from the Segment Anything Model (SAM) to generate pseudo labels.
Figure 1: Overview of our proposed method for pretraining thermal infrared image segmentation using knowledge distillation from the Segment Anything Model (SAM) to generate pseudo labels.

Experimental results

Research questions

  • RQ1Can SAM-generated masks provide useful pseudo labels for pretraining thermal IR segmentation models?
  • RQ2Does knowledge distillation from SAM improve segmentation performance on thermal IR data beyond standard pretraining?
  • RQ3What is the impact of SATIR pretraining on downstream performance compared to ImageNet pretraining?
  • RQ4How large and diverse does a thermal IR pretraining dataset need to be to yield gains on real-world targets?

Key findings

  • SATIR-pretrained SegFormer achieves higher mIoU and Fβω on SODA real subset than both no-pretrain and ImageNet-pretrained baselines.
  • mIoU improves from 0.6514 (no pretrain) and 0.6775 (ImageNet) to 0.6906 with SATIR.
  • Fβω improves from 0.8156 (no pretrain) and 0.8374 (ImageNet) to 0.8426 with SATIR.
  • The framework demonstrates that large-model knowledge can benefit specialized domain pretraining, even with crude mask-labeling.
  • SATIR contains over 100k thermal IR images with pixel-level pseudo labels generated via SAM masks.
Figure 2: The proposed framework consists of three steps: (a) construction of a pretrained dataset using SAM, (b) pretraining of the model with the dataset, and (c) finetuning the pretrained model on the target task.
Figure 2: The proposed framework consists of three steps: (a) construction of a pretrained dataset using SAM, (b) pretraining of the model with the dataset, and (c) finetuning the pretrained model on the target task.

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.