Artificial intelligence in cardiovascular imaging—principles, expectations, and limitations
Charalambos A. Antoniades, Evangelos K. Oikonomou · 2021 · 41 citationsRead the paper
The arrival of artificial intelligence (AI) in cardiovascular medicine has introduced many new words and concepts to our dictionary. AI is already being used as part of medical software to streamline repetitive workflows (e.g. to automate segmentation of anatomical structures in medical imaging) and to assist in the interpretation of medical findings (e.g. identification of abnormalities on chest X-rays, dysrhythmias on electrocardiograms, heart sounds using electronic stethoscopes), pushing the boundaries of medical diagnostics by supplementing the visible abnormalities with a deeper and more comprehensive analysis of clinical data through advanced feature extraction methods and advanced machine learning (ML) analytics. In this brief viewpoint article, we provide a simplified framework to enable cardiovascular specialists with no prior expertise in AI or ML to assess the quality, robustness, reliability, and clinical value of proposed AI/ML applications in cardiovascular imaging. While prior review articles have focused on the specifics of data pre-processing, computation, and analytics,1 , 2 this brief commentary aims to provide a ‘bird’s eye view’ which spans correct use of definitions, basics of good research practice, regulatory compliance and addressing bias in the AI space. These points (see Graphical Abstract) generally apply to all imaging modalities since, irrespective of their initial format, biomedical images need to be pre-processed into a similar format before they are fed into ML algorithms.3 Inappropriate use of AI-related terms creates confusion and undermines broader efforts to integrate AI tools into the clinical care pathways where it is most needed. AI can be thought of as an ‘umbrella term’, describing the ability of a system or machine to perform tasks that are characteristic of human intelligence, such as problem solving, prediction or pattern recognition. ML on the other hand refers to one of the processes by which an AI system can gain its ability to learn and perform such tasks, most commonly through feedback loops which allow the system to learn from and improve based on its errors. Deep learning (DL) is a subfield of ML inspired by the architecture of the human brain, which relies on artificial neural networks to model complex relationships between input data and a given outcome or label. Such models often excel at imaging tasks given the complexity of the input features, such as pixels and voxels.4 , 5 These approaches usually apply ‘supervised’ learning, where one assigns a defined task to a model, feeding it with annotated data as part of a ground truth. The computational system then uses sequential trial-and-error loops, optimizing its parameters with every iteration until it minimizes the error in its estimates. On the other hand, in ‘unsupervised’ learning, one only provides data and a high-level ground truth with limited or no annotations and asks from the deep learning system to generate its own strategy to uncover patterns or discrete phenotypes. The thin line that separates ML algorithms from traditional statistical approaches is often a blurred one. Statistical approaches typically test hypotheses generated by a human user, who also organizes the analysis strategy and supervises its implementation. Statistical approaches may be as effective as ML in identifying important traits and features based on specific hypotheses [for example, modelling the association of a discrete number of cardiac computed tomography (CT)-derived parameters, such as coronary calcium, plaque burden and high-risk plaque features with all-cause mortality].6 , 7 However, if such hypotheses cannot be readily formulated or if more complex relationships need to be modelled with the available data, then ML/DL approaches may provide additional solutions (for example when every voxel is used as input to develop novel cardiac risk biomarkers).8 , 9 Furthermore, given its complexity, ML may result in associations that are not intuitive or easily interpretable. Of note, in some cases, imaging analysis may be preceded by a feature extraction step that analyses the spatial interrelationship of voxels and provides hundreds of shape-, signal intensity-, or texture-related features (often referred to as radiomics).2 Radiomics should be thought of as an imaging pre-processing step that introduces some prior knowledge by standardizing the extraction of thousand different patterns, which however remain interpretable. These features can then be fed into ML models to create classification or risk prediction tasks. As a general rule, AI/ML models are particularly well-suited for high-dimensional, unstructured datasets (e.g. CT or echocardiographic images),9 , 10 particularly in tasks such as image classification and segmentation, whereas structured datasets, such as electronic health record-derived datasets, may benefit less from the power of AI/ML to model complex relationships in the data.7 The decision to use AI/ML methods should also be driven by the specific objectives, such as when there is need to automate labour-intensive processes, improve the reproducibility of an analysis and visualize imaging characteristics invisible to the human eye. Artificial ‘intelligence’ algorithms are not necessarily intelligent. They observe patterns in the data (e.g. images) that are fed into them and attempt to reproduce a version of truth that is inherently dependent on their input and the operator-defined version of ‘ground truth’. The commonly cited motto ‘garbage in, garbage out’ describes the challenge one often faces and highlights data (used as input) as one of the most valuable commodities in modern medicine. Whereas big data are needed to model complex relationships, reduce overfitting, and improve accuracy in predictions, not all big data are suitable for AI/ML use. The five ‘Vs’, namely volume (referring to the need for large datasets), velocity (need for datasets and algorithms that are fast and efficient at processing biomedical data), variety (datasets that originate from different sources and contain enough variance), veracity (datasets that are accurate and trustworthy), and value (datasets that contain the information needed to address a given question) identify the key characteristics of what constitutes a high-yield dataset for AI/ML purposes.11 For instance, imaging cohorts collected in a prospective manner from several centres with a multitude of different scanners are more likely to result in generalizable models than single-centre datasets which will allow the model to fit its parameters to characteristics that may be unique to that centre or population. Well-phenotyped multi-centre cohorts, such as the CONFIRM (Coronary CT Angiography Evaluation For Clinical Outcomes: An International Multicenter) registry, have been used to train accurate and reproducible risk scores linking cardiac CT findings to subsequent adverse outcomes.12 Once a dataset that abides by the five ‘Vs’ is available, the next step is to split the available data into training, validation (to provide an unbiased evaluation of model performance and further optimize the model by tuning parameters that control the training process, also known as ‘hyperparameters’) and testing sets (used to provide an unbiased evaluation of the final model fit). Here, there are no ‘golden rules’, and the optimal split depends both on the total number of samples and the actual model, with more complex models generally requiring larger validations sets for optimal tuning. Another key aspect to consider is the format of the input data which should facilitate the generalizability of the algorithm to independent datasets. Image compression, post-processing of CT data through vendor-specific software, and the lack of raw signal data, may result in models that are hardly transferrable to other centres and populations. Missing data, particularly in structured, retrospectively generated datasets, are seldom missing completely at random and are therefore an additional source of bias, which should be acknowledged and accounted for with appropriate imputation methods (provided they are only missing for a minority of cases).13 This may however not be feasible for missing unstructured datasets, such as raw clinical imaging data. Finally, variability in the format used to store images introduces further complexity and there is a major unmet need to standardize these practices across institutions to facilitate wider adoptions of AI algorithms. It is part of human nature to not trust what one cannot understand. When AI is used simply to accelerate clinical workflows (e.g. track the centreline of coronary vessel, identify areas of coronary calcification), then the acceptability of such algorithms tends to be high. However, one of the major criticisms of AI in medicine is the inability to interpret the output of a ML algorithm. A key difference is that between interpretable and explainable AI. The former term describes models that are capable of being understood by humans (i.e. simple linear or decision tree models), whereas the latter term describes models that are too complicated (i.e. neural networks) and require additional methods and tools to understand how they function. Fortunately, several tools are now available to improve our ability to look behind the black box nature of such algorithms.14 Though a detailed description of these methods goes beyond the scope of this manuscript, an important message is that even for the most complex algorithms, novel methods can now shed light into how they reach their decisions and predictions. Imaging datasets that have an unbalanced sex representation and low representation of minority communities or reflect existing socioeconomic disparities in the allocation of treatments and/or patient outcomes are likely to reproduce existing biases and disparities if they are used for model training without accounting for these differences.15 Several technical methods are available to address this,14 such as suppression, which detects and removes features that correlate with e.g. ethnicity and forces the model to base its predictions on more generalizable features. Having recognized the need for equity in AI, our community should collectively focus on optimizing such algorithms to ensure that all demographic groups benefit equally from the deployment of these models, therefore lessening any existing disparities.4 In other words, while reporting performance metrics per age, sex, and ethnic groups is strongly encouraged, ML also provides solutions to ensure that the ML algorithms created do not disproportionately discriminate any specific demographic group. Moreover, since many AI algorithms are developed by and applied in the most technologically advanced healthcare settings, this may exacerbate existing inequities in healthcare deliver and ultimately patient care. Thus, AI developers have an ethical responsibility to ensure that their models remain widely applicable, particularly in smaller institutions with not many resources. ML models can be trained and designed to model highly complex relationships in their training datasets, often providing excellent predictions in the same cohorts. Difficulty in obtaining access to external datasets often explains why many ML studies fail to cover this extra mile in their analyses. Given that there is no mandatory requirement to pre-register and report the results of many of these studies, failed attempts of external validation may be left out of scientific publications, raising concerns for publication bias. To this end, efforts are already underway to create standardized reporting tools for all clinical AI/ML studies.16 This will lead to better quality of the AI/ML algorithms and will gradually improve the confidence of the practicing clinicians to AI. There are numerous metrics available to quantify the performance of a ML/AI model, and the selection of the optimal metric ultimately depends on the specific task. For instance, in segmentation tasks, the Dice coefficient quantifies the proportion of the correctly classified voxels or pixels. In regression tasks, root mean square error can provides an estimate of how close the predicted values deviate from the observed ones. In classification, accuracy quantifies the correctly classified number of cases over all cases (and may be misleading in imbalanced datasets), whereas alternative metrics such as the F1-score and area under the curve are more appropriate when a positive label in an imbalanced dataset has higher importance (e.g. death) or when accounting for a trade-off between a true positive and false positive rate.1 Once trained and validated, AI/ML algorithms should be compared to the current standard of care in well-designed, prospective, controlled trials. A notable example is the recent validation of an electrocardiogram-based, AI-powered clinical decision support tool for the early diagnosis of impaired ejection fraction which was tested in the context of a cluster-randomized controlled study, demonstrating that an AI-powered ECG tool increased the diagnosis of low ejection fraction at 90 days compared to usual care without a change in echocardiogram utilization.17 Unfortunately, similar studies in cardiovascular imaging have been lacking to date. Both the USA and Europe have launched initiatives on AI to ensure an appropriate ethical and legal framework.18 This framework aims to boost AI research, while also ensuring safety and transparency in the handling, processing and sharing of data, data privacy, cybersecurity as well as the ethical development and deployment of such tools. Most of these tools are regulated as ‘medical devices’ by both the Food and Drugs Administration and the European Union Medical Device Regulation, and therefore need to comply with a detailed list of pre-specifications and requirements.19 Researchers developing such tools should familiarize themselves with this framework early on, ideally prior to designing their studies. Since regulatory approval is required to apply these tools in clinical practice, most algorithms are never prospectively applied in a real-world clinical setting. Unfortunately, their dissemination often ends with the publication of a scientific manuscript that neither provides enough information for reproducibility nor lays the foundation for a subsequent commercial deployment. This is further complicated by scepticism regarding the use of real-time self-learning algorithms that continue to learn from and adapt to real-world data. While this process would enable real-time validation and recalibration of these devices, the existing traditional regulatory landscape makes this hard to regulate in real-time. Finally, data privacy concerns also exist since many commercially oriented algorithms are developed by for-profit organizations that rely on access to electronic health record data. When reviewing such algorithms, readers should pay close attention to who owns and manages the source data and what steps have been taken to ensure data privacy. Since most AI and ML imaging models are developed by humans, they can reproduce errors and biases inherent to our judgement. As a result, we anticipate that the greatest benefit will be derived from a synergistic deployment of ML tools along trained professionals. It is our hope that by triaging tedious yet time-consuming tasks to AI/ML algorithms, clinicians will benefit by freeing resources and time to be dedicated to direct patient care and other intellectual activities.20 Thus, when evaluating the clinical value of a model, one needs to consider the underlying unmet need and whether it would be reasonable to allow a machine to perform such as task in lieu of a human. Just because a ML model can be trained, does not mean that it should be used. We propose a simplified framework to assist cardiovascular specialists in assessing the clinical value of novel ML algorithms, accounting for the complex and ever-evolving technical, clinical, ethical, and regulatory landscape in the field of AI. The appropriate use of AI in medical imaging, will make diagnosis faster (by improving workflows) and more accurate (benefitting from the computational precision) by visualizing and interpreting patterns invisible to the naked eye (through radiomic or DL models). However, misuse of AI can have a negative impact on medical practice, thus highlighting the need for a new scientific, ethical, and regulatory framework that will allow evaluation and continuous monitoring of the performance of AI algorithms in cardiovascular imaging and beyond. C.A. is supported by the British Heart Foundation (FS/16/15/32047, TG/19/2/34831, and RG/F/21/110040) and the National Institute for Health Research Oxford Biomedical Research Centre (Oxford, United Kingdom). Conflict of interest: C.A. is a founder shareholder and director of Caristo Diagnostics, a CT image analysis company. E.K.O. declares consultancy with Caristo Diagnostics. Seven lessons for cardiologists in the era of artificial intelligence. When reviewing an artificial intelligence application, one needs to critically appraise the following domains: (1) Are artificial intelligence and machine learning necessary to address question of interest? (2) Are the input data of high quality? (3) Is an interpretation of the final algorithm attempted? (4) How is bias addressed? (5) Is appropriate external validation performed? (6) Are there any regulatory or ethical compliance concerns? (7) How much supervision does the final model require?