ResNet34-Encoded U-Net with Transfer Learning for Breast Cancer Cell Segmentation Under Data Scarcity

Authors

  • Ronal Watrianthos Politeknik Negeri Padang https://orcid.org/0000-0003-3475-7266
  • Yuhefizar Yuhefizar Politeknik Negeri Padang
  • Rayendra Rayendra Politeknik Negeri Padang
  • Ervan Asri Politeknik Negeri Padang

DOI:

https://doi.org/10.29207/resti.v10i3.7661

Keywords:

breast cancer, deep learning, ResNet34, U-Net

Abstract

Histopathological examination of hematoxylin and eosin (H&E)-stained tissue remains the clinical gold standard for breast cancer diagnosis; however, manual cell segmentation is labor-intensive, subjective, and prone to substantial inter-observer variability. Deep learning-based segmentation models have demonstrated considerable promise in computational pathology, yet their performance under conditions of severe data scarcity remains insufficiently characterized. This study proposes and evaluates a ResNet34-encoded U-Net trained via transfer learning as a solution to this challenge, benchmarking it against a vanilla U-Net trained from random initialization as a controlled baseline. The experimental dataset comprises 42 H&E-stained breast cancer whole-slide image patches acquired at Qingdao Central Hospital (2019–2022), partitioned into 34 training and 8 test images. To mitigate the severe class imbalance inherent in the dataset — in which cancerous cell regions constitute only 16.2% of image pixels on average — a weighted Binary Cross-Entropy and Dice composite loss function was employed alongside a differential learning rate strategy to preserve pretrained encoder representations during fine-tuning. Data augmentation was applied to the training set to improve generalization under extreme data constraint. Evaluation was conducted using the Dice Similarity Coefficient (DSC) and Intersection over Union (IoU) as primary metrics. The ResNet34-UNet achieved a DSC of 0.6071 and IoU of 0.4392, outperforming the vanilla U-Net (DSC: 0.5554, IoU: 0.4004) by 9.3% and 9.7% respectively, while converging 37.5% faster. These findings demonstrate that ImageNet-pretrained encoder features transfer effectively to H&E pathology domains even under extreme data constraints, providing a reproducible and computationally efficient baseline pipeline for automated cell segmentation in resource-limited clinical settings.

Downloads

Download data is not yet available.

References

B. Jiang, L. Bao, S. He, X. Chen, Z. Jin, and Y. Ye, “Deep learning applications in breast cancer histopathological imaging: diagnosis, treatment, and prognosis,” Breast Cancer Research, vol. 26, no. 1, p. 137, Sep. 2024, doi: 10.1186/s13058-024-01895-6.

T. Islam, M. E. Hoque, M. Ullah, T. Islam, N. A. Nishu, and R. Islam, “CNN-based deep learning approach for classification of invasive ductal and metastasis types of breast carcinoma,” Cancer Med., vol. 13, no. 16, 2024, doi: 10.1002/cam4.70069.

O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2015. doi: 10.1007/978-3-319-24574-4_28.

A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet classification with deep convolutional neural networks,” Commun. ACM, vol. 60, no. 6, 2017, doi: 10.1145/3065386.

D. R. Sarvamangala and R. V. Kulkarni, “Convolutional neural networks in medical image understanding: a survey,” Evol. Intell., vol. 15, no. 1, pp. 1–22, Mar. 2022, doi: 10.1007/s12065-020-00540-3.

L. Zhou, Q. Li, G. Huo, and Y. Zhou, “Image Classification Using Biomimetic Pattern Recognition with Convolutional Neural Networks Features,” Comput. Intell. Neurosci., vol. 2017, pp. 1–12, 2017, doi: 10.1155/2017/3792805.

N. Tajbakhsh et al., “Convolutional Neural Networks for Medical Image Analysis: Full Training or Fine Tuning?,” IEEE Trans. Med. Imaging, vol. 35, no. 5, 2016, doi: 10.1109/TMI.2016.2535302.

H. Sung et al., “Global Cancer Statistics 2020: GLOBOCAN Estimates of Incidence and Mortality Worldwide for 36 Cancers in 185 Countries,” CA Cancer J. Clin., vol. 71, no. 3, 2021, doi: 10.3322/caac.21660.

R. Watrianthos, R. Rayendra, E. Asri, Y. Yuhefizar, and H. Humaira, “Threshold-Optimized and Calibrated Logistic Regression for Breast Cancer Classification,” Salud, Ciencia y Tecnología, vol. 5, p. 2241, Oct. 2025, doi: 10.56294/saludcyt20252241.

Agus Perdana Windarto, Anjar Wanto, S Solikhun, and Ronal Watrianthos, “A Comprehensive Bibliometric Analysis of Deep Learning Techniques for Breast Cancer Segmentation: Trends and Topic Exploration (2019-2023),” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 7, no. 5, pp. 1155–1164, Oct. 2023, doi: 10.29207/resti.v7i5.5274.

D. Mandair, J. S. Reis-Filho, and A. Ashworth, “Biological insights and novel biomarker discovery through deep learning approaches in breast cancer histopathology,” 2023. doi: 10.1038/s41523-023-00518-1.

C. L. Srinidhi, O. Ciga, and A. L. Martel, “Deep neural network models for computational histopathology: A survey,” Med. Image Anal., vol. 67, 2021, doi: 10.1016/j.media.2020.101813.

Z. Salahuddin, H. C. Woodruff, A. Chatterjee, and P. Lambin, “Transparency of deep neural networks for medical image analysis: A review of interpretability methods,” Comput. Biol. Med., vol. 140, p. 105111, Jan. 2022, doi: 10.1016/j.compbiomed.2021.105111.

R. Wang, T. Lei, R. Cui, B. Zhang, H. Meng, and A. K. Nandi, “Medical image segmentation using deep learning: A survey,” IET Image Process., vol. 16, no. 5, pp. 1243–1267, Apr. 2022, doi: 10.1049/ipr2.12419.

Y. Gao, Y. Jiang, Y. Peng, F. Yuan, X. Zhang, and J. Wang, “Medical Image Segmentation: A Comprehensive Review of Deep Learning-Based Methods,” 2025. doi: 10.3390/tomography11050052.

H. Seo, L. Brand, L. S. Barco, and H. Wang, “Scaling multi-instance support vector machine to breast cancer detection on the BreaKHis dataset,” Bioinformatics, vol. 38, 2022, doi: 10.1093/bioinformatics/btac267.

T. A. Toma et al., “Breast Cancer Detection Based on Simplified Deep Learning Technique With Histopathological Image Using BreaKHis Database,” Radio Sci., vol. 58, no. 11, Nov. 2023, doi: 10.1029/2023RS007761.

Y. Yuan and Y. Cheng, “Medical image segmentation with UNet-based multi-scale context fusion,” Sci. Rep., vol. 14, no. 1, 2024, doi: 10.1038/s41598-024-66585-x.

A. Kanadath, J. Angel Arul Jothi, and S. Urolagin, “Multilevel Multiobjective Particle Swarm Optimization Guided Superpixel Algorithm for Histopathology Image Detection and Segmentation,” J. Imaging, vol. 9, no. 4, 2023, doi: 10.3390/jimaging9040078.

F. Atlan and E. Hançer, “A methodology for nuclei segmentation in H&E images using EfficientNetB7 guided U-Net and multiple data augmentation strategies,” Turkish Journal of Electrical Engineering and Computer Sciences, vol. 33, no. 3, 2025, doi: 10.55730/1300-0632.4132.

S. Graham et al., “Hover-Net: Simultaneous segmentation and classification of nuclei in multi-tissue histology images,” Med. Image Anal., vol. 58, 2019, doi: 10.1016/j.media.2019.101563.

N. Siddique, S. Paheding, C. P. Elkin, and V. Devabhaktuni, “U-Net and Its Variants for Medical Image Segmentation: A Review of Theory and Applications,” IEEE Access, vol. 9, 2021, doi: 10.1109/ACCESS.2021.3086020.

R. Azad et al., “Medical Image Segmentation Review: The Success of U-Net,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 46, no. 12, 2024, doi: 10.1109/TPAMI.2024.3435571.

C. Subaar et al., “Investigating the detection of breast cancer with deep transfer learning using ResNet18 and ResNet34,” Biomed. Phys. Eng. Express, vol. 10, no. 3, 2024, doi: 10.1088/2057-1976/ad3cdf.

J. Chen, H. Hu, and J. Yang, “Plant leaf disease recognition based on improved SinGAN and improved ResNet34,” Front. Artif. Intell., vol. 7, 2024, doi: 10.3389/frai.2024.1414274.

W. R. Drioua, N. Benamrane, and L. Sais, “Breast Cancer Histopathological Images Segmentation Using Deep Learning,” Sensors, vol. 23, no. 17, 2023, doi: 10.3390/s23177318.

S. Khalil et al., “Enhancing Ductal Carcinoma Classification Using Transfer Learning with 3D U-Net Models in Breast Cancer Imaging,” Applied Sciences (Switzerland), vol. 13, no. 7, 2023, doi: 10.3390/app13074255.

L. Alzubaidi et al., “Deepening into the suitability of using pre-trained models of ImageNet against a lightweight convolutional neural network in medical imaging: an experimental study,” PeerJ Comput. Sci., vol. 7, p. e715, Sep. 2021, doi: 10.7717/peerj-cs.715.

Downloads

Published

2026-06-23

Issue

Section

Artificial Intelligence

How to Cite

Ronal Watrianthos, Yuhefizar, Y., Rayendra, R., & Asri, E. (2026). ResNet34-Encoded U-Net with Transfer Learning for Breast Cancer Cell Segmentation Under Data Scarcity. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 10(3), 787-793. https://doi.org/10.29207/resti.v10i3.7661

Most read articles by the same author(s)