Transthoracic ultrasound features to differentiate tuberculous from malignant pleural effusion: development of a machine learning-based clinical prediction model
Document Type
Article
Publication Date
4-30-2026
Abstract
Background: Tuberculous pleural effusion (TBE) and malignant pleural effusion (MPE) are the most common causes of exudative pleural effusion in tuberculosis-endemic regions. This study evaluates transthoracic ultrasound (TUS) features of TBE vs. MPE and incorporates clinical and pleural fluid (Pf) parameters into a machine learning-based random forest (RF) model for differentiation. Methods: This prospective observational study was conducted over 6 months across six tertiary hospitals in Malaysia, involving patients undergoing diagnostic medical thoracoscopy (MT). Diagnostic confidence for TBE and MPE was determined based on final thoracoscopic diagnosis. Logistic regression and RF models were applied to predefined clinical, imaging, and laboratory variables. Results: Among 187 recruited patients, 132 (70 TBE and 62 MPE) subjects with at least moderate diagnostic confidence were analyzed. On TUS, TBE was more likely to be non-hyperechoic, complex, and loculated, with the presence of fibrin and less pleural thickening, while MPE showed hyperechoic effusion and hemidiaphragm nodules. Independent predictors for TBE included younger age [adjusted odds ratio (aOR) =0.94], presence of fibrin (aOR =2.86), lower Pf lactate dehydrogenase (LDH) (aOR =0.996), and higher Pf adenosine deaminase (ADA) (aOR =1.10). Without Pf ADA, these parameters, along with the absence of hemidiaphragm nodules (aOR =0.33), remained significant for TBE prediction. The RF model outperformed logistic regression (92.6% vs. 87.9% accuracy), even without Pf ADA. Conclusions: TUS parameters can aid in differentiating TBE from MPE. The RF model demonstrated superior diagnostic performance, offering a potential point-of-care tool, even in the absence of Pf ADA.
Keywords
artificial intelligence, clinical prediction model, machine learning, Transthoracic ultrasound (TUS), tuberculous pleural effusion (TBE)
Publication Title
Journal of Thoracic Disease
ISSN
2072-1439
DOI
10.21037/jtd-2025-1524
Recommended Citation
Kho, Sze Shyang; Law, William Kian Boon; Nyanti, Larry Ellee; Tan, Shirin Hui; Huan, Nai Chien; Lee, Chiou Perng; Aflah, Syazatul Syakirin Sirol; Ng, Khai Lip; Soo, Chun Ian; Teoh, Sze Kye; Chai, Chan Sin; Tie, Siew Teck; Ho, Rong Lih; Ramarmuty, Hema Yamini Devi; Tan, Hui Xin; Tan, Chen Yong; and Aziz, Aida Abdul, "Transthoracic ultrasound features to differentiate tuberculous from malignant pleural effusion: development of a machine learning-based clinical prediction model" (2026). Research Publications (2026 to 2030). 722.
https://knova.um.edu.my/research_publications_2026_2030/722
Volume
18
Issue
4
Publisher
AME Publishing Company