Predicting Risk of Alzheimer’s Diseases and Related Dementias with AI Foundation Model on Electronic Health Records

preprint OA: closed
📄 Open PDF Full text JSON View at publisher

Abstract

ABSTRACT Early identification of Alzheimer’s disease (AD) and AD-related dementias (ADRD) has high clinical significance, both because of the potential to slow decline through initiating FDA-approved therapies and managing modifiable risk factors, and to help persons living with dementia and their families to plan before cognitive loss makes doing so challenging. However, substantial racial and ethnic disparities in early diagnosis currently lead to additional inequities in care, urging accurate and inclusive risk assessment programs. In this study, we trained an artificial intelligence foundation model to represent the electronic health records (EHR) data with a vast cohort of 1.2 million patients within a large health system. Building upon this foundation EHR model, we developed a predictive Transformer model, named TRADE , capable of identifying risks for AD/ADRD and mild cognitive impairment (MCI), by analyzing the past sequential visit records. Amongst individuals 65 and older, our model was able to generate risk predictions for various future timeframes. On the held-out validation set, our model achieved an area under the receiver operating characteristic (AUROC) of 0.772 (95% CI: 0.770, 0.773) for identifying the AD/ADRD/MCI risks in 1 year, and AUROC of 0.735 (95% CI: 0.734, 0.736) in 5 years. The positive predictive values (PPV) in 5 years among individuals with top 1% and 5% highest estimated risks were 39.2% and 27.8%, respectively. These results demonstrate significant improvements upon the current EHR-based AD/ADRD/MCI risk assessment models, paving the way for better prognosis and management of AD/ADRD/MCI at scale.
Full text 66,471 characters · extracted from preprint-html · click to expand
Predicting Risk of Alzheimer’s Diseases and Related Dementias with AI Foundation Model on Electronic Health Records | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Predicting Risk of Alzheimer’s Diseases and Related Dementias with AI Foundation Model on Electronic Health Records View ORCID Profile Weicheng Zhu , Huanze Tang , Hao Zhang , Haresh Rengaraj Rajamohan , Shih-Lun Huang , Xinyue Ma , Ankush Chaudhari , Divyam Madaan , Elaf Almahmoud , Sumit Chopra , John A. Dodson , Abraham A. Brody , Arjun V. Masurkar , Narges Razavian doi: https://doi.org/10.1101/2024.04.26.24306180 Weicheng Zhu 1 NYU, Center for Data Science , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Weicheng Zhu Huanze Tang 1 NYU, Center for Data Science , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Hao Zhang 2 NYU Grossman School of Medicine, Department of Population Health , New York, NY, 10016, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Haresh Rengaraj Rajamohan 1 NYU, Center for Data Science , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Shih-Lun Huang 1 NYU, Center for Data Science , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Xinyue Ma 1 NYU, Center for Data Science , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Ankush Chaudhari 1 NYU, Center for Data Science , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Divyam Madaan 3 NYU, Courant Institute of Mathematical Sciences , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Elaf Almahmoud 3 NYU, Courant Institute of Mathematical Sciences , New York, NY, 10001, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Sumit Chopra 3 NYU, Courant Institute of Mathematical Sciences , New York, NY, 10001, USA 4 NYU Grossman School of Medicine, Department of Radiology , New York, NY, 10016, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site John A. Dodson 2 NYU Grossman School of Medicine, Department of Population Health , New York, NY, 10016, USA 5 NYU Grossman School of Medicine, Department of Medicine , New York, NY, 10016, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Abraham A. Brody 5 NYU Grossman School of Medicine, Department of Medicine , New York, NY, 10016, USA 6 NYU Grossman School of Medicine, Rory Meyers College of Nursing, Hartford Institute for Geriatric Nursing , New York, NY, 10016, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Arjun V. Masurkar 7 NYU Grossman School of Medicine, Department of Neurology , New York, NY, 10016, USA 8 NYU Grossman School of Medicine, Department of Neuroscience and Physiology , New York, NY, 10016, USA 9 NYU Grossman School of Medicine, Neuroscience Institute , New York, NY, 10016, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Narges Razavian 2 NYU Grossman School of Medicine, Department of Population Health , New York, NY, 10016, USA 4 NYU Grossman School of Medicine, Department of Radiology , New York, NY, 10016, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: Narges.Razavian{at}nyulangone.org Abstract Full Text Info/History Metrics Data/Code Preview PDF ABSTRACT Early identification of Alzheimer’s disease (AD) and AD-related dementias (ADRD) has high clinical significance, both because of the potential to slow decline through initiating FDA-approved therapies and managing modifiable risk factors, and to help persons living with dementia and their families to plan before cognitive loss makes doing so challenging. However, substantial racial and ethnic disparities in early diagnosis currently lead to additional inequities in care, urging accurate and inclusive risk assessment programs. In this study, we trained an artificial intelligence foundation model to represent the electronic health records (EHR) data with a vast cohort of 1.2 million patients within a large health system. Building upon this foundation EHR model, we developed a predictive Transformer model, named TRADE , capable of identifying risks for AD/ADRD and mild cognitive impairment (MCI), by analyzing the past sequential visit records. Amongst individuals 65 and older, our model was able to generate risk predictions for various future timeframes. On the held-out validation set, our model achieved an area under the receiver operating characteristic (AUROC) of 0.772 (95% CI: 0.770, 0.773) for identifying the AD/ADRD/MCI risks in 1 year, and AUROC of 0.735 (95% CI: 0.734, 0.736) in 5 years. The positive predictive values (PPV) in 5 years among individuals with top 1% and 5% highest estimated risks were 39.2% and 27.8%, respectively. These results demonstrate significant improvements upon the current EHR-based AD/ADRD/MCI risk assessment models, paving the way for better prognosis and management of AD/ADRD/MCI at scale. Introduction Alzheimer’s disease (AD) and AD-related dementias (ADRD) are irreversible conditions affecting over 6 million people in the United States 1 , 2 . While the pathogenesis of AD/ADRD is complex, several modifiable cardiovascular risk factors, such as hypertension, smoking, obesity, and diabetes, are recognized to contribute to its pathogenesis and progression 3 – 6 . Early diagnosis of AD/ADRD or mild cognitive impairment (MCI) are important for a number of reasons. First, the diagnosis may serve as a motivating factor for addressing modifiable risk factors amongst both clinicians and persons living with dementia (PLWD) or mild cognitive impairment (MCI) as it is one of the only currently known ways to slow cognitive decline. Second, when diagnosed earlier, it is easier for advance care planning to occur with input from the PLWD or MCI, and allows for greater planning for the eventual decline, including caregiving situation, housing or moving closer to family, financial planning. While controversial in nature, early diagnosis is also important as the sole disease-modifying FDA-approved therapy currently on the market for AD/ADRD/MCI is only available and shown some efficacy in PLWD or MCI at the early stage of impairment 7 . Accordingly, early identification of AD/ADRD at the prodromal stage is a critical component in optimal care delivery. However, at the same time, there are significant inequities in care, including lower rates of early diagnosis in racial and ethnic minoritized groups and worse management of modifiable cardiovascular disease factors. These inequities are multifactorial, and new methods are needed for systematically improving the healthcare system. Algorithms and risk models for detecting probable undiagnosed MCI or AD/ADRD are one way to facilitate such early diagnosis and intervention. Approaches with wearable signals 8 , neuroimaging 9 and blood biomarkers 10 are promising but cannot be readily applied to the general population due to the cost and effort, and limited use, especially in underserved and historically marginalized communities. Assessing risks with Electronic Health Records (EHR)-based models has the potential for direct integration into EHR systems and clinical workflow at the point of care for every patient. A few retrospectively validated EHR-based models exist to date. eRADAR, a statistical model 11 , which was developed and validated using participants of Adult Changes in Thought study, is the most robust model tested to date in scientific studies, and is undergoing prospective validation and randomized trials 12 , 13 . One limitation of the eRADAR model however is its focus on using known risk factors including aging, vascular diseases and diabetes, while other potential factors that can improve precision, such as specific medications, lab values, and additional diagnoses are not included. This is particularly important as many of the eRADAR risk factors have correlations with socioeconomic status and racial and ethnic minoritized groups which can reduce sensitivity in these populations. To address these concerns, we developed and validated an EHR-based risk assessment model utilizing the additional information available in the EHR, exhibiting improved performances on both overall population and subgroups with different characteristics. Recent advancements in deep learning offered neural networks with a stronger capacity to understand the EHR 14 – 17 . A graph neural network, taking the connections among various EHR features into account, outperformed traditional statistical models and multiple layer perceptron networks in predicting potential AD 18 . However, this study only used cross-sectional EHR without temporal information. Transformer 19 , a powerful network architecture used to represent high-dimensional data like images and languages, is now widely used as the state-of-the-art method to represent sequential relationship across visits and interconnection of information within a single visit 20 – 22 . The increment in the scale of the Transformer model usually leads to better performance, while it also requires larger training data to achieve generalizable performance 23 . To address the insufficiency of labeled data, a self-supervised learning approach, masked token modeling, can be used to pretrain these large models on a broader domain with unlabeled data 24 , 25 . Then the large pretrained model, termed Foundation Model can be partially or fully finetuned for some downstream prediction tasks with smaller labeled datasets 26 , 27 . In this study, we employed this framework to develop a T ranformer model for predicting R isks of AD /ADRD/MCI based on E HR ( TRADE ), where we pretrained a foundation model with a large-scale inclusive EHR dataset, and finetuned the model with a selective cohort for predicting AD/ADRD/MCI. TRADE outperformed the vanilla Transformer model trained from scratch. Compared to Transformers for EHR in previous literature (e.g. BEHRT 20 and MED-BERT 21 ), TRADE and its base foundation model further incorporated the medications and discretized lab values, in addition to diagnosis codes, to enrich the EHR representation. Also, it was trained with a curated cohort with more medical concepts, visits and longer span of presence in the healthcare system. Our approach achieved an area under the receiver operating characteristic (AUROC) at 0.772 (95% CI: 0.770, 0.773) in identifying AD/ADRD/MCI patients in 1 year, and 0.735 (95% CI: 0.734, 0.736) in 5 years, specifically among patients aged 65 and above. The positive predictive values (PPV) in 5 years among patients with the top 1% and 5% highest estimated risks were 39.2% and 27.8%. We built a comparison model on the same cohort with eRADAR that has been deployed in clinical practices 11 . We demonstrated that our proposed deep-learning model was more accurate on the overall heldout validation set and subcohorts separated by different characteristics. These results suggest that incorporating our AI foundation model in the EHR system is promising to advance the current identification and screening of patients at high risk for AD/ADRD/MCI. Results Study participants We used Electronic Health Record (EHR) data from a large health system, covering 1,288,333 patients with 587 million medical concept tokens from Jan 2013 to Jan 2023 with at least 5 visits. The EHR of each patient includes a sequence of encounters consisting of International Classification of Diseases (ICD-10) diagnostic codes (all diagnoses types, including encounter, problem list, billing and medical history), lab values coded under Logical Observation Identifiers Names and Codes (LOINC) and medications at the therapeutic level ( Figure 1a ). The onset of AD/ADRD and MCI was defined as the visit with the first occurrences of AD/ADRD/MCI-related diagnosis codes or medication ( Table S1 ). Download figure Open in new tab Figure 1. The design of ML architecture of our study. (a) The patient’s EHR data of multiple visits, including demographics, diagnoses, lab values, and medication. (b) The patients in the study were partitioned into a training, validation, and held-out validation set. The pretraining cohort, formed by patients in the training set, was used to pretrain the foundation Transformer model; the AD/ADRD/MCI finetuning cohort, filtered by age, was used to train and validate the AD/ADRD/MCI predictive model. (c) The Transformer model processes variables in EHR as tokens, and encodes indices of visits, days, and ages for 3 distinct positional encodings, which are added to the token embeddings. The foundation model was pretrained by masked token modeling, which taught the model to reconstruct the randomly masked information in the input EHR sequence. (d) The AD/ADRD/MCI predictive model was constructed by stacking a linear network upon the output representation of token, estimating the risks based on previous EHR. (e) The samples for the AD/ADRD/MCI predictive model were generated by sliding windows on various index visits over patient’s longitudinal EHR. We used records in the 1-year feature window prior to the index visit as inputs and the dementia status in various outcome windows following the index visit as labels. Samples with no follow-ups by the end of the outcome window were considered censored and excluded. In some experiments, we specified a minimum gap period between the end of the feature window, and the beginning of the outcome window, and excluded samples with AD/ADRD/MCI onset in the gap window to avoid data leakage due to lengthy AD/ADRD/MCI diagnosis processes. As shown in Figure 1a , the patients in the study were randomly partitioned into the training, validation, and a held-out validation set, with a ratio of 80% (n=1,030,438), 10% (n=129,127), and 10% (n=128,768). We constructed two cohorts to train the model: (1) a pretraining cohort for self-supervised learning for our foundation Transformer model; (2) an AD/ADRD/MCI finetuning cohort for training and evaluating the predictive model for AD/ADRD/MCI. The pretraining cohort includes all the patients in the training set (n=1,030,340). The AD/ADRD/MCI finetuning cohort only contains patients over the age 65 (by the end of records)(n=142,702). To simulate the predictive performance of the screening model in a retrospective manner, we used a sliding window for each patient to generate pairs of features and labels (see Figure 1e ), where, given an index visit, the features were extracted from the EHR data prior to that index visit (feature window), and the labels were based on the EHR data following the index window (outcome window). Samples with no follow-ups by the end of the outcome window were considered censored and excluded. Patients who already had AD/ADRD/MCI by the end of the feature window were also excluded. In the analysis of AD/ADRD/MCI risk predictions in 5 years, we used a 1-year feature window and 5-year outcome window, which resulted in 445,142 records among 142,702 unique patients with 7.20% of those developing AD/ADRD/MCI in 5 years. These samples belonging to the training, validation, and held-out validation set of the full dataset formed the corresponding sets of AD/ADRD/MCI finetuning sets. Table 1 reports the demographic characteristics of both patient cohorts. The distributions of each patient’s length of presence, number of encounters, and medical codes are illustrated in Figure S1 . View this table: View inline View popup Download powerpoint Table 1. Characteristics of the large-scale pretraining cohort and AD/ADRD/MCI finetuning cohort. The proportion or standard deviation is marked in parentheses. Identifying risk of AD/ADRD/MCI with EHR We built a classification model on top of a Transformer network 19 , namely TRADE, to identify the risk of AD/ADRD/MCI based on the previous EHR ( Figure 1d , see the Method section for more details). We assessed the predictive performance of our predictive models using two key metrics: the area under the receiver operating characteristic curve (AUC) and positive predictive values (PPV) at varying sensitivities (see Figure 2 , 4 ). For predicting the onset of AD/ADRD/MCI within 5 years from the reference index visit, the fine-tuned transformer achieved an AUROC of 0.735 (95% CI: 0.734-0.736) and average PPV (AP) of 0.199 (95% CI: 0.198-0.200). Since this predictive model aims to suggest cognitive screening for high-risk patients to providers, we also present PPVs of the high-risk patient groups predicted by the model ( Figure 2 ). These high-risk groups are delineated by thresholds of the predicted risks from the top k% of patients with the highest predicted risks. For the 5-year prediction horizon, the PPVs are 39.2% and 27.8% and 22.4% for thresholds corresponding to the top 1, 5, and 10 percentiles, respectively. These values demonstrate the precision of the model at different screening operation points. Download figure Open in new tab Figure 2. Performance on predicting AD/ADRD/MCI in 5 years with different methods: “Scratch” is training the Transformer from random initial weights; “Linear” is training a linear classifier on top of the foundation model representations; “Finetuning” is training the classifier layer together with the foundation model layers (see the Predictive modeling section for more detail). The performance is evaluated with ROC curves (left) and precision-recall curves (right). The PPVs and sensitivities of the patients with top 1, 5 and 10% risks are highlighted by ⋆, ▲ and ■, respectively. Prior studies have also developed and validated EHR-based methods for early ADRD detection and prediction, yielding promising results. eRADAR 11 is a statistical model estimating ADRD risks based on EHR variables, widely employed and validated in practice 13 . Comparing TRADE with eRADAR for predicting AD/ADRD/MCI over five years (see Figure 2 ), we observe that our foundation model significantly outperformed the statistical model which achieved AUROC of 0.688 (95% CI: 0.687-0.689) and AP of 0.143 (95% CI: 0.142, 0.143). Even without pre-training, our model achieves better performance, and linear probing (i.e only fine-tuning a linear classifier over the foundation model’s pre-learned features) bypasses the performance of the eRADAR model. Subcohort analysis We compared the model performance of TRADE and eRADAR across various sub-cohorts according to gender, age, race, and other health conditions, like vascular risk (see Figure 3 ). Age and vascular risks are two major dementia risk factors significantly impacting prediction performance. Both models obtained higher PPVs among older patients and patients with vascular risks since AD/ADRD/MCIs were more prevalent among these subcohorts. However, the AUROCs were lower in the higher-risk subcohorts since it was harder to identify the negative patients among them. Notably, the AUROCs of eRADAR in age and vascular risk subgroups dropped more than those of TRADE. This phenomenon indicates that the predictions of eRADAR were mostly attributed to age and vascular diseases, while the Transformer model leveraged diverse medical information to further distinguish risks of patients of similar ages or health conditions. Download figure Open in new tab Figure 3. Performance across different subcohorts. Performance of the eRADAR (in orange) and of TRADE (in purple) for different subcohorts, partitioned by gender, age, race and vascular risk status. TRADE consistently outperformed eRADAR in every subcohort. Download figure Open in new tab Figure 4. The comparison of TRADE performance on predicting AD/ADRD/MCI onset in different outcome windows. Prediction in the 1-year timeframe obtained the highest AUROC due to the least uncertainty. Prediction in the 5-year timeframe topped the PPVs as the corresponding prevalence was the highest. See Figure S2 for the comparison with baseline methods. Among subcohorts separated by demographic characteristics, TRADE exhibited superior performance among females compared to males. Regarding the different races, while TRADE demonstrated lower performance among the underrepresented Black population when compared to the White population, it still consistently enhanced performance across all racial groups compared to eRADAR, with the most notable improvement observed among the Asian population. This finding suggests that TRADE has the potential to benefit all gender and race groups with a more accurate assessment of AD/ADRD/MCI risks. Improving performance with a pretrained foundation EHR model A large-scale EHR dataset contains rich information on patients. To enable the model to understand EHR best, we designed a prediction framework with two stages ( Figure 1a ): (1) pretraining, where we pretrained a foundation model for EHR with Transformer architecture with the pretraining cohort. The model was trained without labels and merely by reconstructing randomly masked information from the EHR; (2) fine-tuning, where we fine-tuned the model with the medical history and AD/ADRD/MCI outcomes in the fine-tuning cohort to identify the high-risk patients (see the Method section for more details). We conducted pretraining only on the pretraining cohort. We fine-tuned the model with the training set in the AD/ADRD/MCI finetuning cohort and used the validation set to examine the performance for different hyperparameter settings, which guided model selection. The performance of the selected models was evaluated on the fully held-out validation set of patients and reported as an estimate of performance in new patient cohorts. We compare the performance of the fine-tuned AD/ADRD/MCI predictive model with and without self-supervised pre-training. Figure 2 shows that under the same Transformer architecture, finetuning from pretrained foundation model obtained both higher AUROC and PPVs compared to training from scratch. In addition, a simplified linear classifier, trained over the representations extracted from the pre-trained foundation model, and comparable in complexity to eRADAR, still achieved superior performance to eRADAR. This demonstrates the value of a self-supervised pre-trained foundation AI model in building EHR-based predictive models. Prediction for different time intervals The purpose of identifying patients at risk of dementia at different timelines varies. By predicting dementia across different time intervals, healthcare providers can intervene effectively at each stage. In this study, we developed models for predicting AD/ADRD/MCI onset within 1, 2, and 5 years from the visit being assessed. We constructed the samples of feature and label pair with different lengths of intervals for the outcome window (see Figure 1c ). The corresponding characteristics of samples for various timelines are reported in Table S2 . Figure 2 reports the prediction performance of the fine-tuned Transformer for different time intervals. Comparing the AUCs among them, prediction for the outcome window with 1 year tops with AUC at 0.772 (95% CI: 0.770, 0.773). This suggests the predictive model was more discriminative on the outcomes in the near future, while longer time intervals introduced more inherent uncertainty of the potential outcomes. The precision-recall curves provide additional insights into the differences among outcome windows. Figure 2 demonstrates that the prediction on the longer outcome window had a high PPV compared to shorter ones at the same operation points. For patients at the top 1% risk level, the PPV of AD/ADRD/MCI onset in 5 years reached 39.2%, and decreased to 20.7% in the 1-year window. The false positive patients from the prediction in 1 year might develop dementia in the future and thus became the true positive in the 5-year window. On the other hand, the longer outcome window led to lower sensitivity as the early-stage AD/ADRD/MCI patients might not exhibit any risk factors at the current or past visits. Prediction with gap windows Since the development and diagnosis of AD/ADRD/MCI is a prolonged process that can take several months, the recorded diagnosis on the EHR might be delayed. Considering the situation where the patient had onset of AD/ADRD/MCI, but has not yet been diagnosed, we conducted another analysis by excluding recently diagnosed patients within a gap window of 1 year after the end of the feature window, as shown in Figure 1e . Figure 5 shows the performance after the exclusion of these patients. As expected, the AUROC within 2 years dropped from 0.760 (95% CI: 0.760, 0.761) to 0.731 (95% CI: 0.730, 0.733), and the AUROC within 5 years dropped from 0.735 (95% CI: 0.734, 0.736) to 0.721 (95% CI: 0.720, 0.722). Less impact on the prediction in the 5-year time frame shows the ability of our model to identify the long-term AD/ADRD/MCI risks after eliminating the potential leakage due to the prolonged diagnosis process. Download figure Open in new tab Figure 5. AD/ADRD/MCI prediction performance of TRADE, with and without excluding new-onset patients diagnosed with AD/ADRD/MCI within 1 year of the end of feature window. “1-year gap” indicates these samples were excluded, while “no gap” indicates no exclusion. The performance of the 5-year model dropped less than that of the 2-year model after the exclusion of onsets in the gap window. Model predictions correlate with cognitive impairment levels We hypothesized that patients with higher predicted risk according to the model, if undergone cognitive screening, would also show a higher degree of impairment. From the technical standpoint, the correlation between the model score and cognitive test indicates the calibration of the model predictions and is a desired model behavior 28 . Figure 6 demonstrates the relationship between the risk estimated by the model and the Mini-Mental Status Exam (MMSE) cognitive scores 29 . For patients in the held-out validation set who had undergone MMSE examination in the 1-year time interval after the feature window, we extracted the MMSE scores mentioned in their clinical notes via ChatGPT with high accuracy 30 . We then compared these scores with the predicted risk from the 1-year AD/ADRD/MCI prediction Transformer model. As seen in Figure 6 , the higher the risk model estimates, the more likely the patient would have severe cognitive impairment (i.e. MMSE < 20). Download figure Open in new tab Figure 6. The analysis of Mini Mental State Exam (MMSE) cognitive scores in the heldout validation set, for patients undergone screening within 1 year from the index date. The box plot of predicted risk, according to the 1-year AD/ADRD/MCI prediction model, verse MMSE score ranges on patients with AD/ADRD/MCI outcomes, elucidates an association between higher predicted risks and lower MMSE scores. Model Interpretation To understand the relationship between the model’s predictions and patients’ EHR tokens contributing to each predicted score, we computed the Integrated Gradients 31 , 32 of the prediction, with respect to the embedding layers of the EHR tokens. This provides a personalized explanation per patient. A higher magnitude of the integrated gradient for a variable indicates greater influence from that variable in the model output. These gradients for each patient can be aggregated to explain overall variables associated with a higher AD/ADRD/MCI risk. We note that this explanation method does not draw direct causal relationships. To aggregate the gradients, we use the mean of gradient norms across all positively labeled AD/ADRD/MCI patients in the heldout validation set as our metric. Tables 2 and S3 list the variables with the greatest magnitudes of gradients among the positively labeled AD/ADRD/MCI patients in the held-out validation set, unveiling the features most associated with high AD/ADRD/MCI risks. Only tokens with more than 10 occurrences were included to avoid outliers. View this table: View inline View popup Download powerpoint Table 2. The top 20 variables associated with future AD/ADRD/MCI diagnosis from 2- and 5-year models, with (gap=1), and without (gap=0) excluding patients whose AD/ADRD/MCI diagnosis occurred within 1 year of the end of the feature window. These ranked variables were extracted based on the magnitude of their gradients, and indicate an association rather than causation relationship between the variable and AD/ADRD/MCI risk. The ranking of variables is determined by the mean of gradient norms across all patients in the heldout validation set with a positive AD/ADRD/MCI label. The color of the cells indicates the category of variables based on either high-level ICD-10 categories or medication. Several established and previously postulated risk factors of AD/ADRD/MCI emerge from these explanations, including vascular risk factors (such as heart disease, vascular disease, type 2 diabetes, hyperlipidemia, overweight) 33 , weight loss 34 , chronic kidney disease 35 , gait abnormality 36 , cataracts 37 , sleep apnea 38 , convulsions/seizures 39 , and mood disorder (including anxiety and depression) 40 , 41 . In addition to them, our model was able to recognize symptoms or diseases known to be precursors to AD/ADRD syndromes, including urinary incontinence, falls, and parkinsonism / Parkinson’s disease. Furthermore, certain medications were also highlighted, which may represent diagnoses that are AD/ADRD/MCI risk factors in the absence of formal diagnosis codes (e.g. escitalopram oxalate for depression or anxiety, atorvastatin for hyperlipidemia, metoprolol for hypertension), or may be linked via alternative relationships. This underscores the importance of utilizing interconnections among all EHR data to reveal a holistic picture of an individual’s health status. Discussion Recent studies have consistently highlighted the delayed diagnosis of AD/ADRD in primary care 42 , often attributed to inadequate training and resource constraints. Notably, later diagnosis of AD/ADRD varies by socioeconomic, geolocation, racial and ethnic groups due to the disparities in access to timely diagnosis and specialists 43 – 45 . Previous research has revealed lower documentation rates of cognitive assessments 1-5 years prior to AD/ADRD diagnosis among Black/African American patients, older individuals, those with non-commercial health insurance, or residing in neighborhoods with lower mean income levels 46 . In this context, our study showcases the potential of TRADE, an EHR-based predictive model, to address this care gap by serving as a valuable tool for identifying high-risk patients who may benefit from targeted screening. Notably, our model exhibits improved performance compared to the best currently available tools, particularly among minority and high-risk groups, as illustrated in Figures 2 and 3 . While improvements were consistently observed across various demographic groups, disparities in accuracy persisted notably among racial subgroups, particularly between White and Black populations. While the difference in prevalence might partially explain the lower performance within the Black population, the higher precision among the less common Asian group contradicts such a hypothesis. This highlights the critical need not only for refining model development but also for recognizing the influence of social determinants of health 47 , 48 in deploying these models effectively. Our analysis delved into subcohort disparities in Mini-Mental Status Exam (MMSE) scores of patients who underwent screening and were diagnosed with AD/ADRD/MCI within the first year following the index date. In Figure 6a , we compared MMSE score distributions between White and Black subgroups, revealing a higher density in the Black group within the 20-24 MMSE range. While MMSE scores can be influenced by factors such as education level and education quality 49 , this finding may also suggest that a significant portion of Black patients may receive diagnoses at later disease stages. Indeed, the lower Positive Predictive Value (PPV) in the Black population may stem from delayed or underdiagnosis, further emphasizing the value of deploying decision support tools such as TRADE in the EHR systems in achieving a more inclusive screening program for all demographics. In addition to promising performance for identifying patients at risk for AD/ADRD/MCI, our study includes an interpretability analysis, demonstrating that TRADE effectively extracts pertinent features from high-dimensional EHR data associated with an elevated AD/ADRD/MCI risk. The feature importance analysis underscores several established risk factors (e.g. vascular risks), and precursors strongly associated with AD/ADRD/MCI (e.g. monoclonal gammopathy). It is crucial to approach these associations with caution, recognizing them as correlations with potential AD/ADRD/MCI rather than direct causes. While further validation is needed to establish causality, these associations serve as valuable insights for driving future research into risk factors. Our results demonstrate an improved performance of TRADE based on the self-supervised pre-trained foundation EHR model over the standard Transformer without pre-training. This suggests that our foundation EHR model has broader applicability in enhancing other EHR-based clinical tasks through fine-tuning with diverse datasets. Furthermore, while current EHR data predominantly includes generic diagnoses, lab values, and medications, integration of additional patient data such as medical images and clinical notes, if available, could offer richer contexts. The architecture of our foundation model allows seamless integration of multi-modal data. Building prediction frameworks capable of leveraging the extra information would be an important direction for future research. In conclusion, we developed a risk assessment framework for AD/ADRD/MCI using structured EHR. Our findings demonstrate the efficacy of this model on the vast EHR of a healthcare system and its ability to significantly enhance the current clinical practices for the identification of AD/ADRD/MCI risks and screening programs. This improvement is particularly impactful for underrepresented and high-risk populations, where our model consistently outperforms existing methods. Meanwhile, we showed that the elevated predicted model scores are based on several recognizable risk factors or precursors of AD/ADRD/MCI. Finally, despite never directly training our model against cognitive screening scores such as MMSE, our results revealed that the higher risks predicted by the model do correlate with the degree of impairment, adding validity to the role of such models in the identification of undiagnosed AD/ADRD/MCI and tackling late diagnosis. Our approach to building predictive models based on the pre-trained foundation model of the EHR can benefit other diseases and similar risk assessment tasks, particularly in scenarios involving small and imbalanced patient cohorts. Methods Data We used EHR data from NYU Langone Health including any visits (inpatient, outpatient and ED) between Jan 2013 and Jan 2023. This study has been approved by NYU Langone Institutional Review Board (IRB), as protocol s20-01095 Understanding and predicting Alzheimer’s Disease. Data was acquired from NYU Langone DataCore in a de-identified manner. Only patients with more than 5 visits were used in this study. This provided us the EHR of cohorts mentioned in the Study Participants section. In the records of each patient, each visit was represented as a combination of variables, which include, demographic information (age, gender, race, ethnicity, 30 variables), alongside observed lab results (represented as LOINC codes, 86,529 variables total), medication orders (represented at Pharmaceutical class, 162,761 variables total) and diagnosis codes (represented as ICD-10 codes and SNOMED, 196,983 variables total). To convert these variables into tokens for Transformer inputs. We built the vocabulary list as follows: Each demographic category, diagnosis and medication code was treated as a unique token. The continuous lab values were binned into ranges of −10, −3, −1, −0.5, 0.5, 1, 3, 10 standard deviations from the population mean and then tokenized. Among all the variables, we selected 57,735 variables (6,482 lab values, 42,815 ICD-10 diagnosis codes, 8,387 medications, 50 demographics) with more than 100 occurrences. Any variables other than them were not included in the model. Moreover, we excluded ICD-10 codes related to amnesia, R41.1/2/3, to avoid potential leakage, which would not indicate AD/ADRD/MCI directly but could be used in preliminary diagnosis stages for these patients. Model development ML architecture As the state-of-the-art model for learning representations of the structured EHR data 21 , 22 , we adopted a Transformer 19 network to encode the EHR at the patient level. We organized the longitudinal EHR data for each patient sequentially based on visit dates, resulting in a token sequence structured as follows (as illustrated in Figure 1c ): ““, {variables in 1st visit}, ““, {variables in 2nd visit}, …, ““. Here, “ and ” serve as the placeholder tokens representing the outputs used for classification and separating consecutive visits, respectively. Each medical observation within a visit was represented by a token, with each token encoded using a learnable embedding vector within the Transformer architecture. To capture the sequential nature and continuous variables across visits effectively, we introduced three learnable positional embeddings for each medical token, accounting for the patient’s age, the visit index, and the number of days since the beginning of the patient’s medical history. This refined approach offered a more nuanced representation of age and the temporal gap between encounters, compared to BERHT and Med-BERT 20 , 21 . Given that tokens within the same visit are permutation invariant, identical positional embeddings were applied to all tokens within a given visit. Then these embeddings were encoded by a Transformer neural network with 12 self-attention layers with 12 heads, 3072 dimensions for the feed-forward layers, and 786 dimensions for the encoder and pooling layers. Model pretraining Although the large-scale Transformer network has a strong capacity for encoding complicated high-dimensional data like EHR, it is also vulnerable to overfitting when trained on limited data for a single binary classification task, especially when the low prevalence in disease prediction tasks leads to limited positive samples 22 . To address this issue, we conducted self-supervised learning to pretrain the model with a large amount of unlabeled data. We employed the masked token modeling as proposed in Bidirectional Encoder Representations from Transformers (BERT) 24 , 25 for pretraining ( Figure 1c ) where the network was trained to predict randomly masked tokens (with a masking rate of 20%) from the model input. During pretraining, we used a sliding window framework to process each patient’s data. The first visit of the sliding window was randomly sampled, and we included the EHR data from that visit up to a future visit such that the number of tokens in the EHR segment would be fewer than 512. In each epoch, for each patient in the training set (n=1,030,438), one randomly sampled window was processed. The foundation model pre-training converged in 500 epochs. We used AdamW optimizer at batch size 256 and a learning rate 2 × 10 − 5 with a cosine learning rate decay. The computation was executed on 4 Nvidia A100 GPUs. Predictive modeling for AD/ADRD/MCI We trained the AD/ADRD/MCI predictive model, TRADE, based on the pretrained foundation Transformer. To conduct the retrospective analysis, we used a sliding window to create multiple samples from the medical trajectory of each patient ( Figure 1e ). We selected the index visits with at least 180 days stride and assumed them as the date for calculating the AD/ADRD/MCI prediction. The model took the EHR within 1 year before the index date as the model input. Multiple binary labels were created based on whether the patient was diagnosed with AD/ADRD/MCI within 1, 2, and 5 years after the index date. To avoid unrecorded diagnosis, we only kept samples that had follow-up encounters after the end of the outcome window. The max length of the tokens was also limited to 512 latest tokens in the input. The Transformer model was trained with the cross-entropy loss between the label and output of a linear classification layer at the Transformer encoding of the “” token (see Figure 1d ). We use multiple ways to train the Transformer: (1) scratch , trained the Transformer with randomly initialized weights; (2) linear probing only updated the last linear layer of the Transformer while keeping the other layers frozen; (3) Finetuning used Low-Rank Adaptation (LoRA) method 26 which injects and trains the rank decomposition matrices (with rank r = 128 and scale α = 256) into each linear layer of the Transformer architecture while keeping the original pretrained weights frozen. LoRA prevented the immediate overfitting and outperformed the vanilla finetuning method that updated all the parameters. We train the model for the downstream task for 10 epochs with an AdamW optimizer at batch size 64 and a learning rate 10 − 5 with a 10 − 6 weight decay. The computation was executed on 1 or 2 Nvidia V100 GPUs. These experiments were all early stopped by the optimal average PPVs on the validation set. eRADAR baselines We established the benchmark for eRADAR prediction by evaluating it in the heldout validation set within AD/ADRD/MCI finetuning cohorts, using the same patients and index dates used for the Transformer model finetuning. We gathered the retrospective encounter data of variables used in the eRADAR model at the index dates for each individual, including age, sex, diagnoses in the past 2 years (e.g. congestive heart failure, cerebrovascular disease, diabetes (complex or any), etc.) based on ICD-10 codes, most recent vital signs for underweight (BMI <18.5), obese (BMI ≥ 30), high blood pressure ( ≥ 140 SBP or ≥ 90 DBP), healthcare utilization in the past 2 years (e.g. ≥ 1 outpatient visit, ≥ 1 emergency department visit, ≥ 1 language and learning visit, etc), and utilization of medications in the past 2 years for non-tricyclic antidepressant and sedative-hypnotic. The eRADAR risks were computed with the scoring function and the published weights on each variable 11 . Extracting cognitive impairment level from clinical notes Mini-Mental State Examination (MMSE) 29 is an 11-question measure that tests the cognitive function of patients, where the scores range from 0-30 (28-30:Cognitively Normal, 25-27:MCI, 0-24:ADRD). We retrieved available MMSE scores of patients to study the association between estimated risks and cognitive impairment level. Among 44,222 samples from 14,131 patients identified as having AD/ADRD/MCI in the held-out validation set, 873 patients underwent MMSE cognitive test and were recorded by clinical notes at the institute of this study. From the clinical notes, we extracted the MMSE scores of the patients with OpenAI GPT-4 50 , 51 . A HIPAA-compliant private instance of ChatGPT was utilized to ensure data privacy. Performance metrics We computed the area under the receiver operating characteristic (AUROC) and the positive predicted values (PPV) at different sensitivity levels, which are widely used for measuring the predictive accuracy of binary classification tasks. To report the statistical significance of descriptive statistics we computed 95% confidence intervals, and the bootstrapping method with 100 bootstrap iterations. Data availability The trained TRADE model, its base foundation model, and corresponding code, notebooks can be made available upon direct request to the corresponding author. Data Availability The original electronic health records will not be shared. The trained TRADE model, its base foundation model, and corresponding code, notebooks can be made available upon direct request to the corresponding author. Author contributions statement N.R. led and supervised this study over all steps from design, development, and analysis. W.Z. and H.T. performed model development, training, validation, and analysis. A.V.M., J.A.D and A.A.B. provided clinical supervision throughout the study from design to analysis. S.C provided supervision on the deep learning model. H.Z. performed information retrieval from clinical notes. H.R.R, S.L.H, X.M, A.C., D.M., and E.A. performed analysis and preprocessing on EHR data. All authors participated in the writing of the manuscript. Additional information The authors have declared no competing interests. View this table: View inline View popup Download powerpoint Table S1. Definition criteria for AD/ADRD/MCI onset. View this table: View inline View popup Download powerpoint Table S2. The characteristics of AD/ADRD/MCI finetuning cohort for prediction in various timeframes. View this table: View inline View popup Download powerpoint Table S3. The top 20 variables associated with future AD/ADRD/MCI diagnosis within 5 years. Each column reports variables across patients with varied time-to-dementia from the index date. The color of the cells indicates the category of variables based on either high-level ICD-10 categories or medication. Download figure Open in new tab Figure S1. The histograms (from left to right) show the distributions of the number of medical tokens, the number of encounters, and the length of presence, respectively, for: a . full EHR data of each patient in the pretraining cohort (N=1,030,438 patients) b . EHR data in the 1-year feature window of the (N=445,142) samples from 142,702 unique patients used during the AD/ADRD/MCI finetuning. Download figure Open in new tab Figure S2. The comparison of performance on predicting AD/ADRD/MCI onset in a. 1-year and b. 2-year outcome windows with different baselines. The finetuned foundation model consistently outperformed the other baselines. Download figure Open in new tab Figure S3. The analysis of Mini Mental State Exam (MMSE) cognitive scores in the heldout validation set, for patients who underwent screening and were diagnosed with AD/ADRD/MCI within 1 year from the index date. The distribution of scores for AD/ADRD/MCI patients in White vs Black implies that Black patients had lower MMSE scores at diagnosis time compared to white patients, potentially revealing delayed diagnosis in these populations. Acknowledgements W.Z., D.M., S.C., A.V.M. and N.R. were supported by the National Institute On Aging of the National Institutes of Health under Award R01AG079175. W.Z. received partial support from NSF Award 1922658. N.R., J.A.D., A.A.B, H.Z, A.V.M. was partially supported by the National Institute On Aging of the National Institutes of Health under Award R01AG085617. N.R. and A.V.M are also supported by the National Institute On Aging of the National Institutes of Health under Award P30AG066512. References 1. ↵ 2023 alzheimer’s disease facts and figures . Alzheimers. Dement . 19 , 1598 – 1695 ( 2023 ). OpenUrl 2. ↵ Livingston , G. et al. Dementia prevention, intervention, and care: 2020 report of the lancet commission . Lancet 396 , 413 – 446 ( 2020 ). OpenUrl CrossRef PubMed 3. ↵ McGrath , E. R. et al. Blood pressure from mid-to late life and risk of incident dementia . Neurology 89 , 2447 , DOI: 10.1212/WNL.0000000000004741 ( 2017 ). OpenUrl CrossRef 4. The SPRINT MIND Investigators for the SPRINT Research Group . Effect of Intensive vs Standard Blood Pressure Control on Probable Dementia: A Randomized Clinical Trial . JAMA 321 , 553 – 561 , DOI: 10.1001/jama.2018.21442 ( 2019 ). OpenUrl CrossRef PubMed 5. Jm , M. , Bs , M. , Db , H. & Aa , L. Impact of pharmacological treatment of diabetes mellitus on dementia risk: systematic review and meta-analysis . BMJ open diabetes research & care 6 , DOI: 10.1136/bmjdrc-2018-000563 ( 2018 ). OpenUrl Abstract / FREE Full Text 6. ↵ Sabia , S. et al. Association of ideal cardiovascular health at age 50 with incidence of dementia: 25 year follow-up of Whitehall II cohort study . BMJ 366 , l4414 , DOI: 10.1136/bmj.l4414 ( 2019 ). OpenUrl Abstract / FREE Full Text 7. ↵ van Dyck , C. H. et al. Lecanemab in Early Alzheimer’s Disease . The New Engl. J. Medicine 388 , 9 – 21 , DOI: 10.1056/NEJMoa2212948 ( 2023 ). OpenUrl CrossRef PubMed 8. ↵ Chen , R. et al. Developing Measures of Cognitive Impairment in the Real World from Consumer-Grade Multimodal Sensor Streams . In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD ‘19 , 2145 – 2155 , DOI: 10.1145/3292500.3330690 ( Association for Computing Machinery , New York, NY, USA , 2019 ). OpenUrl CrossRef 9. ↵ Liu , S. et al. Generalizable deep learning model for early Alzheimer’s disease detection from structural MRIs . Sci. Reports 12 , 17106 , DOI: 10.1038/s41598-022-20674-x ( 2022 ). OpenUrl CrossRef 10. ↵ Hansson , O. , Blennow , K. , Zetterberg , H. & Dage , J. Blood biomarkers for Alzheimer’s disease in clinical practice and trials . Nat. Aging 3 , 506 – 519 , DOI: 10.1038/s43587-023-00403-3 ( 2023 ). OpenUrl CrossRef 11. ↵ Barnes , D. E. et al. Development and validation of eradar: A tool using ehr data to detect unrecognized dementia . J. Am. Geriatr. Soc . 68 , 103 – 111 , DOI: 10.1111/jgs.16182 ( 2020 ). https://agsjournals.onlinelibrary.wiley.com/doi/pdf/10.1111/jgs.16182 . OpenUrl CrossRef 12. ↵ Dublin , S. et al. The electronic health record risk of alzheimer’s and dementia assessment rule (eradar) brain health trial: Protocol for an embedded, pragmatic clinical trial of a low-cost dementia detection algorithm . Contemp. Clin. Trials 135 , 107356 ( 2023 ). OpenUrl 13. ↵ Coley , R. Y. et al. External Validation of the eRADAR Risk Score for Detecting Undiagnosed Dementia in Two Real-World Healthcare Systems . J. Gen. Intern. Medicine 38 , 351 – 360 , DOI: 10.1007/s11606-022-07736-6 ( 2023 ). OpenUrl CrossRef 14. ↵ Che , Z. , Purushotham , S. , Cho , K. , Sontag , D. A. & Liu , Y. Recurrent neural networks for multivariate time series with missing values . CoRR abs/1606.01865 ( 2016 ). 1606.01865. 15. Choi , Y. , Chiu , C. & Sontag , D. Learning low-dimensional representations of medical concepts . AMIA Jt. Summits on Transl. Sci. proceedings. AMIA Summit on Transl. Sci . 2016 , 41 – 50 ( 2016 ). OpenUrl 16. Shickel , B. , Tighe , P. , Bihorac , A. & Rashidi , P. Deep EHR: A survey of recent advances on deep learning techniques for electronic health record (EHR) analysis . CoRR abs/1706.03446 ( 2017 ). 1706.03446. 17. ↵ Steinberg , E. et al. Language models are an effective representation learning technique for electronic health record data . J. Biomed. Informatics 113 , 103637 , DOI: 10.1016/j.jbi.2020.103637 ( 2021 ). OpenUrl CrossRef 18. ↵ Zhu , W. & Razavian , N. Variationally regularized graph-based representation learning for electronic health records . In Proceedings of the Conference on Health, Inference, and Learning, CHIL ‘21 , 1 – 13 , DOI: 10.1145/3450439.3451855 ( Association for Computing Machinery , New York, NY, USA , 2021 ). OpenUrl CrossRef 19. ↵ Vaswani , A. et al. Attention is all you need . Adv. Neural Inf. Process. Syst . 30 ( 2017 ). 20. ↵ Li , Y. et al. BEHRT: Transformer for Electronic Health Records . Sci. Reports 10 , 7155 , DOI: 10.1038/s41598-020-62922-y ( 2020 ). OpenUrl CrossRef 21. ↵ Rasmy , L. , Xiang , Y. , Xie , Z. , Tao , C. & Zhi , D. Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction . npj Digit. Medicine 4 , 1 – 13 , DOI: 10.1038/s41746-021-00455-y ( 2021 ). OpenUrl CrossRef 22. ↵ Placido , D. et al. A deep learning algorithm to predict risk of pancreatic cancer from disease trajectories . Nat. Medicine 29 , 1113 – 1122 , DOI: 10.1038/s41591-023-02332-5 ( 2023 ). OpenUrl CrossRef PubMed 23. ↵ Kaplan , J. et al. Scaling Laws for Neural Language Models , DOI: 10.48550/arXiv.2001.08361 ( 2020 ). OpenUrl CrossRef 24. ↵ Burstein , J. , Doran , C. & Solorio , T. Devlin , J. , Chang , M.-W. , Lee , K. & Toutanova , K. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding . In Burstein , J. , Doran , C. & Solorio , T. (eds.) Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) , 4171 – 4186 , DOI: 10.18653/v1/N19-1423 ( Association for Computational Linguistics , Minneapolis, Minnesota , 2019 ). OpenUrl CrossRef 25. ↵ Liu , Y. et al. RoBERTa : A Robustly Optimized BERT Pretraining Approach , DOI: 10.48550/arXiv.1907.11692 ( 2019 ). arxiv: 1907.11692 [cs]. OpenUrl CrossRef 26. ↵ Hu , E. J. et al. LoRA: Low-rank adaptation of large language models . In International Conference on Learning Representations ( 2022 ). 27. ↵ Wornow , M. , Thapa , R. , Steinberg , E. , Fries , J. & Shah , N. EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Models. In Oh, A. et al . (eds.) Advances in Neural Information Processing Systems , vol. 36 , 67125 – 67137 ( Curran Associates, Inc ., 2023 ). OpenUrl 28. ↵ Chaudhuri , K. , et al. Liu , S. et al. Deep probability estimation . In Chaudhuri , K. , et al. (eds.) Proceedings of the 39th International Conference on Machine Learning, vol. 162 of Proceedings of Machine Learning Research , 13746 – 13781 ( PMLR , 2022 ). 29. ↵ Folstein , M. , Folstein , S. & McHugh , P. Mini-mental state examination (mms, mmse)[database record] . PsycTESTS Dataset. doi 10 ( 1975 ). 30. ↵ Zhang , H. et al. Evaluating large language models in extracting cognitive exam dates and scores . medRxiv 2023 – 07 ( 2023 ). 31. ↵ Sundararajan , M. , Taly , A. & Yan , Q. Axiomatic Attribution for Deep Networks . In Proceedings of the 34th International Conference on Machine Learning , 3319 – 3328 ( PMLR , 2017 ). ISSN: 2640-3498 . 32. ↵ Kokhlikyan , N. et al. Captum : A unified and generic model interpretability library for PyTorch , DOI: 10.48550/arXiv.2009.07896 ( 2020 ). arxiv: 2009.07896 [cs, stat]. OpenUrl CrossRef 33. ↵ Viswanathan , A. , Rocca , W. A. & Tzourio , C. Vascular risk factors and dementia: how to move forward? Neurology 72 , 368 – 374 , DOI: 10.1212/01.wnl.0000341271.90478.8e ( 2009 ). OpenUrl Abstract / FREE Full Text 34. ↵ Wang , C. et al. Weight Loss and the Risk of Dementia: A Meta-analysis of Cohort Studies . Curr. Alzheimer Res . 18 , 125 – 135 , DOI: 10.2174/1567205018666210414112723 ( 2021 ). OpenUrl CrossRef 35. ↵ Cheng , K.-C. et al. Patients with chronic kidney disease are at an elevated risk of dementia: a population-based cohort study in Taiwan . BMC nephrology 13 , 129 , DOI: 10.1186/1471-2369-13-129 ( 2012 ). OpenUrl CrossRef 36. ↵ Wisniewski , T. & Masurkar , A. V. Gait dysfunction in Alzheimer disease . Handb. Clin. Neurol . 196 , 267 – 274 , DOI: 10.1016/B978-0-323-98817-9.00013-2 ( 2023 ). OpenUrl CrossRef 37. ↵ Wang , L. , Sang , B. & Zheng , Z. The risk of dementia or cognitive impairment in patients with cataracts: a systematic review and meta-analysis . Aging & Mental Heal . 28 , 11 – 22 , DOI: 10.1080/13607863.2023.2226616 ( 2024 ). OpenUrl CrossRef 38. ↵ Bubu , O. M. et al. Obstructive sleep apnea, cognition and Alzheimer’s disease: A systematic review integrating three decades of multidisciplinary research . Sleep Medicine Rev . 50 , 101250 , DOI: 10.1016/j.smrv.2019.101250 ( 2020 ). OpenUrl CrossRef PubMed 39. ↵ Stefanidou , M. et al. Bi-directional association between epilepsy and dementia: The Framingham Heart Study . Neurology 95 , e3241 – e3247 , DOI: 10.1212/WNL.0000000000011077 ( 2020 ). OpenUrl Abstract / FREE Full Text 40. ↵ Fernández Fernández , R. , Martín , J. I. & Antón , M. A. M. Depression as a Risk Factor for Dementia: A Meta-Analysis . The J. Neuropsychiatry Clin. Neurosci . 36 , 101 – 109 , DOI: 10.1176/appi.neuropsych.20230043 ( 2024 ). OpenUrl CrossRef 41. ↵ Patel , P. & Masurkar , A. V. The Relationship of Anxiety with Alzheimer’s Disease: A Narrative Review . Curr. Alzheimer Res . 18 , 359 – 371 , DOI: 10.2174/1567205018666210823095603 ( 2021 ). OpenUrl CrossRef 42. ↵ 2021 alzheimer’s disease facts and figures . Alzheimer’s & Dementia 17 , 327 – 406 , DOI: 10.1002/alz.12328 ( 2021 ). https://alz-journals.onlinelibrary.wiley.com/doi/pdf/10.1002/alz.12328 . OpenUrl CrossRef PubMed 43. ↵ Lin , P.-J. et al. Dementia diagnosis disparities by race and ethnicity . Alzheimer’s & Dementia 16 , e043183 , DOI: 10.1002/alz.043183 ( 2020 ). OpenUrl CrossRef 44. Kim , N. Racial disparities in neurological care in the united states: An internal mechanism . HPHR 32 , DOI: 10.54111/0001/FF11 ( 2021 ). OpenUrl CrossRef 45. ↵ Tsoy , E. et al. Assessment of Racial/Ethnic Disparities in Timeliness and Comprehensiveness of Dementia Diagnosis in California . JAMA Neurol . 78 , 657 – 665 , DOI: 10.1001/jamaneurol.2021.0399 ( 2021 ). OpenUrl CrossRef PubMed 46. ↵ Maserejian , N. , Krzywy , H. , Eaton , S. & Galvin , J. E. Cognitive measures lacking in EHR prior to dementia or Alzheimer’s disease diagnosis . Alzheimer’s & Dementia 17 , 1231 – 1243 , DOI: 10.1002/alz.12280 ( 2021 ). OpenUrl CrossRef 47. ↵ Majoka , M. A. & Schimming , C. Effect of Social Determinants of Health on Cognition and Risk of Alzheimer Disease and Related Dementias . Clin. Ther . 43 , 922 – 929 , DOI: 10.1016/j.clinthera.2021.05.005 ( 2021 ). OpenUrl CrossRef PubMed 48. ↵ Wu , W. , Holkeboer , K. J. , Kolawole , T. O. , Carbone , L. & Mahmoudi , E. Natural language processing to identify social determinants of health in Alzheimer’s disease and related dementia from electronic health records . Heal. Serv. Res . 58 , 1292 – 1302 , DOI: 10.1111/1475-6773.14210 ( 2023 ). OpenUrl CrossRef 49. ↵ Sisco , S. et al. The role of early-life educational quality and literacy in explaining racial disparities in cognition in late life . The Journals Gerontol. Ser. B, Psychol. Sci. Soc. Sci . 70 , 557 – 567 , DOI: 10.1093/geronb/gbt133 ( 2015 ). OpenUrl CrossRef PubMed 50. ↵ OpenAI . GPT-4 ( 2023 ). 51. ↵ Zhang , H. et al. Evaluating large language models in extracting cognitive exam dates and scores . medRxiv: preprint server for health sciences 2023 – 07 ( 2024 ). View the discussion thread. Back to top Previous Next Posted April 27, 2024. 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 Predicting Risk of Alzheimer’s Diseases and Related Dementias with AI Foundation Model on Electronic Health Records 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 Predicting Risk of Alzheimer’s Diseases and Related Dementias with AI Foundation Model on Electronic Health Records Weicheng Zhu , Huanze Tang , Hao Zhang , Haresh Rengaraj Rajamohan , Shih-Lun Huang , Xinyue Ma , Ankush Chaudhari , Divyam Madaan , Elaf Almahmoud , Sumit Chopra , John A. Dodson , Abraham A. Brody , Arjun V. Masurkar , Narges Razavian medRxiv 2024.04.26.24306180; doi: https://doi.org/10.1101/2024.04.26.24306180 Share This Article: Copy Citation Tools Predicting Risk of Alzheimer’s Diseases and Related Dementias with AI Foundation Model on Electronic Health Records Weicheng Zhu , Huanze Tang , Hao Zhang , Haresh Rengaraj Rajamohan , Shih-Lun Huang , Xinyue Ma , Ankush Chaudhari , Divyam Madaan , Elaf Almahmoud , Sumit Chopra , John A. Dodson , Abraham A. Brody , Arjun V. Masurkar , Narges Razavian medRxiv 2024.04.26.24306180; doi: https://doi.org/10.1101/2024.04.26.24306180 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 Neurology Subject Areas All Articles Addiction Medicine (573) Allergy and Immunology (865) Anesthesia (302) Cardiovascular Medicine (4453) Dentistry and Oral Medicine (444) Dermatology (383) Emergency Medicine (609) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1515) Epidemiology (15242) Forensic Medicine (30) Gastroenterology (1131) Genetic and Genomic Medicine (6615) Geriatric Medicine (669) Health Economics (1001) Health Informatics (4552) Health Policy (1372) Health Systems and Quality Improvement (1614) Hematology (543) HIV/AIDS (1270) Infectious Diseases (except HIV/AIDS) (15929) Intensive Care and Critical Care Medicine (1106) Medical Education (624) Medical Ethics (147) Nephrology (670) Neurology (6625) Nursing (346) Nutrition (999) Obstetrics and Gynecology (1148) Occupational and Environmental Health (957) Oncology (3344) Ophthalmology (979) Orthopedics (369) Otolaryngology (421) Pain Medicine (436) Palliative Medicine (130) Pathology (665) Pediatrics (1696) Pharmacology and Therapeutics (693) Primary Care Research (714) Psychiatry and Clinical Psychology (5461) Public and Global Health (9252) Radiology and Imaging (2207) Rehabilitation Medicine and Physical Therapy (1371) Respiratory Medicine (1197) Rheumatology (597) Sexual and Reproductive Health (715) Sports Medicine (530) Surgery (714) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a02c16137bc84807',t:'MTc3OTk1OTAwNw=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2024) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00