Skip to content
Research · Aug 19, 2026

LLM agents fail on clinical trial programming; new multi-agent DAG method achieves 100% accuracy on FDA benchmark

GxP-Agent encodes regulatory process steps as a directed acyclic graph, enabling reliable CDISC dataset generation where frontier models and prior multi-agent systems fail.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • LLM-based code generation cannot reliably produce valid clinical trial datasets under CDISC standards.
  • GxP-Agent introduces a process-DAG topology with domain-specific nodes, validation gates, and conditional retries.
  • On CDISC-Bench (254 subjects, 49 variables), GxP-Agent with Claude Sonnet 4.6 achieves 100% structural match across three runs.
  • Weaker models like GPT-4.1 achieve 59.2% accuracy under the DAG topology, versus 0% with other architectures.

Clinical trial programming—transforming study protocols into analysis-ready datasets under CDISC standards—remains a bottleneck in regulatory submissions. Prior attempts using LLM-based code generation have failed catastrophically: across 11 single-shot attempts with five frontier models, none produced a valid subject-level analysis dataset.

Researchers introduce GxP-Agent, a multi-agent system that encodes regulatory process ordering as a directed acyclic graph (DAG). The system decomposes monolithic dataset generation into 15 domain-specific nodes executed by worker agents with pharmaverse skill context, validation gates, and conditional retry mechanisms.

The approach was evaluated on CDISC-Bench, a new execution-based benchmark derived from the FDA pilot submission CDISCPilot01. This benchmark includes 254 subjects and 49 ground-truth ADSL variables. GxP-Agent with Claude Sonnet 4.6 achieved 100% structural match (49/49 variables, 254 correct records) across three independent runs.

The DAG topology also enabled weaker models to perform reliably: GPT-4.1 achieved a mean structural match of 59.2% under the same DAG, whereas it scored 0% under every other architecture. The method generalized to ADAE (adverse events), a 9-node branching DAG with 55 variables and 1,191 records, achieving 100% structural match on the first attempt.

The authors argue that encoding domain process knowledge as graph topology—rather than relying on LLM reasoning alone—is a key enabler for reliable, GxP-compliant clinical trial programming.

Sources
  1. 01arXiv cs.AIGxP-Agent: Process-DAG Topology for Reliable Clinical Trial Programming with LLM Agents
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.