Background

According to the statistics from the Global Burden of Disease study 2017, a significant number of all deaths globally (over 70%) is caused by noncommunicable diseases, and CVD accounts for more than 43% [1]. The global prevalence of the non-alcoholic fatty liver disease (NAFLD) affects about 1 billion people worldwide [2] and patients with type 2 diabetes (T2DM) constitute the majority of cases [3]. NAFLD is the most rapidly increasing cause of liver-related mortality across the globe [3]. However, it is not the liver itself but CVD that is the leading cause of death in patients with NAFLD [4].

For the last 40 years, NAFLD was characterized as an excessive hepatic lipid accumulation associated with metabolic abnormalities in the absence of significant alcohol consumption and other known causes of liver disease [5, 6]. Because NAFLD has been increasingly associated with glucose and lipid metabolic abnormalities as well as cardiovascular risk that is why modification in the definition was proposed in early 2000s [7, 8]. Thus, the nomenclature changed from NAFLD to the metabolic-associated fatty liver disease (MAFLD) in 2020 [9] and there is increasing evidence proving its importance in multidisciplinary care [10, 11]. Since the diagnosis of MAFLD is relatively new and it differs from NAFLD as it requires the presence of the metabolic risk factors and does not require the exclusion of alcohol intake or the presence of other liver diseases, the clinical course of the disease in patients with MAFLD might be different from NAFLD.

It is important to note that both European and American guidelines recommend to screen for CVD in people with NAFLD [5, 12] and it was demonstrated recently that better prediction of the progression of atherosclerotic cardiovascular risk is obtained when the MAFLD (not NAFLD) definition is used [13, 14] Therefore, it is of paramount clinical importance to determine the factors associated with CVD in people with MAFLD because the CVD could be prevented if an efficient tool for early detection of the individuals at the highest risk was available.

Predicting CVD events within the next 10 years with the use of the traditional risk factors is commonly applied [15]. However, numerous studies have shown that the currently adopted 10-year risk calculators, including the 2013 American College of Cardiology/American Heart Association (ACC/AHA) Pooled Cohort Equations Risk Calculator [15], often overestimate the CVD events and in some cases, underestimate the risk [16,17,18,19], causing unnecessary prescriptions of drugs. Moreover, chronic CVD generate high socioeconomic cost, and hence it is a major public health task to find and manage people with risk factors before the onset of CVD, facilitating effective prevention strategies [20].

Machine learning (ML) is one method of artificial intelligence in which computers utilize statistical approaches to effectively learn from data without being explicitly programmed to tackle a specific task. A variety of ML techniques have been increasingly applied in the medical field, including for the prediction of ventilator-associated pneumonia in critical care patients [21], prolonged operative time in elective total shoulder arthroplasty [22], cancer-associated deep vein thrombosis [23], or the stroke risk in non-anticoagulated patients with and without atrial fibrillation [24]. In a recent study, Kakadiaris et al. showed that their ML Risk Calculator outperformed the ACC/AHA Risk Calculator, and proposed less drug therapies while missing fewer CVD events [25].

We applied ML to determine the MAFLD patients who are at high CVD risk, and to better define the underlying risk factors in a data-driven manner. To the best of our knowledge, there have been no studies performed to date that analyzed the associations between MAFLD and CVD risk using ML methods.

Methods

This single center, observational, study was performed in a cohort of MAFLD patients. Patients who had been previously diagnosed with fatty liver disease based on the liver ultrasonography were invited to participate in the study through the advertisement placed in the University Hospital in Zabrze and in the outpatient diabetology clinics and family doctor clinics in the Upper Silesia region in Poland. The eligibility criteria were simple, ie. patients at age  ≥ 18 years who fulfilled diagnostic criteria of MAFLD. The only exclusion criteria was the lack of written informed consent for the participation in the study. We recorded demographic and clinical data (Table 1) and divided the patients in relation to the presence or absence of CVD. The presence of CVD was defined as one or more of the following: angiography-confirmed coronary artery disease; myocardial infarction; coronary bypass grafting (CABG); stroke; carotid stenosis of at least 50% in diameter; and/or angiography-confirmed, clinically-significant, lower extremities artery stenosis (peripheral artery disease). Every patient signed an informed consent agreement for participation in the study. The study protocol obtained the approval of the Ethics Committee by the Medical University of Silesia (KNW/0022/KB1/38/I/17).

Table 1 Patient characteristics

Anthropometric, demographic and clinical parameters

Anthropometric parameters, including height (meters) and weight (kilograms), as well as waist and hip circumference were measured (meters) by standard methods, and the body mass index (BMI) was calculated as weight/height2 (kg/m2). Additionally, the waist-to-hip ratio (WHR) was obtained. The obesity was diagnosed when BMI ≥ 30 whereas the overweight was diagnosed when BMI ≥ 25 but < 30. The patients were considered to have T2DM based on a known history of this disease. Blood pressure was measured three times after 5 min of rest in a sitting position, at least 2 min apart, and the mean blood pressure of the three measurements was calculated. Arterial hypertension was defined as a systolic blood pressure ≥ 140 mmHg and/or a diastolic blood pressure ≥ 90 mmHg or previous treatment with antihypertensive medications. Hypercholesterolemia was recognized when a patient had this diagnosis present in the documented medical history and/or there was newly recognized plasma high density lipoprotein cholesterol (HDL-C) < 1.0 mmol/l for men and < 1.3 mmol/l for women and/or patient was on statin therapy. Hypertriglyceridemia was recognized when a patient had this diagnosis present in the documented medical history and/or there was newly recognized plasma triglyceride ≥ 1.7 mmol/l and/or patient was on fibrate therapy. The history of all concomitant diseases was obtained from the patient and confirmed on the basis of documented medical data. No self-reported diseases without medically confirmed diagnosis were recorded.

MAFLD diagnostic criteria

The patients were diagnosed with MAFLD [26] if there was an evidence of steatosis acquired by the hepatic ultrasonography and presence of one of the following criteria: T2DM, overweight or obesity defined as BMI greater than or equal to 25 kg/m2 or at least two metabolic risk abnormalities, i.e., waist circumference ≥ 102 cm in men and ≥ 88 cm in women, blood pressure ≥ 130/85 mmHg or specific drug treatment, prediabetes, plasma triglycerides ≥ 1.7 mmol/l or specific drug treatment, plasma HDL-C < 1.0 mmol/l for men and < 1.3 mmol/l for women or specific drug treatment,  Homeostatic Model Assessment of Insulin Resistance (HOMA- IR) ≥ 2.5, serum C-reactive protein level > 2 mg/l.

Liver elastography with Fibroscan

Liver elastography was performed with the use of the Fibroscan 502TOUCH F611100049 device exploiting the XL 8 80,685 probe (2.5 Hz). The liver was tested after 6 h of fasting, and the test lasted from 5 to 10 min. In the patient lying in the dorsal position with the right arm extended, a gel-coated ultrasound probe was applied to the skin in the intercostal space above the right lobe of the liver. The time motion ultrasound image allows the operator to locate a fragment of the liver at least 6 cm thick and devoid of large vascular structures or ribs. The median and interquartile range (IQR) values of at least 10 successful liver stiffness measurements (LSM) and the controlled attenuation parameter (CAP), adequately defining fibrosis and steatosis, respectively, were calculated by the device. The results included the median and IQR of the CAP values (dB/m) and the median, IQR, IQR/median LSM (kPa), the success rate (i.e., the number of successful measurements/total number of attempts), the determination of the degree of steatosis (S0-S3) and liver fibrosis (F0-F4). The LSM classified as reliable are characterized by having all three of the following: ≥ 10 passed measurements, ≥ 60% success rate, and IQR/ median < 0.30.

Carotid ultrasound measurement

The ultrasound examination of the carotid arteries was performed using a high-resolution Doppler ultrasound with double imaging and color coding of the flow (Color Doppler Duplex, CDD) exploiting the Esaote MyLab60 ultrasound equipment by the same certified neurologist. The examinations were done in the supine position, without any additional preparation, with a linear ultrasound head emitting an ultrasonic wave with a variable frequency of 4 MHz to 15 MHz. In the 2D presentation, the common carotid artery (CCA), the separation (bifurcation) of the common carotid artery into the internal carotid artery and the external and internal carotid artery (ICA), alongside the external carotid artery (ECA) were determined. Measurement of the intima-media complex (KIM) thickness and the assessment of atherosclerotic lesions in the carotid arteries were performed.

Arterial stiffness assessment

For these measurements, piezoelectric mechanical transducers in the cervical, femoral and radial areas were used (Complior, Alam Medical, France). The velocity of the carotid-femoral pulse wave (cfPWV) was used to assess the stiffness of the central artery and the velocity of the carotid-radial pulse wave (crPWV) was used to assess the stiffness of the peripheral arteries. With the Seca mod. 207 height meter, the right carotid-femoral and carotid-radial distances were measured. Blood pressure was measured in the supine position after at least 5 min of rest with the Microlife BP A1 sphygmomanometer immediately prior to the PWV assessment, and the mean of the three measurements on both arms was calculated and recorded. Derivative variables such as the central blood pressure, central pulse pressure and the gain index were analyzed, calculated by the integrated software on the basis of the carotid pulse waveform.

Biochemical methods

Hemoglobin A1c (HbA1c) was determined using a high-performance liquid chromatography (HPLC) method, and the results were expressed in the National Glycohemoglobin Standardization Program/Diabetes Control and Complications trial units [27]. Cholesterol and triglycerides were measured using the enzymatic methods, with the HDL-C measured after precipitation of the very low-density lipoprotein cholesterol (VLDL-C). The concentration of the low density lipoprotein cholesterol (LDL-C) was calculated using the Friedewald formula [28]. Serum creatinine was measured by means of the Jaffe’s method. The estimated glomerular filtration rate (eGFR) per 1.73 m2 was calculated according to the Chronic Kidney Disease Epidemiology Collaboration (CKD-EPI) formula [29]. Blood cell morphology to obtain the platelet count (PLT) was determined using the fluorescent flow cytometry with the Sysmex XN-1000 (Sysmex) hematology analyzer [30]. Serum C reactive protein concentration were measured by a latex particle-enhanced turbidimetric immunoassay [31]. Alanine and aspartate aminotransferase activities in serum were assayed by the kinetic method according to the IFCC reference procedure. Analyzes of serum C reactive protein, alanine and aspartate aminotransferase were carried out on the Cobas 6000 analyzer, c 501 module (Roche). Fasting glucose was assessed using the enzymatic method with the Cobas 6000 hexokinase analyzer, c501 module (Roche). Insulin concentration was measured by electrochemiluminescence using the Cobas 6000 analyzer (module E601) [32].

Identifying high-risk patients using machine learning

To automatically identify the patients with a high risk of overt CVD, we investigated biochemical (8 parameters), demographical [2], clinical [17], carotid ultrasound [10], arterial stiffness-related [2] and steatosis stage in elastography [3] parameters (42 parameters in total)—the parameters are summarized in Table 1. To handle the missing data, we imputed the mean values for each parameter—the percentage of patients for whom the parameter was missing never exceeded 5% of all patients (mean: 0.68%). Afterwards, the parameters underwent univariate feature ranking. First, we examined whether each feature (predictor variable) is independent of a response variable (low- vs. high-risk patient) by using individual chi-square tests. Then, the parameters were ranked using the p-values of the chi-square test statistics—here, the importance of a feature is quantified as \((-\mathrm{log}(p))\), therefore a large score indicates that the corresponding predictor is important. The subsets of the most discriminative predictors were selected, and they were utilized to fitted the multiple logistic regression classifiers. Additionally, we fitted the classifiers over the principal components (PCs) extracted using PCA followed by the parallel analysis to determine the significant PCs [33]. For each model, we investigated the relationship between the model’s ability to correctly classify low- and high-risk patients using the ROC curve analysis, and we calculated the area under the ROC curve (AUC) as the summary metric to quantify the diagnostic ability of the corresponding classifier. To obtain the optimal cut-point value from each ROC curve, we exploited the (i) Index of Union (IoU), (ii) the closest to (0, 1) criteria (referred to as the Distance technique) and (iii) the Youden index methods [34]. For the selected cut-point values, we reported not only sensitivity and specificity of the corresponding classifier, but we also calculated its positive and negative predictive value (PPV and NPV, respectively), and the percentage of correctly classified low- and high-risk patients. The clinical utility of the developed ML models was investigated in the decision curve analysis. GraphPad Prism 9.4.1 was used for principal component, parallel analysis and other statistical processing, whereas MATLAB R2021b was exploited for feature selection (the fscchi2 function).

Results

There were 301 potentially eligible patients identified, and from these, only 191 individuals (mean age 58, SD 12, median: 60, IQR: 15 years; 46% female) fulfilled the inclusion/exclusion criteria for the study (Fig. 1). The patient characteristics are gathered in Table 1.

Fig. 1
figure 1

Patient flow. Out of 301 potentially eligible patients, 191 patients fulfilled the inclusion criteria (144 without CVD and 47 with CVD). CVD – cardiovascular disease

In feature selection, we focused on Top-5, Top-10, and Top-15 most important predictors (with the 5, 10, and 15 highest importance scores, respectively) which are summarized in Table 2. The most important 5 clinical variables included hypercholesterolemia, the plaque score of the left internal carotid artery, plaque score of the right internal artery, duration of T2DM and plaque area of the right internal carotid artery, which were all positively associated with overt CVD.

Table 2 The 15 most discriminative features (with the largest importance scores)

We investigated the performance of the multiple regression classifier fitted to ten PCs extracted by PCA, as ten PCs were found significant in the parallel analysis. The ROC analysis (Fig. 2) of the models fitted over the selected parameters, alongside the extracted PCs revealed that the highest AUC amounted to 0.87 (95% confidence interval [CI]: 0.82–0.92, p < 0.0001) for the model fitted to 15 most discriminative features (Top-15), whereas the worst AUC was 0.84 (95% CI 0.77–0.90, p < 0.0001) for the classifier operating on 5 features with the highest importance scores (Top-5). The multiple regression model fitted over 10 PCs resulted in AUC of 0.86 (95% CI 0.81–0.91, p < 0.0001)–utilizing 10 most important predictors led to the same AUC of 0.86 (95% CI 0.80–0.91, p < 0.0001). Once the optimal cut-point values have been elaborated for all models, the results were further analyzed—the performance (specificity, sensitivity, percentage of all correctly classified [CC] patients, percentage of CC low- and high-risk patients reported separately, positive and negative predictive values) of the multiple regression classifiers for the cut-point values determined using the i) IoU, ii) Distance and iii) Youden methods are reported in Table 3. The best machine learning model, as quantified by CC All and operating over five most discriminative features correctly identified 114/144 (79.17%) low-risk patients and 40/47 (85.11%) high-risk patients (Top-5 with the cut-point selected using the IoU and Distance methods).

Fig. 2
figure 2

The ROC curves obtained using the multiple logistic regression classifiers over the a Top-5, b Top-10, and c Top-15 most discriminative patient parameters (according to their important scores), and over d 10 principal components (PCs). We report the area under the ROC curve (AUC) for each classifier

Table 3 The performance of the multiple regression classifiers

In Fig. 3, the clinical utility of the three best-performing ML models (according to all quality metrics gathered in Table 3) was investigated. In general, all classifiers had significantly better clinical utility (above the probability threshold of 10%) in terms of net benefit than the two alternative treatment strategies, ie. treat all or none. The logistic regression model operating on top 5 most discriminative features outperformed two other ones (exploiting 10 principal components) above the probability threshold of 25%.

Fig. 3
figure 3

Decision curve analysis showing clinical utility of using the three best-performing ML models according to all classification performance metrics. One top-performing logistic regression classifier operated on top-5 most discriminative features with the optimal cut-point value selected using the i) Index of Union (IoU) and ii) the closest to (0, 1) criteria (yellow line), whereas two operated on 10 principal components with the optimal cut-point value selected using i) Index of Union (IoU) and ii) the closest to (0, 1) criteria (violet line) method, and using iii) the Youden index method (green line)

Discussion

In this study our principal findings are as follows: (i) we determined the most discriminative patient's parameters which can be used to build a ML model for identifying MAFLD patients with high CVD risk, (ii) we showed that using five interpretable and easy-to-obtain clinical parameters (including hypercholesterolemia, the plaque score of the left internal carotid artery, plaque score of the right internal artery, duration of T2DM and plaque area of the right internal carotid artery) is enough to elaborate well-generalizing logistic regression classifiers to the above-mentioned task; and (iii) we demonstrated better clinical utility of the developed ML models when compared to the “treat all” and “no treatment” strategies.

Shortly after the new definition of the fatty liver has emerged, it is still unknown how it will influence the clinical practice. Indeed, this does not represent a simple change in the nomenclature: differently from NAFLD, MAFLD can be recognized in patients who present with fatty liver and dysmetabolism, even when alcohol intake is reported yet not in lean ones without metabolic comorbidities [35]. It has been shown that NAFLD contributes to subclinical atherosclerosis [36,37,38] and that there is an independent association of NAFLD and higher prevalence of CVD in patients with DM [39]. However, it is still unclear if it is a direct effect of NAFLD per se or is it just due to the cardiometabolic risk factors shared between NAFLD and CVD [4]. It has been proved recently that presence of metabolic dysfunction, rather than alcohol consumption, may be the element which could be responsible for the superiority of MAFLD over NAFLD for discriminating worsening of atherosclerotic CVD risk in patients with fatty liver [13]. That is why it seems justified to look closer at risk factors of CVD in patients with MALFD.

In this study, 25% of relatively young patients with the Fibroscan-confirmed MAFLD presented with CVD. We have carefully reviewed the patients’ medical documentation and, surprisingly, none of the patients presented with a history of heart failure which accounts for about 2% of world adult population [40, 41]. It is, however, possible since – as the epidemiological data suggest – there is still a high number of unrecognized heart insufficiency cases [42, 43].

The feature analysis indicated that simple to obtain in everyday clinical practice parameters, such as carotid ultrasound, and clinical and biochemical ones can be discriminative in patients with overt CVD. This is very important from the practical point of view because before overt CVD occurs there is a long period of the silent disease presence and knowing the patient's parameters which could be potentially associated with overt CVD gives the clinicians a chance to improve the prevention and screening methods of CVD.

The ML models operating on such features achieved high predictive performance with the AUC values ranging from 0.84 to 0.87 (Fig. 2). Similarly, in a recent study, Oh et al. [44] analyzed the Korean national epidemiological data and demonstrated that the proposed classifiers can achieve a comparable performance (with AUC exceeding 0.85). Oh et al. determined that the most significant risk factors of CVD were age, gender, and hypertension, and they identified the positive correlation with hypertension, age, and BMI, and the negative correlation with the gender, alcohol consumption and monthly income [44]. Another study by Alaa et al. revealed that there are easy to collect, non-laboratory predictors of CVD, such as self-reported health ratings and usual walking pace which could be used in practice [45].

In our study, the top 5 most discriminative features (hypercholesterolemia, the plaque score of the left internal carotid artery, plaque score of the right internal artery, duration of diabetes and plaque area of the right internal carotid artery; are positively associated with overt CVD) could correctly identify 85.11% patients who present with CVD. While the highest score was seen for traditional risk factors, such as hypercholesterolemia and the duration of diabetes, there were also plaque related risk factors (both the plaque score and the plaque area) when taking into account top 5 most discriminative CVD features. The plaque score has been indeed identified as a factor associated with the long-term coronary artery disease risk in middle-aged asymptomatic individuals [46, 47]. Hypercholesterolemia, contrary to the duration time of diabetes, is a modifiable traditional risk factor which stress the necessity to treat this metabolic abnormalities underlined in both cardiology as well as diabetology guidelines for the management of patients with diabetes [48, 49].

When looking closer at the top 10 features which could discriminate the vulnerable patients, these are again the traditional risk factors—like being diagnosed with T2DM and hypertension—but also the use of betablocker, with all the features being positively associated with CVD. An interesting parameter which was among the top 15 ones associated with CVD is the parameter related to the arterial stiffness which is already recognized as the one which improves cardiovascular event prediction [50], and this one was also positively associated with CVD. On the other hand, other top 15 parameters (including ALT, eGFR and obesity) were negatively associated with overt CVD. Since it is understandable in relation to the kidney function expressed as eGFR which is a known risk factor of CVD, the negative association of ALT and obesity is surprising. The explanation of the negative association of obesity with CVD may be that nowadays there is a high emphasis on a healthy lifestyle, and patients who participated in our study were interested in their health since they answered the advertisement. Thus, it is also possible that they have already lost weight just before the participation in the study.

The results obtained for PCA indicated that the best-generalizing multiple regression classifiers were elaborated using interpretable features, and the models operating on the five most important features outperformed all other classifiers (exploiting more features and PCs) for the selected cut-point values, and correctly classified 80.63% of all patients (Table 3). This observation was further manifested while analyzing the clinical utility of the three best ML models – for the probability threshold of 25%, a logistic regression classifier operating on 5 patient parameters outperformed two other models, both exploiting 10 PCs which are more challenging to interpret in clinical practice. Such models directly operating on patient parameters and uncovering their interrelationships with the CVD risk are not only easier to interpret, but also are they less likely to overfit to our relatively small patient cohort. Finally, the results show that the ROC curve analysis may effectively lead to the classifiers with higher specificity or sensitivity, depending on the clinical scenario.

Most of the studies targeting the prediction of the CVD risk focus on the self-reported patient parameters which are not necessarily proved by medical documentation, hence may lead to biased outcomes. In our study, we have addressed this issue, and we analyzed a very well-defined population of patients whose concomitant diseases were medically documented. We used ML, which has been increasingly used to assess the risk of adverse outcomes in chronic disease states, outperforming simple clinical risk assessments [46, 47]. Most importantly, we are unaware of any studies to date which has assessed the risk factors in patients with MAFLD, let alone with the use of novel approaches such as ML.

Limitations

We are aware that there are important limitations of our study, which was a proof of concept for a wider program of work. This would include larger cohorts and further external validation, as well as prospective observations for all of them. Also, the patients were not asked whether they had lost their weight before participating in the study, which could explain the negative association of obesity with CVD. An important aspect of cardiovascular pharmacologic management is antiplatelet treatment. However, we were unable to gather reliable information related to this type of treatment in patients without CVD, hence we excluded this parameter from the analysis due to a large amount of missing data. Moreover we included patients with at least 50% of carotid artery stenosis qualifying them as those with overt CVD since 50% is a cut point of stroke related to large artery atherosclerosis [51,52,53]. In this context, one should notice that the plaque score has been identified as one of the top 5 risk factors related to CVD so this information potentially could be biased. Finally, exploiting the recent deep learning advances which established the state of the art in various medical data analysis tasks could help us further improve the classification performance of the CVD patients, but it would also require focusing on the interpretability of such large-capacity learners, to make their deployment in clinical setting much easier [48, 49].

Conclusion

The use of a ML approach demonstrated high performance in identifying MAFLD patients with high CVD risk based on the subset of the most discriminative, interpretable and easy-to-obtain patient's parameters. Our approach has the potential to facilitate timely diagnoses and management of prevalent CVD risk in patients who present with MAFLD in routine clinical practice.