The RWE Standard

Causation Is Not a Feature: What AI-Enabled RWE Requires From Study Design

by Ashis Das, MD, MPH, PhD, Senior Director, Evidence Intelligence, Komodo Health

Key Takeaways

  • Correct execution does not establish a causal claim. Interpretation depends on a defensible study design and its assumptions.
  • AI-enabled workflows inherit familiar biases and add risks such as unapproved design changes, hallucinations, and model drift.
  • Checks belong throughout execution, from protocol approval and input verification to reproducibility and the final claim.

A payer asks whether Drug A reduces hospitalizations compared with Drug B. An AI-enabled workflow returns a hazard ratio with a narrow confidence interval. Whether it answers the payer’s question depends on the study design, and that is where I start.

In earlier pieces, I examined the reasoning chain and hidden analytic choices behind AI-generated results. Causal inference takes that argument further: a workflow can faithfully execute a study that cannot support its conclusion. That is the sense in which causation is not a feature: it has to come from the design, not the tool.

The Question Comes Before the Model

Before any model runs, I ask investigators to define the treatment effect they want to estimate (the estimand), including the population, treatment strategies, outcome, follow-up, and handling of treatment changes.

The target trial framework describes the randomized trial that would answer that question, then maps its elements to observational data [1]. I value it because it exposes what the data cannot adequately represent.

Several familiar problems get my attention:

  • Confounding by indication. Disease severity can influence treatment choice and hospitalization. Adjustment only addresses the information adequately represented in the analysis.
  • Time zero. Eligibility, treatment assignment, and follow-up must align. Assigning treatment using future information can introduce immortal time bias [2]. 
  • Time-varying confounding. Clinical status can affect subsequent treatment while being affected by earlier treatment. Baseline adjustment may be inadequate.

These challenges apply to any observational study. AI-enabled workflows inherit them.

Design Feasibility Matters

A well-specified target trial still has to be feasible in the available data. RCT-DUPLICATE offers a useful test. This initiative emulated 32 randomized trials using claims databases to see whether the observational results would match the trial results [3]. A post hoc analysis found correlations between trial and observational effect estimates of 0.93 among 16 closer emulations and 0.53 among the remaining 16. I read this as an illustration of why the data must be assessed against the intended design.

When a key confounder is unavailable, or treatment strategies cannot be distinguished, I expect the workflow to surface the limitation for a researcher’s decision.

AI Adds Further Risks

Several risks are specific to AI-enabled workflows. Design drift occurs when a workflow changes a codeset, loosens eligibility, or drops a covariate without approval. Trying multiple specifications and retaining a favorable result introduces selective analysis, which automation can accelerate.

Hallucinations can introduce nonexistent codes or unsupported definitions. Model drift, including changes following an update, can alter generated logic. Poor reproducibility makes it harder to establish which workflow produced the result.

These problems threaten different aspects of the evidence, so I treat each with a specific check.

What I Check Throughout Execution

I place these checks across the whole run.

  1. Approve the design. I specify the estimand and analytic rules before outcome analysis, assess data feasibility, and document amendments.
  2. Review changes. I require approval when the workflow proposes changes to the design, and I investigate an unexpectedly small cohort. This guards against design drift.
  3. Verify inputs. I check generated codes, variables, and citations against their sources, and confirm that valid codes represent the intended clinical concept. This guards against hallucinations.
  4. Inspect intermediate outputs. I check who was included, when follow-up began, and how variables were calculated. I review treatment overlap and covariate balance, with rules for investigating problems set before the run. These checks cannot rule out unmeasured confounding. Negative control outcomes help me check for residual bias [4], while the E-value assesses how strong unmeasured confounding would need to be to explain away the adjusted association [5]. 
  5. Preserve reproducibility. I retain prompts, executed code, data and model versions, and execution settings, repeat the fixed analysis, and reassess after model updates. This guards against model drift and poor reproducibility.
  6. Check the claim. I record the specifications examined, report relevant sensitivity analyses, and keep conclusions within the design’s assumptions and limitations. Recording every specification examined guards against selective analysis. I also match causal language to the design: a language model can slide from a hazard ratio to “Drug A reduces hospitalization” whether or not the design supports it, and euphemistic “association” wording hides what a study claims [6].

For treatment-effect analyses, I see independent implementation as a way to identify execution differences. Both implementations still need scrutiny of their shared assumptions, because agreement between two workflows that make the same design error reproduces the error.

For the payer asking about hospitalization, I want a review to connect the treatment definition to the estimate and its interpretation. The research team remains responsible for deciding whether the evidence supports a causal claim. For any AI-enabled treatment comparison, I would apply the same standard: a reviewer can trace each decision from the approved question to the stated conclusion.

Built for Reviewable Decisions

The research team decides the question and the design. Whether the workflow carried them out faithfully is a separate question, and part of it can be tested. At Komodo Health®, we compared Marmot™ AI Platform with an independently implemented analyst workflow in Duchenne muscular dystrophy (DMD) [7]. The study compared cohort selection and baseline characteristics: the two pipelines produced identical counts at all eight selection steps. After adjudication by a third reviewer, residual differences were attributed to derived-variable implementation, and three executions returned identical outputs under the tested conditions.

Those results speak to implementing a specified protocol, inspecting intermediate outputs, and preserving reproducibility. A reviewer can run those checks on the executed code instead of on a description of it. That study did not evaluate causal estimation, and I would not read its results as evidence on treatment effects.

The walkthrough below follows an example treatment comparison on all-cause hospitalization, the same kind of question the payer asked, and shows where Marmot™ pauses for the research team: design questions before anything runs (approving the design), codeset review before anything is counted (verifying inputs), and a covariate balance gate written before the run (inspecting intermediate outputs).

Marmot decisions walkthrough

 

Grounded. Explainable. Reproducible. Verified. Governed.

This piece is part of The RWE Standard, Komodo’s column on HEOR and real-world evidence in the age of AI. Continue the series

About the Author

Ashis Das, MD, MPH, PhD is Senior Director of Evidence Intelligence at Komodo Health, where he works at the intersection of clinical medicine, AI, and real-world evidence. A physician and thought leader, he focuses on how the healthcare industry generates and applies evidence to drive better decisions across biopharma and payer stakeholders. Connect with Ashis


References

  1. Cashin AG, Hansford HJ, Hernán MA, Swanson SA, Lee H, Jones MD, et al. Transparent reporting of observational studies emulating a target trial: the TARGET Statement. BMJ. 2025;390:e087179. doi:10.1136/bmj-2025-087179.
  2. Fu EL, Harhay MO, Schneeweiss S, Desai RJ, Hernán MA. Starting right: aligning eligibility and treatment assignment at time zero when emulating a target trial. BMJ. 2026;392:e084909. doi:10.1136/bmj-2025-084909.
  3. Wang SV, Schneeweiss S; RCT-DUPLICATE Initiative. Emulation of randomized clinical trials with nonrandomized database analyses: results of 32 clinical trials. JAMA. 2023;329(16):1376-1385. doi:10.1001/jama.2023.4221.
  4. Lipsitch M, Tchetgen Tchetgen E, Cohen T. Negative controls: a tool for detecting confounding and bias in observational studies. Epidemiology. 2010;21(3):383-388. doi:10.1097/EDE.0b013e3181d61eeb.
  5. VanderWeele TJ, Ding P. Sensitivity analysis in observational research: introducing the E-value. Ann Intern Med. 2017;167(4):268-274. doi:10.7326/M16-2607.
  6. Hernán MA. The C-word: scientific euphemisms do not improve causal inference from observational data. Am J Public Health. 2018;108(5):616-619. doi:10.2105/AJPH.2018.304337.
  7. Noman A, Park C, Ma X, Wu Z, Das A. Validating Marmot AI Platform for Real-World Evidence Generation: Human and AI Concordance in Duchenne Muscular Dystrophy. Poster presented at: BioTechX; 2026.

Explore Related Posts