# ProCARE: Real-World Study Automation via Profile-Grounded Evidence Contracts

*Zhaoyu Fan, Bowen Han, Yanwei Ren, Jincheng Ou, Siyi Cao, Zehua He, Kaiyu Huang, Pengcheng He, Shanshan Ni, Chengchen Gong, Qingjiang Shi*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149562) · [Open on the map](../papers.html#p149562)

Category: [Multimodal, Audio & Medical Reasoning](../pcat/1.md) › [LLM Clinical Reasoning](../pgroup/84.md) · Type: new method · Keywords: real-world studies, evidence contracts, clinical data automation, intermediate representation, workflow validation, healthcare data semantics

Areas: [AI Agents](../areas/agents.md) › Agentic Decision Making › Medical Agent Benchmarks; [Evaluation & Benchmarks](../areas/evaluation.md) › Multidisciplinary Model Benchmarks › Medical LLM Benchmarks

## Summary
ProCARE is a profile-grounded framework that automates real-world studies by converting heterogeneous data profiles into Evidence Contracts and compiling study objectives into a strongly typed intermediate representation, enabling deterministic validation and repair of analysis workflows.

## Explained to a 5-year-old
Doctors want to learn how medicines work from real patient data, but computers often make mistakes when reading that data. The new system makes a clear set of rules that tell the computer what the data means and what it can be used for. It then turns doctors' study plans into a special language that the computer can follow step by step. The computer checks each step for mistakes and fixes them automatically. This helps doctors get trustworthy answers faster.

## Explained to a 5-year-old, longer
Imagine doctors have a big box of patient information that includes dates, medicines, and health problems, but the information is written in many different languages and formats. They want a robot to read this box and answer questions like "Did this medicine help patients get better?" but the robot often misunderstands the dates or mixes up which patient belongs to which group. To solve this, the researchers created a system that first asks the box owner to explain exactly what each piece of information means, creating a contract that lists all the variables, time windows, and limits on what can be claimed. Then they turn the doctors' questions into a precise step-by-step plan that the robot can follow without guessing. The robot checks each step against the contract, finds any errors, and automatically fixes them. This way, the robot can produce reliable answers, just like a careful scientist would, but much faster and with fewer mistakes. The system also shares its work with other researchers so they can improve it together.

## For a technical reader
The system takes a description of a healthcare data source and produces a formal contract that enumerates variables, time attributes, and allowable inferences. It then translates a study specification into an intermediate representation that enforces type safety for variables, temporal relationships, and statistical operations. A validation engine checks generated pipelines against the contract, automatically repairing schema mismatches, cohort definitions, and derivation logic. This deterministic workflow ensures reproducible, traceable analyses and reduces the brittleness of LLM-based automation.

## Problem
Automating real-world studies with large language model agents is brittle because analyses depend on dataset-specific clinical semantics, leading to schema mismatches, temporal errors, inconsistent granularity, and unsupported claims.

## Method
The approach converts heterogeneous data profiles into Evidence Contracts that specify available variables, temporal attributes, distributions, and evidentiary limits, and compiles study objectives into a strongly typed intermediate representation for variables, time relations, analysis units, and statistical tasks. Deterministic validation and localized repair then check and revise generated workflows across schema mapping, cohort construction, variable derivation, analysis, and interpretation.

## Results
On 36 EHR-based benchmark tasks, the approach achieves higher code executability, semantic consistency, and conclusion traceability than strong LLM-agent baselines, and its automated violation diagnoses show moderate-to-substantial agreement with blinded expert review.

## Contributions
The paper introduces a profile-grounded framework that reformulates real-world study automation as constrained compilation, providing Evidence Contracts and a strongly typed intermediate representation for robust workflow generation, validation, and repair. It also releases code, benchmark prompts, evaluation scripts, and de-identified HCC benchmark tables to support reproducible research.

## Practical relevance
The framework enables reliable, scalable automation of real-world clinical studies, reducing manual effort and improving reproducibility of evidence generation.

## Research questions this paper is counted under

- [How can LLM agents reliably reason and diagnose over heterogeneous data with limited context?](../q/688.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149562)
