A multi-head YOLOv12 with self-supervised pretraining for urinary sediment particle detection
Automatic and reliable urine sediment analysis is essential for timely diagnosis and management of renal and urinary disorders. However, manual methods are time-consuming, subjective, and limited by operator abilities. In this study, we propose a novel deep learning method based on a multi-head YOLOv12 architecture combined with self-supervised pretraining and advanced inference through Slicing Aided Hyper Inference (SAHI) to effectively address these challenges. Unlike prior methods that employed a single detection head, our architecture features six specialized and independent detection heads: Cells, Casts, Crystals, Microorganisms/Yeast, Artifact, and Others, enabling simultaneous and fine-grained classification of the full spectrum of urine sediment particles, including all relevant subclasses. To facilitate robust training, we created a large-scale dataset (OpenUrine) encompassing 790 labeled images with over 31,285 bounding boxes across 39 categories, and 5640 unlabeled images for self-supervised learning. Evaluated on this complex 39-class dataset, our model achieved a precision of 76.59% and a mean Average Precision (mAP) of 64.15%, demonstrating competitive performance in detection accuracy, especially of small and low-contrast objects.
Authors
- Mohammad Ali Akhaee (ORCID: https://orcid.org/0000-0003-3753-5618)
- Ali Movahed (ORCID: https://orcid.org/0000-0002-1988-4091)
- Majid Sirati‐Sabet (ORCID: https://orcid.org/0000-0002-8163-7075)
- Mohammad Javad Barikbin
- Mehdi Alizadeh (ORCID: https://orcid.org/0000-0003-4590-6917)
- Ali Karimi (ORCID: https://orcid.org/0009-0005-5923-8122)
- Samad Akbarzadeh (ORCID: https://orcid.org/0000-0002-0187-5509)
Institutions
- University of Tehran (IR)
- Bushehr University of Medical Sciences (IR)
- Shahid Beheshti University of Medical Sciences (IR)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-11-21
- DOI
- https://doi.org/10.1038/s41598-025-25339-z
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00