Explainable Machine Learning for Breast Cancer Risk Prediction
This study demonstrates that ensemble learning models, particularly XGBoost and Random Forest, combined with SHAP explainability, achieve superior and robust breast cancer risk prediction accuracy (ROC-AUC > 0.97) on a Cuban women's dataset compared to other machine learning paradigms.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Breast cancer remains one of the most common and dangerous diseases affecting women globally. While medical imaging and biopsies are vital for diagnosing the disease once symptoms appear or abnormalities are found, the most effective way to save lives is often earlier: identifying which women are at the highest risk before the disease even develops. This is where the science of prediction comes in. For decades, doctors have relied on statistical formulas to weigh risk factors like age, family history, and lifestyle choices. However, the human body is complex, and the way these factors interact is rarely a simple straight line. Modern computers offer a different approach through machine learning, a field where software learns to recognize patterns in vast amounts of data without being explicitly programmed with every rule. These systems can sift through thousands of patient records to find hidden connections that traditional methods might miss. The challenge, however, has been that the most powerful computer models often act as "black boxes," making predictions without explaining how they reached a conclusion. In a medical setting, where a doctor must trust a recommendation to guide a patient's care, understanding the "why" behind a prediction is just as important as the prediction itself.
A team of researchers from Makerere University in Uganda and Uppsala University in Sweden set out to test how well different types of machine learning models could predict breast cancer risk using real-world patient data, while also ensuring the results could be understood by humans. They focused on a dataset containing information from nearly 1,700 women in Cuba, a group for whom detailed records on demographics, reproductive history, and lifestyle habits were available. The team did not rely on X-rays or tissue samples; instead, they used only the kinds of information a doctor could gather during a standard consultation, such as a woman's age, whether she had children, how long she breastfed, her body weight, and her habits regarding alcohol and tobacco. To ensure their models were fair, they carefully removed any data that would give the computer an unfair advantage, such as biopsy results that are only known after a cancer diagnosis has already been made. They then trained six different computer algorithms to learn from this information. These algorithms represented different ways of thinking: some used simple linear logic, others used probability, and the most advanced ones used complex, layered networks that mimic the way the human brain processes information.
The researchers found that all six computer models performed exceptionally well, correctly distinguishing between women with and without cancer in more than 97 percent of cases. However, not all models were equally reliable. The two models that used "ensemble" learning—techniques that combine the decisions of many smaller decision-making trees into one powerful conclusion—consistently outperformed the others. Specifically, a model called XGBoost and another called Random Forest proved to be the most accurate and stable. These top performers achieved a score of nearly perfect accuracy in their testing, correctly identifying risk factors with a level of precision that surpassed the traditional statistical methods and the other advanced models. The study showed that these ensemble models were particularly good at handling the messy, nonlinear reality of human health, where factors like age and family history do not act in isolation but interact in complex ways. For instance, the risk associated with having a family history of the disease might change depending on a woman's reproductive history or lifestyle, and these computer models were able to map those intricate relationships better than the simpler models.
Crucially, the researchers did not stop at just getting the right answer; they also opened the black box to see how the models made their decisions. Using a technique that breaks down a prediction to show how much each specific factor contributed to the final result, they discovered that the computer models were focusing on the same risk factors that medical science has long known to be important. The most influential factors included the presence of a condition called hyperplasia, the consumption of alcohol and tobacco, body mass index, and reproductive history such as the number of children and the duration of breastfeeding. This alignment gave the researchers confidence that the models were not finding random patterns but were actually learning from biologically meaningful data. The study confirmed that while simpler models could make good predictions, the more sophisticated ensemble methods provided a more robust and consistent assessment, especially when tested across different groups of data.
The findings suggest that these advanced, explainable computer models could become valuable tools for doctors, particularly in regions where resources are limited and access to expensive imaging technology is scarce. By using only information that is readily available during a routine check-up, these tools could help identify women who need closer monitoring or earlier screening. The researchers noted that while their models were built using data from Cuban women, the approach is flexible and could be adapted to other populations, including those in Sub-Saharan Africa. However, they also cautioned that these models are not a replacement for clinical judgment and that further testing in diverse, large-scale populations is needed before they can be widely adopted in hospitals. The work demonstrates that when powerful machine learning is combined with clear explanations, it can offer a reliable, data-driven way to understand and predict one of the world's most persistent health challenges.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.