Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 26 min ago
Peer-reviewedCC BY-NC-ND 4.0BMC Cancer

Machine learning–based differentiation of malignant and non-malignant pleural effusion in lung cancer patients: a multicenter retrospective study

5 affiliations
  1. 1Department of Hyperbaric Oxygen Therapy, Tongling People’s Hospital, Tongling, Anhui China
  2. 2Tongling Academy of Medical Sciences, Tongling, Anhui China
  3. 3Department of Pathology, Heping Hospital Affiliated to Changzhi Medical College, Changzhi, Shanxi China
  4. 4Department of Respiratory and Critical Care Medicine, People’s Hospital of Tongling City, Tongling, Anhui China
  5. 5Department of Pathology, Tongling People’s Hospital, Tongling, Anhui China

Abstract

Background: Malignant pleural effusion (MPE) is a common complication of lung cancer and is associated with poor prognosis and substantial clinical burden. Differentiating malignant from non-malignant pleural effusion remains challenging, particularly when definitive pleural fluid cytology or pleural biopsy results are pending, inconclusive, or delayed. This study aimed to develop and validate a machine learning–based model for auxiliary classification of MPE in lung cancer patients after lung cancer diagnosis and partial tumor-related pathological or staging information had been obtained.

Methods: In this retrospective multicenter study, a total of 715 lung cancer patients with pleural effusion were included from two tertiary hospitals. The Shanxi cohort from Heping Hospital Affiliated to Changzhi Medical College included 420 patients and was used as the development cohort, whereas the Anhui cohort from Tongling People’s Hospital included 295 patients and served as the independent external validation cohort. The development cohort was randomly divided into a training set and an internal test set at a ratio of 7:3, resulting in 295 patients in the training set and 125 patients in the internal test set. Clinical, laboratory, and pathological variables were collected. Feature selection was performed using least absolute shrinkage and selection operator regression within the training set. Seven machine-learning algorithms were developed and evaluated. Model performance was assessed using receiver operating characteristic curves, calibration analysis, and decision curve analysis. External validation was conducted using the independent Anhui cohort.

Results: Six predictors were selected, including age, Ki-67 index, lymph node metastasis, tumor size, total cholesterol, and serum albumin. Multiple machine learning models demonstrated comparable performance in internal validation. The XGBoost model achieved an area under the curve (AUC) of 0.97 in the internal test set and 0.91 in the independent external validation cohort. At the training-derived operating threshold, the external validation sensitivity was 0.35 and the specificity was 0.98, indicating favorable overall discrimination but limited rule-out performance. SHAP analysis suggested that tumor burden–related variables and systemic condition had substantial influence on model output.

Conclusion: A machine learning–based model was developed for auxiliary classification of malignant and non-malignant pleural effusion in lung cancer patients after lung cancer diagnosis and partial tumor-related pathological or staging information had been obtained. The model showed favorable discrimination but limited sensitivity at the training-derived operating threshold in external validation and should therefore be regarded only as a candidate auxiliary tool. Further prospective and multicenter validation and recalibration are required before clinical implementation, and the model is not intended to replace cytological or histopathological confirmation.

Related

  1. First-line systemic treatment patterns and outcomes in lung cancer patients with malignant pleural effusion: a retrospective multicenter study.
    Yuanyuan Zhang, Ran Wang, Yi Xiang +27
    Journal of thoracic diseasePeer-reviewedCC BY-NC-NDFull textGeneral medicineEurope PMCPMC
  2. Systemic Inflammatory Biomarkers and Unsupervised Phenotyping of Surgical Pleurodesis Outcomes in Malignant Pleural Effusion: A Retrospective Single-Centre Study
    Luca Frasca, Ilaria Suriano, Antonio Sarubbi +4
    DiagnosticsPeer-reviewedCC BY 4.0Full textGeneral medicinePMC
  3. Integrating pleural fluid and peripheral blood biomarkers to improve malignant vs. tuberculous pleural effusion diagnosis: a retrospective study
    Shanling Yu, Feifei Liu, Qi Tian +3
    BMC Pulmonary MedicinePeer-reviewedCC BY-NC-ND 4.0Full textGeneral medicinePMC
  4. Diagnostic Performance of Serum Inflammatory Biomarkers in the Preoperative Differentiation of Uterine Myoma, Adenomyosis and Malignant Uterine Tumors: A Retrospective Study
    Aslı Akdöner, Kadir Alper Mankan, Elif Şeyma Çetinkaya +3
    Medicina (Kaunas, Lithuania)Peer-reviewedCC BYFull textGeneral medicineEurope PMC
  5. Development and Validation of a Machine Learning Diagnostic Model Using Routine Clinical Data to Differentiate Malignant from Benign Pericardial Effusion
    Shuang Sun, Ziqi Song, Mei Zhao +6
    Journal of Clinical MedicinePeer-reviewedCC BY 4.0Full textGeneral medicineCrossrefEurope PMC
BibTeX
@article{cai2026machine,
  title = {{Machine learning–based differentiation of malignant and non-malignant pleural effusion in lung cancer patients: a multicenter retrospective study}},
  author = {Qi Cai and Yahui Wu and Jun Wang and Qihang Gao and Yixiang Xing and Min Kang and Xinsheng Li and Yun Shen},
  journal = {BMC Cancer},
  year = {2026},
  month = aug,
  doi = {10.1186/s12885-026-16755-z},
  url = {https://doi.org/10.1186/s12885-026-16755-z},
  note = {CC BY-NC-ND 4.0},
}
RIS
TY  - JOUR
TI  - Machine learning–based differentiation of malignant and non-malignant pleural effusion in lung cancer patients: a multicenter retrospective study
AU  - Qi Cai
AU  - Yahui Wu
AU  - Jun Wang
AU  - Qihang Gao
AU  - Yixiang Xing
AU  - Min Kang
AU  - Xinsheng Li
AU  - Yun Shen
PY  - 2026
DA  - 2026/08/01
JO  - BMC Cancer
DO  - 10.1186/s12885-026-16755-z
UR  - https://doi.org/10.1186/s12885-026-16755-z
AB  - Background: Malignant pleural effusion (MPE) is a common complication of lung cancer and is associated with poor prognosis and substantial clinical burden. Differentiating malignant from non-malignant pleural effusion remains challenging, particularly when definitive pleural fluid cytology or pleural biopsy results are pending, inconclusive, or delayed. This study aimed to develop and validate a machine learning–based model for auxiliary classification of MPE in lung cancer patients after lung cancer diagnosis and partial tumor-related pathological or staging information had been obtained.  Methods: In this retrospective multicenter study, a total of 715 lung cancer patients with pleural effusion were included from two tertiary hospitals. The Shanxi cohort from Heping Hospital Affiliated to Changzhi Medical College included 420 patients and was used as the development cohort, whereas the Anhui cohort from Tongling People’s Hospital included 295 patients and served as the independent external validation cohort. The development cohort was randomly divided into a training set and an internal test set at a ratio of 7:3, resulting in 295 patients in the training set and 125 patients in the internal test set. Clinical, laboratory, and pathological variables were collected. Feature selection was performed using least absolute shrinkage and selection operator regression within the training set. Seven machine-learning algorithms were developed and evaluated. Model performance was assessed using receiver operating characteristic curves, calibration analysis, and decision curve analysis. External validation was conducted using the independent Anhui cohort.  Results: Six predictors were selected, including age, Ki-67 index, lymph node metastasis, tumor size, total cholesterol, and serum albumin. Multiple machine learning models demonstrated comparable performance in internal validation. The XGBoost model achieved an area under the curve (AUC) of 0.97 in the internal test set and 0.91 in the independent external validation cohort. At the training-derived operating threshold, the external validation sensitivity was 0.35 and the specificity was 0.98, indicating favorable overall discrimination but limited rule-out performance. SHAP analysis suggested that tumor burden–related variables and systemic condition had substantial influence on model output.  Conclusion: A machine learning–based model was developed for auxiliary classification of malignant and non-malignant pleural effusion in lung cancer patients after lung cancer diagnosis and partial tumor-related pathological or staging information had been obtained. The model showed favorable discrimination but limited sensitivity at the training-derived operating threshold in external validation and should therefore be regarded only as a candidate auxiliary tool. Further prospective and multicenter validation and recalibration are required before clinical implementation, and the model is not intended to replace cytological or histopathological confirmation.
SN  - 1471-2407
ER  -