Efficient and Fast Kolmogorov–Arnold Networks for Chest X-Ray Classification of Pneumonia and Tuberculosis

Authors

DOI:

https://doi.org/10.5753/jbcs.2026.7346

Keywords:

Convolutional Neural Networks, Kolmogorov-Arnold Networks, Lung diseases

Abstract

Interpreting chest X-ray images can be challenging, leading to an increasing reliance on computational methods by physicians to improve diagnostic accuracy and disease monitoring. Among these methods, machine learning models—particularly those in computer vision, such as Convolutional Neural Networks (CNNs)—have shown strong performance in image classification tasks. Recently, Kolmogorov-Arnold Networks (KANs) have emerged as an alternative framework that redefines how connections and activations are computed within neural architectures. This study aims to develop a classification system using a dataset of 5,000 chest X-ray images categorized as Normal, Pneumonia, or Tuberculosis. Two KAN-based algorithms, Efficient KAN (EKAN) and Fast KAN (FKAN), were implemented and compared with a CNN baseline. Experimental results show that the FKAN model achieved performance comparable to CNN with approximately 96% accuracy in test cases, but with a reduced computational cost of approximately 96.18%. The results suggest that the FKAN and EKAN algorithms are a practical and efficient approach for medical image classification.

Downloads

Download data is not yet available.

References

Abd Elaziz, M., Fares, I. A., and Aseeri, A. O. (2024). Ckan: Convolutional kolmogorov-arnold networks model for intrusion detection in iot environment. IEEE Access. DOI: 10.1109/access.2024.3462297.

Aghaei, A. A. (2025). fkan: Fractional kolmogorov-arnold networks with trainable jacobi basis functions. Neurocomputing, page 129414. DOI: 10.1016/j.neucom.2025.129414.

Al-Sheikh, M. H., Al Dandan, O., Al-Shamayleh, A. S., Jalab, H. A., and Ibrahim, R. W. (2023). Multi-class deep learning architecture for classifying lung diseases from chest x-ray and ct images. Scientific Reports, 13(1):19373. DOI: 10.1038/s41598-023-46147-3.

Alshmrani, G. M. M., Ni, Q., Jiang, R., Pervaiz, H., and Elshennawy, N. M. (2023). A deep learning architecture for multi-class lung diseases classification using chest x-ray (cxr) images. Alexandria Engineering Journal, 64. DOI: 10.1016/j.aej.2022.10.053.

Anthimopoulos, M., Christodoulidis, S., Ebner, L., Christe, A., and Mougiakakou, S. (2016). Lung pattern classification for interstitial lung diseases using a deep convolutional neural network. IEEE transactions on medical imaging, 35(5). DOI: 10.1109/tmi.2016.2535865.

Arias-Londoño, J. D., Gómez-García, J. A., Moro-Velázquez, L., and Godino-Llorente, J. I. (2020). Artificial intelligence applied to chest x-ray images for the automatic detection of covid-19. a thoughtful evaluation approach. Ieee Access, 8. DOI: 0.1109/access.2020.3044858.

Arsomngern, P., Numcharoenpinij, N., Piriyataravet, J., Teerapan, W., Hinthong, W., and Phunchongharn, P. (2019). Computer-aided diagnosis for lung lesion in companion animals from x-ray images using deep learning techniques. In 2019 IEEE 10th International Conference on Awareness Science and Technology (iCAST). IEEE. DOI: 10.1109/icawst.2019.8923126.

Ausawalaithong, W., Thirach, A., Marukatat, S., and Wilaiprasitporn, T. (2018). Automatic lung cancer prediction from chest x-ray images using the deep learning approach. In 2018 11th biomedical engineering international conference (BMEiCON). IEEE. DOI: 10.1109/bmeicon.2018.8609997.

Baltruschat, I. M., Steinmeister, L., Ittrich, H., Adam, G., Nickisch, H., Saalbach, A., von Berg, J., Grass, M., and Knopp, T. (2019). When does bone suppression and lung field segmentation improve chest x-ray disease classification? In 2019 IEEE 16th International Symposium on Biomedical Imaging (ISBI 2019). IEEE. DOI: 10.1109/isbi.2019.8759510.

Blealtan (2024). Efficient-kan. Available at:[link]. GitHub accessed on 12/12/2025.

Bodner, A. D., Tepsich, A. S., Spolski, J. N., and Pourteau, S. (2024). Convolutional kolmogorov-arnold networks. arXiv preprint arXiv:2406.13155. DOI: 10.48550/arxiv.2406.13155.

Bozorgasl, Z. and Chen, H. (2024). Wav-kan: Wavelet kolmogorov-arnold networks. arXiv preprint arXiv:2405.12832. DOI: 10.2139/ssrn.4835325.

Bresson, R., Nikolentzos, G., Panagopoulos, G., Chatzianastasis, M., Pang, J., and Vazirgiannis, M. (2024). Kagnns: Kolmogorov-arnold networks meet graph learning. arXiv preprint arXiv:2406.18380. DOI: 10.48550/arxiv.2406.18380.

Chauhan, A., Chauhan, D., and Rout, C. (2014). Role of gist and phog features in computer-aided diagnosis of tuberculosis without segmentation. PloS one, 9(11):e112980. DOI: 10.1371/journal.pone.0112980.

Cheon, M. (2024). Demonstrating the efficacy of kolmogorov-arnold networks in vision tasks. arXiv preprint arXiv:2406.14916. DOI: 10.48550/arxiv.2406.14916.

Chokchaithanakul, W., Punyabukkana, P., and Chuangsuwanich, E. (2022). Adaptive image preprocessing and augmentation for tuberculosis screening on out-of-domain chest x-ray dataset. IEEE Access, 10. DOI: 10.1109/access.2022.3229591.

De Carlo, G., Mastropietro, A., and Anagnostopoulos, A. (2024). Kolmogorov-arnold graph neural networks. arXiv preprint arXiv:2406.18354. DOI: 10.48550/arxiv.2406.18354.

de Lima, A. L. (2024). Raio-x de doenças pulmonares (2º experimento). Accessed on 12/12/2025. DOI: 10.34740/KAGGLE/DSV/10174749.

Drokin, I. (2024). Kolmogorov-arnold convolutions: Design principles and empirical studies. arXiv preprint arXiv:2407.01092. DOI: 10.48550/arxiv.2407.01092.

Fatema, K., Mohammed, E. A., and Sehra, S. S. (2025). Taylor-series expanded kolmogorov-arnold network for medical imaging classification. arXiv preprint arXiv:2509.13687. DOI: 10.1016/j.mlwa.2026.100929.

Fernández-Miranda, P. M., Fraguela, E. M., de Linera-Alperi, M. Á., Cobo, M., Del Barrio, A. P., González, D. R., Vega, J. A., and Iglesias, L. L. (2024). A retrospective study of deep learning generalization across two centers and multiple models of x-ray devices using covid-19 chest-x rays. Scientific Reports, 14(1).

Firsov, N., Myasnikov, E., Lobanov, V., Khabibullin, R., Kazanskiy, N., Khonina, S., Butt, M. A., and Nikonorov, A. (2024). Hyperkan: Kolmogorov-arnold networks make hyperspectral image classifiers smarter. Sensors (Basel, Switzerland), 24(23):7683. DOI: 10.3390/s24237683.

Genet, R. and Inzirillo, H. (2024). Tkan: Temporal kolmogorov-arnold networks. arXiv preprint arXiv:2405.07344. DOI: 10.2139/ssrn.4825654.

Gordon, W. J. and Riesenfeld, R. F. (1974). B-spline curves and surfaces. In Barnhill, R. E. and Riesenfeld, R. F., editors, Computer Aided Geometric Design, pages 95-126. Academic Press, New York. DOI: 10.1016/b978-0-12-079050-0.50011-4.

Hamal, S., Mishra, B. K., Baldock, R., Sayers, W., Adhikari, T. N., and Gibson, R. M. (2024). A comparative analysis of machine learning algorithms for detecting covid-19 using lung x-ray images. Decision Analytics Journal, 11. DOI: 10.1016/j.dajour.2024.100460.

Hasan, M. Z., Montaha, S., Khan, I. U., Hassan, M. M., Al Mahmud, A., Rafid, A. R. H., Azam, S., Karim, A., Prountzos, S., Alexopoulou, E., et al. (2024). Fast and efficient lung abnormality identification with explainable ai: A comprehensive framework for chest ct scan and x-ray images. IEEE Access, 12. DOI: 10.1109/access.2024.3369900.

He, G., Fu, Y., Cheng, W., Li, Z., Hu, K., Zhang, Y., and Zhu, H. (2026). Vkt: A hybrid vision kan-transformer model for medical image classification. International Journal of Imaging Systems and Technology, 36(2):e70334. DOI: 10.1002/ima.70334.

Hornik, K., Stinchcombe, M., and White, H. (1989). Multilayer feedforward networks are universal approximators. Neural networks, 2(5). DOI: 10.1016/0893-6080(89)90020-8.

Igali, A. and Shamoi, P. (2024). Image classification using fuzzy pooling in convolutional kolmogorov-arnold networks. In 2024 Joint 13th International Conference on Soft Computing and Intelligent Systems and 25th International Symposium on Advanced Intelligent Systems (SCIS&ISIS), pages 1-6. IEEE. DOI: 10.1109/scisisis61014.2024.10760085.

Jiao, L. and Zhao, J. (2019). A survey on the new generation of deep learning in image processing. Ieee Access, 7. DOI: 10.1109/access.2019.2956508.

Kermany, D. S., Goldbaum, M., Cai, W., Valentim, C. C., Liang, H., Baxter, S. L., McKeown, A., Yang, G., Wu, X., Yan, F., et al. (2018). Identifying medical diagnoses and treatable diseases by image-based deep learning. cell, 172(5). DOI: 10.1016/j.cell.2018.02.010.

Kiamari, M., Kiamari, M., and Krishnamachari, B. (2024). Gkan: Graph kolmogorov-arnold networks. arXiv preprint arXiv:2406.06470. DOI: 10.48550/arxiv.2406.06470.

Kieu, P. N., Tran, H. S., Le, T. H., Le, T., and Nguyen, T. T. (2018). Applying multi-cnns model for detecting abnormal problem on chest x-ray images. In 2018 10th International Conference on Knowledge and Systems Engineering (KSE). IEEE. DOI: 10.1109/kse.2018.8573404.

Kiran, S. and Jabeen, D. I. (2024). Dataset of tuberculosis chest x-rays images. Available at:[link]. Accessed on 12/12/2025.

Kolmogorov, A. N. (1957). On the representation of continuous functions of many variables by superposition of continuous functions of one variable and addition. In Doklady Akademii Nauk, volume 114. Russian Academy of Sciences. DOI: 10.1090/trans2/028/04.

Lai, R., Williams, T., Rakib, T., Lee, J., and Behar, S. M. (2024). Heterogeneity in lung macrophage control of mycobacterium tuberculosis is modulated by t cells. Nature Communications, 15(1). DOI: 10.1038/s41467-024-48515-7.

LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11). DOI: 10.1109/5.726791.

Li, Z. (2024). Kolmogorov-arnold networks are radial basis function networks. arXiv preprint arXiv:2405.06721. DOI: 10.48550/arxiv.2405.06721.

Liu, Z., Ma, P., Wang, Y., Matusik, W., and Tegmark, M. (2024a). Kan 2.0: Kolmogorov-arnold networks meet science. arXiv preprint arXiv:2408.10205. DOI: 10.48550/arxiv.2408.10205.

Liu, Z., Wang, Y., Vaidya, S., Ruehle, F., Halverson, J., Soljačić, M., Hou, T. Y., and Tegmark, M. (2024b). Kan: Kolmogorov-arnold networks. arXiv preprint arXiv:2404.19756. DOI: 10.48550/arxiv.2404.19756.

Muñoz-Aseguinolaza, U., Fernandez-Iriondo, I., Rodríguez-Moreno, I., Aginako, N., and Sierra, B. (2023). Convolutional neural network-based classification and monitoring models for lung cancer detection: 3d perspective approach. Heliyon, 9(11). DOI: 10.1016/j.heliyon.2023.e21203.

Pan, W. and Wang, X. (2026). Medvk: Efficient medical image classification via decoupled vision kolmogorov-arnold networks. Pattern Recognition Letters. DOI: 10.1016/j.patrec.2026.03.004.

Patel, A. N., Murugan, R., Srivastava, G., Maddikunta, P. K. R., Yenduri, G., Gadekallu, T. R., and Chengoden, R. (2024). An explainable transfer learning framework for multi-classification of lung diseases in chest x-rays. Alexandria Engineering Journal, 98. DOI: 10.1016/j.aej.2024.04.072.

Qezelbash-Chamak, J., Hicklin, K., and Kim, M. (2025). Kanbalance: Kolmogorov-arnold network mitigates class imbalance. Pattern Recognition, page 112325. DOI: 10.1016/j.patcog.2025.112325.

Rahman, T., Khandakar, A., Kadir, M. A., Islam, K. R., Islam, K. F., Mazhar, R., Hamid, T., Islam, M. T., Kashem, S., Mahbub, Z. B., et al. (2020). Reliable tuberculosis detection using chest x-ray with deep learning, segmentation and visualization. Ieee Access, 8. DOI: 10.1109/access.2020.3031384.

Riechie, R., Jessica, V., Kurniawan, M., Samosir, F. V. P., et al. (2025). Convolutional kolmogorov-arnold network for pneumonia detection in medical image analysis. Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics, 7(3):475-487. DOI: 10.35882/ijeeemi.v7i3.106.

Somvanshi, S., Javed, S. A., Islam, M. M., Pandit, D., and Das, S. (2024). A survey on kolmogorov-arnold network. arXiv preprint arXiv:2411.06078. DOI: 10.1145/3743128.

ul Haque, A., Ghani, S., Saeed, M., and Schloer, H. (2024). Pneumonia classification: A limited data approach for global understanding. Heliyon, 10(4). DOI: 10.21203/rs.3.rs-1965784/v1.

Vaca-Rubio, C. J., Blanco, L., Pereira, R., and Caus, M. (2024). Kolmogorov-arnold networks (kans) for time series analysis. arXiv preprint arXiv:2405.08790. DOI: 10.1109/gcwkshp64532.2024.11100692.

Wang, G., Zhu, Q., Song, C., Wei, B., and Li, S. (2025). Medkaformer: When kolmogorov-arnold theorem meets vision transformer for medical image representation. IEEE Journal of Biomedical and Health Informatics. DOI: 10.1109/jbhi.2025.3541982.

WHO, W. H. O. (2023). The top 10 causes of death. Available at:[link]. Accessed on 12/12/2025.

Xie, X., Lu, Y., Chi, C.-Y., Chen, W., Ai, B., and Niyato, D. (2024). Kansformer for scalable beamforming. arXiv preprint arXiv:2410.20690. DOI: 10.1109/tvt.2025.3553860.

Xu, J., Chen, Z., Li, J., Yang, S., Wang, W., Hu, X., and Ngai, E. C.-H. (2024a). Fourierkan-gcf: Fourier kolmogorov-arnold network-an effective and efficient feature transformation for graph collaborative filtering. arXiv preprint arXiv:2406.01034. Available at:[link].

Xu, K., Chen, L., and Wang, S. (2024b). Kolmogorov-arnold networks for time series: Bridging predictive power and interpretability. arXiv preprint arXiv:2406.02496. DOI: 10.48550/arxiv.2406.02496.

Yang, Z., Zhang, J., Luo, X., Lu, Z., and Shen, L. (2025). Medkan: An advanced kolmogorov-arnold network for medical image classification. arXiv preprint arXiv:2502.18416. DOI: 10.1109/bibm66473.2025.11356561.

Downloads

Published

2026-07-10

How to Cite

de Lima, A. L., Fernandes, H., & Junior, J. dos R. V. M. (2026). Efficient and Fast Kolmogorov–Arnold Networks for Chest X-Ray Classification of Pneumonia and Tuberculosis. Journal of the Brazilian Computer Society, 32(1), 1850–1858. https://doi.org/10.5753/jbcs.2026.7346

Issue

Section

Regular Issue