Lung X-Ray Image Classification Using DenseNet-169 and Bayesian Optimization

The increasing prevalence of lung diseases caused by infections such as Pneumonia and COVID-19 highlights the urgent need for accurate and efficient early detection methods. This study aims to improve the classification performance of chest X-ray images using the DenseNet-169 deep learning architecture, with a focus on hyperparameter optimization through Bayesian Optimization. The dataset used consists of 3,000 chest X-ray images—1,000 each for Normal, Pneumonia, and COVID-19 classes—sourced from Mendeley Data and split with an 80:20 ratio for training and testing. The baseline DenseNet-169 model initially achieved an accuracy of 96.837%, although slight overfitting was observed. By applying Bayesian Optimization, several key hyperparameters—such as learning rate, number of epochs, batch size, and kernel size—were systematically optimized. The optimized model demonstrated an improved accuracy of 97.33%, with the most notable increase in the recall score of the Normal class, which rose by 3.19% to 97%, effectively reducing the false negative rate for healthy cases. In addition, the final model recorded a precision of 99% and a specificity of 99.50% for the COVID-19 class, indicating a strong discriminative capability in identifying critical conditions. Analysis of the training and validation curves showed good convergence, confirming the effectiveness of the optimization in reducing overfitting and enhancing the model's generalization ability. Overall, the results of this study demonstrate that the application of Bayesian Optimization significantly enhances the performance of DenseNet-169 in chest X-ray image classification. The resulting model is more balanced, robust, and reliable, showing great potential for integration into AI-based automated diagnostic systems in the field of respiratory healthcare.

Authors

Institutions

Publication Details

Journal
Knowbase International Journal of Knowledge in Database
Published
2025-06-30
DOI
https://doi.org/10.30983/knowbase.v5i1.9618
Primary Topic
Ideological and Political Education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lung X-Ray Image Classification Using DenseNet-169 and Bayesian Optimization

Benny Sukma Negara, Fayza Shahira
Knowbase International Journal of Knowledge in Database
Ideological and Political Education
article

Lung X-Ray Image Classification Using DenseNet-169 and Bayesian Optimization

Benny Sukma Negara, Fayza Shahira
article en

Abstract

The increasing prevalence of lung diseases caused by infections such as Pneumonia and COVID-19 highlights the urgent need for accurate and efficient early detection methods. This study aims to improve the classification performance of chest X-ray images using the DenseNet-169 deep learning architecture, with a focus on hyperparameter optimization through Bayesian Optimization. The dataset used consists of 3,000 chest X-ray images—1,000 each for Normal, Pneumonia, and COVID-19 classes—sourced from Mendeley Data and split with an 80:20 ratio for training and testing. The baseline DenseNet-169 model initially achieved an accuracy of 96.837%, although slight overfitting was observed. By applying Bayesian Optimization, several key hyperparameters—such as learning rate, number of epochs, batch size, and kernel size—were systematically optimized. The optimized model demonstrated an improved accuracy of 97.33%, with the most notable increase in the recall score of the Normal class, which rose by 3.19% to 97%, effectively reducing the false negative rate for healthy cases. In addition, the final model recorded a precision of 99% and a specificity of 99.50% for the COVID-19 class, indicating a strong discriminative capability in identifying critical conditions. Analysis of the training and validation curves showed good convergence, confirming the effectiveness of the optimization in reducing overfitting and enhancing the model's generalization ability. Overall, the results of this study demonstrate that the application of Bayesian Optimization significantly enhances the performance of DenseNet-169 in chest X-ray image classification. The resulting model is more balanced, robust, and reliable, showing great potential for integration into AI-based automated diagnostic systems in the field of respiratory healthcare.

Knowbase International Journal of Knowledge in DatabaseVol. 5(1)
Universitas Islam Negeri Sultan Syarif Kasim Riau (ID)
Openalex Percentile: Top 72%
Ideological and Political Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.