Organizations: School of Artificial Intelligence, Beihang University, Beijing, 100083, China · Department of Intensive Care Medicine, Peking University Third Hospital, Beijing, 100191, China · Hangzhou International Innovation Institute, Beihang University, Hangzhou, 311115, China · School of Computer Science and Engineering, Beihang University, Beijing, 100191, China
Offline treatment learning must balance imitation, which stays close to logged evidence but ignores outcomes, against value maximisation, which uses outcomes but drifts toward treatments the records cannot verify. Numerical reinforcement learning strikes this balance during training. For large language models (LLMs), directly using sparse retrospective outcomes for fine-tuning raises challenges of delayed credit assignment and limited evidence for alternative treatments. We present R-LLMC, which strikes the balance at inference for sepsis resuscitation. A behaviour-supervised LLM, decoded into an exact distribution over 25 vasopressor-fluid actions, proposes clinician-anchored candidates; an offline critic selects among them by estimated long-term value. The policy has a closed form for off-policy evaluation, and its rationale is written after selection, so explanation cannot steer treatment. In experiments on held-out MIMIC-III patients, R-LLMC exceeded the clinician reference in doubly robust value by +0.214 (95% CI 0.091-0.300), with fitted Q evaluation agreeing.
Figures & tables
Figure 1: R-LLMC training and inference. Left, retrospective EHR trajectories train the proposal LLM by behaviour cloning and the expectile-TD selection critic from terminal outcomes. Right, both are frozen at inference: at each 4-hour state St , N actions are sampled from the proposal and ranked by disagreement preference and value before the highest-ranked sampled action at⋆ is returned with a post-selection rationale.
Figure 2: Illustrative decision interface and review sequence. a , Each state is converted into a selected action and a rationale generated after selection. b , Schematic review: at T12 the reviewer lowers the fluid level from F:4 to F:1 given stable MeanBP, normalised lactate, and cumulative fluid burden. The review entries illustrate the interface; the evaluated action policy does not include these edits. Rationales are action-conditioned descriptions.
Figure 3: Baseline-risk stratification and model-estimated policy value. a , Observed in-hospital mortality across test-set quintiles defined by an independent baseline-risk model. b , Mean FQE-estimated initial-state value for clinician behaviour and R-LLMC within the same strata; bands show patient-bootstrap 95% confidence intervals and annotations give the difference. Panel-b values are model estimates, not death probabilities.
Figure 4: Early-resuscitation treatment landscape. a , Vasopressor-initiation probability and b , fluid-initiation probability under R-LLMC, stratified jointly by MeanBP and lactate quintile at the first three decision points. Each cell reports the policy probability and number of contributing states; colour scales are panel-specific. The 1,500 states comprise three observations per test patient.
Figure 5: Physiology–theme associations in fixed-action rationales. With the conditioning action fixed for each decision, grounded theme frequency is compared across quintiles of the corresponding physiological variable: a , shock versus lactate; b , renal dysfunction versus creatinine; c , respiratory compromise versus SpO 2 ; d , volume status versus cumulative fluid. Points are observed frequencies, error bars are patient-cluster bootstrap 95% confidence intervals, and the number below each quintile is the record count ( n=1,000 decisions from 500 test patients).
Biomedical Data Science Lab, Instituto Universitario de Tecnologías de la Información y Comunicaciones, Universitat Politècnica de València, València, València, Spain