Final Year Project
Final Year Project
1
This project aims to address both the diagnostic and explainability gaps
in liver cirrhosis diagnosis through a novel approach that integrates explain-
able machine learning models, computer vision techniques [5], and a Retrieval-
Augmented Generation (RAG) application. The machine learning and com-
puter vision models will analyse medical images and diagnostic data to accu-
rately predict liver cirrhosis, while the RAG application will provide real-time,
evidence-based information on liver cirrhosis, extracted from medical literature
and other reliable sources. The RAG system will also help in explaining ML-
generated diagnostic predictions, offering clinicians a deeper understanding of
both the disease and the ML model’s reasoning behind the diagnosis.
2 Problem Statement
Liver cirrhosis, marked by irreversible liver damage and fibrosis, poses a severe
health risk. Traditional diagnostic methods, such as liver biopsies, are invasive,
costly, and often unavailable, particularly in resource-limited settings. While
machine learning (ML) and computer vision [5] offer promising non-invasive
diagnostic tools, their effectiveness is limited by a lack of explainability, which
can undermine clinical trust and application.
This project seeks to address the need for a reliable, non-invasive method
for diagnosing liver cirrhosis and the challenge of ensuring transparency in
ML models. The proposed solution involves developing an integrated system
that combines explainable ML models, computer vision techniques [5], and a
Retrieval-Augmented Generation (RAG) application. The RAG application
will enhance diagnostic accuracy by leveraging predictive analytics to provide
detailed, evidence-based information on liver cirrhosis.
3 Main Objective
To develop an explainable, non-invasive diagnostic tool for liver cirrhosis related
to chronic alcohol consumption by integrating machine learning models, com-
puter vision techniques, and a Retrieval-Augmented Generation (RAG) appli-
cation to enhance diagnostic accuracy, transparency, and accessibility in clinical
settings.
4 Specific Objectives
• Design and develop explainable machine learning models for predicting
liver cirrhosis, with a focus on cases linked to chronic alcoholism.
• Apply computer vision techniques to analyse medical imaging and diag-
nostic data for liver cirrhosis detection.
• Integrate a Retrieval-Augmented Generation (RAG) application to pro-
vide evidence-based information during the diagnostic process.
2
• Evaluate the diagnostic accuracy, transparency, and usability of the sys-
tem in real-world healthcare settings.
• Ensure accessibility and applicability of the diagnostic tool in resource-
limited environments.
5 Methodology
This project utilises machine learning models, computer vision techniques, a
Retrieval-Augmented Generation (RAG) [3] application, and a web interface to
create an explainable diagnostic tool for liver cirrhosis, focusing on accuracy,
transparency, and ease of use for clinicians.
6 Expected Results
The project is expected to yield a highly accurate, non-invasive diagnostic tool
for liver cirrhosis. By utilising machine learning models and computer vision
3
techniques, the tool will improve diagnostic precision. Explainability will be a
key outcome, as methods such as SHAP, LIME, and Grad-CAM will make the
models more transparent.
The integration of a Retrieval-Augmented Generation (RAG) application is
expected to provide clinicians with relevant medical literature, improving the
overall clinical workflow.
7 References
References
[1] A.K.M Sazzadur Rahman, F. M. Javed Mehedi Shamrat, Zarrin Tasnim,
Joy Roy, Syed Akhter Hossain, A Comparative Study On Liver Disease
Prediction Using Supervised Machine Learning Algorithms, International
Journal of Scientific & Technology Research, Volume 8, Issue 11, November
2019.
[2] Vyshali J Gogi, Dr. Vijayalakshmi M.N, Prognosis of Liver Disease: Us-
ing Machine Learning Algorithms, International Conference on Recent
Innovations in Electrical, Electronics & Communication Engineering -
(ICRIEECE), 2018.
[3] Ge, Jin et al., Development of a liver disease–specific large language model
chat interface using retrieval-augmented generation, Hepatology, 2024.
[4] Linardatos, P. et al., Explainable AI: A Review of Machine Learning Inter-
pretability Methods, Entropy, 2021.
[5] Lu, Henry Horng-Shing et al., Computer-aided diagnosis of liver cirrhosis
by simultaneous comparisons of the ultrasound images of liver and spleen,
Journal of Data Science, 2008.
[6] Guo A, Mazumder NR, Ladner DP, Foraker RE, Predicting mortality among
patients with liver cirrhosis in electronic health records with machine learn-
ing, PLoS ONE, 2021.