[论文解读] A comparative study between vision transformers and CNNs in digital pathology
简要结论:Vision transformers(DeiT-Tiny 与 DINO)在数字病理中的肿瘤检测和组织类型识别方面与 ResNet18 相当,滑片级别预测相似但训练成本较高;DINO 相较 PathNet 具有更广泛的迁移性。
Recently, vision transformers were shown to be capable of outperforming convolutional neural networks when pretrained on sufficient amounts of data. In comparison to convolutional neural networks, vision transformers have a weaker inductive bias and therefore allow a more flexible feature detection. Due to their promising feature detection, this work explores vision transformers for tumor detection in digital pathology whole slide images in four tissue types, and for tissue type identification. We compared the patch-wise classification performance of the vision transformer DeiT-Tiny to the state-of-the-art convolutional neural network ResNet18. Due to the sparse availability of annotated whole slide images, we further compared both models pretrained on large amounts of unlabeled whole-slide images using state-of-the-art self-supervised approaches. The results show that the vision transformer performed slightly better than the ResNet18 for three of four tissue types for tumor detection while the ResNet18 performed slightly better for the remaining tasks. The aggregated predictions of both models on slide level were correlated, indicating that the models captured similar imaging features. All together, the vision transformer models performed on par with the ResNet18 while requiring more effort to train. In order to surpass the performance of convolutional neural networks, vision transformers might require more challenging tasks to benefit from their weak inductive bias.
研究动机与目标
- 评估 Vision Transformer 在四种组织类型的 WSI 肿瘤检测以及组织类型识别中的表现。
- 将全监督 ViT 和自 supervision ViT(DINO)与 ResNet18 及 PathNet 基线进行比较。
- 分析滑片级预测的相关性与注意力图的定性差异。
- 评估 ViT 的训练效率与在数字病理中的实际应用因素。
提出的方法
- 以在 ImageNet 上预训练的 DeiT-Tiny(ViT)作为全监督基线。
- 以在以 TCGA 为基础数据(TCGA 100)预训练的 DeiT-Tiny 主干的 DINO 自监督 ViT。
- 与在 ImageNet 上预训练的 ResNet18 和 PathNet(自监督 BYOL 预训练)进行比较。
- 用 PR AUC1 来评估补丁级肿瘤检测,用宏观 PR AUC 来评估组织类型识别。
- 在 ViT 上使用 SAM 进行训练以提高泛化能力;采用平衡采样和 Albumentations 增强。
- 计算滑片级预测以及模型之间的皮尔逊相关性;为定位生成 Grad-CAM 热力图。
实验结果
研究问题
- RQ1ViTs 是否能够在跨多种组织类型的补丁级肿瘤检测中匹配或超过CNN?
- RQ2自监督 ViTs(DINO)是否在数字病理任务中相较 PathNet 或有监督 ViT 提供优势?
- RQ3ViTs 与 CNN 的滑片级预测相关性有多高,这对所学特征意味着什么?
- RQ4在该领域使用 ViTs 相较于 CNN 的实际训练时间和资源需求如何?
- RQ5ViTs 是否在需要更广泛上下文或更具挑战性的下游任务的数字病理中更有效?
主要发现
- ResNet18 与 ViTs(DeiT-Tiny 与 DINO)在多个数据集上的 PR AUC 与准确率非常相近。
- ViTs 在五个组织类型/数据集中的三项任务(SLN、LUAD、乳腺癌)上优于 ResNet18,在 DLBCL 上略落后。
- DINO 通常比 PathNet 提供更高的性能,表明来自多样化预训练的迁移性更广。
- 滑片级预测在 ResNet18 与 ViTs 之间相关,表明两者捕获的成像特征相似。
- ViT 的训练较慢(基于 SAM),因此比 CNN 的训练更耗计算资源,但吞吐量相当。
- Grad-CAM 热力图显示 ViTs 在某些样本中比 CNN 更关注局部区域。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。