Yucca: A Deep Learning Framework For Medical Image Analysis
Sebastian Nørgaard Llambias, Julia Machnio, Asbjørn Munk, Jakob Ambsdorf, Mads Nielsen, Mostafa Mehdipour Ghazi
TL;DR
Yucca targets the gap between highly automated end-to-end medical-imaging frameworks and flexible, modular platforms. Built on PyTorch and PyTorch Lightning, it implements a three-tier architecture consisting of Functional, Modules, and Pipeline to support stateless building blocks, OO-wrapped components, and end-to-end workflows, respectively. The pipeline covers task conversion, preprocessing with planners, training via a Manager and LightningModule, and inference/evaluation with consistent post-processing and comprehensive metrics, achieving state-of-the-art results on diverse tasks such as cerebral microbleeds, white matter hyperintensity, hippocampus, and brain lesions. The framework aims to reduce engineering overhead, improve reproducibility, and invite community contributions, offering both novice-friendly out-of-the-box performance and advanced customization for researchers.
Abstract
Medical image analysis using deep learning frameworks has advanced healthcare by automating complex tasks, but many existing frameworks lack flexibility, modularity, and user-friendliness. To address these challenges, we introduce Yucca, an open-source AI framework available at https://github.com/Sllambias/yucca, designed specifically for medical imaging applications and built on PyTorch and PyTorch Lightning. Yucca features a three-tiered architecture: Functional, Modules, and Pipeline, providing a comprehensive and customizable solution. Evaluated across diverse tasks such as cerebral microbleeds detection, white matter hyperintensity segmentation, and hippocampus segmentation, Yucca achieves state-of-the-art results, demonstrating its robustness and versatility. Yucca offers a powerful, flexible, and user-friendly platform for medical image analysis, inviting community contributions to advance its capabilities and impact.
