- Rating
- 4
- Clarity
- 3
- Confidence
- 1
- Originality
- 2
- Quality
- 3
- Significance
- 2
Read review
Summary
the paper proposes CausalFlowT, a DAG-constrained normalizing flow that uses an LSTM to encode patient history and runs Pearl’s abduction-action-prediction for exact counterfactual inference on longitudinal EHR data. It pairs this with an LLM-driven evolutionary imputer where the LLM proposes imputation modules scored on a composite of reconstruction error and correlation-structure preservation. Evaluated on four synthetic benchmarks and one semi-synthetic FIRE dataset, then applied to a Swiss T2D cohort comparing GLP-1RAs and SGLT-2is, recovering a per-protocol weight-loss difference consistent with SUSTAIN 8.
Strengths and weaknesses
strenghts:
- causal inference from incomplete EHR data is important and interesting
- some domain experts involved
- good evaluation across benchmarks with good stats
- consistent with SUSTAIN 8
- code and hyperparams provided
Weaknesses:
- the evolutionary imputer has no theoretical guarantee and depends heavily on prompt design
- Baseline exclusion criteria favour the proposed method
- the reliability criteria are proposed by the authors and not externally validated; I mean these bias ratio, tail variance, arm reconstruction, HR recovery, stability criteria. Where do they come from?
- FIRE real-world result has no ground-truth counterfactual, only consistency with one RCT
- bootstrap CIs condition on a single completed dataset rather than re-imputing (acknowledged but this is limiting inference)
- MissForest and LOCF is unfair re compute costs
- how would this method scale to larger feature spaces?
- the expert DAG is assumed correct and sensitivity analysis only covers single-edge removals
- what happens if the LLM API changes or becomes unavailable?
The normalizing flow implementation follows established ways, the LSTM conditioning is standard, and the experimental protocol is specified well. My main concerns are the baseline exclusion criteria and the limited analysis of the evolutionary search design.
Paper is dense but well-organized.
Questions
- How sensitive are results to the proxy score weights, iteration budget, and seed imputer? A small sensitivity analysis would strengthen the evolutionary claims.
- How do the five reliability criteria relate to established causal inference evaluation metrics (e.g., PEHE)? Have you validated that they detect known failure modes?
- Can you provide a negative control re RCT test, a comparison with IPW/MSM on the same cohort, or DAG sensitivity beyond single-edge removals?
- The bootstrap CIs condition on one completed dataset. How large is the re-imputation uncertainty relative to the sampling uncertainty?
Addressing 1 and 4 would affect my evaluation. Not answering 1 would lower my score; successful negative controls or additional baselines would raise it.
Limitations
Exclusion criteria for causal inference baselines (Sec. B.1) were defined by the authors and effectively guarantee favourable comparison.
The five reliability criteria were introduced by the authors to evaluate their own method. The paper should acknowledge that these criteria lack external validation and may not capture all relevant failure modes.
The point that bootstrap CIs condition on a single completed dataset (App. J) should be moved to the main limitations section. THis basically directly affects the clinical interpretation.
The approach requires LLM API access (with cost, latency, and availability constraints), expert DAG specification, and substantial compute. No discussion of maintenance, versioning, or what happens if APIs change.
The real-world application is from Swiss primary care. No discussion of whether the approach would transfer to different healthcare systems, populations, or data structures.
No analysis of whether the pipeline produces equitable estimates across demographic subgroups (age, sex, comorbidities).
The expert DAG is treated as ground truth, but pharmacoepidemiology experts may disagree on edge specifications. No sensitivity to DAG disagreement is provided.
Paper formatting concerns
none
Final justification
My original score reflected limited evaluation. The authors added the missing MSM baseline, PEHE, propagated re-imputation uncertainty. Therefore I raised from 3 to 4
We thank the reviewer for the detailed and constructive review that sharpened both our experiments and our manuscript. We begin with the two items flagged as decision-relevant (Q1, Q4), then turn to the standard pharmacoepidemiology baseline, the baseline-exclusion concern, the reliability criteria (Q2), and the remaining points. New in this revision: re-imputation uncertainty quantified (Q4); a search-sensitivity ablation over budget/weights/seed (Q1); a standard MSM baseline (Q3); PEHE added and related to our criteria (Q2); the reliability criteria grounded in prior literature; and clarifications on scaling, API dependency, compute, equity, and transfer.
[Q1] Sensitivity of the evolutionary imputer search. We ablate all three search parameters (iteration budget K, proxy weights (λY,λT), and seed imputer g0) on 50% missing semi-synthetic data, reporting the proxy score s(g∗) the search minimizes (lower is better; RMSE plus correlation-distortion penalties, Eq. 4).
A) Iteration budget K. From the GPT-5.4 search behind Fig. 7, the accepted best g∗ at each budget:
The score improves monotonically and plateaus at K≈15: no strict-improvement step is accepted after iteration 15, so g∗ at K=15 and K=20 is the same module. K=20 is thus a converged budget, not an arbitrary cutoff.
B) Proxy weights (λY,λT). Varying each weight one at a time around the defaults (λY=2.0, λT=0.5):
(Tables B and C re-run the search from scratch, so their default is 2.983, not Table A's logged 2.955.)
The composite stays in a stable band. It is lowest at λY=0, but this does not indicate a better imputer: it removes the biomarker-outcome correlation penalty, mechanically lowering the composite while abandoning the causal-fidelity term it is designed to enforce. The defaults are a principled reconstruction-versus-fidelity tradeoff, not a fitted optimum.
C) Seed imputer g0. Restarting the search from two alternative initializations:
All three converge to a narrow band (2.94–3.18), so the outcome is not an artifact of the seed.
Across the three ablations (and with the three-backend result already in the paper (GPT-5.4 / Qwen3.5 / GPT-OSS-120b, Table 2)) the imputer is characterized by its search design rather than fragile to it.
[Q4] Quantifying re-imputation uncertainty. The reviewer correctly notes our headline bootstrap conditioned on a single completed dataset. We re-ran the pipeline over m=10 bootstrap resamples of the incomplete panel, each re-imputed by g∗ and re-fit end-to-end, so imputation uncertainty propagates:
The propagated interval is ∼11× wider: imputation, not sampling, dominates uncertainty here, and our original interval understated it. The point estimate shifts modestly (−0.98→−0.93) as resampling perturbs cohort composition under >50% missingness. It agrees with our IPTW-IPCW result and lies within SUSTAIN 8 (three independent estimates now cluster). We will report it in the main text, moving the conditional analysis to the appendix.
[Main concern 1] Baseline exclusion (Sec. B.1). The exclusion follows from the estimand, not architectural preference. Individual-level counterfactuals require the joint p(Y0,Y1) under shared exogenous noise (twin-network, Pearl 2009). Causal Transformer, R-MSN, and CRN estimate E[Y∣H,A] (e.g. CT's masked-MSE loss, Melnychuk 2022) and so do not expose the distributional quantities our criteria assess (excluded for answering a different question, not for underperforming). We will state this in B.1 and scope the claim to these models.
[Main concern 2] Standard MSM baseline. All three reviewers and the AC noted the absence of this baseline. We add a marginal structural model (IPW + censoring weights + weighted GEE) on semi-synthetic data (true ATE=−3.484), under two imputations:
Note: IPCW is inert on this balanced-panel benchmark (zero dropout), acting as IPTW-MSM here; the real cohort uses full IPTW/IPCW.
† Elevated by estimator-fitting seed noise, not by degradation: holding the imputer fixed and varying only the CausalFlow-T training seed (n=10) reproduces fluctuations of this magnitude, and the row is non-monotonic (error rises at 50% but falls to its lowest value at 80%, whereas genuine degradation would be monotone).
(i) MSM shows a persistent bias floor (≈0.20) under both imputations (its 95% CI never covers the truth at any level) so the gap is the estimator, not the fill method; our pipeline improves ∼9× at 30% and ∼15× at 80%. (ii) Our imputer improves even the standard MSM, more so as missingness worsens (−8% at 80%; negligible at 30%), so the imputation stage aids methods beyond our own. Subgroup-CATE calibration shows MSM compresses the responder spread (Q1: true −3.79, estimated ≈−3.55; Q4: −3.33, ≈−3.13) regardless of imputation (the failure our criteria (Q2) target).
[Q2] Reliability criteria: origin and relation to PEHE. Our criteria instantiate established principles rather than novel inventions: subgroup calibration by effect stratum follows the CATE-calibration literature (Athey & Wager 2019, who group by above/below-median predicted effect; Xu & Yadlowsky 2022, who formalize HTE calibration error), and PEHE (Hill 2011; Shalit 2017, cited) is the aggregate our subgroup criteria refine. We computed PEHE on the positive control and the two pre-designated primary diagnostics (App. A.5): LDL (subgroup calibration) and CVD (identifiability). On Simple all models tie (≈0.43). On LDL, TARNet attains the best PEHE (6.23 vs. our 6.81, NF-no-DAG 7.05) yet shows a bias ratio ≈1.0 and tail-variance collapse: best aggregate score, systematic miscalibration. On CVD, a 5× PEHE gap (TARNet 0.075 vs. our 0.015) understates failure: TARNet inverts the effect (HR=1.13 vs. true 0.83), while CVAE/GNN collapse to null (HR≈1.005; Table 11). PEHE alone thus masks failures our subgroup and HR criteria surface. We will add PEHE to Table 1.
[Q3] DAG sensitivity beyond single-edge. As noted in Sec. 6, the DAG is expert-specified, the real-cohort one developed with pharmacoepidemiology experts (Hernan 2022); on synthetic benchmarks App. I characterizes a bias-instability typology (peripheral removals → bias, central → instability), and our cross-seed instability diagnostic detects misspecification without ground-truth counterfactuals. Multi-edge perturbation and data-driven refinement are future work.
Remaining points.
Imputer guarantees and prompt dependence. LLM-driven program search has no formal convergence guarantee, but two mitigations apply. First, a modest guarantee by construction: the acceptance rule (Eq. 5) is a strict-improvement step in a (1+1) evolution strategy, so the accepted score is monotone and g∗ is at least as good as the deterministic seed; since the objective is scored on held-out cells (masked and hidden from the imputer), the gain reflects generalization, not fitting of imputed values. Second, every candidate is scored by that same fixed objective, so the prompt affects search efficiency, not which solution is selected.
LLM API dependency. The LLM is used only at search time; the output g∗ is a frozen, self-contained Python module that makes no API calls and runs offline, so it is unaffected if the API changes or becomes unavailable. Only re-running the search needs an LLM, and not a proprietary one: we validate the same procedure with two open-source backends (GPT-OSS-120b, Qwen3.5-Plus) that run locally.
Compute fairness of LOCF/MissForest. We compare imputation quality at a fixed downstream estimator, not at fixed compute. LOCF and MissForest are the standard cheap defaults; the question is whether the search improves accuracy, and Tables 2/8/9 show it does, especially at high missingness. Costs are disclosed (App. L.3: about USD 2–3 and <1 GPU-hour per imputation).
Scaling. Per-step cost is linear in variable count (triangular MAF Jacobian, O(D)) and peak memory is <2 GB (App. L.3), indicating headroom; search cost is independent of feature count. DAG specification is the main constraint, flagged as future work.
Subgroup equity. We assess calibration by treatment-effect quartile (Q1–Q4), the axis most relevant to differential reliability; demographic fairness (age, sex, comorbidity) on real data is flagged in limitations.
Cross-system transfer. Our claim is scoped to consistency with RCT evidence in one Swiss cohort. The pipeline makes no Switzerland-specific assumptions (it needs longitudinal EHR plus an expert DAG), but transfer across systems is untested and framed as future work.