Introduction
Accessing clinical trial data is currently a fragmented and manual process. While ClinicalTrials.gov (CTG) serves as the primary registry for trial data, it is often incomplete; many trials, particularly those conducted outside the U.S., are never registered or are only reported in peer-reviewed journals. Conversely, PubMed contains millions of research articles, but they exist as unstructured "free text." For researchers, filtering these trials by specific criteria—such as study phase or biomarker outcomes—requires weeks of manual extraction. This "silo" effect between registries and literature creates a massive barrier to evidence-based medicine.
System Architecture and Methodology
To address this gap, we developed ClinicalTrialsHub, a search platform that unifies structured data from CTG with unstructured research papers from PubMed. The system employs Large Language Models (LLMs) to automatically extract and structure trial data, effectively turning a PDF into a searchable database entry.
The platform's workflow consists of four primary stages:
- Natural Language Querying: GPT-5.1 translates conversational user questions into structured database queries for both CTG and PubMed.
- Information Extraction (IE): The system parses full-text PubMed articles to extract data into 211 distinct fields (e.g., study design, arm groups, and primary outcomes) that match the CTG schema.
- Reranking and Deduplication: Using BM25 scoring and a bidirectional merging algorithm, the system deduplicates results that appear in both sources and ranks the most relevant trials.
- Attributed Question Answering (QA): An interactive chatbot powered by Gemini-3-Pro provides answers grounded in the trial text, featuring an "auto-scroll" function to highlight source sentences for verification.
Evaluation and Key Results
ClinicalTrialsHub was evaluated using a curated dataset of 100 PMC-CTG trial pairs and the FACTS grounding benchmark. The system effectively increased access to structured clinical trial data by 83.8% compared to using ClinicalTrials.gov alone.
A critical component of this success is the high accuracy of the information extraction task. As shown in the performance metrics below, GPT-5.1 emerged as the top performer for structured data extraction.
GPT-5.1 achieved a Key-level F1 score of 0.980 (identifying field existence) and a Value-level F1 of 0.890 (extracting correct data). In a validation study with seven medical professionals, six participants found significantly more relevant studies using ClinicalTrialsHub than traditional methods, rating the chatbot's answer quality at 4.86/5.
Discussion and Future Work
One of the most significant insights was the identification of "Extra-Valid" data, where PubMed articles contained more detailed or updated information than the official registry. However, challenges remain regarding latency—with Gemini-3-Pro taking an average of 14.33 seconds for grounded responses—and the high cost of frontier LLMs. Future research will focus on domain-specific fine-tuning of smaller, open-source models to reduce costs and the development of patient-centric features like automated eligibility matching.
Summary updated