Kidney stones · Stone analysis · 2026 prediction study
Can AI predict kidney stone type before laboratory analysis?
A 2026 study trained machine-learning models to classify five kidney stone compositions in 442 patients. A model using clinical details reached a macro-AUC of up to 0.809 in internal validation. Scores rose to 0.983 when the model also used stone-shape descriptions recorded during or after treatment, information that is not available for a preoperative decision.
The short answer
The KiSCAI study offers an early prediction-model result, not a ready-to-use stone test. The strongest reported performance came from a model that included morphological features recorded around or after treatment. The authors say that combined model is better viewed as intraoperative or postoperative decision support. It still needs prospective testing in other patient groups before clinical use. Stone composition in the study was established by laboratory analysis.
About 8 min read
Why stone type matters
Kidney stones can be made of different minerals, and a person may have a mixture. Knowing the dominant composition can help clinicians understand why a stone formed and select a prevention approach. For example, uric-acid stones and cystine stones have distinct prevention considerations from the more common calcium-based stones. A model that estimates stone type from information available before a procedure could eventually help with planning, but an estimate is not a lab result.
Current stone analysis uses material that has passed or has been removed. The KiSCAI team tested whether patient details, measurements and visual features could predict which component made up more than half of the stone. Their categories were calcium oxalate monohydrate, calcium oxalate dihydrate, calcium phosphate, uric acid and cystine.
How KiSCAI worked
Duffaut and colleagues studied 442 patients treated endourologically or with spontaneous stone passage between 2019 and 2024. Each included stone had a laboratory result showing a dominant component above 50%. The median patient age was 51 years, and 67% were male. The researchers split records into a training group and a validation group in an 80:20 ratio.
They compared several classifiers, including logistic regression, support-vector machines and tree-based ensemble methods. Candidate predictors included demographics, health conditions, stone measurements, procedure details and morphological descriptions based on the Daudon classification. Repeated LASSO analyses assessed which predictors appeared consistently. SHAP values were used to describe which inputs influenced model predictions.
What the model predicted
The 442 analyzed stones were classified as calcium oxalate monohydrate in 181 cases (41.0%), calcium oxalate dihydrate in 110 (24.9%), calcium phosphate in 87 (19.7%), uric acid in 49 (10.9%) and cystine in 16 (3.6%). Age, hereditary disease type, stone density, maximum diameter and location were among the predictors that LASSO identified as stable across resampling.
The best clinical-only models reached a macro-averaged area under the curve of up to 0.809 in the internal validation data. With morphological features added, ensemble models reached a reported validation macro-AUC of up to 0.983, achieved by CatBoost. Those numbers describe how well the models separated the five composition categories in that held-out portion of the same study dataset. They are not evidence that the system has been tested across hospitals or in routine care.
Clinical details versus morphology
The performance difference deserves careful interpretation. The clinical-only version used information that can be available before treatment, such as age, stone density and dimensions. Morphological inputs describe the stone’s surface and internal appearance using a classification system; some of those details are gathered during endoscopic treatment or after a stone is recovered. They can improve classification while arriving too late to guide the initial decision about whether or how to operate.
The authors make this distinction themselves: they describe the clinical-only model as potentially useful before a procedure, while the combined model is better suited to intraoperative or postoperative support. The higher AUC should not be described as the accuracy of a preoperative test.
What the scores do not prove
AUC summarizes how well a model ranks examples with and without a category across possible thresholds. It does not tell a patient the chance that a specific prediction is correct, whether predicted probabilities match observed frequencies, or whether using the model improves treatment decisions. The abstract reports AUC and accuracy as discrimination measures, but does not provide calibration results, class-specific error rates or evidence of benefit from acting on predictions.
The validation sample was an internal random split from the same retrospective cohort, not an external hospital or later time period. The study included only stones with a dominant component above 50%, so the model’s performance may not transfer to mixed stones without a majority component. Cystine stones made up 16 of 442 cases, far fewer than the calcium oxalate categories. That imbalance makes class-specific performance especially important, but the abstract does not report it.
Finally, a high score on a held-out dataset does not show that results will remain stable when scanners, surgeons, populations, documentation practices or laboratory workflows differ. The investigators call for external prospective validation before clinical implementation. That is the step needed to see whether this model works on new patients and changes decisions in useful ways.
How stone type is confirmed
If you pass a stone, or a fragment is removed during a procedure, ask whether it can be sent for laboratory analysis. European Association of Urology guidance describes infrared spectroscopy or X-ray diffraction as preferred analytical methods. The result can be interpreted alongside your history, imaging and, when indicated, blood and 24-hour urine tests. A machine-learning estimate could someday supplement that work; this study does not support replacing analysis with an algorithm.
If a report uses a model-generated category, useful questions include which inputs produced it, whether the model was validated outside its development group, and whether a lab-confirmed stone result is available. Prevention choices should account for the person’s stone history and metabolic evaluation rather than an unvalidated prediction alone.
Key point
The KiSCAI study tested machine learning in 442 patients and reported promising internal validation results. Clinical-only models reached a macro-AUC up to 0.809. The best score, 0.983, used morphology collected during or after treatment, so it is not a preoperative prediction result. External prospective validation and class-specific performance are still needed before this approach can guide care.
Questions to bring
If you are discussing a kidney stone, these questions can help clarify what is known from your own results.
- Was a passed or removed stone sent for laboratory composition analysis?
- Does my imaging suggest a likely stone type, and how certain is that estimate?
- Would my history call for blood or 24-hour urine testing?
- How will the confirmed stone type affect prevention choices for me?
Sources and further reading
Sources checked October 23, 2026. Model performance is described as internal validation, not clinical accuracy.
- Duffaut L, Scilipoti P, Khene Z-E, et al. Kidney stones composition prediction using artificial intelligence (KiSCAI) study. BJU International. Published online August 31, 2026. doi:10.1111/bju.70442. Primary source for cohort, composition groups, predictor sets and reported model performance.
- European Association of Urology. Guidelines on urolithiasis: stone analysis. Clinical context on laboratory analysis methods for recovered stones.
- PubMed record, PMID 42670720. Bibliographic record and abstract for the KiSCAI study.
This article explains research findings and does not replace individual medical advice.