# Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images

대장암 조직학 이미지 등급 분류를 위한 문맥 인식 합성곱 신경망

Muhammad Shaban, Ruqayya Awan, Muhammad Moazam Fraz, Ayesha Azam, David Snead, Nasir M. Rajpoot · arXiv · 2019년 7월 22일

- **연구 문제** 패치 기반 CNN은 큰 조직 이미지를 작은 패치로 나누어 학습하므로 패치 사이의 공간 문맥을 잃습니다. 이 논문은 1,792×1,792 픽셀의 큰 입력을 다루는 문맥 인식 CNN으로 이 한계를 다룹니다.
- **연구 방법** 제안 방법은 LR-CNN으로 패치의 지역 특징을 특징 큐브로 만든 뒤, RA-CNN이 이 큐브에서 공간 문맥을 집계하여 등급을 예측합니다.
- **주요 결과** 대장암 등급 분류에서 제안 방법은 이진 99.28 ± 1.25, 세 등급 95.70 ± 3.04를 보고하며, 유방암 분류에서도 F1 기반 Rank-sum 10으로 비교 방법 중 가장 낮은 값을 보고합니다.

## 패치 기반 분류의 문맥 한계

디지털 조직병리 이미지는 한 장의 크기가 매우 커서 CNN은 보통 224×224 같은 작은 패치로 잘라 학습합니다. 이 방식은 계산량과 메모리 제약 때문에 널리 쓰이지만, 패치 사이의 공간 관계와 조직 구조를 무시하게 됩니다. 대장암 등급 판정은 개별 세포의 이상뿐 아니라 선 구조가 공간적으로 어떻게 배열되는지에 의존하므로, 이러한 문맥 손실이 특히 문제가 됩니다. 저자들은 이 문제를 해결하기 위해 더 큰 고해상도 입력을 직접 다루는 문맥 인식 CNN을 제안합니다.

![Figure 1: Three visual ﬁeld regions of colorectal tissue which highlight the importance of larger context for correct grading. Each cell of the overlaid grid s…](https://refivu.com/papers/eb8ac42e-dc45-4449-a344-d888315689e8/figures/figure-c6a7350b3468086c9f494b898fdfc45a.png?thumb=512)

**Fig. 1** . Three visual ﬁeld regions of colorectal tissue which highlight the importance of larger context for correct grading. Each cell of the overlaid grid shows the 224× 224 pixel context captured by a standard patch classiﬁer at 20× magniﬁcation.

[원문](https://arxiv.org/abs/1907.09478v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Muhammad Shaban, Ruqayya Awan, Muhammad Moazam Fraz, Ayesha Azam, David Snead, Nasir M. Rajpoot · Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 두 단계 구조: LR-CNN과 RA-CNN

제안 방법은 1,792×1,792 픽셀 입력을 두 단계로 처리합니다. 첫 번째 단계인 LR-CNN은 입력 이미지를 패치로 나누어 각 패치를 고차원 특징 벡터로 바꾸고, 그 특징을 원래 패치의 공간 배열에 맞춰 특징 큐브로 쌓습니다. 두 번째 단계인 RA-CNN은 이 특징 큐브에서 공간 문맥을 학습해 최종 예측을 만듭니다. LR-CNN은 ResNet50, MobileNet, Inception-v3, Xception 같은 분류기로 교체할 수 있습니다. 특징 큐브의 각 위치에는 1×1 합성곱과 softmax로 계산한 어텐션 가중치를 곱하는 Hadamard product가 적용되어, 중요도가 높은 영역의 특징이 더 강하게 반영됩니다.

![Figure 2: Flow diagram of the proposed context-aware framework for CRC grading. The top row shows the local representation learning. The bottom row illustrates…](https://refivu.com/papers/eb8ac42e-dc45-4449-a344-d888315689e8/figures/figure-c4bcf729b41617c4537efc42e3c8251c.png?thumb=512)

**Fig. 2** . Flow diagram of the proposed context-aware framework for CRC grading. The top row shows the local representation learning. The bottom row illustrates the network architecture for representation aggregation learning which consists of multiple context blocks and other standard layers. Dashed lines represent the blocks of a speciﬁc network design whereas solid lines represent the common blocks (see Table I for notations).

[원문](https://arxiv.org/abs/1907.09478v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Muhammad Shaban, Ruqayya Awan, Muhammad Moazam Fraz, Ayesha Azam, David Snead, Nasir M. Rajpoot · Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 문맥 블록과 학습 전략

RA-CNN은 같은 유형의 문맥 블록을 세 번 쌓아 사용합니다. 블록 B1은 3×3 합성곱, ReLU, 배치 정규화로 구성되고, B2는 1×1과 3×3 합성곱을 포함한 잔차형 구조입니다. B3는 여러 필터 크기를 병렬로 적용하여 서로 다른 수용 영역의 문맥을 함께 포착합니다. 학습 전략은 표준 학습, 가중 손실, 보조 블록을 쓴 다중 과제 학습, 어텐션을 쓴 학습의 네 가지로 비교됩니다. 보조 블록은 패치 단위 분할을 함께 학습하며, 분류 손실과 분할 손실을 α로 결합한 joint loss를 최소화합니다.

![Figure 3: (Left) Results of 24 experiments using best performing local representation features (Xception). (Right) Legend represents the feature pooling type,…](https://refivu.com/papers/eb8ac42e-dc45-4449-a344-d888315689e8/figures/figure-278427bd9aa69fdcb5e8fe676345f7cc.png?thumb=512)

**Fig. 3** . (Left) Results of 24 experiments using best performing local representation features (Xception). (Right) Legend represents the feature pooling type, context-aware net and training strategies used for the experiments. Baseline accuracy is the accuracy of standard patch based Xception classiﬁer.

[원문](https://arxiv.org/abs/1907.09478v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Muhammad Shaban, Ruqayya Awan, Muhammad Moazam Fraz, Ayesha Azam, David Snead, Nasir M. Rajpoot · Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 데이터셋과 평가 지표

대장암 데이터셋은 20× 배율의 시각 필드 139개로 구성되며, 정상, 저등급, 고등급의 세 클래스로 나뉩니다. 이 데이터셋은 3-fold 교차 검증으로 평가됩니다. 유방암 분류는 normal, benign, in-situ, invasive의 네 가지 하위 유형을 대상으로 하며, 기존 연구와 같은 분할과 F1 기반 Rank-sum 평가를 따릅니다. 평균 정확도는 세 fold에 걸쳐 올바르게 분류된 이미지의 백분율입니다. Rank-sum은 여러 모델을 색상 등급으로 나눈 뒤 순위를 합산하는 방식이며 값이 낮을수록 성능이 좋습니다.

## 대장암 등급 분류 결과

대장암 등급 분류에서 제안 방법은 이진 분류 99.28 ± 1.25, 세 등급 분류 95.70 ± 3.04를 보고합니다. 같은 표에서 Context-G는 이진 96.44 ± 3.61, 세 등급 89.96 ± 3.54이며, 표준 Xception 패치 분류기는 이진 98.58 ± 2.01, 세 등급 92.09 ± 0.98입니다. 이 값들은 원문 Table VII에 보고된 수치이며 같은 3-fold 설정에서 비교된 결과로 읽습니다. 패치 분류기 비교에서 RA-CNN 3은 Xception 기반 설정에서 Rank-sum이 가장 낮게 나타났습니다.

## 유방암 분류 결과와 적용 범위

유방암 분류 실험에서는 Sirinukunwattana 등의 데이터 분할과 F1 기반 Rank-sum을 따랐습니다. 이 설정에서 제안 방법의 Rank-sum은 10으로 보고되며, 비교된 문맥 인식 방법들 중 가장 낮은 값입니다. 다만 이 결과는 해당 분할과 F1 기준에서 얻은 것이며, 대장암 등급 분류의 정확도 결과와 같은 조건으로 합쳐 해석하지 않습니다.

## 한계와 적용 범위

이 연구의 결과는 CRC 데이터셋 139개 이미지와 3-fold 교차 검증이라는 설정에서 얻어졌습니다. 저자들은 제안 방법이 대장암 등급과 유방암 분류에 적용될 수 있다고 주장하지만, 이 논문은 다른 장기나 전체 슬라이드 수준의 분석을 직접 평가하지 않습니다. 또한 논문은 패치 단위 방법과 문맥 인식 방법의 비교를 제시하지만 계산 비용의 세부 측정은 본문 설정에 따라 해석해야 합니다.

## 논문 정보

- **저자**: Muhammad Shaban, Ruqayya Awan, Muhammad Moazam Fraz, Ayesha Azam, David Snead, Nasir M. Rajpoot
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2019년 7월 22일
- **등록일**: 2026년 11월 6일
- **수정일**: 2019년 7월 22일
- **버전**: v1
- **arXiv**: 1907.09478
- **분류**: eess.IV · cs.LG · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Digital histology images are amenable to the application of convolutional neural network (CNN) for analysis due to the sheer size of pixel data present in them. CNNs are generally used for representation learning from small image patches (e.g. 224x224) extracted from digital histology images due to computational and memory constraints. However, this approach does not incorporate high-resolution contextual information in histology images. We propose a novel way to incorporate larger context by a context-aware neural network based on images with a dimension of 1,792x1,792 pixels. The proposed framework first encodes the local representation of a histology image into high dimensional features then aggregates the features by considering their spatial organization to make a final prediction. The proposed method is evaluated for colorectal cancer grading and breast cancer classification. A comprehensive analysis of some variants of the proposed method is presented. Our method outperformed the traditional patch-based approaches, problem-specific methods, and existing context-based methods quantitatively by a margin of 3.61%. Code and dataset related information is available at this link: https://tia-lab.github.io/Context-Aware-CNN

## 원문 인용

Muhammad Shaban, Ruqayya Awan, Muhammad Moazam Fraz, Ayesha Azam, David Snead, Nasir M. Rajpoot (2019). Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images. arXiv:1907.09478v1. https://arxiv.org/abs/1907.09478v1

**BibTeX**

```
@misc{shaban2019context,
  title = {{Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images}},
  author = {Muhammad Shaban and Ruqayya Awan and Muhammad Moazam Fraz and Ayesha Azam and David Snead and Nasir M. Rajpoot},
  year = {2019},
  eprint = {1907.09478},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.09478v1}
}
```

## 이 논문의 용어

- [F1 score](https://refivu.com/terms/220c2aa29a7c-f1-score)
- [global average pooling](https://refivu.com/terms/f70116a971b4-global-average-pooling)
- [Multi-Task Learning](https://refivu.com/terms/89df753d67c1-multi-task-learning)
- [ResNet50](https://refivu.com/terms/b9ab4b71c5b5-resnet50)
- [majority voting](https://refivu.com/terms/20e954015dfd-majority-voting)
- [Hadamard product](https://refivu.com/terms/f2bf6fe21cdb-hadamard-product)
- [Inception-v3](https://refivu.com/terms/191812d56585-inception-v3)
- [MobileNet](https://refivu.com/terms/373a038a6bbb-mobilenet)
- [Xception](https://refivu.com/terms/6c4ca62591a5-xception)
- [categorical cross-entropy loss](https://refivu.com/terms/bc239ffb25fd-categorical-cross-entropy-loss)
- [RA-CNN](https://refivu.com/terms/10b4d9c501fa-ra-cnn)
- [RMSprop optimizer](https://refivu.com/terms/9c81afe270e1-rmsprop-optimizer)

## 다른 논문 해설

- [Image Segmentation via Probabilistic Graph Matching](https://refivu.com/papers/424a8d86-119e-451e-9acd-ad3577c38440-image-segmentation-via-probabilistic-graph-matching.md)
- [Object Detection Using Sim2Real Domain Randomization for Robotic Applications](https://refivu.com/papers/9a236ed9-cddb-4dba-8dc3-8d9af5161024-object-detection-using-sim2real-domain-randomization-for.md)
- [Deep Learning for Visual Localization and Mapping: A Survey](https://refivu.com/papers/74ff8c10-c428-4c85-a83d-3d295ee8a04b-deep-learning-for-visual-localization-and-mapping-a.md)
- [DL-Droid: Deep learning based android malware detection using real devices](https://refivu.com/papers/e8c4fb2d-bb8d-43c7-b570-745e501ed499-dl-droid-deep-learning-based-android-malware-detection.md)
- [SECTOR: A Neural Model for Coherent Topic Segmentation and Classification](https://refivu.com/papers/18680e1f-538c-47ea-9bf1-aadc11dc002a-sector-a-neural-model-for-coherent-topic-segmentation.md)
- [A Deep Learning Approach for Brain Tumor Classification and Segmentation Using a Multiscale Convolutional Neural Network](https://refivu.com/papers/c75a012b-6db8-4ef0-a0e2-0109acd56af3-a-deep-learning-approach-for-brain-tumor-classification.md)
- [Accessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic Content](https://refivu.com/papers/21a3a865-761d-4341-a41f-2e734373f6ab-accessible-visualization-via-natural-language-descriptions-a.md)
- [Vertical Federated Learning: Concepts, Advances and Challenges](https://refivu.com/papers/39bcdd63-2fa5-4368-9a59-dc29f3d92aa4-vertical-federated-learning-concepts-advances-and-challenges.md)
- [RIS-assisted UAV Communications for IoT with Wireless Power Transfer Using Deep Reinforcement Learning](https://refivu.com/papers/58760793-1271-43a9-9054-cbd4653d132d-ris-assisted-uav-communications-for-iot-with-wireless.md)
- [Origami spring-inspired shape morphing for flexible robotics](https://refivu.com/papers/6be2ed09-5fd2-46e6-86f3-434bb220bbc7-origami-spring-inspired-shape-morphing-for-flexible-robotics.md)
- [Pose-Based Tactile Servoing: Controlled Soft Touch using Deep Learning](https://refivu.com/papers/037c746d-6760-4e1a-9660-eee12af1512f-pose-based-tactile-servoing-controlled-soft-touch-using.md)
- [Learning-based Methods for Adaptive Informative Path Planning](https://refivu.com/papers/0cf19858-493c-4b8d-af57-ecd09775a7ce-learning-based-methods-for-adaptive-informative-path.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/eb8ac42e-dc45-4449-a344-d888315689e8-context-aware-convolutional-neural-network-for-grading-of)
