{"title":"Development of a hybridized artificial neural network, fuzzy logic and particle swarm optimization model for improved diagnosis of tuberculosis","authors":"Benjamin Aribisala , Oluwatosin Ogunbodede , Babajide Adeyemi , Oluwatoyin Enikuomehin","doi":"10.1016/j.dcit.2026.100083","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><div>Tuberculosis (TB), a highly infectious disease caused by <em>Mycobacterium tuberculosis</em>, remains a leading cause of mortality, particularly in resource-limited regions. Limitations in sensitivity, specificity, and diagnostic delays often challenge traditional diagnostic methods. To address these, we propose a hybrid diagnostic model based on Particle Swarm Optimization- Aided Neuro-Fuzzy Model (PSOFUZ) which integrates fuzzy logic, artificial neural networks (ANN), and particle swarm optimization (PSO).</div></div><div><h3>Materials and methods</h3><div>The dataset used for the study was obtained from the Center for Disease Control and Prevention. The dataset contains 1200 records, of which 850 were TB-positive and 350 were TB-negative. The dataset included relevant clinical and demographic attributes such as smoking status, drug use, HIV status, body temperature, blood pressure, and prior history of tuberculosis. These inputs were fuzzified with Gaussian membership functions, which transform clinical data into fuzzy values that capture uncertainty and imprecision. The fuzzified data was then fed into an ANN, which analyzes patterns and detects potential TB symptoms. PSO was used to optimize both the ANN's connection weights and the parameters of the fuzzy membership functions</div></div><div><h3>Result</h3><div>The model gave an accuracy of 91.2 %, sensitivity of 93.4%, and specificity of 89.1%, outperforming conventional and other computational models (Neuro-Fuzzy: 88.9%, 83.5% and 86.2% of sensitivity, specificity and accuracy respectively). Our results hence show that PSOFUZ outperformed the baseline models in terms of accuracy, sensitivity, and specificity, as the experimental data show. When compared to non-optimized or single-method techniques, these improvements show that the joint optimization of neural and fuzzy parameters adds to improved generalization and more reliable tuberculosis diagnosis.</div></div><div><h3>Conclusion</h3><div>This study demonstrated the potential of intelligent hybrid models to enhance TB diagnosis, especially in settings where systems blend fuzzy logic interpretability with neural network adaptive learning capabilities, resulting in increased diagnostic accuracy and resilience with diagnostic resource constraints.</div></div>","PeriodicalId":100358,"journal":{"name":"Decoding Infection and Transmission","volume":"4 ","pages":"Article 100083"},"PeriodicalIF":0.0000,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Decoding Infection and Transmission","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2949924026000108","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/5/25 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Background
Tuberculosis (TB), a highly infectious disease caused by Mycobacterium tuberculosis, remains a leading cause of mortality, particularly in resource-limited regions. Limitations in sensitivity, specificity, and diagnostic delays often challenge traditional diagnostic methods. To address these, we propose a hybrid diagnostic model based on Particle Swarm Optimization- Aided Neuro-Fuzzy Model (PSOFUZ) which integrates fuzzy logic, artificial neural networks (ANN), and particle swarm optimization (PSO).
Materials and methods
The dataset used for the study was obtained from the Center for Disease Control and Prevention. The dataset contains 1200 records, of which 850 were TB-positive and 350 were TB-negative. The dataset included relevant clinical and demographic attributes such as smoking status, drug use, HIV status, body temperature, blood pressure, and prior history of tuberculosis. These inputs were fuzzified with Gaussian membership functions, which transform clinical data into fuzzy values that capture uncertainty and imprecision. The fuzzified data was then fed into an ANN, which analyzes patterns and detects potential TB symptoms. PSO was used to optimize both the ANN's connection weights and the parameters of the fuzzy membership functions
Result
The model gave an accuracy of 91.2 %, sensitivity of 93.4%, and specificity of 89.1%, outperforming conventional and other computational models (Neuro-Fuzzy: 88.9%, 83.5% and 86.2% of sensitivity, specificity and accuracy respectively). Our results hence show that PSOFUZ outperformed the baseline models in terms of accuracy, sensitivity, and specificity, as the experimental data show. When compared to non-optimized or single-method techniques, these improvements show that the joint optimization of neural and fuzzy parameters adds to improved generalization and more reliable tuberculosis diagnosis.
Conclusion
This study demonstrated the potential of intelligent hybrid models to enhance TB diagnosis, especially in settings where systems blend fuzzy logic interpretability with neural network adaptive learning capabilities, resulting in increased diagnostic accuracy and resilience with diagnostic resource constraints.