---
title: "FERMAT autoregressive clinical foundation model for disease risk and event prediction"
id: "medrxiv-19-fermat-an-autoregressive-clinical-foundation-model-for-disease-risk-and"
canonical_url: "https://medichelpline.com/clinical-feed/medrxiv-19-fermat-an-autoregressive-clinical-foundation-model-for-disease-risk-and"
content_type: "clinical_feed_article"
specialty: "General"
source_name: "medRxiv (Clinical Preprints)"
source_url: "https://www.medrxiv.org/content/10.64898/2026.10.11.26365210v1?rss=1"
published_at: "2026-10-13T12:00:00.000Z"
evidence_level: "Verified Feed"
license: "CC-BY-NC-4.0 / Informational Use"
---
# FERMAT autoregressive clinical foundation model for disease risk and event prediction
## Provenance & Clinical Metadata
- **Canonical URL:** https://medichelpline.com/clinical-feed/medrxiv-19-fermat-an-autoregressive-clinical-foundation-model-for-disease-risk-and
- **Specialty:** [General](https://medichelpline.com/clinical-feed/general.md)
- **Primary Source:** medRxiv (Clinical Preprints)
- **Source URL:** [Original Journal Publication](https://www.medrxiv.org/content/10.64898/2026.10.11.26365210v1?rss=1)
- **Published At:** 2026-10-13T12:00:00.000Z
- **Evidence Rating:** Verified Feed
## Executive GIST (TL;DR)
- The study team trained **FERMAT**, a 65-million-parameter **clinical foundation model**, on longitudinal electronic health records from 3.77 million patients at one hospital to evaluate two downstream prediction approaches. - Investigators compared representation-based predictors (task-specific models using learned patient embeddings) with generation-based predictors (predictions derived from generated clinical event sequences) across clinical tasks. - Representation-based prediction outperformed generation-based methods in disease-risk forecasting (five-year risk for chronic kidney disease, fatty liver, and diabetes) in a 10,000-patient test cohort, achieving higher observation-weighted AUROC by 0.098–0.115 and lower probability error, according to the authors. - The study team observed that generation-based prediction excelled at same-day event recovery when multiple events share a date in hospital EHRs; with 50 generated trajectories per patient it reached a Recall@10 of 71.0% versus 55.7% for representation-based prediction (paired improvement 15.31 percentage points; 95% CI, 13.92–16.79; n = 1,862). - Data availability and ethics: the Institutional Review Board at Seoul National University Hospital determined the study exempt; patient-level data are not publicly available but are accessible on reasonable request and subject to IRB approval and institutional procedures. - The report is a medRxiv preprint and has not undergone peer review; the authors declared no competing interests and listed Korea Health Industry Development Institute funding.
## Clinical Analysis & Structured Key Points
FERMAT: An Autoregressive Clinical Foundation Model for Disease Risk and Clinical Event Prediction | medRxiv Skip to main content FERMAT: An Autoregressive Clinical Foundation Model for Disease Risk and Clinical Event Prediction View ORCID Profile Jaegyun Jung , Hyung-Chul Lee doi: https://doi.org/10.64898/2026.10.11.26365210 Jaegyun Jung 1 Seoul National University Hospital; Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jaegyun Jung Hyung-Chul Lee 2 Seoul National University Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: vital{at}snu.ac.kr Abstract Info/History Metrics Data/Code Preview PDF Abstract Clinical foundation models learn patterns in longitudinal health records that can be reused across prediction tasks. However, the relative strengths of representation-based and generation-based prediction across clinical tasks remain unclear. Using longitudinal electronic health records from 3.77 million patients at a single hospital, we developed FERMAT (Foundation model for Exploring Real-world Multimodal health data using Autoregressive Trajectory modeling), a 65-million-parameter clinical foundation model. We compared predictions from task-specific predictors trained on patient representations with those derived from generated clinical event sequences. Representation-based prediction performed better in the disease-risk comparisons. In detailed analyses of five-year chronic kidney disease, fatty liver, and diabetes risk in a test cohort of 10,000 patients, representation-based predictors exceeded generation-based estimates by 0.098-0.115 in observation-weighted AUROC and had lower probability error. Generation-based prediction, in turn, performed better in predicting diagnoses, prescriptions, and procedures recorded on the same day, a task motivated by the frequent presence of multiple events with the same date in hospital EHRs. Using 50 generated trajectories per patient, it achieved a Recall@10 of 71.0%, compared with 55.7% for representation-based prediction, with a paired improvement of 15.31 percentage points (95% CI, 13.92-16.79; n = 1,862). These findings demonstrate task-dependent strengths of representation-based and generation-based applications within a single clinical foundation model, providing an empirical basis for exploring how the two approaches can be used individually or combined to address clinical prediction needs. Competing Interest Statement The authors have declared no competing interest. Author Declarations I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained. Yes The details of the IRB/oversight body that provided approval or exemption for the research described are given below: This study was determined to be exempt from review by the Institutional Review Board of Seoul National University Hospital. The study used retrospective electronic health records from Seoul National University Hospital. Patient-level data are not publicly available. 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 used in the present study are available upon reasonable request to the authors, subject to Institutional Review Board approval and institutional data access procedures. Funder Information Declared Korea Health Industry Development Institute , RS-2025-25462804 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-ND 4.0 International license . Back to top Previous Next Posted October 13, 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. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following FERMAT: An Autoregressive Clinical Foundation Model for Disease Risk and Clinical Event Prediction Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share FERMAT: An Autoregressive Clinical Foundation Model for Disease Risk and Clinical Event Prediction Jaegyun Jung , Hyung-Chul Lee medRxiv 2026.10.11.26365210; doi: https://doi.org/10.64898/2026.10.11.26365210 Share This Article: Copy Citation Tools FERMAT: An Autoregressive Clinical Foundation Model for Disease Risk and Clinical Event Prediction Jaegyun Jung , Hyung-Chul Lee medRxiv 2026.10.11.26365210; doi: https://doi.org/10.64898/2026.10.11.26365210 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 Areas All Articles Addiction Medicine (627) Allergy and Immunology (914) Anesthesia (343) Cardiovascular Medicine (4911) Dentistry and Oral Medicine (487) Dermatology (421) Emergency Medicine (665) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1652) Epidemiology (16107) Forensic Medicine (35) Gastroenterology (1222) Genetic and Genomic Medicine (7154) Geriatric Medicine (740) Health Economics (1079) Health Informatics (5169) Health Policy (1451) Health Systems and Quality Improvement (1803) Hematology (594) HIV/AIDS (1361) Infectious Diseases (except HIV/AIDS) (16387) Intensive Care and Critical Care Medicine (1187) Medical Education (682) Medical Ethics (156) Nephrology (732) Neurology (7425) Nursing (372) Nutrition (1107) Obstetrics and Gynecology (1270) Occupational and Environmental Health (1016) Oncology (3677) Ophthalmology (1076) Orthopedics (399) Otolaryngology (460) Pain Medicine (487) Palliative Medicine (142) Pathology (714) Pediatrics (1830) Pharmacology and Therapeutics (742) Primary Care Research (780) Psychiatry and Clinical Psychology (6019) Public and Global Health (9870) Radiology and Imaging (2473) Rehabilitation Medicine and Physical Therapy (1489) Respiratory Medicine (1257) Rheumatology (653) Sexual and Reproductive Health (791) Sports Medicine (590) Surgery (790) Toxicology (108) Transplantation (313) Urology (299)
## Related Clinical Research

- [Preanalytical Workflow for Protein Detection in Menstrual Effluent: CA125 Stability Findings](https://medichelpline.com/clinical-feed/medrxiv-2-rethink-the-flow-establishing-a-preanalytical-workflow-for-protein-detection-in.md)
- [Long-term complication profiles after transsphenoidal vs transcranial resection of adult craniopha](https://medichelpline.com/clinical-feed/plos-one-9-long-term-complication-profiles-following-transsphenoidal-and-transcranial.md)
- [Cluster analysis of high-cost patients in Japan using JMDC claims trajectories](https://medichelpline.com/clinical-feed/plos-one-9-cluster-analysis-of-high-cost-patients-in-japan-a-longitudinal-study-using.md)
- [Blood methylation profile stratifies 10-year risk for 21 common diseases](https://medichelpline.com/clinical-feed/medrxiv-20-one-blood-methylation-profile-stratifies-ten-year-risk-across-21-common-diseases.md)
- [USPSTF to meet after yearlong pause to review key preventive recommendations](https://medichelpline.com/clinical-feed/stat-news-0-stat-influential-preventive-services-panel-to-meet-for-first-time-in-more-than.md)

## Navigation
- [← Back to General Feed](https://medichelpline.com/clinical-feed/general.md)
- [← All Clinical Specialties](https://medichelpline.com/clinical-feed.md)
## Medical & Regulatory Disclaimer

> [!CAUTION]
> MedicHelpline content is structured for research, educational, and professional discovery purposes. It does not constitute individual medical advice, clinical diagnosis, or treatment recommendations.
> Always verify dosing, contraindications, and regulatory alerts against official product labeling and primary regulatory sources before clinical decision-making.