Mitigating bias in an AI skin cancer detection tool
Reading Time: 3 minutes
Authors: 
Trilateral Research |
Date: 19 February 2025
Find out how we identified and mitigated bias against female patients in iToBoS, an AI skin cancer detection tool.
A summary:
- iToBoS aims to help clinicians make early diagnoses of melanoma using AI.
- We supported iToBoS to detect and mitigate bias.
- We will continue to assess the fairness of iToBoS for patients of all ages and socioeconomic backgrounds.
About iToBoS
The Intelligent Total Body Scanner for Early Detection of Melanoma (iToBoS) tool is being developed to help clinicians make earlier, more personalised diagnoses of a particularly aggressive form of skin cancer, with funding from the European Union. It works by feeding patient scans and other clinically relevant forms of data into a Cognitive Assistance framework that uses different AI models to generate melanoma development risk scores.
Clinicians need to be confident in the results they receive from tools like iToBoS. Otherwise, they risk misdiagnosing their patients; either by indicating that melanoma does not exist, when it does, or by indicating that melanoma does exist, when it doesn’t. These high-impact errors could also affect some patient groups disproportionately, based on attributes like gender or age.
Recognising these risks, the iToBoS development team approached Trilateral Research to support the development of the tool. With our deep expertise in identifying and removing bias in AI systems, they were confident that we could help empower clinicians with high-quality decision-making.
Helping to build a fair skin cancer detection tool
We began by analysing the iToBoS clinical risk assessment model, developed by the National Technical University of Athens (NTUA), to test how fairly it worked for male and female patients. To assess both the model’s performance and fairness, the overall task was approached as a binary classification, despite the final output being a melanoma risk estimation. Given this, we found that in cases where the tool predictions indicated melanoma development, the results were fairly equal across men and women.
However, in cases where the predictions were incorrect, we saw significant bias. Female patients were 26% times more likely to be incorrectly classified as at risk for future melanoma development – a traumatic experience that could result in unnecessary treatments and other harmful outcomes.

To correct this bias against female patients, we needed to continually adjust our training data before re-training and testing the clinical risk assessment model.
Doing so posed further challenges. For instance, re-training the model resulted in the model’s overall precision score decreasing by 8%. Nevertheless, we were able to redress this balance successfully, and ensure the tool delivers an equal number of false positive rates for both male and female patients.
Another issue that we needed to navigate was the relatively small size of the dataset. We only had access to limited data, which became even more restricted when we categorised it by attributes, such as gender.
However, the iToBoS project development team is actively expanding the dataset to respond to this. Therefore, we will have the opportunity to retest the model on a larger dataset before the next version of the model is released in 2025.
The potential of our work to save lives
The iToBoS development work is still underway, with each team member working together to fine-tune the AI models it runs on. For us at Trilateral Research, our next objective is to make sure that its clinical risk assessment model delivers fair results to patients regardless of their age or socioeconomic status.
The potential for AI-enabled cancer detection tools is immeasurable, and iToBoS will provide future developers with the framework needed to build one responsibly. We’re so proud of the role we’ve played, having helped to reduce the chances of a melanoma misdiagnosis affected by factors like gender and age.
If you’d like to find out how we could bring our deep expertise in developing and deploying ethical AI solutions to your next project, don’t hesitate to get in touch.
“Bringing on Trilateral Research as an iToBoS partner has set us on the course to developing an AI-enabled skin cancer detection tool that clinicians can use with confidence, regardless of patients’ sensitive characteristics.
The future applications of this research are incredible, and Trilateral Research has played a vital role in making sure that it can be applied fairly across patients.”
iToBoS project development team


