Register      Login
Sexual Health Sexual Health Society
Publishing on sexual health from the widest perspective
RESEARCH ARTICLE (Open Access)

Adapting an artificial intelligence sexually transmitted diseases symptom checker tool for Mpox detection: the HeHealth experience

Rayner Kay Jin Tan https://orcid.org/0000-0002-9188-3368 A B * , Dilruk Perera A B , Salomi Arasaratnam https://orcid.org/0009-0002-7180-7322 B and Yudara Kularathne B
+ Author Affiliations
- Author Affiliations

A Saw Swee Hock School of Public Health, National University of Singapore and National University Health System, Singapore, Singapore.

B HeHealth.ai, Singapore, Singapore.

* Correspondence to: Rayner.tan@nus.edu.sg

Handling Editor: Lei Zhang

Sexual Health 21, SH23197 https://doi.org/10.1071/SH23197
Submitted: 14 December 2023  Accepted: 23 April 2024  Published: 14 May 2024

© 2024 The Author(s) (or their employer(s)). Published by CSIRO Publishing. This is an open access article distributed under the Creative Commons Attribution 4.0 International License (CC BY)

Abstract

Artificial Intelligence (AI) applications have shown promise in the management of pandemics. In response to the global Monkeypox (Mpox) outbreak, the HeHealth.ai team leveraged an existing tool to screen for sexually transmitted diseases (STD) to develop a digital screening test for symptomatic Mpox using AI. Before the global Mpox outbreak, the team developed a smartphone app (HeHealth) where app users can use a smartphone to photograph their own penises to screen for symptomatic STD. The AI model initially used 5000 cases and a modified convolutional neural network to output prediction scores across visually diagnosable penis pathologies including syphilis, herpes simplex virus, and human papillomavirus. A total of about 22,000 users had downloaded the HeHealth app, and ~21,000 images were analysed using HeHealth AI technology. We then used formative research, stakeholder engagement, rapid consolidation images, a validation study, and implementation of the tool. A total of 1000 Mpox-related images had been used to train the Mpox symptom checker tool. Based on an internal validation, our digital symptom checker tool showed specificity of 87% and sensitivity of 90% for symptomatic Mpox. Several hurdles identified included issues of data privacy and security for app users, initial lack of data to train the AI tool, and the potential generalisability of input data. We offer several suggestions to help others get started on similar projects in emergency situations, including engaging a wide range of stakeholders, having a multidisciplinary team, prioritising pragmatism, as well as the concept that ‘big data’ in fact is made up of ‘small data’.

Keywords: behaviour, community health, diagnostics, help-seeking behaviours, public health, South-East Asia, STIs.

Introduction

Monkeypox (Mpox) was declared a public health emergency of international concern (PHEIC) on 23 July 2022, owing to the risk of human-to-human transmission, and the rapidly increasing number of cases being recorded worldwide.1 An important observation of the ongoing global outbreak of Mpox is that the majority of the infected cases are among men who have sex with men, and this has led to stigmatising attitudes that conflate both Mpox acquisition with one’s sexual identity. This has led to concerns that individuals may be disincentivised to seek care due to concerns around stigma.2,3

Artificial intelligence (AI) applications have shown promise in the management of pandemics and have been widely used to assist the identification, classification, and diagnosis of medical images, such as in the case of the last PHEIC, coronavirus disease 2019 (COVID-19).4 Others have also started to do so with Mpox.59 In these studies, researchers created datasets through data augmentation, as well as using images of skin lesions caused by Mpox, chickenpox, measles, and normal controls collated from open-source data. Pre-trained, modified, and ensemble convolutional neural network (CNN) were then used to classify Mpox from other classes, obtaining accuracies of between 83.0% and 99.0%.10 A systematic review on the application of AI techniques for Mpox highlighted how AI has not only been used for the diagnostic testing or screening of Mpox, but also in the epidemiological modelling, drug and vaccine discovery, and media risk management in the context of Mpox.10

While our team had successfully deployed a tool that could screen for symptomatic sexually transmitted diseases (STDs) through visible dermatological clinical signs, we needed to rapidly adapt this tool to ensure that those who are at risk of acquiring Mpox had a similar option of assessing their risks for symptomatic Mpox without the fear of stigma, and guide them towards appropriate interventions where possible. We aimed to develop a robust digital screening test for symptomatic Mpox through AI and machine learning approaches.

We leveraged our existing AI symptom checker tool designed to detect STDs to do so. We sought to do so overfive stages. First, we engaged in formative research by having initial discussions with experts to better understand the nature of the current Mpox PHEIC. Second, given the lack of available data in the global outbreak, through the proposed system, the team aimed to intensify stakeholder engagements under several key directions such as: (1) to amplify discussions on the clinical presentation and risk factors of Mpox in the ongoing pandemic; (2) enable community stakeholders to address the stigma attached to Mpox; and (3) healthcare institutions to discuss possibilities of using data to train the tool. Third, we consolidated images to adapt and train our existing AI tool for the screening of Mpox. Fourth, we validated the Mpox symptom checker tool. Finally, we continued refining and validating our Mpox symptom checker tool in community and healthcare settings.

Materials and methods

The HeHealth team

A core interdisciplinary team drove the development and implementation of the AI tool. This team comprised a management consultant, product specialist, physicians, data scientists, a socio-behavioural researcher, a community representative, and other assistants who provided diverse insight and approaches to problem-solving and developing an effective clinical tool. Following the development of the tool and initial rollout, primary care providers were co-opted later through a wider network to further provide pragmatic validation of the tool in primary care settings.

Initial development of the AI tool to screen for sexually transmitted diseases

The team developed a smartphone app (HeHealth.ai) where app users can use their own smartphone cameras to take pictures of their own penises to screen for symptomatic STDs. Fig. 1 provides the symptom checker tool wireframe. The AI model was initially developed using 5000 cases and uses a modified CNN to output prediction scores across visually diagnosable penis pathologies. These 5000 cases comprised images of diseased (n = 2600) and non-diseased (n = 2400) penises. Images of diseased penises comprised a roughly equal number of five penile diseases, including herpes simplex virus eruptions, syphilitic chancres, penile candidiasis, penile cancer, and genital warts. Images of non-diseased penises included images of healthy penises, including those with penile pearly papules and Fordyce spots. The inclusion of non-diseased images for data augmentation of the disease class is important when building a robust model which can separate physiological variations (such as penile pearly papules) to differentiate from actual sexually transmitted diseases. The underlying AI predictions are conducted in two phases. In Phase 1, given the input image of the affected area, a computer vision-based screening model outputs prediction scores across visually diagnosable penis pathologies. In Phase 2, users’ answers to two simple questions (i.e. pain and discharge related) that are used to further fine tune the visual prediction results.

Fig. 1.

The AI symptom checker tool wireframe.


SH23197_F1.gif

The interface then displayed the potential diagnoses that were output by the AI, sorted in the order of the AI’s predicted likelihood scores. AI predictions with low likelihood scores (<40% or <0.4) are not shown and are removed, and the resulting display included a primary possible condition and secondary possible condition with confidence levels (in percentages) to avoid presenting extraneous information. In addition, a heatmap showing the detected pathological locations are displayed. Fig. 2 provides an example of the heatmap. We subsequently conducted validation of the first 1000 cases, during which each image is reviewed by a venereologist situated in Singapore, Sri Lanka, or the United Kingdom. Following the review, corresponding users who submitted the images were given feedback from the venereologists that could be accessed through the app by a user notification. Given that personal information is not collected through this process, such feedback can only be obtained through a unique username and password created by the user to log into the system.

Fig. 2.

Example of screening heatmap shown to users.


SH23197_F2.gif

Adaptation of the AI platform for the Mpox symptom checker tool

The overall timeline describing the development and subsequent refinement of the penis symptom checker for Mpox screening can be found in Fig. 3. The first phase (July to August 2022) comprised of the formative phase where initial discussions with medical, socio-behavioural, community and statistical experts were initiated to better understand the nature of the current Mpox PHEIC. The second phase (August 2022) comprised of engagement with other healthcare institutions and a search for publicly available databases for Mpox-related data (e.g. patient characteristics, images etc.) and the initial development of the tool (Table 1).7,1113 This phase leveraged the already-developed tool to identify STDs, which facilitated the process. The third phase (August to September 2022) that was iterative in nature involved the rapid consolidation of Mpox images to train the initial tool, and refinement of the tool’s user interface through feedback from stakeholders. The fourth phase (October 2022) involved a validation study to assess the accuracy of the symptom checker tool. The fifth and final phase (October 2022 onwards) involved the launch of the symptom checker tool and further training of the tool through the use of patient data obtained via the web app.

Fig. 3.

Timeline for the development of the Mpox symptom checker tool.


SH23197_F3.gif
Table 1.List of stakeholders engaged to develop the Mpox tool.

Types of stakeholdersInsights
World Health Organization representativeData and statistics regarding the risk prevalence
Centers for Disease ControlData and stats regarding the risk prevalence
Industry partnersResearch insights and validation
Community representativesCommunications strategy for Mpox risk and symptom checker tool
Sources of stigma and patient care pathway for Mpox
User interface and language used for key populations at risk of Mpox
General publicMpox images

Intensifying stakeholder engagement for tool development

Given that user and patient trust were instrumental in designing a successful and effective app that is user-centred, we opted to ensure that the tool was backed by not just medical and public health experts, but also by community representatives and stakeholders. In general, we garnered deep insight from medical and public health practitioners on the key risk factors and drivers of the present Mpox global outbreak, leads for Mpox-related datasets and data from other researchers and industry partners, as well as insight on communications, language, and patient perspectives through community representatives.

Risk scoring and validation of the Mpox symptom checker tool

The HeHealth Symptom (H2S) score is a fundamental aspect of HeHealth’s Mpox digital symptom checker tool. While the Mpox symptom checker tool was built by leveraging the HeHealth symptom checker’s baseline AI technology and algorithm, both the STD and Mpox symptom checkers were trained using different datasets. The tool was developed by physicians and scientists at HeHealth and is used to screen for symptomatic Mpox infection at primary care settings. The H2S score is based on an advanced algorithm developed by HeHealth and trained starting with a smaller dataset earlier in the global outbreak, which was then built upon to eventually be developed based on 1000 Mpox positive rash images.

The algorithm was designed considering three key parameters: (1) the World Health Organization and the United States Centres for Disease Control and Prevention’s latest Mpox positive patient statistical data; (2) geographical prevalence data; and (3) HeHealth’s patent-pending proprietary AI image analysis (computer vision) technology. Participants receive a percentage risk score where a score of 80% and higher means that they are highly likely to have a symptomatic Mpox infection, a score between 41 and 79% indicate that further details are needed to differentiate such cases, and a score of 40% and below means that it is unlikely a Mpox infection.

Ethics approval

Ethics approval was obtained from the National University of Singapore Institutional Review Board (NUS-IRB-2023-983).

Results

HeHealth used 5000 images to train the initial AI tool for STDs identification. Of all the STDs, our tool can diagnosis for syphilis, herpes simplex virus, human papillomavirus/genital viral warts with accuracy of 86%, 93%, and 96%, respectively. From June 2022 to October 2022, a total of about 22,000 users had downloaded the HeHealth app, and about 21,000 images have been analysed using HeHealth AI technology.

In the same period, we then started engaging in formative research to engage in initial discussions with medical, socio-behavioural, community and statistical experts to better understand the nature of the current Mpox PHEIC. This process gave us insight into the issues around the nature of the PHEIC’s epidemiology, data sources, and other emerging issues around risk, communication, and Mpox-related stigma. We then sought to engage deeper with healthcare institutions and a search for publicly available databases for Mpox-related data. In this phase, we worked with healthcare institutions to identify sources of Mpox-related images, as well as supplemented the work by healthcare providers through the use of our symptom checker tool.

From July 2022 to October 2022, we also collated a total of 1000 Mpox-related images and 1000 images of penises without Mpox (600 without any visible skin pathologies or irregularities, and 400 with similar rashes or conditions including measles, scabies, eczema, psoriasis, smallpox, and chicken pox) have been used to train the Mpox symptom checker tool. After the initial training, the H2S algorithm had undergone internal validation in two phases. First, we calculated specificity of the tool using a dataset comprising 100 patient observations that had been assigned a H2S score of 80% and above. We then calculated sensitivity of the tool based on a dataset comprising 100 patient observations that had been assigned a score of 40% and below. Each dataset of 100 observations included 60 Mpox positive patients and 40 Mpox negative patients with similar rashes or conditions including measles, scabies, eczema, psoriasis, smallpox, and chicken pox. The cut-offs of 80% and above and 40% and below reflect ‘high likelihood’ and ‘unlikely’ results that are shown to participants when using the symptom checker, respectively. Based on these observations, we calculated a specificity of 87% and sensitivity of 90% for the H2S tool. HeHealth’s Mpox digital symptom checker test is currently undergoing further external validation through community and clinical partnerships (Fig. 4).

Fig. 4.

Mpox HeHealth Symptom (H2S) score calculator screenshot.


SH23197_F4.gif

Discussion

Throughout the process of developing the innovation and field testing it, we noted several lessons learnt that arose due to several limitations or hurdles and conclude this article with recommendations for other innovators who are keen to work on similar projects. The first hurdle was about data privacy and security for app users. In our formative research conducted among potential users of the app, many of them raised issues of data privacy and security with us. This was a hurdle that the team had to overcome prior to the launch of the original STDs symptom checker tool, which would have had implications for patient confidentiality and trust in the use of the Mpox symptom checker tool. Users generally feel safe using the HeHealth tool as no personal identifiers are collected throughout the user journey. Any collected data including images are de-identified in ways that cannot be traced back to the users. All processes are conducted through the Health Insurance Portability and Accountability Act of 1996 (US) (HIPAA)-compliant processes and platforms.

The second hurdle came about due to an initial lack of data to train the AI model. Initially, health system and professionals were approached for the images. However, this was met with less success due to regulatory restrictions such as patient confidentiality. Furthermore, the lack of a central coordinating body for data consolidation (e.g. images of disease state) served as a key barrier to training the AI model early on. The third hurdle was due to technical challenges. Given that the current outbreak has been characterised by novel clinical presentation and patient characteristics,14 our team needed to be in constant dialogue with expert stakeholders, as well as to constantly monitor and review the scientific evidence surrounding the current outbreak of Mpox. Furthermore, unlike STDs, we had to train out AI tool to also review ulcers and lesions that appeared on other parts of the body that were not limited to the anogenital region.

The fourth and final hurdle arose due to concerns around the generalisability of our data. One concern arose during our earlier AI tool development was ensuring that our tool was inclusive of all skin colours. We ensured this was done through several means. First, we tried to build a dataset that represented multiple skin colours from a global population. At the same time, our core technology was built in a way skin results will not be affected by skin colour by training the AI to focus on colour-neutral skin abnormalities. Another concern was that pictures of visible skin lesions meant that symptomatic STDs that present in other ways including other dermatological conditions or genitourinary symptoms may get left out. Nevertheless, we used a combination of questionnaires they addressed issues such as the presence of discharge or pain to accompany the visual analysis of skin lesions, which may also help address and narrow down the various types of potential STDs that an individual may be experiencing.

Conclusion

Throughout the process of developing the original STDs symptom checker tool and the Mpox symptom checker tool, we took away several key lessons that we believe would be useful for researchers and other practitioners interested in embarking on similar innovations in health care. First, to engage a wide range of stakeholders early. In the context of an ongoing global pandemic, and with rapidly evolving data and clinical insights, we found that engaging not only the medical science experts, but also community representatives were important. Collaborators shared similar goals in helping to alleviate the impact of Mpox around the world and were willing to work together in achieving similar outcomes. Second, to have a multidisciplinary team. Our multidisciplinary team provided not just expertise in executing various aspects of work in the rollout of the symptom checker tool, but also provided strategic directions that led towards the prioritisation of key development milestones, including stakeholder engagement, building the AI tool, the validation study, and eventual rollout of the tool.

Third, to prioritise pragmatism over research ‘elegance’. Initial efforts to validate the initial tool to screen STDs had met several barriers; this included regulatory barriers in Singapore due to being classified as a medical device, as well as the requirement of the local university ethics board in obtaining approvals from the relevant medical devices authorities. While it is important that formal research be conducted to validate the accuracy of the tool, this was done at a later stage prior to rollout. Nevertheless, all processes were HIPAA-compliant and adhered to best clinical practices. Finally, big data comprises small data. Data for our AI tool were consolidated incrementally, which led to the eventual consolidation of about 10,000 Mpox and STD-related images. This was, to our knowledge, one of the largest and most comprehensive datasets globally. Instead of waiting on a wider body of data, researchers should consider engaging potential partners in the sharing of data in secure ways, so that an active rather than passive approach is undertaken.

Data availability

The data that support this study cannot be publicly shared due to ethical or privacy reasons and may be shared upon reasonable request to the corresponding author if appropriate.

Conflicts of interest

YK is the Chief Executive Officer and Founder of HeHealth.ai. RT is an Advisor at HeHealth.ai. DP was the Artificial Intelligence Lead at HeHealth.ai. SA is a Team Lead and Research Analyst at HeHealth.ai.

Declaration of funding

This study was funded by HeHealth.ai.

Author contributions

RT, DP, SA, and YK conceptualised the study. DP, SA and YK supervised and managed the development of the methodology, software, validation and data analysis processes. RT developed the original draft. All authors reviewed and approved the final draft for submission.

References

Yinka-Ogunleye A, Aruna O, Dalhat M, et al. Outbreak of human monkeypox in Nigeria in 2017–18: a clinical and epidemiological report. Lancet Infect Dis 2019; 19(8): 872-879.
| Crossref | Google Scholar | PubMed |

Gonsalves GS, Mayer K, Beyrer C. Déjà vu all over again? Emergent monkeypox, delayed responses, and stigmatized populations. J Urban Health 2022; 99(4): 603-606.
| Crossref | Google Scholar | PubMed |

Tan RKJ, Hsu LY. The global emergence of monkeypox. Ann Acad Med Singap 2022; 51(8): 456-457.
| Crossref | Google Scholar | PubMed |

Khan M, Mehran MT, Haq ZU, et al. Applications of artificial intelligence in COVID-19 pandemic: a comprehensive review. Expert Syst Appl 2021; 185: 115695.
| Crossref | Google Scholar | PubMed |

Abdelhamid AA, El-Kenawy E-SM, Khodadadi N, et al. Classification of monkeypox images based on transfer learning and the Al-Biruni Earth radius optimization algorithm. Mathematics 2022; 10(19): 3614.
| Crossref | Google Scholar |

Ahsan MM, Uddin MR, Farjana M, Sakib AN, Momin KA, Luna SA. Image data collection and implementation of deep learning-based model in detecting monkeypox disease using modified VGG16. arXiv preprint 2022; arXiv:220601862.
| Crossref | Google Scholar |

Ali SN, Ahmed MT, Paul J, et al. Monkeypox skin lesion detection using deep learning models: a feasibility study. arXiv preprint 2022; arXiv:220703342.
| Crossref | Google Scholar |

Kumar V. Analysis of CNN features with multiple machine learning classifiers in diagnosis of monkeypox from digital skin images. medRxiv 2022; 2022.09. 11.22278797.
| Crossref | Google Scholar |

Sitaula C, Shahi TB. Monkeypox virus detection using pre-trained deep learning-based approaches. J Med Syst 2022; 46(11): 78.
| Crossref | Google Scholar | PubMed |

10  Chadaga K, Prabhu S, Sampathila N, et al. Application of artificial intelligence techniques for monkeypox: a systematic review. Diagnostics 2023; 13(5): 824.
| Crossref | Google Scholar |

11  Ali SN, Ahmed MT, Jahan T, et al. A web-based Mpox skin lesion detection system using state-of-the-art deep learning models considering racial diversity. ArXiv 2023; abs/2306.14169.
| Crossref | Google Scholar |

12  National Library of Medicine. Mpox resource guide. 2024. Available at https://www.nnlm.gov/guides/mpox-resource-guide [accessed 6 April 2024]

13  Kraemer MUG, Tegally H, Pigott DM, et al. Tracking the 2022 monkeypox outbreak with epidemiological data in real-time. Lancet Infect Dis 2022; 22(7): 941-942.
| Crossref | Google Scholar | PubMed |

14  Patel A, Bilinska J, Tam JCH, et al. Clinical features and novel presentations of human monkeypox in a central London centre during the 2022 outbreak: descriptive case series. BMJ 2022; 378: e072410.
| Crossref | Google Scholar | PubMed |