Health Universe
Platform

The platform

AI-native Workspace

Isolated, compliant environment

Unified Patient Record

TEFCA + SMART on FHIR

Run Agents

Navigator, Routines, Roster

User

Role

EM

Dr. Elena Marsh

You

elena.marsh@oncologysuite.org

Admin

MR

Marcus Reed

marcus.reed@oncologysuite.org

Member

PS

Priya Shah

priya.shah@oncologysuite.org

Viewer

Explore Navigator

See how Navigator runs inside the clinical workflow

Use Cases

Oncology Suite

Records Summarization

Denial Avoidance

OncoEMR Visit Preparation

Schedule

Completed

·

116 runs

Sync OncoEMR Appointments

Summarize Each Appointment

Case study

How a cancer center scaled its oncology workflow

Who we serve

Customer story

Why leading health systems build on Health Universe

Company

New Research

Research

See the research behind the platform

Login

Request a Demo

Request a Demo

Login

Back to Research

Publication

March 2026

TrialGPT Evaluation Report

Original vs. Agentic Approach: Cancer Patient Cohort

Executive Summary

Both the original TrialGPT approach described in the TrialGPT paper (original) and the Health Universe agentic approach (agentic) achieved identical discriminative ability for trial eligibility (ROC AUC = 0.736 for both arms). When the two approaches disagree, ground truth adjudication shows the Agentic approach is correct 69% of the time (20/29 divergent cases with ground truth).

Our agentic pipeline matches TrialGPT's output at 89.9% concordance while adding structured clinical interpretability. Independent LLM-as-judge evaluation corroborates this: agentic reasoning was preferred in 60% of divergent cases (9 of 15).

The ground truth evaluation was underpowered, with only 176 trial pairs, representing 2.5% of the paired dataset. In this setting, Agentic achieves PR AUC = 0.38 vs. Original 0.30 (27% improvement), but additional evaluation could be done if larger ground truth data sets were available.

Key Findings

Equivalent discriminative ability

ROC AUC = 0.736 for both arms on eligible-vs-not — identical ability to rank eligible trials above ineligible ones.

Agentic wins divergent cases

When the arms disagree and ground truth is available, Agentic is correct in 20/29 divergent patient-trial pairs with ground-truth labels (69%) vs. Original 9/29 (31%).

Better precision-recall tradeoff

Agentic PR AUC = 0.38 vs. Original 0.30 (27% improvement) for the binary eligibility question.

Conservative top-tier scoring

Agentic produces 37% fewer strong matches (100 vs. 158) but nearly identical moderate matches (705 vs. 726) — fewer false-positive strong matches.

Clinical workflow advantage

Higher precision (0.40 vs. 0.33) and accuracy (0.82 vs. 0.76) mean fewer false positives for clinicians to review. Structured fact sheets add interpretability without degrading accuracy.

Introduction

TrialGPT (Jin et al., Nature Communications 2024; DOI: 10.1038/s41467-024-53081-z) is an end-to-end framework for patient-to-trial matching using large language models, comprising three modules: TrialGPT-Retrieval, TrialGPT-Matching, and TrialGPT-Ranking. It was originally evaluated on 183 synthetic patients across three cohorts (SIGIR 2016, TREC CT 2021, TREC CT 2022) with over 75,000 trial annotations.

We evaluate our agentic oncology pipeline on oncology-specific patients against this baseline. The agentic approach adds a structured patient summarization step upstream of the matching algorithm, producing a Patient Fact Sheet that organizes clinical information into standardized categories before trial matching. This evaluation tests whether this additional processing improves or maintains matching quality on a subset of cancer patients.

Methods

Study Design

We anchored our dataset to the original TrialGPT study data sets. Our study focused on cancer patients and cancer-related clinical trials. Using the original data sources for TrialGPT, we identified 17 oncology patients and 417 cancer-related clinical trials. These formed the basis of the data for our trial.

We created a two-arm evaluation using 17 cancer patients and 417 cancer-related clinical trials extracted from the original TrialGPT datasets:

Arm 1 (Original)

Standard TrialGPT matching pipeline applied directly to patient queries.

Arm 2 (Agentic)

Patient queries processed through our oncology summarization pipeline to produce structured fact sheets, then matched against the same trial corpus.

CohortPatients
SIGIR 20163
TREC 202112
TREC 20222
Total17

Models & Infrastructure

Both the Original and Agentic pipelines use OpenAI GPT-4o as the underlying large language model for all matching, scoring, and reasoning steps. The original TrialGPT paper reports results using GPT-4; our reproduction of the Original pipeline uses GPT-4o to ensure a controlled comparison between arms. The LLM-as-Judge evaluation uses GPT-5 as an independent adjudicator.

Results

With 17 patients and 417 trials, the total number of possible matches is 7,089. We categorized each match as not a match, a weak match, a moderate match, or a strong match. While the agentic approach was more conservative with fewer stronger matches (100 vs. 158), it had nearly identical moderate matches (705 vs. 726) — more conservative top-tier scoring with fewer false-positive strong matches.

Score distribution by category. Agentic produces 37% fewer strong matches (100 vs. 158) with nearly identical moderate matches (705 vs. 726).

CategoryOriginalAgentic
≥ 2.0 (Strong)158100
1.0–2.0 (Moderate)726705
0.0–1.0 (Weak)2,0222,020
< 0.0 (Not a match)4,1724,264

Agreement Metrics

Agreement at four score thresholds. Cohen’s Kappa at the moderate match threshold (≥ 1.0) is 0.519 (“moderate agreement”, Landis & Koch 1977). Concordance of 89.9% means the two approaches agree on binary match/no-match for nearly 9 in 10 patient-trial pairs.

ThresholdConcordanceCohen's KappaInterpretationAgreement F1
≥ 0.00.7330.446Moderate0.670
≥ 1.00.8990.519Moderate0.576
≥ 1.50.9730.537Moderate0.550
≥ 2.00.9830.519Moderate0.527

Concordance

Cohen's Kappa

Agreement F1

≥ 0.0

0.733

0.446

0.670

≥ 1.0

0.899

0.519

0.576

≥ 1.5

0.973

0.537

0.550

≥ 2.0

0.983

0.519

0.527

Agreement metrics heatmap. Concordance rises toward 1.0 at high thresholds while Kappa plateaus, indicating real but limited agreement on strong-match classification.

LLM-as-Judge Results

GPT-5 evaluated 15 patient-trial pairs with the largest score divergence between approaches, assessing clinical reasoning quality on a 1–5 scale.

VerdictCountMean Clinical Soundness (1–5)
Original preferred62.47
Agentic preferred93.00
Tie0

The Agentic approach was preferred in 9 of 15 cases (60%). The following vignettes illustrate the most clinically significant divergences.

Vignette 1: Pediatric Age Restriction Missed

Patient trec-202111 is a 75-year-old male with metastatic papillary thyroid cancer. Original scored 2.6 (strongly eligible) for NCT02375451, a pediatric radioiodine study. Agentic correctly scored −0.5, recognizing the pediatric design makes this elderly patient clearly ineligible.

The trial targets patients who received radioiodine therapy in childhood/pediatric populations, whereas the patient is 75 years old. System A overlooks this key age-related criterion and declares eligibility, while System B correctly flags the pediatric focus and infers ineligibility based on age.

Vignette 2: Logical Inversion of Eligibility Criteria

Patient trec-202167 is a 54-year-old woman with cervical dysplasia. Original scored −0.0 by misinterpreting a “women ≥ 40” inclusion criterion as an exclusion criterion. Agentic correctly scored 2.9, recognizing clear eligibility.

System A makes a critical error by treating age ≥ 40 as an exclusion criterion, contradicting the trial design. System B correctly interprets the criteria. Overall, B's reasoning is more clinically sound.

Vignette 3: Missing VTE/LMWH Requirements

Patient trec-20214 was evaluated for NCT01803022, a trial requiring VTE diagnosis and LMWH treatment. Original scored 2.90 (strongly eligible) despite the patient lacking the required VTE diagnosis. Agentic scored −0.33, correctly identifying the required conditions are absent.

The trial requires a recent VTE and treatment with LMWH. System A overinterprets eligibility by equating DVT history with recent VTE without verifying LMWH use. System B appropriately flags the missing key criteria.

Vignette 4: Complex Comorbidity Handling

Patient trec-202113 is a 62-year-old male with non-Hodgkin lymphoma, SLE, diabetes, and hepatitis C — the most divergent patient (ρ = 0.41). For NCT01737567, Original scored 2.6 while Agentic scored −1.0. The approaches diverge on missing information: Original tends to assume missing data implies eligibility; Agentic treats missing critical information as grounds for caution.

System B correctly withholds inclusion due to lack of evidence the patient is undergoing a screening colonoscopy, whereas System A incorrectly assumes this criterion is met. Although B overstates ineligibility, its assessment is more cautious and clinically sound.

Ground Truth Analysis

Ground-truth relevance judgments (qrels) from the TREC and SIGIR shared tasks provide an external benchmark. Labels: 0 = irrelevant, 1 = excluded (right condition but failing specific criteria), 2 = eligible.

Coverage Caveat

01

176 patient-trial pairs have ground truth annotations out of ~7,078 total (2.5% coverage).

02

Ground truth results are informative but underpowered. All GT metrics should be interpreted with this constraint.

03

Coverage spans: SIGIR 2016 (3 patients, 121 pairs), TREC 2021 (7 patients, 46 pairs), TREC 2022 (2 patients, 9 pairs).

Ranking Metrics vs. Ground Truth

Normalized Discounted Cumulative Gain (NDCG)@10 and related ranking metrics. Original achieves slightly higher NDCG@10 (0.627 vs. 0.604), driven by aggressive scoring of excluded trials.

ArmNDCG@10P@5P@10R@10R@20MAP
Original0.6270.2500.1750.4580.4750.335
Agentic0.6040.2330.1580.4080.4580.313

Classification Metrics vs. Ground Truth

Binary classification metrics (eligible = 2 vs. not eligible = 0+1) at threshold ≥ 1.0. Original has higher recall (0.615 vs. 0.462) but lower precision (0.327 vs. 0.400) and lower accuracy (0.756 vs. 0.818).

ArmTPFPFNTNPrecisionRecallF1Accuracy
Original1633101170.3270.6150.4270.756
Agentic1218141320.4000.4620.4290.818

The Agentic approach misses more eligible trials but when it says “match” it is more likely to be correct. At the ≥ 1.0 threshold, Original generates 33 false positives per 176 trials (19%) vs. Agentic's 18 (10%). In a workflow with 400+ trials per patient, that translates to roughly 15 fewer irrelevant trial reviews per patient with the Agentic approach.

The NDCG vs. PR AUC Discrepancy

There is an apparent contradiction between the two arms' metrics: Original has higher NDCG@10 (0.627 vs. 0.604) but Agentic has higher PR AUC for eligible-vs-not (0.38 vs. 0.30, a 27% improvement). The NDCG uses graded relevance (0/1/2) and rewards ranking excluded (label = 1) trials higher — something Original does more aggressively (mean score for excluded trials: +0.105 vs. Agentic's −0.379). For the binary clinical question “is this patient eligible?” the Agentic approach is actually better.

Score Distributions by Ground-Truth Label

LabelArmNMean ScoreMedian% Moderate% Extreme
Irrelevant (0)Original79−0.009−0.2612.7%20.3%
Irrelevant (0)Agentic79−0.157−0.507.6%22.8%
Excluded (1)Original71+0.105+0.0326.8%18.3%
Excluded (1)Agentic71−0.379−0.678.5%22.5%
Eligible (2)Original26+1.145+1.2126.9%46.2%
Eligible (2)Agentic26+0.810+0.5415.4%38.5%

Key insight: Original scores excluded (label = 1) trials at mean = +0.105, nearly identical to its irrelevant trial mean (−0.009). It effectively cannot distinguish excluded from irrelevant. Agentic pushes excluded trials much lower (−0.379). This mechanism — not superior clinical accuracy — explains Original's higher NDCG.

Mean score by ground-truth label. Original scores excluded trials nearly identically to irrelevant (mean +0.105 vs. −0.009). Agentic pushes excluded trials much lower (−0.379), creating clearer separation.

Eligible vs. Not

Relevant vs. Irrelevant

ROC curves vs. ground truth. Left: eligible vs. not — both arms achieve identical AUC = 0.736. Right: relevant vs. irrelevant — both near chance (0.595 and 0.509), confirming neither approach separates excluded from irrelevant trials.

Original

Pred +

Pred −

Actual +

16

TP

10

FN

Actual −

33

FP

117

TN

Agentic

Pred +

Pred −

Actual +

12

TP

14

FN

Actual −

18

FP

132

TN

Confusion matrices vs. ground truth at threshold = 1.0. Agentic produces fewer false positives for irrelevant (10 vs. 16) and excluded (8 vs. 17) trials, at the cost of more false negatives among eligible trials (14 vs. 10).

Divergent Case Resolution vs. Ground Truth

Of 715 divergent pairs, 29 have ground truth labels. Agentic matches ground truth 69% of the time in these cases.

CategoryCount
Total divergent pairs715
With ground truth29
Original correct9 (31%)
Agentic correct20 (69%)
Neither correct0
Both correct0

Discussion

At the clinically meaningful threshold of 1.0, concordance was 89.9% with Cohen's Kappa of 0.519 (“moderate agreement”). The Agentic approach produced scores that were on average 0.031 points lower than the Original (p < 0.001), reflecting its more conservative approach to eligibility scoring.

Benchmarking Implications

On the oncology subset, both approaches achieve identical discriminative ability (ROC AUC = 0.736) for eligible-vs-not classification. The Agentic approach shows a 27% improvement in PR AUC (0.38 vs. 0.30; n = 176 trial pairs), indicating a better precision-recall tradeoff for the binary eligibility question. When the two approaches diverge, Agentic matches ground truth 69% of the time.

The NDCG advantage for Original (0.627 vs. 0.604) is explained by its more aggressive scoring of excluded (label = 1) trials — behavior that inflates graded relevance metrics but is not clinically desirable.

01

Our pipeline matches TrialGPT output with 89.9% concordance at the moderate-match threshold.

02

Against expert ground truth (n=176), both arms achieve identical ROC AUC = 0.736.

03

Agentic achieves higher precision (0.40 vs. 0.33) and accuracy (0.82 vs. 0.76) on the binary eligibility task.

04

When approaches diverge, Agentic is correct 69% of the time (20/29 divergent patient-trial pairs with ground-truth labels).

05

Agentic shows 27% improvement in PR AUC (0.38 vs. 0.30) for the clinically actionable binary eligibility question.

06

Structured fact sheets add interpretability and auditability without degrading accuracy.

The structured fact sheet layer adds clinical interpretability without degrading — and in the key PR AUC metric, improving — matching accuracy. On the oncology subset, our pipeline demonstrates equivalent or superior performance against expert ground truth, with a more conservative scoring profile that produces higher precision and fewer false-positive strong matches. These characteristics are desirable for clinical deployment, where clinician time is limited and false positives carry real workflow costs.

Limitations

Small sample size

Limiting the patients to only cancer patients (17) provides limited statistical power for detecting subtle differences.

Synthetic patients

Test patients are from SIGIR/TREC shared tasks and may not fully represent real clinical complexity.

Partial ground truth coverage

Ground truth covers only 2.5% of patient-trial pairs (176 of ~7,078). Ground truth analyses are informative but underpowered.

Data completeness

Four patients in the Original arm had 1–4 missing trials due to API rate limits; impact is negligible.

References

Jin, Q., et al. (2024). Matching patients to clinical trials with large language models. Nature Communications, 15, 9074. DOI: 10.1038/s41467-024-53081-z

©2026 Health Universe, Inc. Confidential. All rights reserved.