Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Representation Before Retrieval: Structured Patient Artifacts Reduce Hallucination in Clinical AI Systems

Joe Scanlin, Armando Cuesta, Martín Varsavsky
doi: https://doi.org/10.64898/2026.02.13.26346256
Joe Scanlin
1Certuma, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: jscanlin{at}certuma.ai
Armando Cuesta
1Certuma, USA
MD, MBA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Martín Varsavsky
1Certuma, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Background Large language models show promise for clinical decision support, yet their propensity for hallucination—generating plausible but unsupported claims—poses sub-stantial patient safety risks. Retrieval-augmented generation (RAG) is widely assumed to mitigate this problem by grounding outputs in retrieved documents, but this assumption remains inadequately tested in clinical contexts where information density, temporal complexity, and safety stakes are uniquely high.

Methods We developed a system that compiles heterogeneous patient data (electronic health records, wearables, genomics, imaging reports) into structured, machine-readable artifacts with explicit provenance tracking across seven clinical domains. We evaluated four conditions: baseline LLM (C0), RAG over raw clinical text (C1), artifact-augmented single-pass generation (C2), and artifact-augmented multi-step agent workflow with verification (C3). Using 100 synthetic patient vignettes evaluated across 3 random seeds (N = 300 per condition, 1,200 total), we measured unsupported claim rates, factual accuracy, temporal consistency, contraindication detection, and clinical safety metrics using GPT-4o-mini with physician-adjudicated safety review.

Results RAG substantially increased hallucination: unsupported claim rates rose from 5.0% (95% CI: 3.8–6.4%) at baseline to 43.6% (95% CI: 40.1–47.2%) with retrieval—an 8.7-fold increase (p < 0.001, Cohen’s d = 2.31). Structured artifacts reduced unsupported claims to 8.4% (95% CI: 6.7–10.3%) in single-pass generation, a 40% relative reduction versus baseline (p = 0.02, d = 0.48). The agent workflow achieved 21.1% unsupported claims with the lowest contraindication miss rate (0.04) and highest clinician utility scores. Ablation analysis revealed that citation requirements and constraint checking contributed most to safety improvements.

Conclusions Contrary to prevailing assumptions, RAG increases rather than decreases hallucination in clinical text generation. Structured representation with explicit provenance offers a more effective approach to grounding LLM outputs in verifiable patient data. We propose an information-theoretic framework explaining why representation quality determines the ceiling on factual reliability, while agentic verification affects uncertainty handling and safety constraint enforcement.

Competing Interest Statement

JS, AC, and MV are employees of Certuma, which develops clinical AI systems including components evaluated in this paper. The evaluation compared general methodological approaches (raw vs. structured representation, with and without retrieval and agent workflows) rather than benchmarking proprietary products. No external funding was received for this study.

Funding Statement

This study did not receive any external funding.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Data Availability

All data produced in the present study are synthetic. Synthetic vignette specifications, artifact schema, and evaluation code will be made available in a public repository upon publication. No real patient data was used in this study.

https://github.com/joescanlin/myome-cds

Data Availability

Synthetic vignette specifications and evaluation code will be made available in a public repository upon publication. The artifact schema specification is provided in Appendix A. Real patient data was not used in this study.

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC 4.0 International license.
Back to top
PreviousNext
Posted February 16, 2026.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Representation Before Retrieval: Structured Patient Artifacts Reduce Hallucination in Clinical AI Systems
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Representation Before Retrieval: Structured Patient Artifacts Reduce Hallucination in Clinical AI Systems
Joe Scanlin, Armando Cuesta, Martín Varsavsky
medRxiv 2026.02.13.26346256; doi: https://doi.org/10.64898/2026.02.13.26346256
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Representation Before Retrieval: Structured Patient Artifacts Reduce Hallucination in Clinical AI Systems
Joe Scanlin, Armando Cuesta, Martín Varsavsky
medRxiv 2026.02.13.26346256; doi: https://doi.org/10.64898/2026.02.13.26346256

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Health Informatics
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (868)
  • Anesthesia (306)
  • Cardiovascular Medicine (4483)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (615)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15283)
  • Forensic Medicine (31)
  • Gastroenterology (1134)
  • Genetic and Genomic Medicine (6651)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4606)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1624)
  • Hematology (545)
  • HIV/AIDS (1276)
  • Infectious Diseases (except HIV/AIDS) (15965)
  • Intensive Care and Critical Care Medicine (1111)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (675)
  • Neurology (6699)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1153)
  • Occupational and Environmental Health (961)
  • Oncology (3370)
  • Ophthalmology (989)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (670)
  • Pediatrics (1704)
  • Pharmacology and Therapeutics (700)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5497)
  • Public and Global Health (9288)
  • Radiology and Imaging (2225)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1202)
  • Rheumatology (598)
  • Sexual and Reproductive Health (721)
  • Sports Medicine (536)
  • Surgery (722)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (267)