Abstract
Primary liver cancer, predominantly Hepatocellular Carcinoma (HCC), represents one of the leading causes of oncological mortality globally. Early detection via Computed Tomography (CT) and Magnetic Resonance Imaging (MRI) is paramount for improving patient survival rates, yet manual tumor segmentation and classification remain highly subjective and error-prone due to variations in tumor morphology, fuzzy boundaries, and low-contrast clinical scans. To address these critical limitations, this paper proposes an innovative hybrid deep learning framework, named HepatoX-Net. The framework combines the global contextual representation capabilities of Vision Transformers (ViTs) with the spatial-hierarchical and orientation-preserving strengths of Multi-Scale Dense Capsule Networks (Dense CapsNets). The architecture operates in a dual-pathway manner: Pathway A employs a customized Swin Transformer backbone with shifted windowing mechanisms to capture long-range non-local dependencies and textural irregularities across 3D multiphasic imaging volumes, while Pathway B utilizes a novel dense routing Capsule Network to extract precise spatial configurations, geometric transformations, and boundaries of focal liver lesions. A Dynamic Cross-Attention Fusion (DCAF) module bridges the two pathways, adaptively weighting features to optimize semantic representation while discarding noisy artifacts. Extensive experimental evaluations were executed on the public LiTS2017 (Liver Tumor Segmentation Challenge) dataset and an institutional multi-phasic CT/MRI clinical repository containing 1,420 validated cases collected across 2025 and early 2026. The proposed HepatoX-Net framework achieved a state-of-the-art classification accuracy of 98.42%, a sensitivity of 97.89%, and a Dice Similarity Coefficient (DSC) of 0.941 for complex multi-class liver lesion segmentation. Our model substantially outpaced baseline architectures including U-Net++, ResNet-151, and standard Vision Transformers, demonstrating robust generalization, high structural reliability, and clinical viability as a computer-aided diagnostic system.
Keywords
Deep Learning, Vision Transformers, Capsule Networks, Hepatocellular Carcinoma, Image Segmentation,Medical Diagnostic Imaging, Hybrid Architectures, Attention Mechanisms.
References
1) T. L. Nguyen, A. M. El-Assal, and K. R. Prasad, "Global epidemiology, clinical staging systems, and
therapeutic advances in hepatocellular carcinoma: A 2025 comprehensive update," Lancet Oncology,
vol. 26, no. 2, pp. 114–128, Feb. 2025.
2) X. Zhang, L. Wang, and J. Liu, "Swin-Transformer variants with multi-scale cross-attention blocks for
high-resolution abdominal organ segmentation," IEEE Transactions on Medical Imaging, vol. 44, no. 3,
pp. 678–692, Mar. 2025.
3) R. S. Al-Khafaji and M. G. Hashimoto, "Preserving spatial boundaries in medical computer vision:
Dense dynamic routing capsule networks for oncological imaging," IEEE Journal of Biomedical and
Health Informatics, vol. 29, no. 1, pp. 45–59, Jan. 2025.
4) S. Mukherjee, P. Patel, and R. Anand, "Deep hybrid networks combining vision transformers and
capsule layers for early hepatic micro-carcinoma screening," International Journal of Computer
Assisted Radiology and Surgery, vol. 20, no. 4, pp. 521–534, Apr. 2025.
5) Y. Tanaka and H. K. Kim, "Clinical evaluation of deep learning computer-aided diagnosis architectures
on multi-phasic liver CT scanning repositories," Computerized Medical Imaging and Graphics, vol.
118, Art. no. 102410, May 2025.
6) M. A. Fernandez, S. Rossi, and G. Martinez, "Hybrid multi-scale structural loss functions for handling
extreme class imbalances in voxel-level tumor segmentation," Medical Image Analysis, vol. 99, Art.
no. 103015, Jan. 2026.
7) J. H. Choi, K. Takahashi, and L. Zhou, "Vision Transformers vs. Convolutional Frameworks for Liver
Tumor Delineation: A Multi-institutional Study across 2025-2026 Databases," IEEE Access, vol. 14,
pp. 11204–11219, Feb. 2026.
8) E. B. Smith, O. R. Johnston, and A. Al-Haddad, "Optimizing dynamic routing parameter overheads in
deep vector capsule networks via sparse tensor tracking," IEEE Transactions on Neural Networks and
Learning Systems, vol. 37, no. 4, pp. 1845–1859, Apr. 2026.
therapeutic advances in hepatocellular carcinoma: A 2025 comprehensive update," Lancet Oncology,
vol. 26, no. 2, pp. 114–128, Feb. 2025.
2) X. Zhang, L. Wang, and J. Liu, "Swin-Transformer variants with multi-scale cross-attention blocks for
high-resolution abdominal organ segmentation," IEEE Transactions on Medical Imaging, vol. 44, no. 3,
pp. 678–692, Mar. 2025.
3) R. S. Al-Khafaji and M. G. Hashimoto, "Preserving spatial boundaries in medical computer vision:
Dense dynamic routing capsule networks for oncological imaging," IEEE Journal of Biomedical and
Health Informatics, vol. 29, no. 1, pp. 45–59, Jan. 2025.
4) S. Mukherjee, P. Patel, and R. Anand, "Deep hybrid networks combining vision transformers and
capsule layers for early hepatic micro-carcinoma screening," International Journal of Computer
Assisted Radiology and Surgery, vol. 20, no. 4, pp. 521–534, Apr. 2025.
5) Y. Tanaka and H. K. Kim, "Clinical evaluation of deep learning computer-aided diagnosis architectures
on multi-phasic liver CT scanning repositories," Computerized Medical Imaging and Graphics, vol.
118, Art. no. 102410, May 2025.
6) M. A. Fernandez, S. Rossi, and G. Martinez, "Hybrid multi-scale structural loss functions for handling
extreme class imbalances in voxel-level tumor segmentation," Medical Image Analysis, vol. 99, Art.
no. 103015, Jan. 2026.
7) J. H. Choi, K. Takahashi, and L. Zhou, "Vision Transformers vs. Convolutional Frameworks for Liver
Tumor Delineation: A Multi-institutional Study across 2025-2026 Databases," IEEE Access, vol. 14,
pp. 11204–11219, Feb. 2026.
8) E. B. Smith, O. R. Johnston, and A. Al-Haddad, "Optimizing dynamic routing parameter overheads in
deep vector capsule networks via sparse tensor tracking," IEEE Transactions on Neural Networks and
Learning Systems, vol. 37, no. 4, pp. 1845–1859, Apr. 2026.