USCNet: Transformer-Based Multimodal Fusion with Segmentation Guidance for Urolithiasis Classification
Organizations: C. Wang and X. Wan are with Shenzhen Research Institute of Big Data, Shenzhen 518172, China · Y. Zhang, S. Zhang, and Y. Wang are with Zhejiang University of Finance and Economics, Hangzhou 310018, China · L. Liu is with Anhui University of Finance and Economics, Anhui 233000, China · N. Li is with the School of Computer Science and Engineering, Macau University of Science and Technology, Macao 999078, China · X. Li, J. Pan, and Y. Jiang are with The Second Affiliated Hospital of Chinese University of Hong Kong (Longgang District People’s Hospital of Shenzhen), Shenzhen 518172, China · H. Wang is with the School of Engineering and Energy and Harry Butler Institute, Murdoch University, Perth, WA6150, Australia · A. Elazab is with Tsinghua Shenzhen International Graduate School, Tsinghua University, Shenzhen 518055, China
Abstract
Kidney stone disease ranks among the most prevalent conditions in urology, and understanding the composition of these stones is essential for creating personalized treatment plans and preventing recurrence. Current methods for analyzing kidney stones depend on postoperative specimens, which prevents rapid classification before surgery. To overcome this limitation, we introduce a new approach called the Urinary Stone Segmentation and Classification Network (USCNet). This innovative method allows for precise preoperative classification of kidney stones by integrating Computed Tomography (CT) images with clinical data from Electronic Health Records (EHR). USCNet employs a Transformer-based multimodal fusion framework with CT-EHR attention and segmentation-guided attention modules for accurate classification. Moreover, a dynamic loss function is introduced to effectively balance the dual objectives of segmentation and classification. Experiments on an in-house kidney stone dataset show that USCNet demonstrates outstanding performance across all evaluation metrics, with its classification efficacy significantly surpassing existing mainstream methods. This study presents a promising solution for the precise preoperative classification of kidney stones, offering substantial clinical benefits. The source code has been made publicly available: https://github.com/ZhangSongqi0506/KidneyStone.
Figures & tables
| Loss Function Components | Classification | Segmentation | ||||||||||
| CT | Clinical | CEA | SMA | DW | Acc (%) | F1 (%) | Rec (%) | Pre (%) | AUC (%) | Dice (%) | IoU (%) | HD95 (mm) |
| - | - | - | - | 63.97 | 59.17 | 65.14 | 54.20 | 64.16 | - | - | - | |
| - | - | - | - | - | - | - | - | - | 82.27 | 69.18 | 3.88 | |
| - | - | - | 70.56 | 66.90 | 74.33 | 60.90 | 70.16 | 78.33 | 64.30 | 7.42 | ||
| - | - | 89.71 | 87.16 | 87.16 | 87.16 | 89.28 | 82.19 | 69.54 | 4.31 | |||
| - | 89.34 | 86.64 | 86.24 | 87.04 | 88.82 | 81.44 | 68.34 | 4.03 | ||||
| Feature Comb. | Classification | Segmentation | |||||||||
| Acc (%) | F1 (%) | Rec (%) | Pre (%) | AUC (%) | Dice (%) | IoU (%) | HD95 (mm) | ||||
| - | - | - | 91.91 1.42 | 90.00 1.74 | 90.83 0.94 | 89.19 3.13 | 91.73 1.30 | 83.98 1.09 | 72.12 1.42 | 3.73 0.82 | |
| - | - | - | 90.44 1.54 | 88.29 1.91 | 89.91 1.51 | 86.73 3.22 | 90.35 1.44 | 81.93 0.99 | 69.49 0.99 | 4.66 0.56 | |
| - | - | - | 90.07 2.00 | 87.78 2.34 | 88.99 2.02 | 86.61 3.50 | 89.89 1.93 | 82.29 0.96 | 69.71 0.96 | 4.18 0.49 | |
| - | - | - | 87.87 2.10 | 84.93 2.43 | 85.32 2.14 | 84.55 3.02 | 87.45 2.05 | 79.98 1.07 | 66.67 1.07 | 5.33 0.25 | |
| - | - | 89.71 1.82 | 87.39 2.13 | 88.99 1.14 | 85.84 3.75 | 89.59 1.64 | 82.05 1.02 | 69.47 1.02 | 4.59 0.43 | ||
| Loss Function | Classification | Segmentation | ||||||||
| Acc (%) | F1 (%) | Rec (%) | Pre (%) | AUC (%) | Dice (%) | IoU (%) | HD95 (mm) | |||
| 91.54 1.55 | 89.50 1.85 | 89.91 1.72 | 89.09 3.01 | 91.27 1.49 | 82.43 1.25 | 70.11 1.58 | 4.19 0.49 | |||
| 91.18 1.20 | 88.68 1.35 | 86.24 2.38 | 91.26 1.75 | 90.36 1.30 | 83.02 2.17 | 70.96 2.32 | 4.02 1.59 | |||
| 91.91 1.42 | 90.00 1.74 | 90.83 0.94 | 89.19 3.13 | 91.73 1.30 | 83.98 1.09 | 72.12 1.42 | 3.73 0.82 | |||
| Class. / Seg. | Classification | Segmentation | ||||||
| Acc (%) | F1 (%) | Rec (%) | Pre (%) | AUC (%) | Dice (%) | IoU (%) | HD95 (mm) | |
| 0.1 / 0.9 | 82.35 2.23 | 77.14 2.59 | 74.31 2.66 | 80.20 3.84 | 81.02 2.11 | 78.86 1.18 | 66.67 1.18 | 5.66 0.35 |
| 0.3 / 0.7 | 86.40 1.39 | 83.41 1.36 | 85.32 1.65 | 81.58 3.18 | 86.22 1.14 | 81.96 1.11 | 69.00 1.11 | 4.38 0.64 |
| 0.5 / 0.5 | 89.34 1.38 | 86.64 1.52 | 86.24 2.06 | 87.04 1.78 | 88.82 1.40 | 81.44 0.95 | 68.34 0.95 | 4.03 0.43 |
| 0.7 / 0.3 | 89.71 1.90 | 87.27 2.29 | 88.07 1.46 | 86.49 3.65 | 89.44 1.78 | 82.04 1.20 | 69.25 1.20 | 4.18 0.58 |
| 0.9 / 0.1 | 90.44 1.67 | 88.39 1.93 | 90.83 1.21 | 86.09 3.67 | 90.50 1.47 | 82.11 1.02 | 69.47 1.02 | 4.78 0.31 |
| Subgroup | Performance | N | ||||
| Acc (%) | F1 (%) | Rec (%) | Pre (%) | AUC (%) | ||
| Age Groups | ||||||
| 40 years | 91.80 | 87.80 | 94.74 | 81.82 | 96.99 | 61 |
| 40-60 years | 90.11 | 88.00 | 86.84 | 89.19 | 94.09 | 91 |
| 60 years | 91.18 | 88.00 | 91.67 | 84.62 | 94.32 | 34 |
| Gender | ||||||