artificial intelligence-based machine learning to diagnose and classify adenomyosis from ultrasound scans: a multicentre model development study

Conditions: Adenomyosis of Uterus

Summary: the aim of this study is to use the vast dataset of annotated ultrasound images of normal uterus and of adenomyosis of varying severity to train a neural network using deep learning framework (pytorch) and automated machine learning tool (vertex ai). the main question it aims to answer are: 1. diagnostic performance of automated (google vertex ai (artificial intelligence) vision) and deep learning (pytorch) machine learning model 2. time saved in assessment of adenomyosis per healthcare professional

background: adenomyosis is a benign gynaecological condition characterised by the presence of ectopic endometrial cells (cells of the lining of the womb) in the myometrium (muscle layer of the womb). globally, though adenomyosis is prevalent in women and girls across all stages of life, starting from adolescent to perimenopause, it remains underdiagnosed. women with adenomyosis experience debilitating symptoms of heavy menstrual bleeding, painful menstrual cycles, chronic pelvic pain, and untoward pregnancy outcomes leading to a long-term impact on their quality of life. diagnosis and classification of adenomyosis is not only essential to correlate with symptom severity but also in counselling women about the disease prognosis, type of management and the long-term impact of adenomyosis outcomes. however, classifying the severity is not only a time-consuming and complex process, but it also depends on the operator experience and is subjective. achieving the same results in a fraction of time with reduced operator bias independent of the expertise of the operator would be likely beneficial. when dealing with image classification tasks, machine learning (ml) has an enormous potential in assisting healthcare professionals in classifying the severity of adenomyosis objectively in seconds. deep learning framework and automated machine learning tool are state-of-the-art tools for automated transvaginal ultrasound scan (tvus) image analysis. it can directly process and automatically learn mid to high-level abstract features acquired from ultrasound images using a deep architecture model without requiring the manual definition of features in advance. this enables one to train, test, and validate the machine learning model with example labelled images for classification the aim of the study is to use the annotated ultrasound images of normal uterus and of adenomyosis of varying severity to train a neural network using supervised deep learning that predicts if an input image belongs to one of the following classes: none, mild, moderate or severe adenomyosis. this will be a novel project and may support the clinicians and sonographers in grading the severity of adenomyosis in fraction of a time in the future. objective: to investigate the use of image recognition model utilising supervised deep learning via automated machine learning tool (vertex ai) and deep learning framework (pytorch) for the creation of an algorithm for ultrasound classification of severity of adenomyosis. study design and settings: type of study: this will be a multicentre observational cohort study. appraise-ai and prediction model risk of bias assessment tool- artificial intelligence (probast-ai) tools have been referred to for protocol development. settings: the ultrasound images of patients with normal uterus and adenomyosis will be retrieved from ten care fertility centres in the united kingdom. this would include care fertility sites at birmingham, tamworth, nottingham, northampton, sheffield, leeds, manchester, bolton, cheshire and liverpool. population: the study cohort will comprise of ultrasound images of patients who attended care fertility centres for ultrasound between february 2022 to february 2024 and were diagnosed with normal uterus and adenomyosis using morphological uterus sonographic assessment (musa) criteria on screening of images. the musa criteria outlines the ultrasound features of myometrium and myometrial lesions using standardised terms, definitions and measurements. previously published schematic mapping system of adenomyosis severity will be used for determining the severity of uterine adenomyosis on review of images. this has been chosen due to reproducibility, substantial to almost perfect interobserver agreement rate and clinical correlation with symptom severity. a score ranging from to 1 to 4 is attributed to each grade and the sum of the score numbers is used to calculate the extension of the disease: mild (1-3), moderate (4-6), and severe (\>7). duration: ultrasound performed between february 2022 until february 2024 sample size: the minimum number of images required by vertex ai vision for training is 100 per category. the likelihood of successfully recognising a category goes up with the number of high quality examples for each. the target sample size to test the algorithm to classify adenomyosis will be between 1000-10,000 images each for none, mild, moderate and severe adenomyosis. the complete set of images will be distributed equally across classification categories; however, it may not be possible to source an approximately equal number of images for each category. the complete data set will be split manually into two different datasets in 9:1 ratio; 90% of the selected images will be used as training dataset (training + validation) and 10% as test dataset. this will ensure adequate inclusion of diverse and representative images for each category. the test dataset will be an independent dataset that is not used in the training phase but will be obtained from the same facility as data used in the training phase. minimisation of the potential impact of biases: all the stored ultrasound images of normal and adenomyotic uterus will be screened by a reviewer experienced in gynaecological and fertility scanning who will be blinded to the baseline characteristics of the women to avoid identification and recruitment bias. two reviewers will independently classify the severity of adenomyosis into mild, moderate and severe for 1000 sets of images to establish concordance. ai software details: type of machine learning supervised deep learning: in supervised learning, the machine needs labelled examples to learn. the aim of the study is to teach a machine to recognise varying severity of ultrasound diagnosed adenomyosis. ultrasound scan images labelled as "none", "mild", "moderate" and "severe" will be uploaded as input. studying the examples, the algorithm will learn to recognise what distinguishes a normal uterus from mild adenomyosis and a mild from a severe degree of adenomyosis and to assign the correct classification to each new image it is asked to analyse. type of framework and version: google cloud vertex ai vision api v1 as automated machine learning tool and the most up-to-date version of pytorch as deep machine learning framework. acquisition of input data and selection: input data to the model will be retrieved from ultrasound images of patients who attended the above mentioned fertility centres for ultrasound between february 2022 to february 2024 and were diagnosed with normal uterus and adenomyosis on screening of images. eligible ultrasound images of adenomyotic uterus participants will be extracted as two-dimensional (2d) and/or three-dimensional (3d) images after removing the patient identifiers. if a patient has more than one image of adenomyotic or normal uterus, all these images will be included. these images will be reviewed by a reviewer to reduce the risk of bias and formatted to ensure that they contain the adenomyosis ultrasound characteristic of interest in the image. these reviewed and formatted images will be labelled as none, mild, moderate and severe by two reviewers experienced in ultrasound diagnosis and classification of adenomyosis. three set of input images will be uploaded on the machine learning framework: 1. training set: 80% of the image data will be in the training set. the model "sees" and initially learns from this data. 2. validation set: the validation set is also part of the training process, but it's kept separate to tune the model's hyperparameters.10% of the total images different to the training data set will be used so as to fine-tune model structure so that it can generalise better. 3. test set: the test set enters the stage only after the training process. it will be used to test the performance of the model on the data it has not yet seen. 10% of the total images will be used as test-set. unlabelled test images will be uploaded to system and the performance of artificial intelligence (ai) model will be compared with the standard i.e., the original classification by the investigators. splitting of the total image data into training set, validation set and test set will be done manually. handling of poor quality or unavailable input data: these images will be excluded. eligibility criteria: inclusion: a. participants: women attending the above mentioned fertility centre for ultrasound between february 2022 to february 2024 for any indication and are diagnosed with normal uterus and adenomyosis on ultrasound on screening of images. b. input data: good quality and conclusive 2d and/ or 3d images of normal uterus and adenomyotic uterus where the ultrasound characteristics of adenomyosis are clearly visible. exclusion: a. participants: women with co-existing single or multiple intramural fibroids and endometrial cavity abnormalities. b. input data: inconclusive ultrasound on assessment by the reviewer, poor-quality images where the ultrasound characteristics of adenomyosis are unclear and images which cannot be classified into one of the four categories will be excluded. consent: the study is purely observational with no intervention or additional step being conducted as part of the study. ultrasound images of normal and adenomyotic uterus would have been acquired at the time of a women having a tvus which is part of routine clinical practice. since the ultrasound machine allows the export of images without patient identifiable information, the data (which includes ultrasound images only) will have patient identifiable information (name and date of birth) removed before the data is extracted. nhs health research authority confidentiality advisory group (cag) pre-application checklist has been referred to determine the eligibility of this project to process patient information without consent. hence, no informed consent will be requested from the study participants as only anonymized data that is already available will be used. outcome and statistical analysis primary outcomes: average precision (positive predictive value), precision, recall, area under the receiver operating characteristic curve (auc), sensitivity, specificity and accuracy of the model will be the primary outcomes of interest for automated and deep machine learning model. all the analyses will be done using stata statistical software (release 18, tx, usa) for deep machine learning (ml) framework model and using the automated machine learning software for automated ml model. after the automated model is trained, detailed analysis consisting of summary of the model's performance which will be reported (model output). the will include the following: * score threshold: the score threshold refers to the level of confidence the model must have to assign a category to a test item. the score threshold slider in the google cloud console is a visual tool to test the effect of different thresholds for all categories and individual categories in the dataset. a score threshold which provides a good balance between false positives and false negatives will be adopted during the evaluation. * true positives, true negatives, false positives, and false negatives * precision and recall: from all the test set of images that were assigned a category, precision indicates how many actually were supposed to be categorised with that label and recall indicates how many were actually assigned the label. the reference standard label refers to the categorization by the investigators. * precision/recall curves secondary outcome: evaluation of interrater agreement between two reviewers in the ultrasound assessment of adenomyosis using fleiss's kappa. k-coefficients used for interpretation of the strength of agreement will be: ≤0=poor, 0.01 to 0.20=slight, 0.21 to 0.40=fair, 0.41 to 0.60=moderate, 0.61 to 0.80=substantial, and 0.81 to 1=almost perfect. data handling and record keeping: data (de-identified ultrasound images) will be stored in the google cloud in accordance with the data protection act 2018. eligible ultrasound images of normal and adenomyotic uterus participants will be extracted as 2d and/or 3d images after removing the patient identifiers. after completion of the study, images stored on google cloud will be deleted. quality control and assurance: principles of good clinical practice will be followed throughout the study duration. adverse event reporting: considering the observational nature of the study and no additional step involved in the study design other than baseline tvus, there are no safety considerations involved. ethical considerations: ethics approval has been obtained from the local institutional review board (irb) and from care fertility research and development team. confidentiality and data protection: a unique image identification number will be used for identification of study participants. all the personal data used in the study will be processed in accordance with the data protection act 2018 and will be regarded as strictly confidential. funding: funds for this project has been sourced from tommy's national centre for miscarriage research, birmingham, united kingdom. conflicts of interest: there are no conflicts of interest associated with this study. amendments: any amendments to the study protocol or documentation will be initiated by the chief investigator. all substantial amendments will be submitted to irb for approval followed by implementation of the changes in all sites involved in the study. amendments will be documented in the 'protocol amendment' section of the study protocol. end of project definition: data gathering and preparation, training and evaluation of the model and writing of manuscript will take place over a period of 12 months. future study aspects: the long-term aim is to analyse this internally validated ai model for external validation in external centres in the national health service (nhs) using pacs system of archived images and correlate it with histopathology of hysterectomy specimens. this would also involve analysis of clinical utility by assessing impact of model on decision making and outcomes. if the model's performance is appropriate in terms of positive predictive value, precision and clinical utility, it will be implemented for real-time usage using online prediction. the model may be deployed for classification requests in form of online application or as an application integrated within ultrasound machines. publication policy: the results of the study will be shared through scientific and social media, the study results will be submitted to a peer-reviewed journal within the field of gynaecological ultrasound (ultrasound in obstetrics and gynecology (uog)) and digital health (the lancet digital health). the manuscript will be prepared by dr ishita mishra and authorship will be determined according to the individual's degree of contribution to the study and writing of the manuscript.

Eligibility criteria:
inclusion criteria: * participants: women attending care fertility centre for ultrasound between february 2022 to february 2024 for any indication and are diagnosed with normal uterus and adenomyosis on ultrasound on screening of images. * input data: good quality and conclusive 2d and/ or 3d images of normal uterus and adenomyotic uterus where the ultrasound characteristics of adenomyosis are clearly visible. exclusion criteria: * participants: women with co-existing single or multiple intramural fibroids and endometrial cavity abnormalities. * input data: inconclusive ultrasound on assessment by the second reviewer, poor-quality images where the ultrasound characteristics of adenomyosis are unclear and images which cannot be classified into one of the four categories will be excluded.

Keywords: diagnosis deep learning machine learning classification artificial learning automated machine learning