{"id":{"repo_id":"uwtsd","oai_identifier":"oai:repository.uwtsd.ac.uk:4143"},"canonical_url":"https://search.dev.ndltd.org/etd/uwtsd/oai:repository.uwtsd.ac.uk:4143","repository":{"repo_id":"uwtsd","name":"University of Wales Trinity Saint David","base_url":"https://repository.uwtsd.ac.uk/cgi/oai2"},"display":{"title":"Improving Model Generalization of Pneumonia Detection from Chest Xray Images Using Deep Learning and Transfer Learning","abstract":"Pneumonia continues to be a major global health threat and one of the leading causes of mortality, with chest X-rays serving as the primary diagnostic tool. Despite their promise, deep learning models for pneumonia detection often face limitations in generalization, performing strongly on familiar datasets but losing accuracy when applied to unseen data from different clinical environments. This study addresses that challenge by applying transfer learning with ResNet152 and DenseNet201 to improve generalization in pneumonia detection using chest Xray images. Publicly available datasets, including the COVID-19 Radiography Database and the Chest X-ray (COVID-19 & Pneumonia) dataset, were merged, pre-processed, and balanced prior to training. Model optimization involved freezing and unfreezing layers, adjusting learning rates, and applying various data augmentation strategies. Performance was evaluated with metrics such as accuracy, precision, recall, F1-score, error rate, and AUC-ROC, and further validated using an independent external dataset. Experimental results showed that DenseNet201 consistently outperformed ResNet152, reaching 93.2% accuracy with an AUC of 0.9916 on the main dataset and 88.3% accuracy with an AUC of 0.9742 on the external dataset. By comparison, ResNet152 achieved 86.4% accuracy (AUC 0.9665) on the main dataset and 84.6% accuracy (AUC 0.9573) on the external dataset. Confusion matrix analysis revealed that most errors occurred between Normal and Pneumonia classes, mirroring real world diagnostic challenges. In conclusion, DenseNet201 demonstrated superior robustness and generalization compared to ResNet152, highlighting its suitability for clinical application and underscoring the necessity of external validation in medical AI research.","abstract_html":"Pneumonia continues to be a major global health threat and one of the leading causes of mortality, with chest X-rays serving as the primary diagnostic tool. Despite their promise, deep learning models for pneumonia detection often face limitations in generalization, performing strongly on familiar datasets but losing accuracy when applied to unseen data from different clinical environments. This study addresses that challenge by applying transfer learning with ResNet152 and DenseNet201 to improve generalization in pneumonia detection using chest Xray images. Publicly available datasets, including the COVID-19 Radiography Database and the Chest X-ray (COVID-19 &amp; Pneumonia) dataset, were merged, pre-processed, and balanced prior to training. Model optimization involved freezing and unfreezing layers, adjusting learning rates, and applying various data augmentation strategies. Performance was evaluated with metrics such as accuracy, precision, recall, F1-score, error rate, and AUC-ROC, and further validated using an independent external dataset. Experimental results showed that DenseNet201 consistently outperformed ResNet152, reaching 93.2% accuracy with an AUC of 0.9916 on the main dataset and 88.3% accuracy with an AUC of 0.9742 on the external dataset. By comparison, ResNet152 achieved 86.4% accuracy (AUC 0.9665) on the main dataset and 84.6% accuracy (AUC 0.9573) on the external dataset. Confusion matrix analysis revealed that most errors occurred between Normal and Pneumonia classes, mirroring real world diagnostic challenges. In conclusion, DenseNet201 demonstrated superior robustness and generalization compared to ResNet152, highlighting its suitability for clinical application and underscoring the necessity of external validation in medical AI research.","abstract_has_math":false,"creators":["Kochamparampil Anil, Akhil"],"institution":"University of Wales Trinity Saint David","degree_name":"msc","degree_level":"masters","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-10","date_published":"2025-10","updated_at":"2026-07-24T05:53:11Z","subjects":["RA Agweddau cyhoeddus am feddygaeth","T Technoleg (Cyffredinol)"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.grantnumber","label":"Dc Identifier Grantnumber","values":["UWTSD"],"render_values":[{"text":"UWTSD","href":null,"code":true}]}]},"links":{"outbound_url":"https://doi.org/10.82227/repository.uwtsd.ac.uk.00004143","outbound_label":"DOI","outbound_source":"dc:identifier.doi"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.sponsor","label":"Sponsor","values":["University of Wales Trinity Saint David"]},{"key":"dc:creator","label":"Author","values":["Kochamparampil Anil, Akhil"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-10-21"]},{"key":"dc:date.issued","label":"Date","values":["2025-10"]},{"key":"dc:publisher.commercial","label":"Dc Publisher Commercial","values":["University of Wales Trinity Saint David"]},{"key":"dc:publisher.department","label":"Dc Publisher Department","values":["Traethodau Meistr","Wales Institute for Science and Art: Applied Computing"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Wales Trinity Saint David"]},{"key":"dc:relation.isreferencedby","label":"Dc Relation Isreferencedby","values":["https://repository.uwtsd.ac.uk/id/eprint/4143/"]},{"key":"dc:type","label":"Dc Type","values":["Gosodiad"]},{"key":"dc:type.qualificationlevel","label":"Dc Type Qualificationlevel","values":["masters"]},{"key":"dc:type.qualificationname","label":"Dc Type Qualificationname","values":["msc"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["RA Agweddau cyhoeddus am feddygaeth","T Technoleg (Cyffredinol)"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.82227/repository.uwtsd.ac.uk.00004143"]},{"key":"dc:identifier.grantnumber","label":"Dc Identifier Grantnumber","values":["UWTSD"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://repository.uwtsd.ac.uk/id/eprint/4143/1/Anil_Kochamparampil_A_MSc_Thesis.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Pneumonia continues to be a major global health threat and one of the leading causes of mortality, with chest X-rays serving as the primary diagnostic tool. Despite their promise, deep learning models for pneumonia detection often face limitations in generalization, performing strongly on familiar datasets but losing accuracy when applied to unseen data from different clinical environments. This study addresses that challenge by applying transfer learning with ResNet152 and DenseNet201 to improve generalization in pneumonia detection using chest Xray images. Publicly available datasets, including the COVID-19 Radiography Database and the Chest X-ray (COVID-19 & Pneumonia) dataset, were merged, pre-processed, and balanced prior to training. Model optimization involved freezing and unfreezing layers, adjusting learning rates, and applying various data augmentation strategies. Performance was evaluated with metrics such as accuracy, precision, recall, F1-score, error rate, and AUC-ROC, and further validated using an independent external dataset. Experimental results showed that DenseNet201 consistently outperformed ResNet152, reaching 93.2% accuracy with an AUC of 0.9916 on the main dataset and 88.3% accuracy with an AUC of 0.9742 on the external dataset. By comparison, ResNet152 achieved 86.4% accuracy (AUC 0.9665) on the main dataset and 84.6% accuracy (AUC 0.9573) on the external dataset. Confusion matrix analysis revealed that most errors occurred between Normal and Pneumonia classes, mirroring real world diagnostic challenges. In conclusion, DenseNet201 demonstrated superior robustness and generalization compared to ResNet152, highlighting its suitability for clinical application and underscoring the necessity of external validation in medical AI research."]},{"key":"dc:format","label":"Dc Format","values":["text"]},{"key":"dc:title","label":"Title","values":["Improving Model Generalization of Pneumonia Detection from Chest Xray Images Using Deep Learning and Transfer Learning"]}]}],"canonical_facts":{"dc:contributor.sponsor":["University of Wales Trinity Saint David"],"dc:creator":["Kochamparampil Anil, Akhil"],"dc:date":["2025-10-21"],"dc:date.issued":["2025-10"],"dc:description.abstract":["Pneumonia continues to be a major global health threat and one of the leading causes of mortality, with chest X-rays serving as the primary diagnostic tool. Despite their promise, deep learning models for pneumonia detection often face limitations in generalization, performing strongly on familiar datasets but losing accuracy when applied to unseen data from different clinical environments. This study addresses that challenge by applying transfer learning with ResNet152 and DenseNet201 to improve generalization in pneumonia detection using chest Xray images. Publicly available datasets, including the COVID-19 Radiography Database and the Chest X-ray (COVID-19 & Pneumonia) dataset, were merged, pre-processed, and balanced prior to training. Model optimization involved freezing and unfreezing layers, adjusting learning rates, and applying various data augmentation strategies. Performance was evaluated with metrics such as accuracy, precision, recall, F1-score, error rate, and AUC-ROC, and further validated using an independent external dataset. Experimental results showed that DenseNet201 consistently outperformed ResNet152, reaching 93.2% accuracy with an AUC of 0.9916 on the main dataset and 88.3% accuracy with an AUC of 0.9742 on the external dataset. By comparison, ResNet152 achieved 86.4% accuracy (AUC 0.9665) on the main dataset and 84.6% accuracy (AUC 0.9573) on the external dataset. Confusion matrix analysis revealed that most errors occurred between Normal and Pneumonia classes, mirroring real world diagnostic challenges. In conclusion, DenseNet201 demonstrated superior robustness and generalization compared to ResNet152, highlighting its suitability for clinical application and underscoring the necessity of external validation in medical AI research."],"dc:format":["text"],"dc:identifier.doi":["10.82227/repository.uwtsd.ac.uk.00004143"],"dc:identifier.grantnumber":["UWTSD"],"dc:identifier.uri":["https://repository.uwtsd.ac.uk/id/eprint/4143/1/Anil_Kochamparampil_A_MSc_Thesis.pdf"],"dc:publisher.commercial":["University of Wales Trinity Saint David"],"dc:publisher.department":["Traethodau Meistr","Wales Institute for Science and Art: Applied Computing"],"dc:publisher.institution":["University of Wales Trinity Saint David"],"dc:relation.isreferencedby":["https://repository.uwtsd.ac.uk/id/eprint/4143/"],"dc:subject":["RA Agweddau cyhoeddus am feddygaeth","T Technoleg (Cyffredinol)"],"dc:title":["Improving Model Generalization of Pneumonia Detection from Chest Xray Images Using Deep Learning and Transfer Learning"],"dc:type":["Gosodiad"],"dc:type.qualificationlevel":["masters"],"dc:type.qualificationname":["msc"]},"updated_at":"2026-07-24T05:53:11Z"}