AccScience Publishing / AIH / Online First / DOI: 10.36922/AIH026390158
Cite this article
5
Download
87
Views
Related Info Links
More by Authors Links
Journal Browser
Volume | Year
Issue
Search
News and Announcements
View All
ORIGINAL RESEARCH ARTICLE

Structured CNN feature-to-text encoding with LLM-assisted classification for pediatric pneumonia: A proof-of-concept study

Mohammad Alshraideh1,2* ,  Najwan Alshraideh3 ,  Abedalrahman Alshraideh4 ,  Yara Alkayed3 ,  Yasmin Al Trabsheh4 ,  Bahaaldeen Alshraideh5 ,  Edris Fayez Eliyan6 ,  Heba Alshraideh7 ,  Bayan Alfayoumi2 ,  Jana Alshraideh7
Show Less
1 Artificial Intelligence Department, King Abdullah II School of Information Technology, The University of Jordan, Amman , Jordan
2 Information Technology College, Lusail University, Lusail, Al Daayen , Qatar
3 Internal Medicine Department, School of Medicine, The University of Jordan, Amman , Jordan
4 Department of General Internal Medicine, East Midlands Deanery, National Health Service, Nottingham , United Kingdom
5 Department of Urology, Manchester Royal Infirmary, National Health Service, Manchester , United Kingdom
6 Faculty of Medicine, Aqaba Medical Sciences University, Aqaba , Jordan
7 Family and Community Medicine Department, School of Medicine, The University of Jordan, Amman , Jordan
Received: 26 September 2026 | Revised: 30 October 2026 | Accepted: 9 November 2026 | Published online: 3 December 2026
© 2026 by the Author(S). This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution 4.0 International License ( https://creativecommons.org/licenses/by/4.0/ )
Abstract

Pediatric pneumonia classification from chest radiographs is an active medical-imaging task, but assessment requires transparent data provenance and independent testing. We describe a structured CNN-feature-to-text interface for exploratory large language model (LLM) classification. The archived analysis comprised 5,863 pediatric chest radiographs (2,300 Pneumonia; 3,563 Normal). The documented processing design uses 2,048-dimensional ResNet-50 representations, training-fitted principal component analysis, percentile-based quantization, and neutral tokens (e.g., PC1 = High) supplied to LLaMA, Gemma, and GPT-4, with an ensemble output. From the available cohort-wide confusion counts (2,175 true positives, 125 false negatives, 115 false positives, 3,448 true negatives), we independently recalculated descriptive accuracy of 95.9%, precision of 95.0%, sensitivity of 94.6%, specificity of 96.8%, and F1-score of 94.8%. These counts encompass the analytic cohort rather than a verifiable locked test partition; they therefore do not establish prospective predictive performance. A defined replication protocol specifies patient-disjoint data partitions, image-level auditing, matched feature-based baselines, fixed prompts, validation-derived ensemble weights, and paired testing. The reported model configurations and prediction logs are not recoverable, so these protocol elements are proposals, not completed experiments. LLM summaries describe latent tokens rather than image-grounded radiological findings. The documented contribution is a technically specified feature-serialization interface and an auditable reanalysis of the available aggregate results; clinical validity and superiority remain to be tested.

Graphical abstract
Keywords
Pediatric pneumonia
Chest radiography
Convolutional neural network
Feature-to-text encoding
Large language models
Medical imaging AI
Proof of concept
Funding
None.
Conflict of interest
The authors declare no competing financial or non-financial interests relevant to this proof-of-concept study.
References
  1. Kermany DS, Goldbaum M, Cai W, et al. Identifying medical diagnoses and treatable diseases by image-based deep learning. Cell. 2018;172(5):1122-1131.e9. doi: 10.1016/j.cell.2018.02.010
  2. Siddiqi R, Javaid S. Deep Learning for Pneumonia Detection in chest X-ray images: A comprehensive survey. J Imaging. 2024;10(8):176. doi: 10.3390/jimaging10080176
  3. Li Y, Zhang L, Yu H, et al. A comprehensive segmentation of chest X-ray improves deep learning–based WHO radiologically confirmed pneumonia diagnosis in children. Eur Radiol. 2023;34(5):3471-3482. doi: 10.1007/s00330-023-10367-y
  4. Ayan E, Karabulut B, Ünver HM. Diagnosis of pediatric pneumonia with ensemble of deep convolutional neural networks in chest X-Ray images. Arab J Sci Eng. 2021;47(2):2123-2139. doi: 10.1007/s13369-021-06127-z
  5. Xin KZ, Li D, Yi PH. Limited generalizability of deep learning algorithm for pediatric pneumonia classification on external data. Emerg Radiol. 2021;29(1):107-113. doi: 10.1007/s10140-021-01954-x
  6. Bal U, Bal A, Moral ÖT, Düzgün F, Gürbüz N. A deep learning feature extraction-based hybrid approach for detecting pediatric pneumonia in chest X-ray images. Phys Eng Sci Med. 2023;47(1):109-117. doi: 10.1007/s13246-023-01347-z
  7. Zhang Y, Kohne J, Wittrup E, Najarian K. Three-stage framework for accurate pediatric chest X-ray diagnosis using self-supervision and transfer learning on small datasets. Diagnostics. 2024;14(15):1634. doi: 10.3390/diagnostics14151634
  8. Pan Z, Wang H, Wan J, Zhang L, Huang J, Shen Y. Efficient federated learning for pediatric pneumonia on chest X-ray classification. Sci Rep. 2024;14(1):23272. doi: 10.1038/s41598-024-74491-5
  9. Alshanketi F, Alharbi A, Kuruvilla M, et al. Pneumonia detection from chest X-Ray Images using deep learning and transfer learning for imbalanced datasets. J Digit Imaging Inform Med. 2024;38(4):2021-2040. doi: 10.1007/s10278-024-01334-0
  10. Katreddi S, Midatani A, Roy AP, Velpuri U, Kasani S. Pediatric pneumonia X-ray image classification: predictive model development with DenseNet-169 transfer learning. J Med Artif Intell. 2025;8:37-37. doi: 10.21037/jmai-24-356
  11. Wang D, Ru B, Lee EYP, et al. Validation of a deep learning model for classification of pediatric pneumonia in Hong Kong. Vaccine. 2024;42(26):126370. doi: 10.1016/j.vaccine.2024.126370
  12. Hegselmann S, Buendia A, Lang H, Agrawal M, Jiang X, Sontag D. TabLLM: few-shot classification of tabular data with large language models. Proc Mach Learn Res. 2023;206:5549-5581. Accessed July 19, 2026. https://proceedings.mlr.press/v206/hegselmann23a.html
  13. Moor M, Banerjee O, Abad ZSH, et al. Foundation models for generalist medical artificial intelligence. Nature. 2023;616(7956):259-265. doi: 10.1038/s41586-023-05881-4
  14. Singhal K, Azizi S, Tu T, et al. Large language models encode clinical knowledge. Nature. 2023;620(7972):172-180. doi: 10.1038/s41586-023-06291-2
  15. Hollmann N, Müller S, Purucker L, et al. Accurate predictions on small data with a tabular foundation model. Nature. 2025;637(8045):319-326. doi: 10.1038/s41586-024-08328-6
  16. Tejani AS, Klontzas ME, Gatti AA, et al. Checklist for artificial intelligence in medical imaging (CLAIM): 2024 Update. Radiol Artif Intell. 2024;6(4):e240300. doi: 10.1148/ryai.240300
  17. Collins GS, Moons KGM, Dhiman P, et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. doi: 10.1136/bmj-2023-078378
  18. Sounderajah V, Guni A, Liu X, et al. The STARD-AI reporting guideline for diagnostic accuracy studies using artificial intelligence. Nat Med. 2025;31(10):3283-3289. doi: 10.1038/s41591-025-03953-8
  19. Kottlors J, Iuga AI, Bluethgen C, et al. Guidelines for reporting studies on large language models in radiology: An international Delphi expert survey. Radiology. 2026;318(2):e250913. doi: 10.1148/radiol.250913
  20. Kondylakis H, Osuala R, Puig-Bosch X, et al. A review of methods for trustworthy AI in medical imaging: The FUTURE-AI Guidelines. IEEE J Biomed Health Inform. 2026;30(3):2299-2315. doi: 10.1109/jbhi.2025.3614546
  21. Rickard D, Kabir MA, Homaira N. Machine learning-based approaches for distinguishing viral and bacterial pneumonia in paediatrics: A scoping review. Comput Methods Programs Biomed. 2025;268:108802. doi: 10.1016/j.cmpb.2025.108802
  22. Ramgopal S, Neveu M, Lorenz D, Benedetti J, Lavey J, Florin TA. External validation of two clinical prediction models for pediatric pneumonia. Acad Pediatrics 2025;25(1):102564. doi: 10.1016/j.acap.2024.08.009
  23. Ma D, Pang J, Gotway MB, Liang J. A fully open AI foundation model applied to chest radiography. Nature. 2025;643:488-498. doi: 10.1038/s41586-025-09079-8
  24. Zambrano Chaves JM, Huang SC, Xu Y, et al. A clinically accessible small multimodal radiology model and evaluation metric for chest X-ray findings. Nat Commun. 2025;16:3108. doi: 10.1038/s41467-025-58344-x
  25. Wang A, Yang Z, Rais-Bahrami S, Yan P. Chest X-ray foundation models: a survey and future directions. Meta-Radiology. 2026;4(1):100203. doi: 10.1016/j.metrad.2025.100203
  26. Wiest IC, Ferber D, Zhu J, et al. Privacy-preserving large language models for structured medical information retrieval. npj Digit Med. 2024;7:257. doi: 10.1038/s41746-024-01233-2
  27. Omar M, Soffer S, Agbareia R, et al. Sociodemographic biases in medical decision-making by large language models. Nat Med. 2025;31:1873-1881. doi: 10.1038/s41591-025-03626-6
  28. Suleman MU, Mursaleen M, Khalil U, et al. Assessing the generalizability of artificial intelligence in radiology: a systematic review of performance across different clinical settings. Ann Med Surg. 2025;87(12):8803-8811. doi: 10.1097/MS9.0000000000004166
  29. Ramwala OA, Lowry KP, Cross NM, et al. Establishing a validation infrastructure for imaging-based artificial intelligence algorithms before clinical implementation. J Am Coll Radiol. 2024;21(10):1569-1574. doi: 10.1016/j.jacr.2024.04.027
  30. Al-Jbour OM, Alshraideh M, Alshraideh B. Precision healthcare for UTIs: leveraging machine learning to reduce readmissions. Appl Comput Intell Soft Comput. 2025;2025:7182123. doi: 10.1155/acis/7182123
  31. Alshraideh M, Al-Dhaqm A, Alshammari A, et al. Advanced prediction of recurrent fragility fractures using large language models. IEEE Access. 2025;13:71503-71520. doi: 10.1109/ACCESS.2025.3562259
  32. Alrabadi A, Alshraideh M, Alshraideh B, et al. Empowering prostate cancer care with LLMs: a new era of accurate diagnosis. J Integr Sci Technol. 2025;13(8):1171. doi: 10.62110/sciencein.jist.2025.v13.1171
  33. Alshraideh M, Alkayed Y, Alshraideh A, et al. Advancing vertigo diagnosis with large language models: a multimodal, AI-driven approach to etiology differentiation. J Integr Sci Technol. 2025;13(4):1079. doi: 10.62110/sciencein.jist.2025.v13.1079
  34. Alshraideh A, Al Fayoumi B, Alshraideh BM, Alshraideh M. Hybrid AI framework for the early detection of heart failure: integrating traditional machine learning and generative language models with clinical data. Cureus. 2025;17(6):e85638. doi: 10.7759/cureus.85638
  35. Alshraideh M, Alshraideh B, Alshraideh A, Alfayoumi B, Alshraideh H. AI-based modeling of treatment decisions in benign prostatic hyperplasia: a transformer-based comparative study. BMC Med Inform Decis Mak. 2026;26:140. doi: 10.1186/s12911-026-03438-9
  36. Behzad S, Tabatabaei SMH, Lu MY, Eibschutz LS, Gholamrezanezhad A. Pitfalls in interpretive applications of artificial intelligence in radiology. AJR Am J Roentgenol. 2024;223(4):e2431493. doi: 10.2214/AJR.24.31493
  37. von der Stück MS, Vuskov R, Westfechtel S, et al. Visual large language models in radiology: a systematic multimodel evaluation of diagnostic accuracy and hallucinations. Life. 2026;16(1):66. doi: 10.3390/life16010066
  38. Salehi S, Singh Y, Horst KK, Hathaway QA, Erickson BJ. Agentic AI and large language models in radiology: opportunities and hallucination challenges. Bioengineering. 2025;12(12):1303. doi: 10.3390/bioengineering12121303
  39. Bluethgen C, Chambon P, Delbrouck JB, et al. A vision-language foundation model for the generation of realistic chest X-ray images. Nat Biomed Eng. 2025;9:494-506. doi: 10.1038/s41551-024-01246-y
  40. Wang X, Peng Y, Lu L, Lu Z, Bagheri M, Summers RM. ChestX-ray8: Hospital-scale chest X-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017:3462-3471. doi: 10.1109/CVPR.2017.369
Share
Back to top
Artificial Intelligence in Health, Electronic ISSN: 3029-2387 Print ISSN: 3041-0894, Published by AccScience Publishing