[论文解读] UNetFormer: A Unified Vision Transformer Model and Pre-Training Framework for 3D Medical Image Segmentation
UNetFormer 引入了一个 3D Swin Transformer 编码器,与 CNN/Transformer 解码器以及自监督预训练方案相结合,在 MSD 肝脏/肝肿瘤和 BraTS 大脑肿瘤任务上实现了最先进的分割。
Vision Transformers (ViT)s have recently become popular due to their outstanding modeling capabilities, in particular for capturing long-range information, and scalability to dataset and model sizes which has led to state-of-the-art performance in various computer vision and medical image analysis tasks. In this work, we introduce a unified framework consisting of two architectures, dubbed UNetFormer, with a 3D Swin Transformer-based encoder and Convolutional Neural Network (CNN) and transformer-based decoders. In the proposed model, the encoder is linked to the decoder via skip connections at five different resolutions with deep supervision. The design of proposed architecture allows for meeting a wide range of trade-off requirements between accuracy and computational cost. In addition, we present a methodology for self-supervised pre-training of the encoder backbone via learning to predict randomly masked volumetric tokens using contextual information of visible tokens. We pre-train our framework on a cohort of $5050$ CT images, gathered from publicly available CT datasets, and present a systematic investigation of various components such as masking ratio and patch size that affect the representation learning capability and performance of downstream tasks. We validate the effectiveness of our pre-training approach by fine-tuning and testing our model on liver and liver tumor segmentation task using the Medical Segmentation Decathlon (MSD) dataset and achieve state-of-the-art performance in terms of various segmentation metrics. To demonstrate its generalizability, we train and test the model on BraTS 21 dataset for brain tumor segmentation using MRI images and outperform other methods in terms of Dice score. Code: https://github.com/Project-MONAI/research-contributions
研究动机与目标
- 通过利用 Vision Transformers 捕捉远程依赖性来推动改进的 3D 医学图像分割。
- 提出带有 3D Swin Transformer 编码器并连接到 CNN 或 transformer 解码器的 UNetFormer 和 UNetFormer+ 架构。
- 引入使用遮蔽体积令牌重构的自监督预训练方案,以提升下游表现。
- 在肝脏/肝肿瘤分割(MSD)与脑肿瘤分割(BraTS 21)上评估框架,展示最先进的结果。
- 分析预训练的组成部分(遮蔽比、patch 大小)与解码器设计(CNN 与 transformer)对准确性/成本的权衡。
提出的方法
- 使用 3D Swin Transformer 编码器从 3D 体积输入中提取多尺度特征。
- 将编码器通过五个分辨率的跳跃连接连接到基于 CNN 的解码器(UNetFormer)或基于 Swin Transformer 的解码器(UNetFormer+),并进行深层监督。
- 采用多分辨率分割输出的深层监督,以及一个联合交叉熵/软 Dice 损失。
- 实现一个自监督预训练方案,在轻量级解码器下通过可见上下文重构随机遮蔽的 3D 令牌,并对遮蔽令牌使用 L1 损失。
- 在 5050 CT 图像上进行训练和预训练,并在 MSD liver/liver tumor 与 BraTS 21 MRI brain tumor 数据集上微调,以体现迁移性。
实验结果
研究问题
- RQ1统一的 3D Swin Transformer 编码器连接到 CNN/Transformer 解码器是否能够在 3D 医学图像中提升分割准确性,相较于基于 CNN 或 ViT 的基线?
- RQ2通过遮蔽体积令牌重构对编码器进行自监督预训练,是否能提升下游分割性能?
- RQ3遮蔽比和 patch 大小对自监督学习及后续分割性能的影响是什么?
- RQ4在肝脏和脑肿瘤分割任务中,CNN 基于解码器与 transformer 基于解码器的在准确性和计算效率方面有何差异?
主要发现
- 预训练的 UNetFormer 模型在 MSD 肝脏和肝肿瘤分割任务上优于未预训练的基线。
- 预训练为肝脏与肝肿瘤任务上的模型提供了一致的增益,相较于随机初始化的模型。
- 在大多数肝脏与脑肿瘤任务上,UNetFormer 通常优于 UNetFormer+,而 UNetFormer+ 在大器官/肿瘤病例上表现出色。
- 这些模型在准确性-成本权衡方面具有优势,UNetFormer+ 在保留竞争性 Dice 分数的同时实现更低的 GFLOPs。
- 在 BraTS 21 上,UNetFormer 与 UNetFormer+ 在所有肿瘤区域的 Dice 分数均超越了若干 CNN/Swin/ViT 基线。
- 消融研究表明中等遮蔽(约 40%)和 16^3 的 patch 大小对下游 Dice 表现有利。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。