CiUNet: A Hybrid Swin-CNN UNet for Medical Image Segmentation
Organizations: Ciphowork GmbH
Abstract
Medical image segmentation requires high accuracy and robustness, yet practical commercial deployment also demands privacy preservation and computational efficiency. In this context, the U-Net architecture, which can be inherently decoupled into independent encoder and decoder components, serves as a natural commercial choice. However, pure Transformer-based variants like Swin-UNet often suffer from insufficient local detail capture and limited interpretability. In this paper, we propose a lightweight hybrid architecture built upon the Swin-UNet framework. Our model integrates a parallel CNN encoder to complement the shallow layer reasoning of Swin Transformers with local texture features. To bridge the semantic gap and enhance fine-grained spatial detail recovery, we design an asymmetric feature fusion strategy and introduce cross-layer skip (XSkip) connections that explicitly propagate shallow CNN features into the decoder. We further incorporate novel loss functions and an auxiliary supervision head (Aux-Head) to strengthen training stability, boundary delineation, and intermediate feature interpretability. Extensive experiments on the Synapse multi-organ segmentation dataset demonstrate that our approach achieves state-of-the-art competitive Dice scores and Hausdorff distances, offering an accurate, efficient, and interpretable solution for clinical deployment.
Figures & tables
| Methods | DSC | HD95 | Aor. | Gal. | Kid.L | Kid.R | Liv. | Pan. | Spl. | Sto. |
|---|---|---|---|---|---|---|---|---|---|---|
| U-Net | 76.85 | 39.70 | 89.07 | 69.72 | 77.77 | 68.60 | 93.43 | 53.98 | 86.67 | 75.58 |
| nnUNet | 86.44 | 10.91 | 91.78 | 69.77 | 86.92 | 86.21 | 96.49 | 83.23 | 91.16 | 85.92 |
| TransUNet | 77.48 | 31.69 | 87.23 | 63.13 | 81.87 | 77.02 | 94.08 | 55.86 | 85.08 | 75.62 |
| Swin-Unet | 79.13 | 21.55 | 85.47 | 66.53 | 83.28 | 79.61 | 94.29 | 56.58 | 90.66 | 76.60 |
| Swin-UNETR | 83.48 | 10.55 | 91.12 | 66.54 | 86.99 | 86.26 | 95.72 | 68.80 | 95.37 | 77.01 |
| nnFormer | 86.57 | 10.63 | 92.04 | 70.17 | 86.57 | 86.25 | 96.84 | 83.35 | 90.51 | 86.83 |
| Params | Epoch | DSC | HD95 | Aor. | Gal. | Kid.L | Kid.R | Liv. | Pan. | Spl. | Sto. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Swin-Unet Baseline | 27.17M | 150 | 79.13 | 21.55 | 85.47 | 66.53 | 83.28 | 79.61 | 94.29 | 56.58 | 90.66 | 76.60 |
| + Framework Upgrades | 30.22M | 150 | 81.40 | 15.43 | 86.15 | 75.40 | 87.79 | 87.03 | 93.53 | 54.47 | 91.66 | 75.20 |
| 280 | 81.47 | 14.68 | 86.53 | 76.43 | 87.85 | 86.68 | 93.68 | 55.05 | 91.25 | 74.31 | ||
| + XSkip | 31.68M | 161 | 83.18 | 15.59 | 88.00 | 77.40 | 88.88 | 89.49 | 93.56 | 61.63 | 90.94 | 75.53 |
| 273 | 83.54 | 11.26 | 88.44 | 73.61 | 89.71 | 91.11 | 93.77 | 62.15 | 92.01 | 77.50 | ||
| + Aux | 31.68M | 148 | 83.29 | 13.21 | 87.58 | 77.68 | 90.42 | 90.86 | 93.20 | 62.59 | 88.75 | 75.26 |