Evaluation of the Hybrid Model of K-NN and Bi-ConvLSTM in Identifying Lung Cancer Nodules in CT Images: An Optimal Study
Abstract
Purpose: The objective of this study is to develop a hybrid model combining K-Nearest Neighbor (K-NN) and Bidirectional Convolutional Long Short-Term Memory (BiConvLSTM) for effective detection of lung cancer nodules in chest CT images.
Materials and Methods: A dataset of 200 high-resolution CT images (100 nodular, 100 healthy controls) was utilized. Preprocessing steps, including wavelet-based noise reduction and GAN-enhanced contrast refinement, ensured standardized image quality. Spatial features were initially extracted using K-NN, optimized across multiple values of k. Temporal dependencies were processed through BiConvLSTM, supported by residual pathways to preserve information integrity. Evaluation metrics and advanced optimizers (Adam, Nadam, and AdamW) were compared to assess performance.
Results: The hybrid model achieved peak accuracy (97.2% ± 1.1) with k = 7, while k-fold cross-validation with k = 5 maintained strong performance. AdamW optimizer outperformed others in generalization metrics and Dice similarity (0.93), while Nadam demonstrated faster convergence, reducing training epochs by 20%. Metrics such as AUROC (0.98) and the Jaccard index confirmed the robustness of the model compared to conventional architectures like U-Net. Additionally, the statistical significance of the proposed model was validated with a P-value of 1.2E-5.
Conclusion: This proposed hybrid AI model addresses challenges in nodular identification and provides a scalable, reliable solution for lung cancer detection in clinical imaging workflows.
2- Nikolaos Nektarios Karamanolis et al., "Unraveling the Anti-Cancer Mechanisms of Antibiotics: Current Insights,
Controversies, and Future Perspectives." Antibiotics, Vol. 14 (No. 1), p. 9, (2024).
3- Yudong Zhang et al., "Global lung cancer burden attributable to air fine particulate matter and tobacco smoke exposure: spatiotemporal patterns, sociodemographic characteristics, and transnational inequalities from 1990 to 2021." BMC Public Health, Vol. 25 (No. 1), p. 1260, (2025).
4- Hari Mohan Rai, Joon Yoo, and Abdul Razaque, "Comparative analysis of machine learning and deep learning models for improved cancer detection: A comprehensive review of recent advancements in diagnostic techniques." Expert Systems with Applications, p. 124838, (2024).
5- Ahmed Saihood, Hossein Karshenas, and Ahmad Reza Naghsh-Nilchi, "Multi-Orientation local texture features for guided attention-based fusion in lung nodule classification." IEEE Access, Vol. 11pp. 17555–68, (2023).
6- Shubham Dodia, B Annappa, and Padukudru A Mahesh, "Recent advancements in deep learning based lung cancer detection: A systematic review." Engineering Applications of Artificial Intelligence, Vol. 116p. 105490, (2022).
7- Xiangyang Zhu et al., "No time to train: Empowering non-parametric networks for few-shot 3d scene segmentation." in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, (2024), pp. 3838–47.
8- Melsew Setegn Alie, Yilkal Negesse, Kassa Kindie, and Dereje Senay Merawi, "Machine learning algorithms for predicting COVID-19 mortality in Ethiopia." BMC Public Health, Vol. 24 (No. 1), p. 1728, (2024).
9- Haoran Wang, Haijun Liu, Jing Yuan, Huijun Le, Weifeng Shan, and Liangchao Li, "Maooa‐residual‐attention‐biconvlstm: An automated deep learning framework for global tec map prediction." Space Weather, Vol. 22 (No. 7), p. e2024SW003954, (2024).
10- Jinpeng Huang, Guoxin Wu, Xiuli Liu, Minzhong Bu, and Wan Qiao, "Fault diagnosis of planetary gearboxes under variable operating conditions based on AWM-TCN." Computers and Electrical Engineering, Vol. 119p. 109520, (2024).
11- Ming Fan et al., "Generative adversarial network-based synthesis of contrast-enhanced MR images from precontrast images for predicting histological characteristics in breast cancer." Physics in Medicine & Biology, Vol. 69 (No. 9), p. 095002, (2024).
12- Javad Tayebi, Mohammadreza Rezaie, and Saeedeh Khezripour, "Depth determination of simulated biological tissue using X-ray radiography and feature extraction techniques: Evaluation with Bi-LSTM neural network." Journal of Radiation Research and Applied Sciences, Vol. 18 (No. 2), p. 101406, (2025).
13- Faisal Mohammad, Dong-Ki Kang, Mohamed A Ahmed, and Young-Chon Kim, "Energy demand load forecasting for electric vehicle charging stations network based on convlstm and biconvlstm architectures." IEEE Access, Vol. 11pp. 67350–69, (2023).
14- Qianqian Tong, Guannan Liang, and Jinbo Bi, "Calibrating the adaptive learning rate to improve convergence of ADAM." Neurocomputing, Vol. 481pp. 333–56, (2022).
15- Xingyu Xie, Pan Zhou, Huan Li, Zhouchen Lin, and Shuicheng Yan, "Adan: Adaptive nesterov momentum algorithm for faster optimizing deep models." IEEE Transactions on Pattern Analysis and Machine Intelligence, (2024).
16- Pan Zhou, Xingyu Xie, Zhouchen Lin, and Shuicheng Yan, "Towards understanding convergence and generalization of AdamW." IEEE Transactions on Pattern Analysis and Machine Intelligence, (2024).
17- Davide Chicco and Giuseppe Jurman, "The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation." BMC genomics, Vol. 21pp. 1–13, (2020).
18- Gireen Naidu, Tranos Zuva, and Elias Mmbongeni Sibanda, "A review of evaluation metrics in machine learning algorithms." in Computer science on-line conference, (2023): Springer, pp. 15–25.
19- Lijia Zhi, Wujun Jiang, Shaomin Zhang, and Tao Zhou, "Deep neural network pulmonary nodule segmentation methods for CT images: Literature review and experimental comparisons." Computers in Biology and Medicine, Vol. 164p. 107321, (2023).
20- Xiaoxuan Ma et al., "Tnseg: adversarial networks with multi-scale joint loss for thyroid nodule segmentation." The Journal of Supercomputing, Vol. 80 (No. 5), pp. 6093–118, (2024).
21- Shabnam Ghasemi, Shahin Akbarpour, Ali Farzan, and Mohammad Ali Jamali, "RePoint-Net detection and 3DSqU² Net segmentation for automatic identification of pulmonary nodules in computed tomography images." Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization, Vol. 12 (No. 1), p. 2258998, (2024).
| Files | ||
| Issue | Vol 13 No 3 (2026) | |
| Section | Original Article(s) | |
| DOI | https://doi.org/10.18502/fbt.v13i3.22747 | |
| Keywords | ||
| Lung Cancer Computed Tomography Image K- Nearest Neighbor Bidirectional Convolutional Long Short-Term Memory Optimization Neural Network Deep Learning | ||
| Rights and permissions | |
|
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. |

