Skip to main content
QUICK REVIEW

[논문 리뷰] Low-resource finetuning of foundation models beats state-of-the-art in histopathology

Benedikt Roth, Valentin Koch|arXiv (Cornell University)|2024. 01. 09.
AI in cancer detectionComputer Science인용 수 3
한 줄 요약

이 논문은 단일 GPU를 사용해 2~3일 동안 히스토파스ولوج기 데이터에 대해 시각 기초 모델인 DINOv2 ViT-S를 피지테이닝함으로써 슬라이드 수준 및 패치 수준 분류 작업에서 CTransPath 및 RetCCL과 같은 최신 도메인 특화 특징 추출기보다 뛰어난 성능을 달성함을 보여준다. 이 방법은 이전 모델이 요구하는 훈련 계산 자원의 0.6%만으로도 뛰어난 성능을 달성하여 자원이 제한된 환경에서도 고성능 특징 추출이 가능하게 한다.

ABSTRACT

To handle the large scale of whole slide images in computational pathology, most approaches first tessellate the images into smaller patches, extract features from these patches, and finally aggregate the feature vectors with weakly-supervised learning. The performance of this workflow strongly depends on the quality of the extracted features. Recently, foundation models in computer vision showed that leveraging huge amounts of data through supervised or self-supervised learning improves feature quality and generalizability for a variety of tasks. In this study, we benchmark the most popular vision foundation models as feature extractors for histopathology data. We evaluate the models in two settings: slide-level classification and patch-level classification. We show that foundation models are a strong baseline. Our experiments demonstrate that by finetuning a foundation model on a single GPU for only two hours or three days depending on the dataset, we can match or outperform state-of-the-art feature extractors for computational pathology. These findings imply that even with little resources one can finetune a feature extractor tailored towards a specific downstream task and dataset. This is a considerable shift from the current state, where only few institutions with large amounts of resources and datasets are able to train a feature extractor. We publish all code used for training and evaluation as well as the finetuned models.

연구 동기 및 목표

  • 공개된 시각 기초 모델이 막대한 도메인 특화 사전 훈련 없이도 히스토파스ولوج기에서 강력한 특징 추출기로 기능할 수 있는지 평가하는 것.
  • 단일 GPU에서 몇 일간 피지테이닝한 기초 모델이 계산 병렬 처리 분야의 최신 기술 모델을 초월할 수 있는지 조사하는 것.
  • 저자원 피지테이닝이 수백 개 GPU 시간 이상 훈련된 대규모 계산 자원을 요구하는 모델들과 비교해도 성능이 유사하거나 뛰어나게 달성할 수 있음을 보여주는 것.
  • 계산 자원이 제한된 기관이 자원 집약적인 도메인 특화 모델 훈련을 대체할 수 있는 실용적이고 접근 가능한 대안을 제공하는 것.

제안 방법

  • 패치 수준 및 슬라이드 수준 분류 작업을 통해 히스토파스ولوج기 데이터셋에서 DINOv2, ImageBind, SAM, BEiT의 네 가지 시각 기초 모델을 벤치마크했다.
  • TCGA에서 확보한 250만 개의 전체 슬라이드 패치를 사용해 단일 A100 GPU를 사용해 DINOv2 ViT-S 및 ViT-g를 2~3일 동안 피지테이닝했다.
  • 약한 지도 학습을 통해 패치 특징을 통합하여 전체 슬라이드 표현을 도출하고 분류에 활용했다.
  • 도메인 내 테스트 세트(TCGA, NCT-CRC) 및 외부 검증 세트(CPTAC, CRC-VAL-HE-7K)에서 성능을 평가하여 일반화 능력을 확보했다.
  • CTransPath 및 RetCCL과 같은 최신 기술 모델과의 비교를 통해 훈련 시간과 자원 소비가 상당히 많은 이들 모델과의 성능를 분석했다.
  • 여러 데이터셋 및 모델 변종에서 AUC 및 AUPRC 지표를 사용해 모델 성능을 보고했다.
Fig. 1 : We propose finetuning a DINOv2 ViT-S, which yields at least equal performance compared to CTransPath and RetCCL but in a fraction of domain specific training time. Performance is measured on three datasets: TCGA & CPTAC (WSI-level classification) and NCT-CRC (patch-level classification).
Fig. 1 : We propose finetuning a DINOv2 ViT-S, which yields at least equal performance compared to CTransPath and RetCCL but in a fraction of domain specific training time. Performance is measured on three datasets: TCGA & CPTAC (WSI-level classification) and NCT-CRC (patch-level classification).

실험 결과

연구 질문

  • RQ1저자원 피지테이닝을 통해 시각 기초 모델이 히스토파스ولوج기에서 최신 기술의 도메인 특화 특징 추출기보다 뛰어난 성능을 낼 수 있는가?
  • RQ2단일 GPU에서 몇 일간 피지테이닝한 DINOv2가 CTransPath 및 RetCCL보다 성능에서 어떻게 뛰어나게 되는가?
  • RQ3히스토파스ولوج기 데이터에 대해 기초 모델을 피지테이닝하면, 모델을 그대로 사용할 때보다 특징 품질이 상당히 향상되는가?
  • RQ4저자원 피지테이닝에 최적의 모델 아키텍처와 훈련 기간은 무엇인가?
  • RQ5단일 GPU에서 피지테이닝한 기초 모델이 수백 개 GPU 시간 이상 훈련된 모델과 비교해 유사하거나 뛰어난 성능을 낼 수 있는가?

주요 결과

  • 단일 A100 GPU에서 단지 두 시간 동안 DINOv2 ViT-S를 피지테이닝한 결과, TCGA에서 슬라이드 수준 분류에서 AUC 0.73를 기록했으며, CTransPath(0.72)와 RetCCL(0.71)를 모두 초월했다.
  • 동일한 피지테이닝된 DINOv2 ViT-S는 CPTAC에서 AUC 0.72를 기록해 CTransPath와 동일한 성능를 보였고, RetCCL보다 0.01 높았다.
  • NCT-CRC에서 패치 수준 분류 작업을 수행한 결과, 피지테이닝된 DINOv2 ViT-S는 AUC 0.85를 기록했으며, CTransPath(0.86)에 거의 근접했고, RetCCL(0.84)를 뛰어넘었다. 이는 훈련 계산 자원의 0.08%만으로 달성한 성과였다.
  • DINOv2의 ViT-S 버전이 두 작업 모두에서 더 큰 ViT-g 버전보다 뛰어난 성능를 보였으며, 이는 작은 모델이 작업 특화 데이터에 대해 피지테이닝 시 더 잘 일반화될 수 있음을 시사한다.
  • ImageBind와 잘라낸 ResNet50도 뛰어난 성능를 보였지만, 더 많은 파라미터(예: ImageBind: 630M, DINOv2 ViT-S: 21M)를 가졌음에도 불구하고 피지테이닝된 DINOv2에 미치지 못했다.
  • ViT-S의 최적 성능는 약 30,000~40,000 반복, ViT-g는 약 60,000 반복에서 도달했으며, 이는 더 작은 모델이 더 빠르게 수렴함을 시사한다.
Fig. 2 : Performance over time of finetuning a ViT-s with DINOv2: a) on NCT-CRC and evaluating on the external NCT-CRC testset on patch-level classification and b) on TCGA and testing on TCGA (5-fold cross-validation) and CPTAC (external testset) on WSI-level classification.
Fig. 2 : Performance over time of finetuning a ViT-s with DINOv2: a) on NCT-CRC and evaluating on the external NCT-CRC testset on patch-level classification and b) on TCGA and testing on TCGA (5-fold cross-validation) and CPTAC (external testset) on WSI-level classification.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.