Conceptio › Archive › arXiv CS
arXiv CSopen access

TrialCalibre: A Fully Automated Causal Engine for RCT Benchmarking and Observational Trial Calibration

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
knowledge-representationreasoning
artificial intelligence, reasoning, knowledge representation

TrialCalibre: A Fully Automated Causal Engine for R C T Benchmarking and Observational Trial Calibration

Amir Habibdoust 1 Xing Song 2 ICM L 2025

Abstract

get Trial Emulation (TTE), a methodology for designing observational studies to explicitly mimic a randomized controlled trial (RCT), provides a strong foundation for generating robust RWE(Hernan ´ & Robins, 2016; Danaei et al., 2018).Wang et al. recently proposed the ”Benchmark, Expand, and Calibration” (BenchExCal) approach(Wang et al., 2025a). BenchExCal is an advanced, two-stage trial emulation strategy. In Stage 1, a database study emulates a completed R C T for an existing indication of a drug, and its results are benchmarked against the R C T to quantify any ”divergence.” In Stage 2, learnings from Stage 1 inform the emulation of a hypothetical trial for a new, expanded indication, and the results are ”calibrated” using the divergence observed in Stage 1. This calibration aims to account for systematic differences between R C Ts and causal inference studies, thereby improving the confidence in the RWE findings for the new indication(Wang et al., 2025a). While conceptually powerful, the BenchExCal process involves complex steps: selection of appropriate R C Ts for benchmarking, meticulous emulation design for two separate target trials, quantification of divergence, appropriate use of the divergence measurement to inform calibration, and interpretation. These steps require extensive and multidisciplinary domain expertise, which can be resource intensive and can hinder the scalability of the approach.

Real-world evidence (RWE) studies that emulate target trials increasingly inform regulatory and clinical decisions, yet residual, hard-to-quantify biases still limit their credibility. The recently proposed BenchExCal framework addresses this challenge via a two-stage Benchmark, Expand, Calibrate process, which first compares an observational emulation against an existing randomized controlled trial (RCT), then uses observed divergence to calibrate a second emulation for a new indication causal effect estimation. While methodologically powerful, BenchExCal is resource-intensive and difficult to scale. We introduce TrialCalibre, a conceptualized multiagent system designed to automate and scale the BenchExCal workflow. Our framework features specialized agents—such as the Orchestrator, Protocol Design, Data Synthesis, Clinical Validation, and Quantitative Calibration Agents—that coordinate the the overall process. TrialCalibre incorporates agent learning (e.g., RLH F) and knowledge blackboards to support adaptive, auditable, and transparent causal effect estimation.

Concurrently, advancements in artificial intelligence (AI), particularly multi-agent systems (MAS), have demonstrated the potential to automate complex scientific workflows. While there are several research attempts to fully or partially automate the causal inference process(Costa et al., 2025; Zhu et al., 2023; Vaghela et al., 2024; Burns et al., 2023; Hernan & Robins, 2016; Danaei et al., 2018; ´ Wang et al., 2025a; Le et al., 2024; Khatibi et al., 2025; Vashishtha et al., 2023; Biza et al., 2025; Wang et al., 2025b), applications to the health domain is limited. For ´ instance,Gonzalez et al. proposed TRIALSCOPE, a unifying causal framework that leverages biomedical language models to scale real-world evidence generation ´ and trial emulation efforts(Gonzalez et al., 2023). L i et al. introduced TrialGenie, an agentic A I framework to automate various components of T TE , from protocol parsing to cohort generation and statistical analy-sis(Li et al., 2025). This paper introduces ”TrialCalibre”,

1. Introduction The use of Real-World Evidence (RWE) or causal effect esitmation derived from Real-World Data (RWD) is transforming medicine and pharmaceutical research (Costa et al., 2025; Zhu et al., 2023; Vaghela et al., 2024; Burns et al., 2023).A key application is supporting the expansion of indications for existing therapeutic products or treatment, which can expedite patient access to beneficial treatments. Tar1 Institute for Data Science and Informatics, University of Missouri, Columbia, MO, USA. 2 Department of Biomedical Informatics, Biostatistics, and Medical Epidemiology, University of Missouri, Columbia, MO, USA. Correspondence to: Amir Habibdoust <[email protected]>.

Proceedings of the 42 nd International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).

1

a conceptual framework for automating the BenchExCal workflow: from initial benchmarking to final calibrated evidence generation. Our aim is to articulate the vision and outline a viable system architect with core components for such an automated agentic framework, to catalyze discussions around its feasibility and potential impact.

2. The BenchExCal : A Brief Overview The BenchExCal approach, as detailed by Wang et al.(Wang et al., 2025a) , consists of three main steps across two stages: 2.1. Stage 1: Benchmark 1. An initial database study (RW E 1 ) is designed to emulate a completed R C T (RC T 1 ) for an existing indication of the drug of interest.

Figure 1. High-Level Conceptual Workflow of TrialCalibre.

Orchestrator Agent: This Agent manages the end-to-end workflow across Stage 1 (Benchmark) and Stage 2 (Expand & Calibrate). It coordinates agent activities by initiating specific tasks, synthesizing outputs, and compiling final reports. A critical function is its Stage 1 concordance assessment—based on inputs from the Clinical Validation and Quantitative Calibration Agents, with potential Human-inthe-Loop (HITL) checkpoints—which determines whether the workflow progresses to Stage 2. Upon receiving a user query, the Orchestrator Agent leverages advanced large language model (LLM) capabilities for natural language understanding and planning to decompose the request. If new evidence generation via the BenchExCal approach is warranted, it initiates and coordinates a preliminary investigation to identify suitable candidate benchmark trials. This involves orchestrating literature and registry searches and collaborating closely with the Clinical Validation Agent to assess clinical relevance before Stage 1 commences.

2. The treatment effect estimate from R W E 1 (θˆ1∗ ) is compared to the observed effect from R C T 1 (θˆ1 ). 3. The divergence, ξˆ1 = θˆ1∗ − θˆ1 , is quantified. This divergence reflects the net difference due to residual confounding, misclassification, population differences, and other systematic variations between the R C T and its RWD emulation. 2.2. Stage 2: Expand and Calibrate 1. Expand: Using the established design, data, and analytical methods from Stage 1, a second database study (RW E 2 ) is conducted to emulate a hypothetical target trial (RC T 2 ) for a new or expanded indication. This yields an effect estimate ˆθ∗2 . 2. Calibrate: The divergence observed in Stage 1 (ξˆ1 ) is used to inform the interpretation of θˆ2∗. This typically involves scaling ξˆ1 to an appropriate value for Stage 2 (ξˆ2 ) and incorporating it into sensitivity analyses (e.g., Bayesian methods where ξˆ2 informs a prior distribution) to produce a calibrated estimate or range for the treatment effect in the expanded indication.

Protocol Design Agent: It has crucial role in causal study design. The agent operates in two distinct capacities, corresponding to the two stages. In Stage 1, it retrieves and design standardizes the existing randomized controlled trial protocol used for benchmarking purposes (replicate RCT 1 ). It uses data from Data Synthesis Agent & Clinical Validation Agent to design correct protocols. During Stage 2, it facilitates the definition of a protocol for the hypothetical trial (RCT 2 ) tailored to a new indication, ensuring both alignment with the benchmark and methodological clarity.

3. Conceptual Framework for TrialCalibre TrialCalibre is conceptualized as a Hybrid HierarchicalBlackboard MAS. This architecture leverages a hierarchical structure for overall workflow management and specialized blackboard systems for collaborative, knowledge-intensive tasks. All communication and task orchestration are handled by a coordinated multi-agent framework. This relies on structured exchanges managed by the central Orchestrator Agent, with agents collaborating through shared knowledge blackboards and direct communication channels, ensuring reliable, auditable, and scalable interactions (Figure 1.)

Data Synthesis Agent: It consistently translates trial protocols into executable queries compatible with RWD sources throughout both Stage 1 and Stage 2. Its responsibilities include managing data cleaning, the construction of patient cohorts, data extraction, mapping variables between data sources, and performing data quality assurance checks. It ensures that methodological consistency is maintained across the RWE 1 (estimated causal effect in Stage 1) and RWE 2 2

(Stage 2) datasets. We can leverage private model context protocol to enable agent’s secure access to local data.

ity as a robust benchmark, employing its domain expertise and R AG tools. This collaborative assessment, guided by the Orchestrator and potentially involving H I T L input, ensures the rigorous selection of the most appropriate available RCT1. Successfully completing Stage 0 establishes an automated and evidence-based foundation for the Stage 1 and Stage 2 of the process(See Figure 2). For example, the user asks, “What are the comparative effectivenesses of four different classes of antihypertensive drugs?” The agent, in cooperation with the Clinical Validation, realized that there is no existing trial that directly answers this causal question. However, there are trials that compare two of the drugs—for instance, the ONTARGE T trial(Investigators, 2008) —which can be extended to infer an answer.

Clinical Validation Agent: The agent provides domain expertise throughout the BenchExCal workflow, supported by Retrieval-Augmented Generation (RAG). Its key responsibilities include advising on appropriate covariate selection for RWE 1 (Stage 1) and RWE 2 (Stage 2), and assisting in the clinical interpretation of any observed divergence (ξˆ1 ) in Stage 1. For Stage 2, it critically evaluates the clinical plausibility of transferring divergence characteristics from the benchmark, potentially employing a “Clinical Plausibility Blackboard” for complex collaborative reasoning to refine judgments. Additionally, during the initial evidence scoping phase managed by the Orchestrator, this agent plays a crucial role in evaluating the clinical relevance, methodological soundness, and suitability of potential benchmark trials (RCTs) by using its domain knowledge and RAG capabilities to assess literature sources.

4.2. Automated Stage 1 Benchmarking and Divergence The Quantitative Calibration would automatically execute the analysis plan for RWE 1 , compare results with RCT 1 , compute concordance metrics, and calculate the divergence (ξˆ1 ) and its variance. These outputs, communicated via the framework’s messaging channels, inform the Orchestrator and Clinical Validation for progression decisions. For example, if the divergence of the treatment effect between the original ONTARGET and the replicated ONTARGET is acceptable, they decide to proceed to Stage 2.

Quantitative Calibration Agent: Serving as the analytical core of TrialCalibre, the agent is tasked with conducting the formal causal analysis in target trial emulation (TTE) framework. In Stage 1, it carries out the T T E for RWE 1 , estimates the corresponding treatment effect (θˆ1 ), and compares this estimate against the known treatment effect from RCT 1 (θˆ1 ). By doing so, it quantifies the divergence (ξˆ1 ) along with its uncertainty and conducts concordance checks. In Stage 2, this agent performs the T T E for RWE 2 to estimate θˆ2 and leverages the Automated Calibration Engine to scale the previously observed divergence ξˆ1 to a new divergence ξˆ2 . It applies this scaled divergence in sensitivity or Bayesian analyses to produce both uncalibrated and calibrated results. Additionally, it may utilize a “Calibration Blackboard” to systematically explore and select optimal methodologies for divergence scaling or strategies for prior elicitation.

4.3. Automated Calibration Engine Operating within the Quantitative Calibration Agent, the Automated Calibration Engine automatically calculates the scaled divergence (ξˆ2 ) and its uncertainty, potentially leveraging a blackboard for methodological exploration. It generates priors for ξ2 to support Bayesian analyses or defines ranges for tipping-point analyses based on ξˆ2 and its confidence interval. Finally, it performs Bayesian adjustments or tipping-point analyses to execute the calibration.

4. Key Automated Processes and Innovations

4.4. Iterative Validation, Learning, and Refinement

Automating BenchExCal within TrialCalibre involves these key processes, enhanced by the architecture. While Figure 1 provides an overview, Figure 2 details the system’s internal communication, agent-specific tasks, and coordination that enable TrialCalibre’s autonomous operation:

The validity of BenchExCal depends critically on the similarity of divergence mechanisms between stages. The Clinical Validation Agent evaluates this assumption using Retrieval-Augmented Generation (RAG), its knowledge base, and potentially its “Clinical Plausibility Blackboard.” If transferability is uncertain, the Orchestrator, informed by the inter-agent communication system, may halt or flag Stage 2 results. To enhance these critical judgments, RLHF—potentially augmented by causal reinforcement learning (Zhang & Bareinboim, 2020; Blubaum & Hein¨ dorf, 2024) —is integral. Experts provide feedback (e.g., ratings) on agent decisions regarding divergence assessment, transferability, and calibration parameters. This feedback, processed through R L H F methods, iteratively refines the decision-making policies of the Clinical Validation, Quanti-

4.1. Intelligent Trial Discovery and Validation This crucial initial stage of the TrialCalibre workflow. It is activated when a benchmark trial (RCT 1 ) is not predefined by the user. In this phase, Orchestrator initiates the discovery process. Leveraging advanced L L M capabilities, it systematically searches related literature and clinical trial registries for potential candidate RCTs. Subsequently, the Clinical Validation evaluates these trials for their clinical relevance, methodological soundness, and overall suitabil3

tative Calibration, and Orchestrator, aligning outputs with expert intuition. The framework’s design, particularly the logging of agent interactions and data flow, ensures feedback, agent actions, and outcomes are systematically logged and traceable, supporting robust learning. 4.5. Structured Reporting: TrialCalibre generates reports for Stage 1 (benchmarking, divergence ξˆ1 ) and Stage 2 (uncalibrated RWE 2 results, calibration process, calibrated findings, tipping-point analyses). The inherent observability of agent actions and data flow within this system will enhance the transparency and repro-ducibility in these reports.(Hansford et al., 2023) 4.6. Automated Adaptive Protocol Generation: A key innovation within TrialCalibre is the automated and adaptive generation of emulation protocols, which is critical to ensuring the robustness and real-world applicability of the Stage 1 benchmark. The process begins with the Protocol Design retrieving and standardizing the historical protocol as an initial blueprint. The blueprint is then iteratively refined through a collaborative process orchestrated by the Orchestrator, using coordinated communication: the Data Synthesis assesses it against available RWD to identify limitations and potential proxy variables, while the Clinical Validation provides guidance on the clinical acceptability of those proxies. The Protocol Design then finalizes an adapted emulation protocol for (RCT 1 ), transparently documenting all deviations and justifications. This ensures a feasible and methodologically sound foundation for divergence quantification and subsequently informs the definition of Stage 2 protocol. While TrialCalibre builds on common multi-agent L L M tools like retrieval and prompting, its novelty lies in applying them to causal benchmarking, with dedicated audit agents and integration into the workflow. It uniquely incorporates counterfactual checks and RCT-based validation.

5. Challenges The successful adoption of TrialCalibre depends on overcoming several key challenges. One major hurdle is the limitation of RWD, which often lacks granular clinical details (e.g., blood pressure in claims). This requires protocol adaptation by the Protocol Design and Data Synthesis Agents, possibly using proxies or noting data gaps, with the Clinical Validation Agent evaluating the impact on study validity. Enhancing L L M Causal Reasoning is another challenge. To enhance L L M understanding of the three levels of Pearl’s causal ladder, models must advance beyond RAG. Specifically, integrating structured causal knowledge via domainspecific Directed Acyclic Graphs (DAGs) can significantly improve the causal reasoning ability of LLMs, helping them distinguish causation from correlation. Automating complex

Figure 2. Detailed Architecture of TrialCalibre Interactions and Data Flow. Intelligent benchmark trial discovery (Phase 0), Stage 1 (Replicating an existing R C T1 with adaptive protocol design and divergence quantification), and Stage 2 (Expand & Calibrate), all coordinated by a central Orchestrator with specialized agent collaboration, communication, and RLHFdriven agent learning.

clinical decisions—such as assessing divergence transferability or selecting calibration parameters—and designing effective, unbiased RLH F for decision-making agents (e.g., Clinical Validation, Quantitative Calibration, Orchestrator) remain open research problems. Strong human-AI collaboration is essential for clinical validity. Another frontier lies in advancing and validating causal reasoning in TrialCalibre’s LLM-powered agents, developing appropriate evaluation metrics, and applying this reasoning to improve decisions via methods like Causal Reinforcement Learning. While privacy is always a consideration in healthcare AI, TrialCalibre is designed to operate on de-identified data, and no major privacy concerns are anticipated at this stage. Fi-nally, ensuring the methodological robustness of automated calibration—especially by the Quantitative Agent using lim-ited or noisy benchmarks—is critical. Building stakeholder trust will require transparent operations, auditable decision trails, and outputs that are both reliable and interpretable. TrialCalibre’s multi-agent setup requires computational re-sources, but remains more efficient than manual alternatives. Efficiency can be improved through smaller models, early stopping, and reuse of shared steps.

6. Conclusion The BenchExCal framework is a pivotal advancement for RWE and causal effect estimation in indication expansion. By utilizing agentic AI, the proposed TrialCalibre aims to make this methodology more scalable, efficient, and transparent. Addressing the inherent complexities through intelligent automation and adaptive learning via RLHF presents a

4 compelling path to accelerate high-quality RWE generation, ultimately benefiting patient care by facilitating more timely and robust evidence for new therapeutic indications.

Impact Statement This work introduces TrialCalibre, an automated system to advance real-world evidence (RWE) generation for therapeutic indication expansion, aiming to accelerate patient access to treatments and improve the robustness of RWE for critical medical decisions. While this research contributes to the field of Machine Learning, its direct application in healthcare necessitates careful consideration of societal impacts. Key among these are ensuring the system’s accuracy, transparency, and fairness to protect patient safety and foster trustworthy clinical application. Consequently, responsible development, alongside robust governance frameworks, will be vital for realizing its beneficial societal impact.

Acknowledgements We are grateful to the anonymous reviewers for their insightful comments, which helped improve this manuscript.

References Biza, K., Ntroumpogiannis, A., Triantafillou, S., and Tsamardinos, I. Etia: Towards an automated causal discovery pipeline. In Pedreschi, D., Monreale, A., Guidotti, R., Pellungrini, R., and Naretto, F. (eds.), Discovery Science, pp. 65–80. Springer Nature Switzerland, 2025. doi: 10.1007/978-3-031-78980-9 5. Blubaum, L . and Heindorf, S. Causal question answer¨ ing with reinforcement learning. In Proceedings of the ACM Web Conference 2024 (WWW ’24), pp. 2204– 2215. Association for Computing Machinery, 2024. doi: 10.1145/3589334.3645610. Burns, L., Le Roux, N., Kalesnik-Orszulak, R., et al. Realworld evidence for regulatory decision-making: updated guidance from around the world. Frontiers in Medicine, 10, 2023. doi: 10.3389/fmed.2023.1236462. Costa, V., Custodio, M. G., Gefen, E., and Fregni, F. The relevance of the real-world evidence in research, clinical, and regulatory decision making. Frontiers in Public Health, 13:1512429, 2025. doi: 10.3389/fpubh.2025. 1512429. Danaei, G., Garcıa Rodrıguez, L. A., Cantero, O. F., Logan, R. W., and Hernan, M. A. Electronic medical records can be used to emulate target trials of sustained treatment strategies. Journal of Clinical Epidemiology, 96:12–22, 2018. doi: 10.1016/j.jclinepi.2017.11.021.

´ Gonzalez, J., Wong, C., Gero, K. Z., et al. Trialscope: A unifying causal framework for scaling real-world evidence generation with biomedical language models. arXiv preprint, 2023. Published online November 6. Hansford, H. J., Cashin, A. G., Jones, M. D., and et al. Development of the transparent reporting of observational studies emulating a target trial (target) guideline. BMJ Open, 13(9):e074626, 2023. doi: 10.1136/ bmjopen-2023-074626. Hernan, ´ M. A. and Robins, J. M. Using big data to emulate a target trial when a randomized trial is not available: Table 1. American Journal of Epidemiology, 183(8):758– 764, 2016. doi: 10.1093/aje/kwv254. Investigators, T. O. Telmisartan, ramipril, or both in patients at high risk for vascular events. New England Journal of Medicine, 358(15):1547–1559, 2008. doi: 10.1056/ NEJMoa0801317. Khatibi, E., Abbasian, M., Yang, Z., Azimi, I., and Rahmani, A. M. Alcm: Autonomous llm-augmented causal discovery framework. arXiv preprint, 2025. Le, H. D., Xia, X., and Zhang, C. Multi-agent causal discovery using large language models. OpenReview, 2024. UR L h t t p s : / / o p e n r e v i e w . n e t / f o r u m ? id=Idygh9MX0N. Preprint, accessed May 12, 2025. Li, H., Pan, W., Rajendran, S., Zang, C., and Wang, F. Trialgenie: Empowering clinical trial design with agentic intelligence and real world data. medRxiv, 2025. doi: 10.1101/2025.04.17.25326033. U R L https://www.medrxiv.org/content/10. 1101/2025.04.17.25326033v1. Preprint, posted April 20. Vaghela, S., Tanni, K . A., Banerjee, G., and Sikirica, V. A systematic review of real-world evidence (rwe) supportive of new drug and biologic license application approvals in rare diseases. Orphanet Journal of Rare Diseases, 19(1): 117, 2024. doi: 10.1186/s13023-024-03111-2. Vashishtha, A., Reddy, A. G., Kumar, A., Bachu, S., Balasubramanian, V. N., and Sharma, A. Causal inference using llm-guided discovery. OpenReview, 2023. UR L h t t p s : / / o p e n r e v i e w . n e t / f o r u m ? id = Rv m r h r Py 7 j. Preprint, accessed May 12, 2025. Wang, S. V., Russo, M., Glynn, R. J., et al. A benchmark, expand, and calibration (benchexcal) trial emulation approach for using real-world evidence to support indication expansions: Design and process for a planned empirical evaluation. Clinical Pharmacology & Therapeutics, n/a (n/a), 2025a. doi: 10.1002/cpt.3621.

5 Wang, X., Zhou, K., Wu, W., et al. Causal-copilot: An autonomous causal analysis agent. arXiv preprint, 2025b. Zhang, J. and Bareinboim, E. Designing optimal dynamic treatment regimes: A causal reinforcement learning approach. In Proceedings of the 37th International Conference on Machine Learning (ICML), volume 119 of Proceedings of Machine Learning Research, pp. 11012– 11022. JMLR.org, 2020. Zhu, R., Vora, B., Menon, S., et al. Clinical pharmacology applications of real-world data and real-world evidence in drug development and approval-an industry perspective. Clinical Pharmacology & Therapeutics, 114(4):751–767, 2023. doi: 10.1002/cpt.2988.

Record · ID 141523 · SHA-256 901e4d8f7f232269
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.