[论文解读] Transformer-Unet: Raw Image Processing with Unet
本文提出 TUnet,一种将 Transformer 模块作为输入,经过 Unet 风格解码器处理原始图像的网络,在 CT82 胰腺数据上相较于 Unet、Attention Unet 和 TransUnet 实现了更好的分割。
Medical image segmentation have drawn massive attention as it is important in biomedical image analysis. Good segmentation results can assist doctors with their judgement and further improve patients' experience. Among many available pipelines in medical image analysis, Unet is one of the most popular neural networks as it keeps raw features by adding concatenation between encoder and decoder, which makes it still widely used in industrial field. In the mean time, as a popular model which dominates natural language process tasks, transformer is now introduced to computer vision tasks and have seen promising results in object detection, image classification and semantic segmentation tasks. Therefore, the combination of transformer and Unet is supposed to be more efficient than both methods working individually. In this article, we propose Transformer-Unet by adding transformer modules in raw images instead of feature maps in Unet and test our network in CT82 datasets for Pancreas segmentation accordingly. We form an end-to-end network and gain segmentation results better than many previous Unet based algorithms in our experiment. We demonstrate our network and show our experimental results in this paper accordingly.
研究动机与目标
- 通过将 Transformer 组件直接集成到 Unet 框架中,推动更好的医疗图像分割,直接处理原始图像。
- 结合 Transformer 的全局关系建模与 Unet 的局部特征提取,以提升高分辨率 CT 切片的分割准确性。
提出的方法
- 将原始图像表示为小块序列,对这些序列应用类似 ViT 的 Transformer。
- 用 1x1 卷积对小块进行嵌入,添加可学习的位置嵌入,并应用多层自注意力和 MLP,配合 LayerNorm。
- 采用几乎对称的 Unet 编码器-解码器结构,其中 Transformer 输出通过连接多尺度特征输入解码器。
- 将 Transformer 的输出重塑以匹配 Unet 解码器输入以进行拼接,并最终进行双线性上采样至原始分辨率。
- 端到端训练,使用像素级分割的 BCE 损失。
实验结果
研究问题
- RQ1用 Transformer 处理原始 CT 切片是否能带来比基于特征图的 Transformer 方法更好的分割?
- RQ2在原始图像上直接集成 Transformer 并配合 Unet 解码器,是否能在胰腺分割任务上优于 Unet、Attention Unet 和 TransUnet?
- RQ3补丁大小和 Unet 骨干深度如何影响 TUnet 的性能和效率?
主要发现
- TUnet 在 CT82 胰腺分割上达到评估模型中的最高 mIOU 与 Dice 分数:mIOU 0.8301,Dice 0.7966。
- TUnet 超越 Unet(mIOU 0.8113,Dice 0.7689)、Attention Unet(mIOU 0.8172,Dice 0.7777)和 TransUnet(mIOU 0.7882,Dice 0.7330)。
- TUnet 提供强大的分割,像素精度良好(0.9983),召回率也较优(0.7676)。
- TUnet 的模型尺寸和推理时间比 Unet/Attention Unet 略高,但仍然实用(参数约 548.6 MB;推理 ~0.041s)。
- 在 16x16 小块时观察到最优结果;更大的小块会降低性能和效率;更深的 Unet 骨干有利于 Transformer 的集成。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。