Vision Transformer and CNNs in Kidney Stone Classification: A Comparative Study

Kidney stones affect up to 15% of individuals worldwide and can lead to severe pain, infection, and long-term renal damage if not detected promptly. Automated detection on CT scans can accelerate diagnosis, reduce radiologist workload, and standardize interpretations across centers. In this work, we present the first comprehensive benchmark comparing six leading deep learning architectures on a heterogeneous, multi-center axial CT dataset of 3,364 expert-annotated slices and 35,457 augmented images from three hospitals. Our augmentation pipeline includes random rotation, horizontal flips, scaling, and intensity jitter to improve robustness against realistic variations. We evaluate three convolutional neural networks (ResNet50, EfficientNet-B0, InceptionV3) and three vision transformers (ViT-B/16, DeiT, Swin Transformer), all fine-tuned from ImageNet pre-training under identical preprocessing, stratified 70/15/15 train/validation/test splits, and consistent training protocols (Adam optimizer with 1e-4 initial learning rate, cosine annealing, batch size 32, and early stopping on validation loss). We report accuracy, precision, recall, and F1 score to capture both overall and class-specific performance. ResNet50 achieves the top accuracy of 99.43%, with near-perfect precision and recall, while Swin Transformer is the leading transformer at 98.78%. Confusion-matrix analysis highlights CNNs’ superior localization of renal calculi and transformers’ ability to model global context.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.09.088
Primary Topic
Kidney Stones and Urolithiasis Treatments
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Vision Transformer and CNNs in Kidney Stone Classification: A Comparative Study

Bens Pardamean, Mahmud Isnan, Dave Christian Thio, Alif Akbar Hafiz et al.
Procedia Computer Science
Kidney Stones and Urolithiasis Treatments
article

Vision Transformer and CNNs in Kidney Stone Classification: A Comparative Study

Bens Pardamean, Mahmud Isnan, Dave Christian Thio, Alif Akbar Hafiz, Derrick Vericho, Vincenzo Jason Carter
article en

Abstract

Kidney stones affect up to 15% of individuals worldwide and can lead to severe pain, infection, and long-term renal damage if not detected promptly. Automated detection on CT scans can accelerate diagnosis, reduce radiologist workload, and standardize interpretations across centers. In this work, we present the first comprehensive benchmark comparing six leading deep learning architectures on a heterogeneous, multi-center axial CT dataset of 3,364 expert-annotated slices and 35,457 augmented images from three hospitals. Our augmentation pipeline includes random rotation, horizontal flips, scaling, and intensity jitter to improve robustness against realistic variations. We evaluate three convolutional neural networks (ResNet50, EfficientNet-B0, InceptionV3) and three vision transformers (ViT-B/16, DeiT, Swin Transformer), all fine-tuned from ImageNet pre-training under identical preprocessing, stratified 70/15/15 train/validation/test splits, and consistent training protocols (Adam optimizer with 1e-4 initial learning rate, cosine annealing, batch size 32, and early stopping on validation loss). We report accuracy, precision, recall, and F1 score to capture both overall and class-specific performance. ResNet50 achieves the top accuracy of 99.43%, with near-perfect precision and recall, while Swin Transformer is the leading transformer at 98.78%. Confusion-matrix analysis highlights CNNs’ superior localization of renal calculi and transformers’ ability to model global context.

Procedia Computer ScienceVol. 269
Binus University (ID)
Openalex Percentile: Top 53%
Kidney Stones and Urolithiasis Treatments
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.