RAG-Augmented Explainable Early Warning System for Acute Kidney Injury in the ICU: A KDIGO-Aligned XGBoost Pipeline With SHAP-Driven Evidence Retrieval on MIMIC-IV
Abstract
Acute kidney injury (AKI) affects up to half of intensive care unit (ICU) patients and is strongly associated with mortality. Existing machine-learning prediction models often suffer from temporal data leakage and lack rigorous explainability or evidence grounding. We present AKI-PREDICT, a retrieval-augmented generation (RAG) framework that couples a gradient-boosted classifier, SHapley Additive exPlanations (SHAP), and BioBERT-based semantic retrieval over the KDIGO 2012 Clinical Practice Guideline and PubMed literature. The pipeline was trained and tested on first ICU stays from 29,947 adult MIMIC-IV v3.1 patients with strict temporal separation: all predictive features were drawn from the first 24 hours of admission, while AKI outcomes were determined in hours 24–72 using both creatinine and urine output (UO) KDIGO criteria. Variables that could leak future information, including in-hospital mortality and ICU length of stay, were explicitly excluded. Across five random seeds, the optimized XGBoost classifier achieved a test-set area under the receiver operating characteristic curve (AUROC) of 0.755 (95% CI 0.737–0.770), area under the precision-recall curve (AUPRC) of 0.762, calibration slope of 0.94, and expected calibration error of 0.032. An auxiliary moderate-to-severe AKI binary model reached AUROC 0.873. SHAP analysis identified 24-hour UO rate, body weight, peak serum creatinine, age, and minimum creatinine as the dominant drivers. Decision-curve analysis showed…
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.