# Local contrastive loss with pseudo-label based self-training for semi-supervised medical image segmentation

의료 영상 분할을 위한 준지도 학습: 의사 레이블 기반 자기 학습을 활용한 국소 대조 손실

Krishna Chaitanya, Ertunc Erdil, Neerav Karani, Ender Konukoglu · arXiv · 2021년 12월 17일

- **연구 문제** 라벨이 제한된 의료 영상 분할에서 기존 지역 대조 학습은 pseudo-label의 의미 정보를 활용하지 못합니다.
- **연구 방법** 제안 방법은 pseudo-label을 분할 손실이 아니라 픽셀 단위 대조 손실에만 사용하여 레이블 세트의 분할 손실과 공동으로 학습합니다.
- **주요 결과** ACDC의 \|XL\|=1 설정에서 pseudo-label 공동 학습(intra)은 평균 DSC 0.761을 보고하며 self-training의 0.690보다 높습니다.

## 라벨이 부족한 의료 영상 분할의 문제

의료 영상 분할에서 지도 학습 모델은 정확하지만 전문가가 만든 대량의 레이블 데이터를 필요로 합니다. 이 논문은 레이블이 한두 개의 3D 볼륨만 있는 상황에서 레이블 없는 영상을 함께 활용하는 준지도 학습을 다룹니다. 기존 대조 학습은 전역 표현에는 효과적이지만, 분할처럼 픽셀 단위 예측이 필요한 과제에서는 지역 표현이 중요합니다. 그러나 기존 지역 대조 손실은 유사하거나 상이한 지역을 무작위 증강과 공간적 근접성으로 정의하기 때문에, 의미적 레이블 정보를 충분히 활용하지 못합니다.

![Figure 1: A visual example that demonstrates the shortcoming of existing local contrastive learning methods. Unsupervised segmentation methods such as a super-…](https://refivu.com/papers/62cf2eb1-2a9e-4717-8434-88e9b97b2486/figures/figure-54965f3d034c9ab131ddc898cdab4583.png?thumb=512)

**Fig. 1** . A visual example that demonstrates the shortcoming of existing local contrastive learning methods. Unsupervised segmentation methods such as a super-pixel based one (Slic \[ 22\]) 1) do not produce semantic labels similar to ground truth, 2) do not assign the same label id for the same anatomy from different images (see different colors assigned by Slic for the similar regions) which hinders to enforce similarity/dissimilarity of pixel representations of same anatomies across images \[17\]

[원문](https://arxiv.org/abs/2112.09645v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Krishna Chaitanya, Ertunc Erdil, Neerav Karani, Ender Konukoglu · Local contrastive loss with pseudo-label based self-training for semi-supervised medical image segmentation · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## pseudo-label을 대조 손실에만 사용하는 공동 학습

제안 방법은 레이블 세트 XL과 레이블 없는 세트 XU를 함께 사용합니다. 먼저 XL만으로 분할 손실 Lseg를 최소화하여 초기 네트워크를 얻고, 이 네트워크로 XU의 pseudo-label을 추정합니다. 이후 분할 손실은 XL에만 적용되고, 픽셀 단위 local contrastive loss Lcont는 XL과 XU를 합친 전체 데이터에 적용됩니다. 두 손실은 λcont 가중치와 함께 공동으로 최적화되며, pseudo-label은 분할 손실에 쓰이지 않고 대조 손실에서만 사용됩니다. 대조 손실은 같은 클래스 픽셀 표현이 클래스 평균 표현과 가까워지고 다른 클래스 평균과 멀어지도록 정의됩니다.

![Figure 2: The ﬁgure presents the proposed semi-supervised method to get high segmentation performance by applying a pixel-level contrastive loss on pseudo-labe…](https://refivu.com/papers/62cf2eb1-2a9e-4717-8434-88e9b97b2486/figures/figure-e44f9caa42dd23242dc159f489aa825d.png?thumb=512)

**Fig. 2** . The ﬁgure presents the proposed semi-supervised method to get high segmentation performance by applying a pixel-level contrastive loss on pseudo-labels of unlabeled data and limited labeled data along with segmentation loss applied only on labeled set. The pixel-level representations of same class are optimized to be similar and simultaneously optimized to be dissimilar to other class representations in the whole dataset (shown on the right side).

[원문](https://arxiv.org/abs/2112.09645v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Krishna Chaitanya, Ertunc Erdil, Neerav Karani, Ender Konukoglu · Local contrastive loss with pseudo-label based self-training for semi-supervised medical image segmentation · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## ACDC에서의 self-training 비교

제안 방법의 효과는 ACDC 데이터셋에서 \|XL\|=1, 2, 8 설정으로 확인되었습니다. 표 I에서 pseudo-label 공동 학습(intra)은 \|XL\|=1에서 평균 DSC 0.761을 보고하며, self-training의 0.690보다 높습니다. 같은 설정에서 inter-image 매칭은 0.759입니다. 평균 DSC는 배경을 제외한 구조들에 대해 테스트 세트에서 6회 실행으로 계산되었습니다. 원문은 pseudo-label을 분할 손실에도 쓰는 self-training보다 대조 손실 전용 사용이 더 높은 이득을 준다고 해석합니다.

![Figure 3: tSNE plot of pixel representations of the last layer of the common network (cθ for three structures of ACDC (right ventricle (rv), myocardium (myo),…](https://refivu.com/papers/62cf2eb1-2a9e-4717-8434-88e9b97b2486/figures/figure-090fafc061699c58b9ea1776d3cb7288.png?thumb=512)

**Fig. 3** . tSNE plot of pixel representations of the last layer of the common network (cθ for three structures of ACDC (right ventricle (rv), myocardium (myo), left ventricle (lv)) for some randomly sampled unlabeled images for the methods: (a) self-training and (b) proposed method with local contrastive loss. For the proposed approach, we observe a better intra-class afﬁnity and inter-class seperation between pixel representations compared to self-training, and thereby leading to higher segmentation performance.

[원문](https://arxiv.org/abs/2112.09645v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Krishna Chaitanya, Ertunc Erdil, Neerav Karani, Ender Konukoglu · Local contrastive loss with pseudo-label based self-training for semi-supervised medical image segmentation · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 매칭 방식과 pseudo-label 품질의 한계

두 가지 매칭 방식인 intra-image와 inter-image를 비교하면, 제한된 레이블 설정에서 inter-image 매칭은 pseudo-label 품질이 낮을 때 intra-image보다 낮은 결과를 보입니다. 저자들은 이를 잘못된 pseudo-label을 서로 다른 볼륨 사이에서 같은 클래스로 매칭하면서 생기는 문제로 해석합니다. 따라서 inter-image 매칭의 이득은 pseudo-label 품질과 레이블 수에 따라 달라지며, 모든 설정에서 우세하다고 볼 수는 없습니다.

## 논문 정보

- **저자**: Krishna Chaitanya, Ertunc Erdil, Neerav Karani, Ender Konukoglu
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 12월 17일
- **등록일**: 2026년 11월 6일
- **수정일**: 2021년 12월 17일
- **버전**: v1
- **arXiv**: 2112.09645
- **분류**: cs.CV · cs.AI · cs.LG · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2112.09645v1) · [원문 PDF ↗](https://arxiv.org/pdf/2112.09645v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Supervised deep learning-based methods yield accurate results for medical image segmentation. However, they require large labeled datasets for this, and obtaining them is a laborious task that requires clinical expertise. Semi/self-supervised learning-based approaches address this limitation by exploiting unlabeled data along with limited annotated data. Recent self-supervised learning methods use contrastive loss to learn good global level representations from unlabeled images and achieve high performance in classification tasks on popular natural image datasets like ImageNet. In pixel-level prediction tasks such as segmentation, it is crucial to also learn good local level representations along with global representations to achieve better accuracy. However, the impact of the existing local contrastive loss-based methods remains limited for learning good local representations because similar and dissimilar local regions are defined based on random augmentations and spatial proximity; not based on the semantic label of local regions due to lack of large-scale expert annotations in the semi/self-supervised setting. In this paper, we propose a local contrastive loss to learn good pixel level features useful for segmentation by exploiting semantic label information obtained from pseudo-labels of unlabeled images alongside limited annotated images. In particular, we define the proposed loss to encourage similar representations for the pixels that have the same pseudo-label/ label while being dissimilar to the representation of pixels with different pseudo-label/label in the dataset. We perform pseudo-label based self-training and train the network by jointly optimizing the proposed contrastive loss on both labeled and unlabeled sets and segmentation loss on only the limited labeled set. We evaluated on three public cardiac and prostate datasets, and obtain high segmentation performance.

## 원문 인용

Krishna Chaitanya, Ertunc Erdil, Neerav Karani, Ender Konukoglu (2021). Local contrastive loss with pseudo-label based self-training for semi-supervised medical image segmentation. arXiv:2112.09645v1. https://arxiv.org/abs/2112.09645v1

**BibTeX**

```
@misc{chaitanya2021local,
  title = {{Local contrastive loss with pseudo-label based self-training for semi-supervised medical image segmentation}},
  author = {Krishna Chaitanya and Ertunc Erdil and Neerav Karani and Ender Konukoglu},
  year = {2021},
  eprint = {2112.09645},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.09645v1}
}
```

## 이 논문의 용어

- [cosine similarity](https://refivu.com/terms/3baa01a8760d-cosine-similarity)
- [Adam optimizer](https://refivu.com/terms/aff9e901333e-adam-optimizer)
- [dice loss](https://refivu.com/terms/a73130d07df5-dice-loss)
- [MixUp](https://refivu.com/terms/62023d7e891b-mixup)
- [UNet](https://refivu.com/terms/0da000173b9b-unet)
- [Consistency Regularization](https://refivu.com/terms/c9e740c3325f-consistency-regularization)
- [self-training](https://refivu.com/terms/ad6731261d05-self-training)
- [pseudo-labels](https://refivu.com/terms/8d01363b3bd3-pseudo-labels)
- [Noisy Student](https://refivu.com/terms/d92502c227f4-noisy-student)
- [ACDC dataset](https://refivu.com/terms/cc70bf8b6ae8-acdc-dataset)

## 다른 논문 해설

- [Feature Completion for Occluded Person Re-Identification](https://refivu.com/papers/a75a797b-335d-4d23-a90d-3fa4caea8e1c-feature-completion-for-occluded-person-re-identification.md)
- [Class-Aware Adversarial Transformers for Medical Image Segmentation](https://refivu.com/papers/d5187aaf-54fd-455c-9272-c1529dd007ec-class-aware-adversarial-transformers-for-medical-image.md)
- [Shallow Unorganized Neural Networks using Smart Neuron Model for Visual Perception](https://refivu.com/papers/bd26fabd-d3aa-42e6-8617-a5eefb0f6c73-shallow-unorganized-neural-networks-using-smart-neuron-model.md)
- [Fracture Detection in Wrist X-ray Images Using Deep Learning-Based Object Detection Models](https://refivu.com/papers/0624eb11-49e9-4e03-94e2-ee4eaee77c35-fracture-detection-in-wrist-x-ray-images-using.md)
- [A survey on efficient vision transformers: algorithms, techniques, and performance benchmarking](https://refivu.com/papers/ce609bec-ad21-4333-84ad-1c4a19f1d6ef-a-survey-on-efficient-vision-transformers-algorithms.md)
- [Federated Learning for Malware Detection in IoT Devices](https://refivu.com/papers/95bd62ab-6913-4636-86fb-d82f1fc8a32c-federated-learning-for-malware-detection-in-iot-devices.md)
- [Deep Reinforcement Learning for RIS-aided Multiuser Full-Duplex Secure Communications with Hardware Impairments](https://refivu.com/papers/a7cdf7b0-fc4c-4c25-baee-925c23d3fc3d-deep-reinforcement-learning-for-ris-aided-multiuser-full.md)
- [Evaluating Correctness and Faithfulness of Instruction-Following Models for Question Answering](https://refivu.com/papers/92ea2fa7-fc1a-486e-8ad4-fcbae9441f67-evaluating-correctness-and-faithfulness-of-instruction.md)
- [Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1-online-damage-recovery-for-physical-robots-with-hierarchical.md)
- [FlowTransformer: A Transformer Framework for Flow-based Network Intrusion Detection Systems](https://refivu.com/papers/28c6bc1f-4e17-4b59-b0b0-2459dd8524f8-flowtransformer-a-transformer-framework-for-flow-based.md)
- [A Reinforcement Learning Approach to Age of Information in Multi-User Networks with HARQ](https://refivu.com/papers/e642aa3e-628e-42ec-9b79-cfc41e1e5991-a-reinforcement-learning-approach-to-age-of-information.md)
- [Knowledge Graphs, Large Language Models, and Hallucinations: An NLP Perspective](https://refivu.com/papers/bfd02873-c02f-410b-8245-d4b6a31c8a37-knowledge-graphs-large-language-models-and-hallucinations-an.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/62cf2eb1-2a9e-4717-8434-88e9b97b2486-local-contrastive-loss-with-pseudo-label-based-self)
