# A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis

전체 슬라이드 이미지 분할 및 분석을 위한 일반화된 딥러닝 프레임워크

Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi · arXiv · 2020년 1월 1일

- **연구 문제** 대용량 WSI를 패치 단위로 분석해 종양 영역을 분할하고 하위 분석까지 연결하는 것이 어려운 문제입니다.
- **연구 방법** DenseNet-121 기반 U-Net, Inception-ResNet-V2 기반 U-Net, DeeplabV3Plus의 확률 맵을 평균하는 앙상블 FCN 분할 구조입니다.
- **주요 결과** CAMELYON17 pN-stage 분류에서 RF-Ensemble의 Cohen's kappa는 0.9090이고, DigestPath 2019 Dice는 0.78, PAIP 2019 Task 2 점수는 0.6337입니다.

## 전체 슬라이드 이미지 분석의 어려움

전체 슬라이드 이미지(WSI)는 조직 슬라이드를 고해상도로 디지털화한 것으로, 한 장이 기가픽셀 규모입니다. 원문은 0.25 마이크로미터/픽셀 해상도에서 20mm x 15mm 슬라이드가 약 80,000 x 60,000 픽셀의 이미지가 된다고 설명합니다. 이 크기 때문에 전체 이미지를 한 번에 처리하기 어렵고, 병리 전문의가 수작업으로 판독하는 부담도 큽니다. 또한 적은 양의 주석 데이터, 염색 방식의 차이, 임상적으로 의미 있는 특징을 해석하기 어려운 문제가 함께 존재합니다. 이 논문은 이러한 문제 가운데 대용량 슬라이드를 패치 단위로 처리하여 종양 영역을 분할하고, 그 결과를 하위 분석에 연결하는 통합 틀을 다룹니다.

![Figure 1: Deep learning based framework for segmentation and analysis of whole slide images](https://refivu.com/papers/17229723-709e-4a8a-9857-8cd6f0d14883/figures/figure-ee0695a409df33dbed0b631721a1d4a6.png?thumb=512)

**Fig. 1** : Deep learning based framework for segmentation and analysis of whole slide images.

[원문](https://arxiv.org/abs/2001.00258v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi · A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 패치 기반 앙상블 분할 구조

이 논문의 분할 파이프라인은 WSI를 256x256 패치로 나누어 학습합니다. 패치는 조직 마스크 안에서 추출되며, 종양 패치와 비종양 패치를 같은 수로 구성합니다. 분할 모델은 인코더, 디코더, 픽셀 단위 분류 층으로 이루어진 완전 합성곱 신경망(FCN) 구조입니다. 앙상블은 DenseNet-121 기반 U-Net, Inception-ResNet-V2 기반 U-Net, DeeplabV3Plus의 세 모델로 구성되며, 추론 시 각 모델의 종양 사후 확률 맵을 평균하여 최종 확률 맵을 만듭니다. 각 구성원은 서로 다른 교차 검증 폴드로 독립 학습됩니다. DenseNet-121과 Inception-ResNet-V2 기반 모델은 ImageNet, DeeplabV3Plus는 PASCAL VOC로 사전 학습된 가중치를 사용합니다.

이 두 인코더 기반 모델에서는 처음 두 에포크 동안 인코더 가중치를 고정하고 디코더만 학습합니다.

![Figure 3: An illustration of the intermediate stages in the process of tissue mask generation from a whole slide image in CAME- LYON17 dataset](https://refivu.com/papers/17229723-709e-4a8a-9857-8cd6f0d14883/figures/figure-689e57a2bcfd7b41bc0bdacc476cd0e4.png?thumb=512)

**Fig. 3** : An illustration of the intermediate stages in the process of tissue mask generation from a whole slide image in CAME- LYON17 dataset.

[원문](https://arxiv.org/abs/2001.00258v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi · A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 4: Overview of the tumour segmentation training pipeline](https://refivu.com/papers/17229723-709e-4a8a-9857-8cd6f0d14883/figures/figure-546733004c2fec9e80a9600954085d08.png?thumb=512)

**Fig. 4** : Overview of the tumour segmentation training pipeline.

[원문](https://arxiv.org/abs/2001.00258v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi · A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 손실 함수와 불확실성 추정

종양 영역은 전체 픽셀에서 차지하는 비율이 매우 작아 클래스 불균형이 생깁니다. 이를 다루기 위해 논문은 교차 엔트로피 손실과 Dice 계수 기반 손실을 결합한 손실을 사용합니다. 원문 식 (3)은 Loss = α·CL + β·DLBG + γ·DLFG로 정의되며, α=0.5, β=0.25, γ=0.25로 설정되었다고 밝힙니다. 여기서 DLFG와 DLBG는 종양 전경과 비종양 배경에 대한 Dice 손실 항이고, 최적화에는 ADAM 옵티마이저가 쓰입니다. 불확실성은 두 종류로 추정됩니다. aleatoric 불확실성은 회전, 수직 및 수평 뒤집기의 test time augmentation 분산으로 추정하고, epistemic 불확실성은 서로 다른 모델 구조의 예측 분산으로 추정합니다.

이 두 추정은 해석 보조 지도로 제시되며, 원문은 이를 불확실 영역을 병리 전문의가 우선 검토하는 데 쓰인다고 설명합니다.

## 추론 격자와 하위 분석

추론 단계에서는 조직 마스크 위에 저해상도 샘플링 격자를 만들고, 격자 점을 고해상도 좌표로 환산하여 패치를 추출합니다. 원문은 패치 사이 50% 중첩을 최적 선택으로 보고하며, 중첩 영역의 확률을 평균하여 경계 아티팩트를 줄입니다. 이때 추론 패치 크기는 학습 패치 256x256보다 큰 1024x1024를 사용합니다. 하위 분석으로는 CAMELYON17의 림프절 전이 유형 분류와 PAIP의 종양 부담 추정이 있습니다. 림프절 분류에서는 확률 맵을 0.5와 0.9에서 이진화한 뒤 32개의 형태 특징을 계산하고, SMOTETomek으로 클래스 불균형을 보정한 Random Forest 앙상블을 학습합니다.

종양 부담 추정에서는 분할된 viable tumour 영역을 감싸는 convex hull과 조직 마스크의 교집합을 전체 종양 영역으로 근사합니다.

![Figure 2: Whole slide image of a liver tumour from the PAIP dataset. The green contour represents the viable tumour and the blue contour represents whole tumou…](https://refivu.com/papers/17229723-709e-4a8a-9857-8cd6f0d14883/figures/figure-011ba4aba5b94988335b286d52091254.png?thumb=512)

**Fig. 2** : Whole slide image of a liver tumour from the PAIP dataset. The green contour represents the viable tumour and the blue contour represents whole tumour. Annotations were made by expert pathologists.

[원문](https://arxiv.org/abs/2001.00258v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi · A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 13: (Left to Right) Viable tumour prediction; Whole tu- mour prediction; Pathologist annotated whole tumour ground truth](https://refivu.com/papers/17229723-709e-4a8a-9857-8cd6f0d14883/figures/figure-d6c0344d0da16cce72adf076f1cf158f.png?thumb=512)

**Fig. 13** : (Left to Right) Viable tumour prediction; Whole tu- mour prediction; Pathologist annotated whole tumour ground truth

[원문](https://arxiv.org/abs/2001.00258v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi · A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 공개 챌린지 결과와 적용 범위

검증은 CAMELYON16 병변 검출, CAMELYON17 pN-stage 분류, DigestPath 2019 분할, PAIP 2019 종양 부담 평가로 나누어 보고됩니다. CAMELYON16 테스트 세트(n=139)에서 Ensemble-A는 FROC 점수 0.83을 기록했고, 앙상블은 세 구성원 중 가장 높은 FROC 점수를 보였습니다. CAMELYON17 테스트 세트(n=500)에서 RF-Ensemble의 Cohen's kappa는 0.9090으로 보고되며, 챌린지 순위는 3위입니다. DigestPath 2019 테스트 세트(n=212)에서 제안 방법의 Dice 점수는 0.78입니다. PAIP 2019 Task 2의 종양 부담 점수는 0.6337이며, 이는 절대 정확도와 Task 1 Jaccard 점수의 곱을 평균한 값입니다.

이 결과들은 서로 다른 데이터셋과 평가 프로토콜에서 얻은 것이므로 하나의 공통 조건으로 묶어 비교하지 않아야 합니다.

## 남은 제약

논문은 patch 기반 추론이 경계 문맥을 잃어 edge artefact가 생길 수 있음을 설명하고, 중첩 평균과 큰 패치로 이를 완화했다고 보고합니다. 다만 이 완화가 문제를 완전히 제거했다는 근거는 원문에 없습니다. 또한 aleatoric 불확실성은 패치 경계 문맥 손실 때문에 종양 영역에서 높게 나타날 수 있어, 더 큰 연속 영역에서 분석해야 한다고 저자들은 해석합니다. 불확실성 분석은 DigestPath를 중심으로 제시되고 PAIP 2019와 CAMELYON 분석은 보충 자료에 있다고 원문이 밝힙니다. 따라서 이 논문의 결과는 제시된 데이터셋, 백본, 패치 조건 안에서 읽어야 합니다.

## 논문 정보

- **저자**: Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2020년 1월 1일
- **등록일**: 2026년 11월 6일
- **수정일**: 2020년 11월 18일
- **버전**: v2
- **arXiv**: 2001.00258
- **분류**: eess.IV · cs.CV · cs.LG · q-bio.TO
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Histopathology tissue analysis is considered the gold standard in cancer diagnosis and prognosis. Given the large size of these images and the increase in the number of potential cancer cases, an automated solution as an aid to histopathologists is highly desirable. In the recent past, deep learning-based techniques have provided state of the art results in a wide variety of image analysis tasks, including analysis of digitized slides. However, the size of images and variability in histopathology tasks makes it a challenge to develop an integrated framework for histopathology image analysis. We propose a deep learning-based framework for histopathology tissue analysis. We demonstrate the generalizability of our framework, including training and inference, on several open-source datasets, which include CAMELYON (breast cancer metastases), DigestPath (colon cancer), and PAIP (liver cancer) datasets. We discuss multiple types of uncertainties pertaining to data and model, namely aleatoric and epistemic, respectively. Simultaneously, we demonstrate our model generalization across different data distribution by evaluating some samples on TCGA data. On CAMELYON16 test data (n=139) for the task of lesion detection, the FROC score achieved was 0.86 and in the CAMELYON17 test-data (n=500) for the task of pN-staging the Cohen's kappa score achieved was 0.9090 (third in the open leaderboard). On DigestPath test data (n=212) for the task of tumor segmentation, a Dice score of 0.782 was achieved (fourth in the challenge). On PAIP test data (n=40) for the task of viable tumor segmentation, a Jaccard Index of 0.75 (third in the challenge) was achieved, and for viable tumor burden, a score of 0.633 was achieved (second in the challenge). Our entire framework and related documentation are freely available at GitHub and PyPi.

## 원문 인용

Mahendra Khened, Avinash Kori, Haran Rajkumar, Balaji Srinivasan, Ganapathy Krishnamurthi (2020). A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis. arXiv:2001.00258v2. https://arxiv.org/abs/2001.00258v2

**BibTeX**

```
@misc{khened2020generalized,
  title = {{A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis}},
  author = {Mahendra Khened and Avinash Kori and Haran Rajkumar and Balaji Srinivasan and Ganapathy Krishnamurthi},
  year = {2020},
  eprint = {2001.00258},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.00258v2}
}
```

## 이 논문의 용어

- [Adam optimizer](https://refivu.com/terms/aff9e901333e-adam-optimizer)
- [epistemic uncertainty](https://refivu.com/terms/947c2a539156-epistemic-uncertainty)
- [Aleatoric uncertainty](https://refivu.com/terms/33c799c7757b-aleatoric-uncertainty)
- [CAMELYON16](https://refivu.com/terms/590446a51f6a-camelyon16)
- [Fully Convolutional Neural Network](https://refivu.com/terms/f9712e7d9dce-fully-convolutional-neural-network)
- [Camelyon17](https://refivu.com/terms/9be4dec01290-camelyon17)
- [Dice 계수](https://refivu.com/terms/6876f3ce8f55-dice)
- [DigestPath](https://refivu.com/terms/a1ef508de0ab-digestpath)

## 다른 논문 해설

- [Deep Learning Methods For Synthetic Aperture Radar Image Despeckling: An Overview Of Trends And Perspectives](https://refivu.com/papers/2aafbd8c-2aab-41ee-9e07-8df924985266-deep-learning-methods-for-synthetic-aperture-radar-image.md)
- [Automatic Posture and Movement Tracking of Infants with Wearable Movement Sensors](https://refivu.com/papers/c3125f12-a3a0-4774-98ae-2fc7eb29121a-automatic-posture-and-movement-tracking-of-infants-with.md)
- [Fast R-CNN](https://refivu.com/papers/cf1d88ea-f632-4173-bcfd-eec504e5c175-fast-r-cnn.md)
- [End-to-End Training of Deep Visuomotor Policies](https://refivu.com/papers/67bd34bf-8571-4d8e-9691-251431e21af1-end-to-end-training-of-deep-visuomotor-policies.md)
- [Computer Vision for Road Imaging and Pothole Detection: A State-of-the-Art Review of Systems and Algorithms](https://refivu.com/papers/c06a17fc-d58d-4dc7-9265-31de6cea9b61-computer-vision-for-road-imaging-and-pothole-detection.md)
- [Unsupervised Deep Anomaly Detection for Multi-Sensor Time-Series Signals](https://refivu.com/papers/878b018b-6c5e-4a6c-9708-982ce4d20f8a-unsupervised-deep-anomaly-detection-for-multi-sensor-time.md)
- [Zero-shot Medical Image Translation via Frequency-Guided Diffusion Models](https://refivu.com/papers/0a4cebef-e107-4672-a068-5d0a66cdb2ef-zero-shot-medical-image-translation-via-frequency-guided.md)
- [A Survey on Physics Informed Reinforcement Learning: Review and Open Problems](https://refivu.com/papers/9f1c1f2a-797f-4e3b-9dbc-724a65fcef78-a-survey-on-physics-informed-reinforcement-learning-review.md)
- [Generation of Asset Administration Shell with Large Language Model Agents: Toward Semantic Interoperability in Digital Twins in the Context of Industry 4.0](https://refivu.com/papers/ac36066d-cd3b-4dd8-8de7-e7ccd61ed42d-generation-of-asset-administration-shell-with-large-language.md)
- [Expectable Motion Unit: Avoiding Hazards From Human Involuntary Motions in Human-Robot Interaction](https://refivu.com/papers/e1e3aa7c-7fd1-4d36-8d2d-626a81c8c855-expectable-motion-unit-avoiding-hazards-from-human.md)
- [Attention Spiking Neural Networks](https://refivu.com/papers/2c52d99c-a249-4911-96bd-79f6720c0a09-attention-spiking-neural-networks.md)
- [Deep Reinforcement Learning Based Massive Access Management for Ultra-Reliable Low-Latency Communications](https://refivu.com/papers/bcfc78bf-66bd-4a98-ab56-7eccc93cf08a-deep-reinforcement-learning-based-massive-access-management.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/17229723-709e-4a8a-9857-8cd6f0d14883-a-generalized-deep-learning-framework-for-whole-slide)
