This preprint introduces Agentic-TimesFM-AKI, a dual-model framework designed to predict and explain Acute Kidney Injury (AKI) risk in critically ill patients, with attention to drug-induced nephrotoxicity (notably combinations such as vancomycin and piperacillin–tazobactam). The system aims to address limitations of static-threshold alerting by producing continuous, dynamic risk forecasts together with transparent, natural-language clinical reasoning.
The manuscript is a pilot research report and has not been peer reviewed. The authors note that the findings should not be used to guide clinical practice until validated in additional, credentialed datasets and subject to peer review.
Agentic-TimesFM-AKI implements a two-part architecture. A Large Language Model, identified in the report as Gemma-4 Sentinel, is used to generate human-readable explanations and alerts that map temporal physiological changes into intelligible clinical reasoning. Parallel to that, a zero-shot time-series forecaster, TimesFM, produces continuous temporal risk forecasts based on physiological trajectories.
The intended value of this separation is to combine quantitative time-series predictions with interpretable, natural-language outputs. The authors emphasize the framework’s capacity to produce temporally grounded alerts rather than single-point threshold triggers.
To train the system while preserving patient privacy, the authors generated a synthetic training cohort comprising N=5,000 patient trajectories under a differential privacy guarantee reported as ε=10. The synthetic data generation pipeline and the differentially private training cohort are included in the project repository and are described as containing no protected health information by design.
The use of synthetic, differentially private data enabled open sharing of the training cohort and reproducible evaluation without exposing original patient records.
The framework was evaluated using publicly accessible demo holdouts from two widely used critical-care research repositories: eICU (internal pilot evaluation; N=200) and MIMIC‑IV (external validation cohort; N=117). The authors clarify that the demo datasets used do not require the credentialing normally required for the full databases, facilitating reproducibility.
All source code, model weights (including merged Gemma-4-12B with LoRA adapters and quantized variants), synthetic data, and evaluation scripts are publicly available in the project's code repository and on the Hugging Face Model Hub, as cited in the source.
In the internal pilot evaluation using the eICU holdout (N=200), Agentic-TimesFM-AKI achieved an Accuracy of 0.970 with a reported 95% confidence interval of 0.945–0.990 and an F1-Score of 0.966. The authors report that the framework produced natural-language alerts that successfully mapped temporal physiological trajectories into intelligible clinical explanations, demonstrating the intended interpretability benefit.
These internal results are presented as evidence that, when applied to data with schema and formatting similar to the synthetic training set, the dual-model framework can deliver high discrimination and clinically legible output.
When evaluated on the MIMIC‑IV demo cohort (N=117), the authors observed severe performance degradation relative to the internal eICU pilot. The paper attributes this drop in performance to structural formatting fragility and domain shift—differences in data schema, record formatting, or distributional properties between training and external datasets that compromise the generative model’s behavior.
The authors frame this as a critical vulnerability for applying generative models and LLM-based reasoning to out-of-distribution electronic health records, noting that high internal performance does not guarantee robust external generalization.
The study explicitly highlights two major limitations. First, the framework exhibited fragility to differences in data formatting and schema, which produced marked declines in external performance. Second, the work is presented as a pilot using synthetic training data and publicly available demo holdouts; full-scale deployment would require extensive external validation on credentialed, clinically representative datasets.
Because the manuscript is a preprint, the authors emphasize that results are preliminary. They caution about directly applying the system in clinical practice and draw attention to the need for further evaluation of robustness to domain shift and for prospective validation.
The authors report no competing interests. They state that ethical guidelines were followed and that necessary approvals and patient consents were obtained and archived as applicable. The complete source code, differentially private synthetic data (N=5,000, ε=10), model training scripts, evaluation pipelines, attention-heatmap utilities, and pre-trained model weights are publicly hosted in the project repository and on Hugging Face, enabling immediate reproducibility using demo datasets.
The study notes that scaling to the full eICU and MIMIC‑IV databases requires the usual credentialing through PhysioNet. Finally, this work is a medRxiv preprint and has not been certified by peer review; the authors caution that it should not be used to guide clinical care.