Speed-Accuracy-Memory Cooperative Optimization of Lightweight Dynamic 3D U-Net for Efficient Medical Image Segmentation
Abstract
Currently, medical image segmentation technology faces severe real-time bottlenecks in clinical applications such as intraoperative navigation. The widely used 3D U-Net is difficult to deploy effectively in demanding real-time edge computing scenarios, and a single-dimensional optimization strategy makes it difficult to simultaneously achieve the synergistic breakthroughs of 9% inference acceleration and 3% accuracy improvement required for clinical practice. To this end, this study proposes a lightweight dynamic 3D U-Net that achieves collaborative optimization through dynamic weights and deformable convolutions. The method involves introducing deformable convolutions to enhance boundary segmentation capability, designing a dynamic weight mechanism to reduce computational redundancy by 30%, and combining group convolution with dynamic sparse computation to limit memory increment to within 0.1%. Experiments show that the model achieves a 0.7744 Mean Intersection over Union on liver Computed Tomography data, reduces inference time to 48.4 seconds, and increases memory usage by only 0.6 MByte Accelerated by NVIDIA TensorRT, the system can further meet intraoperative real-time requirements. This study overcomes the limitations of traditional isolated optimization and provides an end-to-end, open-source solution for devices with Gigabytes of memory, effectively promoting the clinical translation of lightweight medical image segmentation.
References
- Perslev, M., Dam, E. B., Pai, A., & Igel, C. (2019, October). One network to segment them all: A general, lightweight system for accurate 3d medical image segmentation. In International conference on medical image computing and computer-assisted intervention (pp. 30-38). Cham: Springer International Publishing.
- Li, Y., Hu, M., & Yang, X. MGDC-UNet: Multi-group Deformable Convolution for Medical Image Segmentation.
- Wang, L., Huang, J., Xing, X., & Yang, G. (2023). Swin deformable attention hybrid U-Net for medical image segmentation. arXiv preprint arXiv: 2302.14450.
- Azad, R., Niggemeier, L., Hüttemann, M., Kazerouni, A., Aghdam, E. K., Velichko, Y., ... & Merhof, D. (2024). Beyond self-attention: Deformable large kernel attention for medical image segmentation. In Proceedings of the IEEE/CVF winter conference on applications of computer vision (pp. 1287-1297).
- Ou, Y., Chen, Y., Zhang, Y., Yang, S., Zhang, X., Zhou, Y., ... & Peng, L. (2025). Enhanced medical image segmentation via deep dynamic self-adjusting U-Net with multi-scale attention and semantic mitigation. The Visual Computer, 1-17.
- Zhao, Y., Li, J., & Liu, Y. (2024). Dynamic weight HiLo attention network for medical image multiple organ segmentation. International Journal of Imaging Systems and Technology, 34(1), e22966.
- Dar, M. F., & Ganivada, A. (2025, July). Dynamic Weight-Adjusted Ensemble Loss for Enhanced Medical Image. In Proceedings of Fourth International Conference on Computing and Communication Networks: ICCCN 2024, Volume 4 (Vol. 1292, p. 1). Springer Nature.
- Wang, Y., Wang, H., & Zhang, F. (2025). A Medical image segmentation model with auto-dynamic convolution and location attention mechanism. Computer Methods and Programs in Biomedicine, 261, 108593.
- Wang, X., Yu, J., Zhang, B., Huang, X., Shen, X., & Xia, M. (2025). LightAWNet: Lightweight adaptive weighting network based on dynamic convolutions for medical image segmentation. Journal of Applied Clinical Medical Physics, 26(2), e14584.
- Lu, Z., She, C., Wang, W., & Huang, Q. (2024). LM-Net: A light-weight and multi-scale network for medical image segmentation. Computers in Biology and Medicine, 168, 107717.
- Zhao, H., Yang, T., Xu, M., & Fu, Y. (2024, December). Deformable Transformer for 3D Medical Image Segmentation. In International Conference on Brain Inspired Cognitive Systems (pp. 126-135). Singapore: Springer Nature Singapore.
- Lee, H. H., Liu, Q., Yang, Q., Yu, X., Bao, S., Huo, Y., & Landman, B. A. (2023). Deformux-net: Exploring a 3d foundation backbone for medical image segmentation with depthwise deformable convolution. arXiv preprint arXiv: 2310.00199.
- Zhao, F., Wu, Z., Wang, L., Lin, W., Gilmore, J. H., Xia, S., ... & Li, G. (2021). Spherical deformable u-net: Application to cortical surface parcellation and development prediction. IEEE transactions on medical imaging, 40(4), 1217-1228.
- Zhao, C., Shuai, R., Ma, L., Liu, W., & Wu, M. (2021). Segmentation of dermoscopy images based on deformable 3D convolution and ResU-NeXt++. Medical & biological engineering & computing, 59(9), 1815-1832.
- Zhang, J., Chen, X., Yang, B., Guan, Q., Chen, Q., Chen, J., ... & Xia, Y. (2025). Advances in attention mechanisms for medical image segmentation. Computer Science Review, 56, 100721.