Using Machine Learning Methods to Predict Bone Metastases in Breast Infiltrating Ductal Carcinoma Patients

Wencai Liu, Ming-Xuan Li, Shi‐Nan Wu, Weilai Tong, Anan Li, Bo-Lin Sun, Zhili Liu, Jiaming LiuFrontiers in Public Health 2022

Abstract

Breast cancer (BC) is the most common malignant tumor in women, and breast infiltrating ductal carcinoma (IDC) accounts for about 80% of all BC cases. Patients with bone metastases (BM) are more likely to have a poor prognosis and diminished quality of life; thus, identifying high-risk patients early is critical. This study aimed to develop a predictive model based on machine learning to identify the risk of BM in IDC patients. Six algorithms—Logistic Regression (LR), Naive Bayes Classifiers (NBC), Decision Tree (DT), Random Forest (RF), Gradient Boosting Machine (GBM), and Extreme Gradient Boosting (XGBoost)—were evaluated. The XGBoost model offered the best predictive performance (AUC: 0.888, accuracy: 0.803, sensitivity: 0.801, and specificity: 0.837 in external validation). Finally, an XGBoost-based web predictor was developed to assist physicians in making personalized clinical decisions.

Introduction

Infiltrating Ductal Carcinoma (IDC) is the most prevalent form of breast cancer. For these patients, the skeleton is the most frequent site of distant metastasis, with over 60% of metastatic breast cancer patients developing bone metastases (BM). BM leads to severe complications, including intense pain and pathological fractures, significantly reducing quality of life.

Traditional statistical methods often struggle to capture the complex, non-linear interactions between clinical variables like tumor grade and molecular subtype. This study utilizes a "precision medicine" approach, leveraging large-scale datasets to provide individualized risk scores that can facilitate earlier intervention.

Methods

The researchers compared six machine learning (ML) algorithms to determine which could best handle the complexities of oncological data. To address the significant class imbalance (only ~2.5% of patients had BM), random oversampling was used. Hyperparameters for the XGBoost model were optimized using a random search method to ensure predictive stability.

Datasets and Study Population

The study utilized two primary data sources:

  1. Training & Internal Validation: Data from the SEER database, covering 311,408 IDC patients diagnosed between 2010 and 2017. This was split 7:3 for training and internal testing.
  2. External Validation: A separate cohort of 1,243 patients from the First Affiliated Hospital of Nanchang University in China, ensuring the model's generalizability across different populations.
Flowchart of patient selection and study design, showing the inclusion of 311,408 patients from the SEER database and 1,243 patients for external validation.

Results

The XGBoost model demonstrated superior performance across all metrics, particularly in external validation where it achieved an AUC of 0.888.

Ten-fold cross-validation results comparing AUC performance across six machine learning models, with XGBoost (orange) consistently outperforming others.

Key Predictors and Insights

  • Staging and Subtype: T-stage (tumor size) and N-stage (lymph node involvement) were the strongest predictors. Additionally, the model highlighted that HR+/HER2+ (Luminal B) subtypes carried a higher risk of BM compared to other molecular profiles.
  • Social Determinants: Marital status emerged as an independent risk factor. Unmarried patients showed a higher risk of BM, suggesting that social support systems may influence disease progression or healthcare-seeking behavior.
  • Clinical Utility: The researchers developed a Streamlit-based web predictor, allowing clinicians to input a patient's age, grade, and stage to receive an immediate percentage risk of bone metastasis.

Discussion and Conclusion

This study successfully identifies XGBoost as a high-performing tool for predicting BM in IDC patients. While the model shows great promise, the authors acknowledge limitations including the retrospective nature of the data and the lack of longitudinal details on metastasis timing. Future work will focus on integrating these models into Electronic Medical Record (EMR) systems to provide real-time decision support for oncologists, potentially improving outcomes through earlier detection and personalized treatment plans.

Summary updated

BibTeX
@inproceedings{liu2022using,
  author = {Wencai Liu and Ming-Xuan Li and Shi‐Nan Wu and Weilai Tong and Anan Li and Bo-Lin Sun and Zhili Liu and Jiaming Liu},
  title = {{Using Machine Learning Methods to Predict Bone Metastases in Breast Infiltrating Ductal Carcinoma Patients}},
  booktitle = {Frontiers in Public Health},
  year = {2022},
  doi = {10.3389/fpubh.2022.922510},
}
Figure