interpretation of fetal echocardiography by artificial intelligence

Conditions: Congenital Heart Disease

Summary: the study to be performed aims to design and develope an automated intelligent decision support system for fetal echocardiography that can significantly assist the obstetric physician in the improvement of detection of fetal congenital heart disease compared to the common standard of care.

introduction: worldwide, congenital heart disease (chd) is the most encountered fetal malformation. the incidence of congenital heart disease appears to be about 1 per 100 live born infants and is even higher in infants who die before term (1). fetal echocardiography (fe) has evolved from just the description of the anatomical abnormalities of the heart toward quantitative assessment of its function, dimension and shape (2). presently, fe is performed manually by the sonographer during the second trimester investigation. however, only half of the babies undergoing surgery within the first year of life have a prenatal detection (3), explaining the need for an improvement of the fetal cardiac assessment. many studies showed the presence of a significant discrepancy between the pre- and postnatal diagnosis of the chd obtained by a manually performed fe (4, 5). intelligent decision support systems (iss) are frameworks that have the capacity to gather and analyze data, communicate with other systems, learn from experience, and adapt according to new cases. technically speaking, iss are advanced machines that observe and respond to the environment that they have been exposed to using artificial intelligence (ai) (6). this project aims to foster a cross-fertilization of fe and iss, which will provide an enormous potential in developing new fundamental theories and practical methods that rise above the boundaries of the disciplines involved and lead to new impactful methods that assist medical practice and discovery. methods and analysis: the study to be performed is a cross-sectional study divided into two separated parts: the training part of the machine learning approaches within the proposed framework and the testing phase on previously unseen frames and eventually on actual video scans. all pregnant women in their first and second trimester are considered eligible for the study. pregnant women will be admitted for their routine ultrasound examination and monitoring, first time between 12-13+6 weeks of pregnancy (for the first trimester anomaly scan) and / or between 18-24 weeks of pregnancy (for the second trimester anomaly scan). two-dimensional evaluation of each fetal heart will include a cine loop sweep obtained from the from the four-chamber view plane by moving the transducer cranially towards the upper mediastinum, allowing the visualization of the following planes: four-chamber view, left and right ventricular outflow tracts, three vessels and trachea view. all video files saved from the us devices will be collected into the cloud. each ultrasound sweep will be split into frames by the ob-gyn/cardio (obc) department. the data science / it department (dsit) will process the frames for obeying the anonymization regulations. for key feature identification, the frames will be grouped by the obc into the classes that represent the plane views for each trimester. dsit will try different state-of-the-art dl pre-trained algorithms on the data set with plane views. all the recent dl entries will be tailored and tested on the current two scenarios of key view identification and semantic segmentation. their performance results (their prediction against the ground truth marked by the obc) will be analyzed in comparison by means of a statistical test. the accuracy-speed equilibrium will be taken into account in the ranking of the approaches, since the system will finally perform on a video. once a new video will be available in practice, the model chosen for the respective task will highlight the key feature or the segmented region on video and also provide a degree of confidence in its recognition. the obc physicians will validate all the intermediary findings at frame level, as well as the meaningfulness of the video labelling and segmentation. the outcomes of the model on the first and second trimester videos of the same patient will be compared to assess the discrepancy. ai (artificial intelligence) analysis database construction: the data set for ai analysis will be constructed from images extracted from ultrasound scans taken in the apical plane. consequently, a classification problem with four categories corresponding to the given key views is considered. an additional other class is appointed and populated with images of other unimportant frames from the scan. image preprocessing for fetal heart scans: the first step is represented by the extraction performed by converting the image to gray scale and applying a threshold. in this way, the background noise is discarded. in order to eliminate the small bridges between the area of interest and other areas in the image, erosion is applied using a 10x10 pixels kernel. after erosion, besides the area of interest, several smaller "islands" may appear in the image. the zone of interest has two properties that distinguish it from the rest of the islands: it always covers the central area of the image and it has the highest area. in order to eliminate the non-relevant islands, the spots that cover the central area of the image are first identified, then the spot with the highest surface coverage is selected. the detected spot is filled, then the dimension is restored by applying a dilation algorithm, using the same kernel of 10x10 pixels. in order to prevent losing the fine details around the dilated spot, its convex hull is drawn and filled. in the end, the generated spot is used as a mask to extract the area of interest from the original image. experimental results: three variants of the data collection are considered: the original double-sided (standard + doppler) samples, the doppler single crops and merged image pairs of resulting standard and doppler crops. the resnet18 and resnet50 architectures, with similar setups, are applied for each data set in turn for evaluating the suitability of the preliminary processing. as the data collections with cropped images contain representatives from all the initial images, all sets thus have the same number of items and structure per each class, as well as for the training, validation and test separations. for an objective evaluation, all images that are extracted from a patient lie within the same separation of the data set, i.e. training, validation or test. this occurs even if there were multiple video files for a patient made at different moments (e.g. weeks apart) in time. the images are resized to 224 × 224 pixels. the 1cycle policy is used and the implementation is made using fastai and pytorch libraries. the initial model weights are taken through transfer learning, as pretrained on the imagenet data set. the default options for data augmentations are used. there are 2 steps involved in the training process, each containing only 10 epochs. within the first training session, all layers are frozen, except for the batch normalization layers and the head of the model. its choice controls how the weights of the network are adjusted with respect to the loss gradient and selecting a proper value is essential for making the model converging to a local minimum, and reaching thus improved accuracy in a smaller amount of epochs. the batch size is taken equal to 32. the model that hits the highest accuracy on the validation data is applied on the test set. for each of the 2 architectures and for each separate data set, 5 repeated applications are made and the reported results for each case are computed as the average over the 5 outcomes. the runs are made in google colab, using tesla t4 for gpu. b. the successful gradient class activation map (grad-cam) approach is used for outlining the decisions of the model for the aorta and other labelling for each data set. the plots are derived from the 5 runs that are computed for each distinct (architecture, data set) setup.

Eligibility criteria:
inclusion criteria: * pregnant women in their first and second trimester * signed informed consent for the study exclusion criteria: * unknown outcome of pregnancy * age under 18 years old

Keywords: artificial intelligence fetal cardiology echocardiography decision support systems