acceptodds
Published as a conference paper at NeurIPS 2026

Calibrating Agentic LLMs for Clinical Prediction

Zheqi Lv, Fuying Ding, Meihan Wei, Haoyang Li, Christos Faloutsos, Fei Wang, Chengxi Zang

Abstract

Agentic Large Language Models (LLMs) show great promise in clinical prediction using real-world clinical data. While recent studies have primarily examined their discrimination performance, their calibration performance—that is, whether predicted probabilities accurately reflect absolute clinical risk—remains largely unknown. This gap limits their use in high-stakes medical settings, where well-calibrated risk estimates are essential for guiding treatment and prevention decision-making. In this work, we provide theoretical analyses of how agentic LLM architectures, task knowledge, and tool using affect calibration performance in clinical prediction. Motivated by these analyses, we propose , a Calibrated and Clinically Aligned framework, to optimize calibration while maintaining or even improving discrimination. aligns two complementary agent branches: an ensemble of task-homogeneous LLM agents and a set of clinical task-inspired LLM agents. This alignment is achieved through a novel discrimination- and calibration-aware loss that encourages clinically meaningful agreement while controlling probabilistic miscalibration. We evaluate this framework on four clinical prediction benchmarks—spanning prognostic prediction and disease diagnosis tasks—using diverse LLMs, agent architectures, and calibration methods over both MIMIC-III and IV datasets. Extensive experiments, supported by theoretical motivation under assumptions, demonstrate that improves calibration while maintaining or enhancing discrimination. Our work provides a theoretical, methodological, and benchmark reference for developing well-calibrated agentic LLMs for trustworthy clinical prediction.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 4 reviews, above 17% of the others.
Reviewer_o6bTOpenReview ↗
Rating
3
Clarity
2
Confidence
3
Originality
3
Quality
2
Significance
2
Read review
Summary

The paper proposes C²Align, a Calibrated and Clinically Aligned framework whose goal is to optimize the calibration of clinical-prediction probabilities while preserving discrimination performance. The framework couples an agentic LLM pipeline (consisting of a set of parallel homogeneous agents and a set of specialist agents) with a lightweight ML model MM that produces the final calibrated prediction. The paper's main empirical claims are that (i) parallel agentic architectures yield better calibration than sequential ones, (ii) incorporating clinical task knowledge improves calibration, and (iii) tool usage (e.g., calling ML models) further improves calibration.

Strengths and weaknesses

Strengths

  • Relevant use case. Calibration in clinical prediction is important.
  • Use of a downstream model. Routing the information extracted by the agentic framework through a lightweight model MM for the final prediction is a nice way of compressing that information, and directly enables controlling the calibration through the loss

Weaknesses

Presentation and structure. The paper is very densely written and not well structured. This makes it hard to identify what the main conceptual contribution is.

Theory. The three theorems are not mathematically wrong, but they share a structural weakness: in each case the assumptions are either taken for granted or violated by the authors' implementation.

  • Theorem 1. The proof relies on the assumption that "after controlling for η\eta, the sequential architecture does not have a smaller deterministic discrimination term than the parallel architecture." I don't quite understand how this assumption can be made confidently. It assumes the central design decision. Under this assumption the result becomes trivially true, and the formalization adds nothing beyond restating it. A sequential chain-of-thought agent might plausibly extract richer clinical reasoning than independent parallel agents that average out each other's nuance. Am I missing something here?
  • Theorem 2. The theorem requires that the features extracted by the specialist agents form a complete and sufficient summary of all clinically relevant information. I'm not super confident in this since the extraction is performed by an LLM that may hallucinate or omit evidence. The assumed Causal Markov Blanket is a formal property of a perfect oracle extractor. The actual xspex_{spe} deviates from this, and the paper never explains how the two concepts connect so as to make the theorem hold in practice.
  • Theorem 3. The theorem requires that "the agentic LLM branches provide non-adversarial and outcome-informative clinical representations or soft targets." This implies the result breaks down when the soft labels are poor, which is a realistic scenario in clinical LLM applications. It requires good agent outputs in order to prove that good calibration follows which is impossible to guarantee in reality

Empirical results.

  • Stable inference structure. Its unclear how the method guarantees that xspex_{spe} always has the same structure within a task. This is crucial for reliable prediction with MM at inference time and is never addressed.
  • Datasets aren't appropriate. The datasets contain no real probabilities. A probability is derived by binning binary decisions. Given that calibration of probabilities is the paper's central claim, this doesn't make a lot of sense to me. In addition, relative percentage improvements over absolute calibration numbers from tiny test sets are not trustworthy. Literature has shown that ECE over sample bins is noisy with few samples [1]. I would definitely want to see confidence intervals and statistical tests.
  • Results are hard to read. Tables 1 and 2 are difficult to read at a glance. The large number of metrics and the inconsistency in what is reported across tables makes comparisons tedious. I would focus on the most important metrics and avoid reporting all MAS combinations in the main tables since those are handled in the ablation.
  • No data or code. The checklist claims both are accessible but neither was attached to the submission as far as I can see. Without it the submission cannot be accepted.

Overall assessment. While the idea is nice, I think the reliance on shaky theory does the paper a disservice. Focusing only on empirical results and properly presenting them with sufficient and well argued experiments would be a much better approach IMO. The claimed interpretability of MM is also questionable as its inputs pparp_{par} and pspep_{spe} come from black-box LLMs and are effectively tokens rather than real probabilities. This undermines the interpretability of the downstream ML model and makes the promise of "Calibrating Agentic LLMs" overstated.

[1] Roelofs, Rebecca, et al. "Mitigating bias in calibration error estimation." International Conference on Artificial Intelligence and Statistics. PMLR, 2022.

Questions
  1. Loss / model MM: Did you implement a custom objective for LtotalL_{total} inside XGBoost, or are the reported numbers produced by XGBoost's native cross-entropy/MSE? Please describe the exact training procedure.
  2. Theorem assumptions: For Theorems 1–3, can you provide empirical evidence for the key assumptions: the discrimination-ordering assumption (Theorem 1), the sufficiency/Causal-Markov-Blanket property of xspex_{spe} (Theorem 2), and the non-adversarial, outcome-informative soft targets (Theorem 3)?
  3. Covariate stability: How do you ensure xspex_{spe} has a consistent structure across instances within a task at inference time? What happens when the specialist agent omits or hallucinates a feature?
  4. Probability derivation: Can you justify deriving probabilities by binning binary decisions?
  5. Datasets and reproducibility: Will you release the data and code?
Limitations

No limitations given by the authors. If they cannot address the above comments / weaknesses then those should be included as limitations.

Paper formatting concerns

None

Final justification

I find the current version of the paper promised by the author's to deviate a good amount from the original paper and is thus hard to evaluate for its suitability. I will update my score to a 3 as many of my points have been addressed though I understand if the AC considers the original points to be fully rebutted and thus worthy of a higher score / acceptance.

Most of my empirical objections have been resolved and the theoretical claims have been narrowed. I still have slight misgivings about the implemented specialist representation satisfying the Theorem 2's sufficiency premise and that XGBoost is just empirically justified in theorem 3. If the paper is accepted I highly recommend the author's commit to framing the theory as motivation and reframing the paper as an empirical paper.

1 comment

We are grateful for your constructive questions and comments. We have clarified every point and incorporated the discussion into the revised manuscript; longer numerical tables are provided in a follow-up comment. We have added the discussion into the paper and we would be pleased to clarify any remaining concern in a new comment.

W1. Presentation: The paper is dense and the main conceptual contribution is difficult to identify.

The central problem is not calibration of internal token probabilities. It is calibration of the final patient-level probability produced by an agentic clinical-prediction pipeline. A system may rank patients reasonably well while producing probabilities that are systematically too high, too low, or too extreme; these probabilities are difficult to use for thresholded clinical decisions. Our contribution is to make that final probability the explicit learning and evaluation target.

The method can be read as six concrete steps:

  1. A frozen homogeneous-parallel branch uses multiple agents with the same task definition and produces a continuous branch probability piparp_i^{\mathrm{par}}.
  2. Frozen task-specialist agents have predefined clinical responsibilities. They extract the fixed task-relevant feature vector xispex_i^{\mathrm{spe}} and produce a specialist branch probability pispep_i^{\mathrm{spe}}.
  3. Patient IDs align the two frozen branch outputs with structured covariates available at the task-specific prediction time.
  4. An explicit task-level allowlist constructs a fixed, auditable downstream feature vector; labels, annotation/adjudication fields, outcomes, post-index fields, identifiers, and split metadata cannot enter it.
  5. Only the downstream XGBoost model is trained. Its custom objective combines cross-entropy against the observed outcome, patient-level Brier loss, and two KL terms referencing the continuous branch probabilities.
  6. The resulting probability piMLp_i^{\mathrm{ML}} is evaluated separately for discrimination, probability accuracy, calibration, uncertainty, prompt sensitivity, subgroup behavior, extraction quality, ablation, and efficiency.

This leads to four conceptual contributions. First, we formulate calibration at the level of the complete agentic clinical-prediction system rather than assuming that good reasoning or discrimination automatically yields usable probabilities. Second, we combine two complementary frozen views: repeated homogeneous inference, which can reduce idiosyncratic decoding variation, and task-specialist extraction, which exposes predefined knowledge-based clinical indicators. Third, we provide a lightweight downstream alignment mechanism that can be audited and trained without modifying the LLM backbones. Fourth, we evaluate the framework across diagnosis, phenotyping, readmission, and independent-hospital mortality rather than on one endpoint or one LLM.

The theoretical analysis is intended to state the conditions under which these design choices are motivated. It is not the sole evidence for the method and does not claim universal dominance of parallel agents, perfect extraction, or guaranteed value from every soft target. The empirical analyses test whether the relevant conditions are approximately supported in the evaluated tasks. This paper focuses on how to improve calibration given comparable discrimination performance.

W2/Q2. Theory

Theorem 1: The theorem is not meant to assert that a parallel architecture always has better discrimination or better overall clinical reasoning. A sequential chain can be beneficial because later agents can use earlier reasoning, refine an intermediate answer, and represent dependencies that independent parallel agents do not capture. The same dependency can also propagate an early omission, hallucination, or overconfident probability through the remaining chain. Parallel agents avoid direct error propagation, but their outputs can lose useful interaction and may still share correlated errors.

The theoretical statement therefore conditions on a restricted comparison: the two systems must have comparable deterministic discrimination signal, and the parallel decoding errors must not be perfectly correlated. Under that condition, averaging the parallel predictions reduces the variance contributed by the non-shared error component. This is a statement about probability stability after controlling the discrimination regime; it is not a proof that parallel inference necessarily has a higher AUROC.

The empirical evidence is correspondingly conditional. We compare AUROC, AUPRC, and P@S95 before interpreting Brier score and ECE. In ADRD, Readmission-IV, and Readmission-III comparisons in Table 1, the relevant sequential and parallel variants have broadly similar discrimination while the parallel variants show lower Brier score/ECE. These cases are consistent with the theorem's motivating regime. The complete table also retains cases in which the pattern is weaker or does not hold. We do not discard those cases or use the theorem to override them. Conversely, a method with a low ECE but substantially degraded discrimination—for example, some MAS_calibration settings—does not demonstrate a useful overall improvement merely because one calibration statistic is smaller.

Theorem 2: The formal object is xtaskx_{\mathrm{task}}, an idealized summary containing the task-relevant clinical information from the permitted original input. The Markov-blanket/sufficiency statement belongs to this idealized object. It explains why a knowledge-oriented task summary can, in principle, preserve relevant information while removing irrelevant variation. The implemented xspex_{\mathrm{spe}} is an LLM-derived approximation to xtaskx_{\mathrm{task}}; it is not assumed to be an oracle and is not claimed to satisfy a perfect causal Markov-blanket property patient by patient.

The connection between the formal and implemented objects is evaluated empirically in two ways. First, physician review measures whether predefined specialist indicators are omitted or asserted without evidence. The aggregate omission and hallucination rates are approximately 0.6% and 0.7%, showing that xspex_{\mathrm{spe}} is a close but imperfect operational proxy for the requested task summary. Second, the xspex_{\mathrm{spe}} ablation removes those features while holding the remaining system fixed; the observed deterioration shows that the extracted features contribute predictive information on the evaluated tasks. These results support informativeness of the proxy.

Physicians' diagnoses strictly follow the original inputs and are inherently knowledge-based. In contrast, existing trajectory-based discrimination methods do not rely on this knowledge for their judgments; instead, they perform calibration based on the internal reasoning mechanisms of LLMs. While the advantage of these baselines lies in their generalizability, they forfeit the potential for knowledge-based calibration. Synthesizing the aforementioned data with the results in our paper, it is evident that although the pathway from xtaskx_{\mathrm{task}} to xspex_{\mathrm{spe}} is not entirely lossless in terms of information, this knowledge-based calibration still outperforms knowledge-free calibration in clinical prediction tasks.

Theorem 3: This assumption is necessary and falsifiable. If qispeq_i^{\mathrm{spe}} or qiparq_i^{\mathrm{par}} is systematically wrong, adversarial, or severely overconfident, forcing the final predictor toward it through a positive KL weight can be harmful. The theorem does not claim otherwise. Its conclusion describes the regime in which the branch targets contain outcome-relevant signal and their errors are not so severe that alignment dominates learning from the hard labels.

We examine that regime using several complementary observations: branch-level discrimination is above chance; specialist extraction has substantially lower omission/hallucination rates than direct LLM reasoning; prompt perturbation quantifies how much the probabilities move under wording changes; and ablations that remove pspep_{\mathrm{spe}} or pparp_{\mathrm{par}} test whether each target contributes within the complete model. Tables 1 and 3 show that informative cases are much more common than failure cases in the evaluated settings. This supports the assumption on average for these datasets, not for every patient or future distribution.

Reviewer_c1nqOpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
2
Significance
3
Read review
Summary

The paper studies the calibration of agentic large language models (LLMs) for clinical prediction — whether predicted probabilities reflect true risk, not just whether patients are ranked correctly. The authors give a theoretical analysis arguing that parallel agent structures, clinical task knowledge, and an aligned downstream model each tend to improve calibration, and propose C²Align, a framework that combines a parallel branch of identical agents with a branch of specialist agents and distills both into a lightweight, interpretable machine-learning model via a loss targeting ranking accuracy, calibration, and agreement between the branches. They evaluate it on four benchmarks drawn from two public critical-care databases (MIMIC-III and MIMIC-IV) across several backbones, reporting gains in both discrimination and calibration over machine-learning, single-model, multi-agent, and prior calibration baselines.

Strengths and weaknesses

The problem seems real and well-motivated. A model can rank patients correctly yet report absolute risks that are systematically off, which may mislead treatment or prevention decisions. The paper makes this gap concrete and argues that calibration deserves attention alongside discrimination, which has dominated prior clinical LLM work.

The evaluation also seems reasonably careful. The method is tested across several tasks and backbones, and baselines are rerun in a common setup rather than quoted, which makes the comparison fairer. The theoretical results are generally framed as conditional motivation rather than firm guarantees, which seems appropriate given the assumptions involved.

My main concern is the absence of uncertainty quantification. Results are reported as single point estimates, without confidence intervals or significance testing, on modest test sets. This seems especially relevant for a paper centered on calibration, where the metrics can be unstable on small samples and where some gains over the strongest baseline appear narrow, so it is hard to judge how solid the improvements are.

A related concern is the framing of the gains. Some improvements are stated relative to weaker baselines, while the margin over the most competitive method appears smaller, so the headline may read differently from what the closest comparison supports.

Overall this seems like a well-motivated and reasonably evaluated framework, where the contribution may rest more on the calibration framing and design than on a clearly established accuracy advantage.

Questions
  1. How robust do the improvements appear once uncertainty is taken into account, especially on the smaller test sets?
  2. How would the comparison read if the most competitive baseline anchored the main results?
  3. How do you see well-calibrated agentic predictions being used in practice — at what point in the clinical workflow, and by whom?
Limitations

Yes. Two points seem worth adding briefly: the absence of uncertainty quantification given the modest test-set sizes, and the dependence of the theoretical results on idealized assumptions. On ethics, use of the public databases seems appropriate; the open-access statement could be reconciled with what the submission actually provides.

Paper formatting concerns

None to be disclosed.

Final justification

I have updated the contribution type from general to use-inspired. I thank the author for giving quite extensive explanations for their contribution of the work. I have changed my overall assessment from borderline reject to borderline accept accordingly. The authors have well addressed my concerns regarding uncertainty through including confidence intervals for their assessments.

1 comment

Thank you very much for your constructive questions and comments. We have clarified every point and incorporated the discussion into the revised manuscript; longer numerical tables are provided in a follow-up comment. We would be pleased to clarify any remaining concern in a new comment.

W1/Q1. Uncertainty

We have included the following 95% confidence intervals and significance tests, and added two new metrics: Intercept and Slope.

We additionally evaluate in-hospital mortality on the TJH EHR dataset from an independent hospital source. This experiment changes both the institution and the clinical endpoint. XGBoost, LR, LLM, LLM_calibration, MAS_sequential, MAS_parallel, MAS_calibration, and C²Align all receive the same structured variables.

The results demonstrate that the improvements of our method are robust.

W2/Q2. Baseline anchoring

In the submission, all improvement values represent the performance of our method compared to the strongest baseline.

We anchor each headline comparison to the strongest observed alternative for the same task, backbone, and metric, and name that alternative explicitly. “Strongest” is not a single model shared across all columns: lower is better for Brier score and ECE, higher is better for AUROC, and the winning comparator can therefore differ by endpoint and metric. We report the point estimate of both methods, the absolute difference, and the relative difference where the denominator is meaningful. At the same time, the complete table retains XGBoost, LR, LLM, LLM_calibration, MAS_sequential, MAS_parallel, MAS_calibration, and C²Align, so the reader can evaluate the full comparison rather than only the most favorable pair.

For a lower-is-better metric such as Brier score, the absolute improvement is reported as mbest baseline−mC2Alignm_{\mathrm{best\ baseline}}-m_{\mathrm{C^2Align}}, and the relative reduction divides that quantity by mbest baselinem_{\mathrm{best\ baseline}}. For a higher-is-better metric such as AUROC, the direction is reversed. We always show the underlying values next to a percentage. This avoids three common sources of exaggeration: choosing a different weak comparator for each claim, using the direction favorable to the proposed method without saying so, or presenting a large relative percentage when the absolute change is small.

Q3. Clinical use

The multi-agent system features a front-end interface that presents calibrated probability values alongside model confidence, structured data, key extractions from unstructured notes, indicators of any missing expected inputs, detailed reasoning steps, and the underlying clinical evidence supporting these metrics.

The system is designed for clinical decision support, not autonomous decision-making. For HF/ADRD, potential users include physicians and trained reviewers evaluating diagnoses or phenotypes from long-term clinical records. By displaying continuous risk estimates together with fixed expert indicators and their source evidence, the interface allows users to verify the rationale behind downstream predictions and reject extractions unsupported by the chart. For readmission, the system is best utilized before finalizing discharge plans; for mortality or care escalation risks, it should be used prior to inpatient reviews and escalation decisions. Medical teams can use these insights to prioritize in-depth chart reviews or existing institutional evaluations.

Reviewer_CZmaOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

The paper proposes a calibration framework for agentic systems in the clinical preiction domain. This is motivated by the importance of calibration for correctly interpreting outputs of agentic systems as actual event probabilities which is especially important in the clinical domain. The framework, called C^2 Align, claims to provide good discrimination as well as calibration, by using 2 branches:

  1. Parallel branch - Mulitple parallel agents create a baseline probability distribution. Each agent operates using precise instructions from a common prompt asking it to output a prediction, probability, and reasoning.
  2. Specialist branch - Multiple specialist subagents are created to extract different parts of the chart (symptoms, medications, etc.), another to interpret and diagnose, and another to review the overall steps. This also outputs a prediction, probability, and reasoning. They then create a multi objective loss consisting of discrimination loss (ability to separate the labels, ie. standard cross entropy), calibration loss (ability to output correct probabilities without overconfidence, ie. brier score) and dual view alignment loss (making sure both branches are considered in the distillation by using KL diveregence of ML model w.r.t both branches). The authors evaluate multiple baselines as well as other calibration methods across metrics measuring both discrimination and calibration. The results show that across tasks, their system performs better across both these types of metrics.
Strengths and weaknesses

Strengths:

  • The problem is well defined and the motivation for the method is clearly articulated. The method itself is presented clearly and is easy to follow.
  • The baselines are thorough, and the results show consistent improvement, particularly across the calibration metrics.

Weaknesses

  • MIMIC is a high-quality dataset, but it draws from a single hospital system. Given the well-documented institutional biases in EHR data, evidence of generalization across multiple hospital systems would considerably strengthen the claims. I acknowledge that procuring such multi-site data is difficult in practice.
  • I would also have liked to see the method's sensitivity to prompt formulation addressed. LLM output distributions are known to shift substantially under small prompt perturbations, and since the proposed approach operates on these probabilities, prompt variation could be a meaningful and uncontrolled source of variance in the reported results.
Questions
  • Would have liked to see some more details about how the train/test split was created, as there are a few pitfalls for data leakage when it comes to longitudinal EHR data.
Limitations

Yes

Paper formatting concerns

None

1 comment

Thank you very much for your constructive questions and comments. We have clarified every point, longer numerical tables are provided in a follow-up comment. We have added the discussion into the paper and we would be pleased to clarify any remaining concern in a new comment.

W1. External validity

We additionally evaluate in-hospital mortality on the TJH EHR dataset from an independent hospital source. This experiment changes both the institution and the clinical endpoint. XGBoost, LR, LLM, LLM_calibration, MAS_sequential, MAS_parallel, MAS_calibration, and C²Align all receive the same structured variables.

W2. Prompt sensitivity

We tested this directly rather than assuming that semantically similar prompts are equivalent. We constructed ten variants that preserve the clinical task, information available to the model, requested variables, output type, and JSON schema while changing paragraph order, wording, and length. Each variant is run through the complete inference, parsing, feature-construction, and prediction pipeline; sensitivity is therefore measured at the final patient-probability level rather than only by comparing sample text responses. We report the across-variant variance and standard deviation of AUROC, Brier score, and ECE.

The controlled elements are important for interpreting this analysis. A prompt variant is not allowed to request a new clinical variable, reveal additional patient information, change the prediction horizon, redefine the outcome, or alter the machine-readable output schema. Those changes would produce a different task rather than a perturbation of wording. The varied elements are the linguistic organization of the same instructions: sentence and paragraph order, synonymous phrasing, degree of explanatory detail, and prompt length. For each architecture, the same patient cohort, frozen split, requested feature set, and downstream evaluation metrics are used across the ten runs. The reported variance is the variance of the ten resulting metric values, and the reported standard deviation is its square root; it is not the within-run confidence interval.

It shows a more specific pattern: C²Align has the lowest Brier-score standard deviation for all four evaluated backbones; it has the lowest or tied-lowest ECE standard deviation for GPT-4o, Gemini-2.5, and LLaMA-3.1-8B, while MAS_calibration is lower for DeepSeek-V4; and AUROC variation is broadly similar across architectures.

Q1. Data splitting

All splitting and cross-validation use subject_id, not admissions, as the grouping unit. The frozen splits contain 730/243 training/test patients for HF, 712/238 for ADRD, and 800/200 for each readmission cohort. Five-fold shuffled stratified group cross-validation is performed only inside the training partition. No row from the held-out test partition is used to select hyperparameters, loss weights, prompts, or probability thresholds, and an explicit patient-ID intersection check must be empty before fitting.

The temporal cutoff is task-specific. For readmission, all model inputs end at discharge from the index hospitalization, and the label is unplanned readmission in the subsequent 30 days; events and fields arising after the index discharge are excluded from predictors. HF and ADRD are retrospective patient-level diagnosis/phenotyping tasks using the available chart and are not described as predicting future disease onset. For those tasks, two physicians label independently and disagreements are adjudicated; annotation and adjudication fields are targets/metadata, never model covariates. Together, patient grouping, training-only model selection, explicit overlap checks, endpoint-specific cutoffs, and exclusion of label/adjudication/post-index metadata address distinct leakage routes.

Reviewer_69dKOpenReview ↗
Rating
4
Clarity
2
Confidence
3
Originality
3
Quality
2
Significance
3
Read review
Summary

This paper studies how to improve calibration in agentic LLMs for clinical prediction. It proposes a multi-agent framework that combines LLM outputs and passes them to a downstream machine-learning model. The model is trained with three losses: a discrimination loss, a Brier calibration loss, and an alignment loss. The goal is to make predicted probabilities better match real outcome frequencies while keeping good separation between high-risk and low-risk patients.

Strengths and weaknesses

Strengths

This paper addresses an important and underexplored problem: the calibration of agentic LLMs for clinical prediction. Reliable probability estimates are especially important in healthcare, where overconfident predictions may lead to poor decisions. The problem is meaningful, and the proposed method is reasonably matched to the clinical use case, which is particularly relevant for a use-inspired contribution. It strongly motivates the problem and its proposed solution.

The paper also has several positive aspects. First, it studies both calibration and discrimination rather than reporting only classification performance. Second, the proposed framework combines complementary components: parallel agents for more stable predictions, specialist agents for extracting clinical information, and a supervised ML model for producing the final probability. Third, the experiments cover diagnostic and prognostic tasks using MIMIC datset, and include several LLM backbones, and calibration baselines. Finally, the paper provides the full agent prompts, which helps readers understand the intended workflow.

Weaknesses

The main technical and experimental questions are listed separately in the Questions section. The main weaknesses are:

  • Data-privacy uncertainty: The paper evaluates third-party LLM APIs on MIMIC data but does not explain the data-retention, privacy, and security arrangements.

  • Reproducibility: For example, no code repository is provided despite the checklist stating that the code is available.

  • Incomplete experimental protocol: Important details are missing, including patient-level splitting, the cross-validation procedure, exclusion criteria, class prevalence, and the exact prediction time.

  • Limited statistical support: The test sets are small, but the paper reports results without confidence intervals, repeated runs, or significance tests.

  • Unequal baseline comparisons: The proposed method receives structured data, clinical notes, extracted features, and agent probabilities, while the main ML baselines receive only structured features.

  • Limited calibration analysis: The evaluation relies mainly on Brier score and ten-bin ECE. Calibration slope, calibration intercept, uncertainty bands, and subgroup calibration are not reported.

  • Limited external validity: All benchmarks come from MIMIC, and no external hospital, temporal, or prospective validation is provided.

  • Missing efficiency analysis: The framework requires multiple LLM calls per patient, but cost, latency, and token usage are not reported.

Questions

MIMIC Data Usage Agreement

The PhysioNet license says that users must not share restricted data with third parties and must keep the data secure. If an external LLM API is used, the authors should confirm that it follows a Zero Data Retention policy, does not use the data for training, and does not allow human review.

PhysioNet’s policy on using LLMs with MIMIC data: https://physionet.org/news/post/llm-responsible-use

  1. How were the MIMIC data protected when using external LLM APIs such as GPT-4o?

  2. Did all external APIs use Zero Data Retention, disable model training, and prevent human review of the data?

Overlap Between MIMIC-IV and MIMIC-III

MIMIC-III and MIMIC-IV come from the same hospital and cover overlapping years from 2008 to 2012. They may include some of the same patients or admissions. However, the records are not easy to match because the datasets use different patient IDs and date-shifting methods. Therefore, MIMIC-III and MIMIC-IV should not be treated as fully independent datasets.

  1. Did the authors check for patient overlap between the Readmission-III and Readmission-IV cohorts? If so, how was it done?

  2. Were all training and test splits done at the patient level rather than the admission level?

  3. Was a separate downstream model trained for each prediction task, or were the four benchmarks combined during training?

  4. Please test the method on another related dataset to better support the results.

Citation Inconsistency

  1. Please correct the model-version inconsistency. The experiments mention DeepSeek-V4 in line 260, while the cited reference is for DeepSeek-V3.

Training Pipeline and Reproducibility

The paper uses XGBoost with a loss that combines cross-entropy, Brier loss, and KL loss. However, standard XGBoost does not directly support this three-part loss.

  1. How was the custom XGBoost loss implemented and optimized?

  2. Please provide the code used to combine the cross-entropy, Brier, and KL losses.

The checklist says that the code is openly available, but the paper does not provide a GitHub link or another repository link.

  1. Please provide a link to the anonymized code repository.

The appendix does not provide enough details about the training pipeline. It raises questions such as:

  1. How many cross-validation folds were used, and how were the folds created?

  2. Was cross-validation done at the patient level?

  3. Could the same patient appear in both the training and test sets?

In the “Diagnosis and Phenotyping” section, some samples are called “low-quality or unresolved records” and are removed.

  1. How were these low-quality or unresolved records identified?

  2. How many records were removed from each dataset?

  3. Please provide the full exclusion criteria in the appendix or repository.

Additional Analysis

MIMIC provides demographic information, but the paper does not report results for different patient groups.

  1. Please report calibration and discrimination results by age, race, sex, or other important patient groups.

The pipeline has several LLM stages, but the paper does not evaluate the quality of the earlier stages.

  1. What is the extraction accuracy of the specialist LLM agents?

  2. How often do the agents produce hallucinations, invalid JSON, or missing values?

  3. Were the outputs of the LLM agents compared with human reviewers?

The full method requires several LLM calls for each patient.

  1. What is the average token usage and API cost per patient?

  2. What is the average processing time per patient?

  3. How often do API calls or agent stages fail?

Writing and Presentation

  1. Rewrite the method summary on page 3 as a simple numbered workflow. The current paragraph introduces both branches, three losses, soft labels, alignment, and the ML model at once, which makes it difficult to follow.

  2. Clearly reference and explain Figure 1 in Section 3.2.

  3. Clearly state in Section 3.2 and Figure 1 that the LLM branches are frozen and only the downstream ML model is trained.

  4. Enlarge Figure 1(c) or show it as a separate figure. It is currently too small and crowded.

  5. Move the legend in Figure 1(c) so that it does not cover the plotted results.

  6. Move the legend in Figure 2(c) outside the plotting area.

  7. Improve the grouping in Tables 1 and 2. The dashed lines separating the ML, LLM, and MAS groups are too light. Use stronger lines, more spacing, or shaded group labels.

Limitations

yes

Paper formatting concerns
  1. The code was not provided, despite the authors stating in the checklist that it was available.
  2. The limitation section is in the appendix, not the main content of the paper.
Final justification

Most of my concerns have been addressed. However, issues such as the overlap between MIMIC-III and MIMIC-IV remain. Although the authors mention that they have employed an approach in the paper ClinicRealm to address this, the paper does not explain a patient-level linkage or deduplication procedure between MIMIC-III and MIMIC-IV.

1 comment

Thank you very much for your constructive comments. We have clarified every point and added the discussion into the paper, We are pleased to clarify any remaining concern.

W1/Q1-Q2. Data privacy:

The study was reviewed by the authors' institutional IRB under an approved protocol. To preserve double-blind review, we do not state the institution name or searchable protocol identifier in this response. Model inference was conducted only in institutionally approved, security-controlled environments, including security-tagged local compute and approved enterprise API endpoints such as secure Azure OpenAI services. No consumer-facing chat product was used. The endpoint configurations used for the reported experiments were governed by applicable enterprise terms and institutional controls that prohibit provider training and human review and prevent persistent retention of prompts and outputs. The corresponding privacy and security commitments are added in the manuscript. Only results generated under configurations compatible with the applicable data-use agreement are included.

W2/Q8-Q10. Reproducibility&training

The reported C²Align results are produced by a callable custom XGBoost objective, not by training with XGBoost's native cross-entropy or squared-error objective and then adding Brier/KL values after training. Let ziz_i be the raw XGBoost margin and pi=σ(zi)p_i=\sigma(z_i) the final patient-level probability. For patient ii, the objective is

$ \ell_i= \operatorname{CE}(y_i,p_i) +\alpha(p_i-y_i)^2 +\beta_{\mathrm{spe}}D_{\mathrm{KL}}(q_i^{\mathrm{spe}}\Vert p_i) +\beta_{\mathrm{par}}D_{\mathrm{KL}}(q_i^{\mathrm{par}}\Vert p_i). $

Here, yiy_i is the observed binary outcome, qispeq_i^{\mathrm{spe}} is the specialist branch's continuous probability, and qiparq_i^{\mathrm{par}} is the homogeneous-parallel branch's continuous probability. The CE term fits the hard clinical outcome. The Brier term directly penalizes squared probability error. The two KL terms encourage the downstream probability to remain consistent with the two informative soft targets while still being learned against the observed outcome.

At every boosting iteration, get_custom_xgb_obj_bin_dual_kl computes the analytical first- and second-order derivatives of the complete objective with respect to the raw margin ziz_i. The callable is passed directly through XGBClassifier(objective=...), so all four terms influence split selection, leaf weights, and tree construction. They are not post-hoc calibration scores. We use α=βspe=βpar=0.05\alpha=\beta_{\mathrm{spe}}=\beta_{\mathrm{par}}=0.05 and apply a 10−610^{-6} lower bound to the Hessian for numerical stability.

The anonymized repository supplied separately to the AC contains all the details.

W3/Q11-Q13. Data splitting&cross-validation

All splitting uses subject_id as the grouping unit rather than treating admissions or rows as independent samples. The split is performed once at the patient level. An explicit patient-ID intersection check is required to be empty before fitting, so a patient cannot appear in both the training and held-out test partitions.

Q14-Q16. Exclusion criteria

When the two initial reviewers disagreed, a senior physician reviewed the available diagnostic and phenotype evidence. A record was excluded only when the review was incomplete or the available evidence remained genuinely ambiguous or insufficient for a confident reference label after adjudication. HF excluded 27 records and retained 973 adjudicated patients; ADRD excluded 50 and retained 950.

Readmission and TJH in-hospital mortality use observed outcomes rather than adjudicated diagnostic/phenotype labels, so the same ambiguity-based exclusion is not applied to those outcomes. Importantly, annotation status, physician labels, adjudication variables, candidate-code indicators, and cohort-inclusion decisions are metadata used during cohort construction; they are explicitly forbidden from the downstream feature matrix.

Q3-Q6. MIMIC & external evaluation

Within each MIMIC release, the patient-level split and every cross-validation fold are mutually exclusive by subject_id. Across MIMIC-III and MIMIC-IV, however, reliable patient matching is not possible because the releases use different deidentified identifiers and date-shifting procedures. At this point, we followed [1].

Each of the four original benchmarks trains a separate downstream model.

We additionally evaluate in-hospital mortality using the TJH EHR dataset from an independent hospital source.

W4/W6-W7/Q17. Additional analysis

We add 95% confidence intervals for AUROC, Brier score, and ECE, and report calibration intercept and calibration slope in addition to the original metrics.

We also report descriptive AUROC, Brier score, and ECE by age, sex, and race, further demonstrating the effectiveness of our method.

Q18-Q20. Specialist extraction

We compare the requested specialist indicators with physician review. Aggregated across the evaluated tasks and datasets, specialist-agent omission and hallucination rates are approximately 0.6% and 0.7%, respectively. For direct LLM reasoning, the corresponding rates are approximately 5.7% and 4.9%.

Structural consistency is enforced before the downstream model sees the data. Each task fixes the specialist roles, clinical fields, units, output types, and JSON schema. The model matrix is built from an explicit ordered allowlist containing only legitimate index-time structured covariates, predefined specialist features, and the two branch probabilities. Validation and test data use exactly the same feature names and order learned from the training configuration.

To make the missing-value policy exact, the handling is as follows:

  1. If an allowlisted numeric feature is missing or non-finite for an individual row, it is imputed using that feature's median estimated from the training partition only.
  2. The stored training median is reused unchanged for validation and test rows; no imputation statistic is recomputed from held-out data.
  3. Zero is used only when an allowlisted feature is entirely non-finite in the training partition, so a training median does not exist.
  4. If a feature column required by the configured allowlist is absent from the input table altogether, matrix construction raises an error rather than silently inventing the column.
  5. Unexpected extra numeric columns are ignored. Label, candidate-label, cohort-inclusion, annotation, adjudication, outcome-derived, post-index, identifier, and split/fold fields are rejected even if accidentally added to the allowlist.
  6. Malformed JSON, missing requested fields, and API failures are tracked separately. When a valid value is unavailable, the expected field remains missing inside the fixed schema; the system never creates a new column or variable-length vector from unexpected model text.

W8/Q21-Q23. Efficiency

We report average per-patient token use, estimated API cost, and processing latency for the direct LLM, LLM_calibration, MAS_sequential, MAS_parallel, and C²Align configurations of each applicable backbone. These values make the additional computational burden of the complete pipeline visible rather than comparing predictive metrics alone. For context, the table also includes a simple physician-time cost reference based on the stated hourly wage assumption; this is an engineering comparison, not a claim that one automated prediction replaces a physician encounter.

Server load and network variation produce single-attempt API failure rates of approximately 0.005%-0.1% across models and datasets. Retrying allowed the retained experimental runs to complete.

W5. Unequal modality

The original experiments compare complete end-to-end systems, not architectures under identical information access. Conventional ML baselines use the structured covariates adopted in prior clinical-prediction work [1-3].

In our additional TJH mortality experiment, all baselines use the same structured inputs, thereby eliminating the modality imbalance between text and structured data. Nevertheless, the results still demonstrate that C²Align achieves optimal performance.

Q7&Q24-Q30. Writing

The method summary is rewritten as a numbered sequence:

  1. A frozen homogeneous-parallel branch reads the permitted patient context and returns a continuous prob.
  2. Frozen task-specialist agents extract a fixed set of task-relevant indicators and produce a specialist prob.
  3. Outputs from both branches are aligned with structured covariates by patient ID and validated against the task schema.
  4. The explicit allowlist constructs the fixed downstream feature vector.
  5. Downstream XGBoost model is trained with the custom loss.
  6. The final patient-level probability is evaluated for discrimination, probability accuracy, calibration, uncertainty, extraction quality, and efficiency.

Section 3.2 now refers to Figure 1 at the point where each branch is introduced and explicitly marks both LLM branches as frozen. We have also refined details in the figures and tables. The main table emphasizes AUROC as the discrimination and BS/ECE as calibration, while AUPRC, P@S95, intercept/slope, and complete method variants remain available. The ablation table is restricted to component removals so that it answers a different question from the main comparison. Also, we correct the citation of Deepseek-v4 and move limitation to the main text.

[1] ClinicRealm: Re-evaluating Large Language Models with Conventional Machine Learning for Non-Generative Clinical Prediction Tasks. npj Digital Medicine, 2026.

[2] Large language models are less effective at clinical prediction tasks than locally trained machine learning models. Journal of the American Medical Informatics Association, 2025.

[3] Augmented Risk Prediction for Alzheimer’s Onset From Electronic Health Records With Large Language Models. Innovation in Aging, 2025.

Comments on the paper

1 comment
Meta-review

Summary. The paper studies calibration in clinical prediction, namely whether a model’s predicted probabilities accurately reflect the true clinical risk, rather than only whether the model can correctly distinguish between classes. This is important in clinical settings because well-calibrated probabilities can help clinicians understand the severity and urgency of a patient’s condition. The authors propose a multi-agent LLM framework with two branches: a parallel branch of similar agents and a specialist branch that extracts task-specific clinical information from both structured and unstructured EHR data. The outputs of these branches, together with the original structured features, are then used by a lightweight and interpretable machine-learning model to make the final prediction. The model is trained using three objectives: (1) a discrimination loss based on cross-entropy, (2) a proposed calibration loss based on the Brier score, and (3) a proposed dual-view alignment loss that aligns the final model with the predictions of the two agent branches. The authors evaluate the method on diagnosis and prognosis tasks using the MIMIC-III and MIMIC-IV datasets and compare it with traditional machine-learning models, LLM-based methods, multi-agent architectures, and existing calibration approaches.

Strengths.

1. Important and well-motivated problem. The paper studies calibration of agentic LLMs for clinical prediction, which is important because accurate probability estimates are necessary for trustworthy clinical decision-making. The paper explains why strong discrimination alone is insufficient and why poorly calibrated predictions can be harmful in healthcare.

2. Reasonable method design and evaluation. The proposed framework combines parallel agents, specialist agents, and a downstream machine-learning model in a way that is reasonably matched to the clinical prediction setting. The evaluation covers both diagnosis and prognosis tasks, multiple LLM backbones, different agent architectures, and a few calibration baselines. The results generally show improvements in both calibration and discrimination.

Weaknesses.

1. Missing experimental details and no reproducibility. The paper does not clearly explain how the data were split, whether the split was done at the patient level, how cross-validation was done, how many folds were used, or whether the same patient could appear in both training and test sets. It also does not clearly report the exclusion rules, class balance, and prediction time. The paper should also explain how the custom XGBoost loss was implemented. The checklist says that the code is available, but no code link is provided.

2. Limited statistical evidence. The test sets are small, but the paper reports only single performance values. It does not provide confidence intervals, repeated runs, or significance tests. Although the LLM generation is deterministic, XGBoost training and grid search can still introduce variation. It is therefore unclear whether the reported gains are stable.

3. Limited calibration analysis. The paper mainly reports Brier score and ten-bin ECE. It does not report confidence bands for the reliability plots, results under different binning choices, or calibration for different patient groups as MIMIC provides the demographics. Since calibration is the main topic of the paper, this analysis should be more complete.

4. Limited evidence of generalization. All tasks use MIMIC-III or MIMIC-IV. These datasets come from the same hospital and overlaps. The paper does not explain whether the Readmission-III and Readmission-IV cohorts may contain some of the same patients. Testing on another hospital, another time period, or another related dataset would provide stronger evidence.

5. Strong assumptions in the theory. The theoretical part depend on assumptions that may not hold in practice. For example, the paper assumes that the parallel branch is not worse in discrimination, that the specialist features contain the important clinical information, and that the agent outputs are useful and not harmful. The experiments do not provide enough evidence that these assumptions hold. Add clear ablations.

6. The intermediate agent outputs are not evaluated. The paper does not report the extraction accuracy of the specialist agents, their agreement with human reviewers, or how often they produce hallucinations, invalid JSON, missing values, or failed outputs. Add clear ablations on the results of the LLM branches.

7. Unclear privacy and data protection. The paper appears to use external LLM APIs, such as OpenAI GPT-4o, with MIMIC data. However, the PhysioNet license says that users must not share restricted data with third parties and must keep the data secure. The paper does not explain how the data were protected. The authors should state whether the APIs used Zero Data Retention and how they protected the data.

8. Writing and presentation need improvement. Reviewers state that method description is difficult to follow, and the connection between the theory, method, and experiments is not always clear. Some figures and tables are too small or crowded or not referenced. The paper also mentions DeepSeek-V4 but cites a DeepSeek-V3 reference.

9. The baseline comparison does not clearly show where the gains come from. The proposed framewrok uses structured features, clinical notes, extracted features, and agent probabilities, while the main ML baselines use only structured features. This makes it hard to know whether the gains come from the proposed method or from using more information. Some gains over the strongest baseline are also small, and the paper does not report confidence intervals or significance tests. The authors should add input-matched baselines and test each auxiliary loss separately, including the Brier loss and the two KL alignment losses. They should also report uncertainty for the main results.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.