- Front Matter
1
- 10.1111/ijcp.13391
Computational models and neural nets: Fantastic models-Where to find them and how to identify them.
- Sep 26, 2019
- International Journal of Clinical Practice
- Anthony S Wierzbicki + 1 more +1
'What I cannot create (and control), I do not understand' (Richard Feynman; modified Bertolero & Bassett, 20191) As anyone with an interest in the works of JK Rowling knows nifflers like shiny treasure and go to extreme lengths to find it. Cardiovascular disease (CVD) physicians are similar in their wish to find deposits of atherosclerosis but are far less accomplished at it. Atherosclerosis is a cryptic disease starting in the vascular wall and only later manifesting within the artery lumen with long-term consequences in the form of plaque rupture or erosion (type 1 lesions) but also vasospasm through secondary endothelial dysfunction (type 2 disease).2 Detecting atherosclerosis is possible using imaging either thorough the detection of early lesions on ultrasound or in the vessel wall (intima-media thickness) and late-stage calcified plaques (coronary artery calcium).3 The most sophisticated approach is to image atheroma in the wall either in large arteries by magnetic resonance imaging or in coronary arteries by intravascular ultrasound on angiography. Further developments now include three-dimensional imaging techniques applying computerised image reconstruction techniques. However, all of these direct approaches are limited in their application by the expense and size of the machinery required and the logistics of managing patient flows to central sites. Instead a cheaper and easier approach is pursued by all health systems. The availability of large epidemiological databases and cohort studies now extending in some cases to up to three generations (Framingham)4 means that high-risk individuals can be identified easily from common parameters. These studies maintain assay standardisation which may not apply to electronic health records (EHRs) linked to standard laboratory assays which evolve with time.5 Landmark analyses starting in 1987 identified certain key CVD risk factors and remarkably quickly these were standardised as age, gender, smoking, blood pressure, diabetes and cholesterol (later divided into total and high-density lipoprotein (HDL) cholesterol).4, 6, 7 A multitude of additional CVD risk factors have since been described but all of these added little to the basic predictive model which is mostly driven by age, gender and ethnicity.8 Risk factor counting and set intervention levels were the basis of defining high-risk patients for intervention. These still persist in modern guidelines, for example, stage 2 hypertension or total cholesterol > 7.5mmol/L and more usefully the concept of two CVD risk factors predicting lifetime risk from age 55.9 Yet these crude cut-offs had the significant limitation that they only identified a small fraction of patients at risk of CVD—that is, high specificity but limited sensitivity. The next development in the 1990s was the beginning of the use of mathematical models based on logistic regression analyses of epidemiological datasets once semiconductor-based scientific notation calculators became available. These could be simplified into paper-based systems or mechanical tools for routine clinical use.10, 11 Now that substantial computing capacity is available through cell phones or internet-based systems these are now universally recommended for assessment of patients with a risk of CVD. The desire to increase convenience has now led to the wish to simplify the process further by abolishing the most logistically difficult (and expensive) aspect which comprises the cholesterol blood tests. In fact, the Framingham risk engine can be easily reformatted by substituting body mass index for lipids but surprisingly this has not achieved great popularity for initial risk stratification despite its simplicity.12 The main quest in CVD risk estimation, however, has been to improve sensitivity and specificity. The main methods used have been to use larger more representative datasets based either on aggregating epidemiological cohort studies (eg US atherosclerotic CVD score- ASCVD13) or national EHRs (eg QRISK in the UK14). The best predictive performance of epidemiological datasets is an average area under curve (AUC) for receiver operator characteristic (ROC) curves (ie C-statistic) of approximately 0.70-0.75.11 Adding imaging data from coronary artery calcium increases this to 0.79 with less benefit from the far more convenient ultrasound techniques or biomarkers such as high-sensitivity troponin measurements.15, 16 The next great hope is to exploit the developments in electronic databases and advances in computing. Models to date have relied on deterministic processes guided by humans yet the suspicion has remained that information may have been lost by these decisions so other statistical data interpretation techniques are being explored. Machine learning and Bayesian analysis are the current trendy concepts but many others exist. Neural nets, the best known form of machine learning, were first described in 1943 but it has taken 70 years to make them practical as they require large scale computing to make them practical.17, 18 The techniques of neural net analysis rely on large scale data inputs, intermediate layer (or layers) of nodes linked back to the data and forward to the outputs—in this case CVD events (Figure 1). Nodes are set randomly and then iterate and adjust input weights to optimise the prediction of the outputs.17, 18 Finally, as in classic epidemiological models the outputs are validated in another dataset. In contrast to classic calculators, neural nets are multilayer of which many aspects are obscured but if collapsed down to a single layer these can be isolated and described in classic terms. Whether this concept represents an electronic obscurial more than just a black box is the subject of debate. Until now the commonest application of neural nets in medicine has been in the analysis of images as these were data rich and the most problematic for classical methods.19 The problem in CVD for risk prediction has been the availability of large EHR datasets. This is now changing with the rapid computerisation of health systems. In this issue of International Journal of Clinical Practice, Quesada and colleagues describe multi-model analyses of an EHR comprising 38.527 patients with a 5-year follow-up and a likely 5%-10% CVD event rate as is typical in cohorts of this type.20 In their analysis quadratic discriminant analysis and Naïve Bayes ranked above (area under curve [AUC] 0.70) neural nets and classical logistic regression model -derived calculators such as the European Systematic COronary Risk Evaluation (SCORE; CVD mortality alone21) or the US Framingham study-related REGICOR score for CVD events (AUC = 0.63).22 Ten of 15 computer models were better than the classical methods but not by much. This is common in studies which attempt to improve the standard AUC of 0.65-0.75 found for classical CVD risk calculators in populations that match their original derivation and validation cohorts. This study lacked comparisons with recalibrated Spanish cohorts as opposed to generic models so it is unclear how much extra predictive capacity was actually added. Other studies have compared computerised models including neural nets with logistic regression models. One study using 689 patients from India, but using a validation population of 5209 US patients from the Framingham study, pre-specified classical risk factors and a quantum neural net approach suggested that this model was superior to the classical FRS.23 This is not surprising as the CVD risk factor weighting is different in Indian Asians from US populations. A similar criticism would apply to the Korean National Health and Nutrition Evaluation study (KNHANES-6) using 4244 EHR records with complete pre-specified six CVD risk factor data and a deep belief network (DBN) analysis and a restricted Boltzman Hopfield network that optimised to six nodes in one layer.24 The statistical DBN gave an AUC of 0.79 compared with 0.72 for logistic regression. This study did not assess their performance against classical or modified (ie recalibrated) CVD risk calculators. These have been investigated in Korean populations where in a study of 200 010 patients the ASCVD equation has an AUC of 0.73-0.75 but calibration errors with an excess 57%-74% in men and a deficit of 28% in women but was useful in enabling a Korean-specific CVD score to be derived.25 The neural net analysis of the Multi-Ethnic Study of Atherosclerosis (MESA) cohort of 6814 patients followed up for 12 years and 735 variables derived from biochemistry, questionnaires and imaging was used by random survival forest analysis to derive top 20 predictors for individual CVD outcomes.15 In this study, nine models were tested including Cox and LASSO-Cox models, and Aikake information criterion applied to regression analysis as well as random survival forest analysis. Predictably age was the most important predictor of mortality. Coronary artery calcium was the best predictor of coronary heart disease or CVD with glucose and carotid ultrasound for stroke. In contrast to usual expectations, troponin was the strongest predictive of heart failure while NTproB-type natriuretic peptide was the best predictor of CVD. A UK study used data from 378 256 primary care patients in the Clinical Practice Research Database (CPRD) and 24 970 recorded CVD events (6.6%) to compare various computational methods of CVD risk prediction.26 This study compared the US ASCVD score (not interestingly UK QRISK) with machine learning models. The standard ASCVD model had an AUC of 0.73, with the random forest model 0.75, logistic regression, gradient boosting or neural networks 0.76. The neural network algorithm predicted 4998 of 7404 cases (sensitivity 68%, positive predictive value (PPV) 18%) and 53 458 of 75 585 non-cases (specificity 72%, negative predictive value (NPV) 96%), predicting 8% more patients who developed CVD compared with the established ASCVD baseline model which predicted 53 106 non-cases from 75 585 non-cases, resulting in a specificity of 70% and NPV of 95%. As is true of all CVD risk prediction models because of their structure of containing many unaffected patients the greatest power is to rule out disease (negative predictive value). The small addition to risk prediction, which is better described in the form of net (or total) reclassification indices (NRI), is not unusual in this type of analyses.27 More recently a comparative study was conducted in a cohort of 109 490 individual using aggregated and longitudinal features from EHR involving analysis of historical and prospective phases.28 The models tested included logistic regression, random forests, gradient boosting trees, convolutional neural networks (CNN) and recurrent neural networks with long short-term memory (LSTM) units. A further analysis of 10 612 patients used late-fusion approach to incorporate genetic risk score data. The ASCVD equation achieved a typical ROC AUC of 0.73, while machine learning models using only classical CVD risk factors doing no better. Incorporation of EHR features mostly relating to the length of the EHR and variances in biochemical analytes achieved an AUC of 0.77-0.78. By adding temporal features, logistic regression (LR), gradient boosting trees (GBT) and deep learning models improved the AUC to 0.78-0.79. Both GBT and convolutional neural networks (CNN) achieved an AUC of 0.79 (ie 7.9% improvement from baseline). Most of the studies reviewed in this article use ROC curves which present graphically the trade-off between the true positive rate (TP) (sensitivity) and false positive (FP) (1-specificity) rate for a predictive model using different probability thresholds. In contrast Precision-Recall curves (PRC) and their graphical outputs summarise the trade-off between the true positive (TP) rate and the positive predictive value (PPV; precision) for a predictive model using different probability thresholds.29 Mathematically ROC curves are appropriate when the observations are balanced between each class, whereas PRCs are appropriate for unbalanced datasets as is commonly the case for epidemiological cohort datasets being used to predict events as only a minority develop CVD. In this study Area under PRC (AUPRC) analysis showed that machine learning using temporal features improved predictions founded on baseline data (0.25-0.29 vs 0.19, a 33%-44% improvement) more clearly than that for ROC curves. The top features in all machine learning models include some conventional CVD risk factors such as age, blood pressure (BP) and total cholesterol, as well as several new features not included in standard CVD risk calculators such as body mass index (BMI),30 creatinine,31 glucose.32 However, all of these have been previously identified in the Framingham study or have been used other CVD scoring systems (eg QRISK).12, 14 Among drug therapies use of anti-platelet agents was also predictive. Distribution data for laboratory values (eg fasting lipid values) and physical measurements (eg BMI and blood pressure) contributed more than median values to the models. In the models incorporating longitudinal data such as logistic regression selected biochemical data distribution in two separate sampling periods while random forests selected BMI. The effect of variation in CVD risk factors such as blood pressure, cholesterol, glucose and body mass index (BMI) has previously been linked to risk of CVD in classic epidemiological studies.33 This has been validated for blood pressure and is included in one currently nationally approved CVD risk calculator (QRISK-3).14 It also exists for glucose and cholesterol but this data has not been included in any guideline approved CVD risk calculator to date. Gradient boosting tree (GBT) analysis preferred historic diagnostic codes such as heart valve disorders, lipid disorders and hypertension over other features. One problem of large scale EHRs is the quality of data recording so this historical data may reflect single anomalous values being entered as diagnostic codes (ie a proxy for variance) or the lack of original untreated values in the EHR. Similar considerations apply to anti-platelet therapies such aspirin-clopidogrel acting as proxies for unrecorded diagnoses of significant CVD (or peripheral arterial disease) or in the case of aspirin alone—clinical suspicion of high-risk status. Genetic risk scores (GRS) are easily derived given the increasing ease of obtaining large scale genome variation data. Many studies are now investigating the utility of adding GRS to classical CVD risk factors in risk prediction.34 A multiplicity of scores have been investigated using limited panels and whole genome data applied to cohort data sets of up to 300 000 patients but whether any of these are superior to imaging remains unclear.34 GBT using classical CVD risk factors gave similar results to standard methods. Adding longitudinal EHR features to GBT increased AUC to 0.71 vs 0.70; AUPRC of 0.43 vs 0.40 and the genetic risk score (GRS) improved the AUROC and AUPRC by 2% and 9%. The GRS data included known CVD risk factor genes such as melanoma inhibitory activity protein 3 (MIA3; 2 loci) also known as Transport and Golgi organisation protein 1 (TANGO1) involved in chylomicron and very low-density lipoprotein transport, and lipoprotein (a) (LPA;2 loci) as well as chemokine C-X-C motif chemokine 12 (CXCL12) (stromal cell derived factor-1) involved in inflammation and a check point gene cyclin-dependent kinase Inhibitor 2A (CDKN2A) involved in angiogenesis. As in the field of CVD risk scores standardisation of inputs and data transparency are becoming essential to allow comparison of different strategies for the purposes of quality appraisal for evidence-based guidelines. The variety and quality of data set reporting, analytical and statistical approaches, provision of absolute as opposed to relative effect sizes and lack of specificity and sensitivity data at set points remain common problems.35, 36 Such approaches are now standard for epidemiological cohorts (CONSORT statement) and diagnostic assays (STARD).35, 36 Reporting standards have been introduced for single-nucleotide polymorphism (SNP) association data and genome wide association studies to provide greater clarity for journal referees and editors assessing these studies and for readers to understand them and conduct validation studies. The increasing popularity and complexity of mathematical models applied to CVD and other endpoint data means that similar provisions need to be applied to these studies as well.37 The electronic nature of modern scientific literature means model derivation structures and data can easily be added as appendices or contributed to public scientific data repositories. A number of publications and review articles have begun to request certain details of mathematical models in addition to data and ideally model transparency and ideally availability. A suggested scheme based on data presented in studies reviewed in this field is presented in Table 1. 1. Formal presentation of research questions 2. Data selection Public databases vs electronic health record databases vs registry data 3. Hardware selection 4. Data preparation 5. Feature selection This should not be necessary. Multi-dimensional datasets may require strategies such as vector embedding to enable features to be passed to other directed learning models 6. Data splitting Design and justify the proportion of training, validation and testing in the dataset (ie 70/10/20 or 80/10/10 or 60/20/20) and ideally provide comparison data 7. Modelling selection 8. Technical details for model Specification of technical terms to communicate with data scientists or programmers and allow understanding of the process of model development (learning rate selection, tuning hyperparameter, batch dropout and normalisation, regularisation strategies, loss function selection and network optimisation). Methods used in model structure- logistic regression, Cox regression, random forest or gradient boosting models, neural networks 9. Evaluation of model discrimination and calibration Precision recall curve (PRC; unbalanced data) or receiver operator curve (ROC; balanced data) analysis of data with presentation of C-statistics, Brier scores from probabilistic outcomes Presentation of NPV, PPV, sensitivity and specificity at specific set points Comparison with standard statistical approaches (ie multi-variable regression), goodness-of-fit, calibration plots or the decision-curve analysis 10. Clinical Validation Comparison with expert opinion or published data of other current clinical strategies 11. Publication and transparency Sharing of codes with journal (ie online supplements) or public space (ie Github, bioRxiv). Directed learning methodologies should be clearly explained in data appendices. Consider strategies for computational anonymisation It will take consensus conferences between investigators, journal editors, computer modelling specialists, evidence assessment groups and ideally academic funding agencies to finalise and agree the final set of quality metrics. These aurors will then pronounce on the quality of the work submitted. After all you need to remove the magic is to identify the underlying nature of the work—or to truly see Grindelwald. Otherwise fantastic means mythical as opposed to wonderful. The authors thank Dr Scooter Morris of the Pharmaceutical Chemistry group in the School of Pharmacy at the University of California, San Francisco, USA for his helpful comments on this manuscript. None.
Read more