School of Mechanical and Electrical Engineering, University of Electronic Science and Technology of China, Chengdu, China; Shanghai Artificial Intelligence Laboratory, Shanghai, China.
School of Mechanical and Electrical Engineering, University of Electronic Science and Technology of China, Chengdu, China; Shanghai Artificial Intelligence Laboratory, Shanghai, China.
Comput Methods Programs Biomed. 2023 Apr;231:107398. doi: 10.1016/j.cmpb.2023.107398. Epub 2023 Feb 7.
Open-source deep learning toolkits are one of the driving forces for developing medical image segmentation models that are essential for computer-assisted diagnosis and treatment procedures. Existing toolkits mainly focus on fully supervised segmentation that assumes full and accurate pixel-level annotations are available. Such annotations are time-consuming and difficult to acquire for segmentation tasks, which makes learning from imperfect labels highly desired for reducing the annotation cost. We aim to develop a new deep learning toolkit to support annotation-efficient learning for medical image segmentation, which can accelerate and simplify the development of deep learning models with limited annotation budget, e.g., learning from partial, sparse or noisy annotations.
Our proposed toolkit named PyMIC is a modular deep learning library for medical image segmentation tasks. In addition to basic components that support development of high-performance models for fully supervised segmentation, it contains several advanced components that are tailored for learning from imperfect annotations, such as loading annotated and unannounced images, loss functions for unannotated, partially or inaccurately annotated images, and training procedures for co-learning between multiple networks, etc. PyMIC is built on the PyTorch framework and supports development of semi-supervised, weakly supervised and noise-robust learning methods for medical image segmentation.
We present several illustrative medical image segmentation tasks based on PyMIC: (1) Achieving competitive performance on fully supervised learning; (2) Semi-supervised cardiac structure segmentation with only 10% training images annotated; (3) Weakly supervised segmentation using scribble annotations; and (4) Learning from noisy labels for chest radiograph segmentation.
The PyMIC toolkit is easy to use and facilitates efficient development of medical image segmentation models with imperfect annotations. It is modular and flexible, which enables researchers to develop high-performance models with low annotation cost. The source code is available at:https://github.com/HiLab-git/PyMIC.
开源深度学习工具包是开发医学图像分割模型的主要动力之一,这些模型对计算机辅助诊断和治疗过程至关重要。现有的工具包主要侧重于完全监督的分割,假设可以获得完整和准确的像素级注释。这种注释既耗时又难以获取,因此,从不完美的标签中学习对于降低注释成本非常重要。我们旨在开发一种新的深度学习工具包,以支持医学图像分割的高效学习,从而可以加速和简化具有有限注释预算的深度学习模型的开发,例如,从部分、稀疏或嘈杂的注释中学习。
我们提出的名为 PyMIC 的工具包是一个用于医学图像分割任务的模块化深度学习库。除了支持开发高性能完全监督分割模型的基本组件外,它还包含几个专门用于从不完美注释中学习的高级组件,例如加载带注释和未带注释的图像、用于未注释、部分注释或不准确注释图像的损失函数以及用于多个网络之间共同学习的训练过程等。PyMIC 建立在 PyTorch 框架之上,支持开发用于医学图像分割的半监督、弱监督和抗噪学习方法。
我们基于 PyMIC 提出了几个医学图像分割任务:(1)在完全监督学习中达到有竞争力的性能;(2)仅使用 10%带注释的训练图像进行半监督心脏结构分割;(3)使用草图注释进行弱监督分割;以及(4)从胸片分割的嘈杂标签中学习。
PyMIC 工具包易于使用,可促进开发具有不完美注释的医学图像分割模型,并且高效。它具有模块化和灵活性,使研究人员能够以低注释成本开发高性能模型。源代码可在:https://github.com/HiLab-git/PyMIC 获得。