arXiv:2610.40379q-bio.QMOct 2026

Manuscript Offprint

arXiv:2610.40379

Agentic LLM reasoning in pediatric diabetes outcome prediction from multimodal medical records

Daniel Palacios, Guantong Qi, Anna Kadi, Natali Borrego, Sukru Aras, Michael L. Ferm, Elizabeth Kubota-Mishra, Maria J. Redondo, Zhandong Liu, Mustafa Tosur, Hu Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Large language model (LLM) agents are proposed for clinical prediction but are untested in pediatrics, where cohorts are small and outcomes are uncommon. Using records from 2,489 youth with type 2 diabetes (T2D) and 4,018 with type 1 diabetes (T1D), spanning structured data, note-derived social determinants and, in T1D, continuous glucose monitoring data, we predicted seven T2D outcomes, four also in T1D, at 24 months from 18 months of follow-up. CEDAR (Clinical Evidence-Driven Agent for Risk-prediction), an evidence-citing, self-auditing LLM pipeline, outperformed trained machine learning in both cohorts (pooled area under the receiver operating characteristic curve 0.815 versus 0.656–0.700 in T2D and 0.756 versus 0.603–0.631 in T1D), most on the sparsely screened outcomes. Only 4 of 70,246 values it cited did not match the chart. Reading only its cited evidence and reasoning, two pediatric endocrinologists reached CEDAR's prediction in about nine of ten cases, agreeing with each other on 90.5%.

Introduction

Diabetes is among the most common chronic diseases of childhood in the United States. Type 1 diabetes (T1D) remains the predominant pediatric form (prevalence ~215 per 100,000 under 20 years, incidence rising ~2%/year [1, 2, 3]), while type 2 diabetes (T2D), once rare in youth, has emerged as a parallel epidemic driven by childhood obesity (prevalence up 95% from 2001–2017, incidence ~18 per 100,000 [1, 2]). Youth of Black, Hispanic, and American Indian descent bear a disproportionate burden of both incidence and poor glycemic outcomes [4, 5]. U.S. diabetes-related costs exceeded $400 billion in 2022 across all ages [6], and pediatric-onset disease contributes disproportionately to lifetime cost through its longer duration of exposure.

Pediatric diabetes also differs biologically from adult-onset disease. Youth with T2D show earlier micro- and macrovascular complications [7, 8] and greater insulin resistance with hyperresponsive beta cells relative to adults [9], and the TODAY trial found durable glycemic control from metformin alone in only about half of adolescents with T2D [10]. T1D poses distinct challenges as well, including glycemic variability, recurrent hypoglycemia, and early cardiovascular risk emergence [11, 12]. This heterogeneity motivates precision approaches that stratify risk and guide individualized decisions.

Pediatric diabetes care is delivered by a multidisciplinary team. The pediatric endocrinologist interprets a child’s metabolic course alongside treatment history and social circumstances, and integrates input from diabetes educators, dietitians and social workers, each of whom contributes a different kind of information.

Machine learning (ML), by contrast, collapses this reasoning into a single function approximation. Such models are widely applied to clinical prediction from electronic health records (EHR) [13, 14], including in pediatric diabetes [15, 16], but treat prediction as pattern matching rather than reasoning. They also leave largely untapped two modalities that plausibly add value. Continuous glucose monitoring (CGM) captures temporal dynamics that static glycated hemoglobin (HbA1c) cannot [17, 18], and social determinants of health (SDOH) are documented in narrative notes but rarely available as structured data [19, 20] and are now extractable at scale with LLMs [21, 22]. Each has demonstrated prognostic value on its own: CGM-derived features predict short-term hypoglycemia and glycemic variability in type 1 diabetes [17], and psychosocial burden is associated with worsening glycemic control in youth with diabetes [5]. What is unresolved is how much either adds beyond longitudinal structured EHR in this setting, and in what representation. This gap between how clinicians reason and how models predict motivates asking whether an LLM can reason over the same multimodal evidence a clinician weighs.

Large language models (LLMs) with strong clinical knowledge [23, 24] enable explicit, chain-of-thought reasoning over patient data [25], and a natural next step is to decompose that reasoning across communicating specialized agents [26, 27], by analogy to a care team.

Recent systems apply this idea to clinical prediction, each covering a slice of our problem. CARE-AD [28] predicts Alzheimer's onset from clinical notes, ColaCare [29] predicts in-hospital mortality and readmission through multi-agent collaboration between LLMs and trained EHR models, MDAgents [30] performs adaptive routing for question answering and diagnosis, and MoMA [31] coordinates modality-specialist agents that convert non-text modalities to text for multimodal clinical prediction. These establish the promise of agentic clinical prediction, yet enthusiasm has outpaced evidence. The gains attributed to multi-agent debate are contested: majority voting, rather than debate itself, accounts for most of them [32], decision protocols help unevenly across task types [33], and debate strategies do not reliably outperform simpler prompting at substantially higher cost [34]. None of these systems has been evaluated in pediatric settings, where cohorts are small and the outcomes of interest are uncommon, so a model has few training examples to learn from. Pediatric diabetes is a demanding place to test them: a child's record is longitudinal but sparse, the complications being predicted are uncommon, and the evidence a clinician would weigh is spread across social-worker notes, structured EHR and, in T1D, continuous glucose monitoring data. Four questions therefore remain open. First, can LLM reasoning predict a child's diabetes outcomes more accurately than a conventional trained machine-learning model? Second, can the reasoning behind such a prediction be trusted, that is, are the cited chart values real rather than hallucinated? Third, do those cited values actually drive the prediction, or merely accompany it? Fourth, can a clinician follow the reasoning well enough to reach the same conclusion?

We compare LLM reasoning with classical and temporal ML for pediatric diabetes outcome prediction. Using longitudinal Texas Children's Hospital data, we predict seven type 2 and four type 1 diabetes outcomes at 24 months from the first 18 months of follow-up (Figure 1). We introduce CEDAR (Clinical Evidence-Driven Agent for Risk-prediction), a single-model pipeline that reasons over structured EHR data, SDOH extracted from social-worker notes and, for T1D, CGM, and cites the record values behind each prediction so that a clinician can check them (Methods, Section 6).

We address these questions with four analyses. We compare CEDAR with classical and temporal ML across eleven cohort–outcome pairs in two cohorts, and audit the faithfulness of the evidence it cites with established rationale-evaluation protocols [35, 36]. Two pediatric endocrinologists review its reasoning blinded to the outcome, and an information ablation measures how much of the predictive signal lies in the outcome’s own history. We also test whether supplying a trained model’s score to CEDAR as a tool improves prediction.

References (23)