논문 해설
A Comparative Study of Confidence Calibration in Deep Learning: From Computer Vision to Medical Imaging
딥러닝에서의 신뢰도 보정에 관한 비교 연구: 컴퓨터 비전에서 의료 영상까지
- 연구 문제 자연 영상과 폐암 진단에서 보정 방법이 같은 효과를 내는지 비교합니다.
- 연구 방법 CEL을 기준으로 Focal loss와 mixup을 1단계, LAS와 temperature scaling을 2단계로 두고 CIFAR10과 폐암 CT 실험에서 비교합니다.
- 주요 결과 temperature scaling은 여러 설정에서 보정을 개선했고, CIFAR10-Ori에서 mixup과 Focal loss를 함께 쓰면 보정이 나빠졌습니다. 의료 영상 실험에서는 LAS가 보정 성능을 개선하지 못했습니다.
연구 문제: 의료 영상에서 보정은 얼마나 유지되는가
딥러닝 분류 모델은 판별 성능이 크게 향상되었지만 예측 확률이 실제 정답 비율과 맞는지를 뜻하는 보정(confidence calibration)은 상대적으로 덜 개선되었습니다. 이 논문은 이 문제를 자연 영상 분류와 의료 영상 진단에서 함께 살펴봅니다. 의료 영상은 학습 샘플이 상대적으로 적고 양성·음성 비율이 불균형하며, 라벨이 결절 단위가 아니라 CT 영상 단위로 주어지는 약한 라벨이라는 점에서 자연 영상과 다른 어려움이 있습니다.
저자들은 컴퓨터 비전에서 효과적인 보정 방법이 의료 영상 예측에도 같은 정도로 적용되는지를 질문합니다. 이를 위해 기준선 교차 엔트로피 손실(CEL)과 네 가지 대표 보정 방법을 1단계와 2단계로 나누어 비교합니다.
비교한 보정 방법과 두 단계 구조
기준선은 교차 엔트로피 손실(CEL)입니다. 정답 클래스의 예측 확률 pk에 대한 음의 로그 합으로 학습합니다. 1단계 방법으로는 Focal loss와 mixup을 비교합니다. Focal loss는 변조 인자를 더해 쉽게 분류되는 샘플의 손실 기여를 줄이고, mixup은 두 입력과 그 라벨을 선형 보간하여 학습합니다. 2단계 방법으로는 Label-Aware Smoothing(LAS)과 temperature scaling을 비교합니다. LAS는 클래스별 샘플 수에 따라 스무딩 계수를 달리하며, temperature scaling은 로짓을 하나의 온도 파라미터 T로 나눈 뒤 Softmax를 적용하는 방식입니다.
2단계 방법은 1단계에서 학습한 특징 추출 모델을 고정한 뒤 적용합니다. 온도 스케일링은 순위를 바꾸지 않으므로 판별 성능을 바꾸지 않는 사후 보정으로 설명됩니다. 이 논문은 이런 구조 설정을 바탕으로 자연 영상과 의료 영상 실험을 비교합니다.
자연 영상 실험: CIFAR10-Ori와 CIFAR10-LT
자연 영상 실험은 ResNet-32 백본을 사용해 균형 잡힌 CIFAR10-Ori와 불균형 계수 IF 0.01의 장꼬리 데이터 CIFAR10-LT에서 수행됩니다. 평가 지표는 ECE와 ACC이며 ECE 계산의 빈 수는 15개로 설정됩니다.

Figure 1 : The reliability diagrams on the same test set from balanced and imbalanced training (more details can be found in experiments section) on CIFAR10. Both the performances of class discrimination reflected by accuracy (ACC, larger is better), and confidence calibration reflected by expected calibration error (ECE, smaller is better) are worse under the imbalanced training.
원문 · CC BY 4.0 · Riqiang Gao, Thomas Li, Yucheng Tang, Zhoubing Xu, Michael Kammer, Sanja L. Antic, Kim Sandler, Fabien Moldonado, Thomas A. Lasko, Bennett Landman · A Comparative Study of Confidence Calibration in Deep Learning: From Computer Vision to Medical Imaging · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.CIFAR10-Ori에서 CEL의 ECE는 3.60%였고 mixup을 적용하면 2.86%로 낮아집니다. Focal loss는 ACC를 약간 낮추면서 ECE를 1.22%로 낮춥니다. 하지만 mixup과 Focal loss를 함께 적용하면 보정 성능이 나빠지며, 저자들은 이를 과소 신뢰 예측이 생긴 결과로 해석합니다. CIFAR10-LT에서는 mixup이 ECE를 크게 낮추고 LAS가 판별과 보정을 함께 개선하는 경우가 보고됩니다. 다만 LAS 결과는 CEL+mixup 설정에서는 예외입니다.
폐암 진단 실험과 적용 범위
의료 영상 실험은 CT 결절 제안 다섯 개를 입력하고 attention 기반 multi-instance learning으로 하나의 영상 특징을 만든 뒤 폐암을 예측합니다. 데이터는 NLST의 조직 진단 대상과 UPMC, UCD 외부 검증 코호트입니다. 이 실험에서는 Focal loss를 1단계로 두고 TS와 LAS를 2단계로 적용한 여섯 조합을 비교합니다. Mixup은 단일 영상 분류를 위해 설계되었으므로 다중 인스턴스 학습 문제인 이 실험에서는 평가하지 않았습니다.

Figure 6 :The framework for lung cancer diagnosis with CT image. The steps 1-4 are labeled in the figure: (1) image preprocessing: extracted lung regions and remove the unwanted tissue background. The raw CT and preprocessed image are 3D data. (2) nodule detection: locate nodule proposals with a pre-trained deep learning model. Validated by Liao model, proposals with top five regions are sufficient to detect cover possible nodules. (3) Feature extraction: extract high-level representations given the top five proposals in ResNet-18. (4) Feature combination and prediction: integrate features from nodule proposals with a multi-instance learning module as a single image feature and then get a cancer prediction.
원문 · CC BY 4.0 · Riqiang Gao, Thomas Li, Yucheng Tang, Zhoubing Xu, Michael Kammer, Sanja L. Antic, Kim Sandler, Fabien Moldonado, Thomas A. Lasko, Bennett Landman · A Comparative Study of Confidence Calibration in Deep Learning: From Computer Vision to Medical Imaging · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.NLST 내부 검증에서 Focal loss는 ACC를 CEL의 90.71%보다 높은 91.53%로 만들었습니다. Temperature scaling은 여러 손실 설정에서 보정 성능을 개선했습니다. 반면 LAS는 대부분의 설정에서 보정 성능을 개선하지 못했고, 의료 영상 실험에서는 자연 영상의 LAS 결과와 다른 방향을 보였습니다. 이 결과는 본 논문의 특정 CT 파이프라인과 세 데이터셋에 한정됩니다.
해석의 범위와 한계
저자들은 자연 영상에서 효과적이던 LAS가 의료 영상에서 약해진 이유를 세 가지로 설명합니다. 첫째, 폐암 진단은 CT 영상 단위 라벨을 쓰는 다중 인스턴스 학습 구조이므로 결절 단위 라벨보다 어렵습니다. 둘째, 악성과 양성 결절은 방사선 전문의도 구별하기 어려울 수 있습니다. 셋째, CIFAR10 실험에 비해 의료 학습 샘플 수가 적습니다. 이 세 가지는 저자들의 해석이며 이 논문이 각 요인을 독립적으로 분리해 증명한 것은 아닙니다.
또한 폐암 실험은 세 데이터셋과 특정 ResNet-18 파이프라인에 기반하며, 자연 영상의 결과를 모든 의료 영상으로 확장하지 않습니다. 평가 실험은 mixup을 제외하고 Focal loss 중심의 조합으로 제한되어 있습니다.
논문 정보
- 저자
- Riqiang Gao, Thomas Li, Yucheng Tang, Zhoubing Xu, Michael Kammer, Sanja L. Antic, Kim Sandler, Fabien Moldonado, Thomas A. Lasko, Bennett Landman
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2022년 6월 17일
- 등록일
- 2026년 11월 5일
- 수정일
- 2022년 6월 17일
- 버전
- v1
- arXiv
- 2206.08833
- 분류
- cs.CV
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Although deep learning prediction models have been successful in the discrimination of different classes, they can often suffer from poor calibration across challenging domains including healthcare. Moreover, the long-tail distribution poses great challenges in deep learning classification problems including clinical disease prediction. There are approaches proposed recently to calibrate deep prediction in computer vision, but there are no studies found to demonstrate how the representative models work in different challenging contexts. In this paper, we bridge the confidence calibration from computer vision to medical imaging with a comparative study of four high-impact calibration models. Our studies are conducted in different contexts (natural image classification and lung cancer risk estimation) including in balanced vs. imbalanced training sets and in computer vision vs. medical imaging. Our results support key findings: (1) We achieve new conclusions which are not studied under different learning contexts, e.g., combining two calibration models that both mitigate the overconfident prediction can lead to under-confident prediction, and simpler calibration models from the computer vision domain tend to be more generalizable to medical imaging. (2) We highlight the gap between general computer vision tasks and medical imaging prediction, e.g., calibration methods ideal for general computer vision tasks may in fact damage the calibration of medical imaging prediction. (3) We also reinforce previous conclusions in natural image classification settings. We believe that this study has merits to guide readers to choose calibration models and understand gaps between general computer vision and medical imaging domains.
원문 인용
Riqiang Gao, Thomas Li, Yucheng Tang, Zhoubing Xu, Michael Kammer, Sanja L. Antic, Kim Sandler, Fabien Moldonado, Thomas A. Lasko, Bennett Landman (2022). A Comparative Study of Confidence Calibration in Deep Learning: From Computer Vision to Medical Imaging. arXiv:2206.08833v1. https://arxiv.org/abs/2206.08833v1
BibTeX
@misc{gao2022comparative,
title = {{A Comparative Study of Confidence Calibration in Deep Learning: From Computer Vision to Medical Imaging}},
author = {Riqiang Gao and Thomas Li and Yucheng Tang and Zhoubing Xu and Michael Kammer and Sanja L. Antic and Kim Sandler and Fabien Moldonado and Thomas A. Lasko and Bennett Landman},
year = {2022},
eprint = {2206.08833},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2206.08833v1}
}