Trustworthy multi-modelling for Liver Cirrhosis diagnosis using retrieval-augmented generation

dc.contributor.author Bwayo, Chrispus Ben
dc.contributor.author Kyomugaso, Jovin
dc.contributor.author Ssenyonjo, Henry
dc.contributor.author Namuwaya, Winfred
dc.date.accessioned 2026-01-08T14:16:49Z
dc.date.available 2026-01-08T14:16:49Z
dc.date.issued 2025
dc.description A project report submitted to the Department of Computer Science in partial fulfillment of the requirements for the degree of B.Sc. in Computer Science of Makerere University. en_US
dc.description.abstract Liver cirrhosis is one of the leading causes of morbidity and mortality worldwide, disproportionately affecting populations in low- and middle-income countries where access to advanced diagnostic tools is limited. Traditional diagnostic methods such as liver biopsy are invasive, expensive, and often unavailable, contributing to delayed detection and poor treatment outcomes. Existing AI-based diagnosis tools struggle with interpretability and often fail to integrate diverse clinical inputs. This work addresses these challenges by providing a trustworthy multi-model diagnostic tool for liver cirrhosis that integrates machine learning on clinical data, computer vision on ultrasound images, and a Retrieval-Augmented Generation chatbot trained on 40 PubMed clinical trials and its exact match accuracy was 95%, its ECE was 0.25,invariance accuracy was 85% and its inference time was 7 seconds. Using late fusion, the system combines outputs to enhance the accuracy and generalization capability, during training hence achieving a training accuracy of 76.73%, validation accuracy of 90.26%, with a training loss of 0.4374 and validation loss of 0.3318, indicating strong performance and effective generalization to unseen inputs. Among machine learning models, the XGBoost Classifier achieved 95.9% accuracy, while VGG16 performed best in ultrasound image classification with 74% test accuracy. LIME, SHAP, and Grad-CAM XAI techniques were integrated to show features contribution towards model output. By delivering accurate, interpretable, and accessible liver cirrhosis diagnostics, this tool holds promise for enhancing early disease detection and supporting clinical decision making, particularly in low-resource settings. Its integration of late fusion multimodelling technique, XAI and Retrieval Augmented Generation approach contributes to trustworthy AI adoption in health care advancing both patient outcomes and diagnostic equity. en_US
dc.identifier.citation Bwayo, C. B., Kyomugaso, J., Ssenyonjo, H. & Namuwaya, W. (2025). Trustworthy multi-modelling for Liver Cirrhosis diagnosis using retrieval-augmented generation (Unpublished undergraduate dissertation). Makerere University, Kampala, Uganda en_US
dc.identifier.uri http://hdl.handle.net/20.500.12281/21718
dc.language.iso en en_US
dc.publisher Makerere University en_US
dc.subject Trustworthy en_US
dc.subject Multimodelling en_US
dc.subject RAG en_US
dc.subject Liver Cirrhosis en_US
dc.title Trustworthy multi-modelling for Liver Cirrhosis diagnosis using retrieval-augmented generation en_US
dc.type Other en_US
Files