Comparison of Hamiltonian Monte Carlo Variants in Bayesian Deep Learning

dc.contributor.authorNemushungwa, Mufunwa
dc.contributor.supervisorMlambo, Farai
dc.date.accessioned2026-06-09T13:24:51Z
dc.date.issued2025
dc.descriptionA research report submitted in partial fulfilment of the requirements for the degree of Master of Science, in E-Science, to the Faculty of Science, School of Computer Science and Applied Mathematics, University of the Witwatersrand, Johannesburg, 2025
dc.description.abstractThis research investigates the integration of Bayesian inference (BI) with deep learning (DL) models, focusing on Bayesian Deep Learning (BDL) as a solution to overfitting and uncertainty in predictions. By employing posterior probability distributions for uncertainty quantification, BDL enhances decision-making and reliability. Despite various posterior density estimation techniques, including Hamiltonian Monte Carlo (HMC) and its variants, a comprehensive comparative analysis of their performance, computational efficiency, and scalability in BDL remains lacking. This study compares three Bayesian Neural Network (BNN) models using different HMC variants—standard HMC, No-U-Turn Sampler (NUTS), and Stochastic Gradient HMC(SGHMC)—for regression tasks on the California Housing Prices dataset. Metrics such as mean squared error (MSE), root mean squared error (RMSE), and mean absolute error (MAE) were used to assess predictive accuracy, alongside training times to measure computational efficiency and scalability across varying dataset sizes. Results indicate that BNNSGHMC outperforms the others in predictive accuracy, computational efficiency, and scalability, particularly with larger datasets. This research provides recommendations for practitioners, emphasising the use of BNN-SGHMC for larger datasets, and contributes valuable insights to the field of BDL, paving the way for future studies on advanced HMC techniques.
dc.description.submitterMMM2026
dc.facultyFaculty of Science
dc.identifier0000-0003-2913-3440
dc.identifier.citationNemushungwa, Mufunwa. (2025). Comparison of Hamiltonian Monte Carlo Variants in Bayesian Deep Learning. [Master's dissertation, University of the Witwatersrand, Johannesburg]. WIReDSpace. https://hdl.handle.net/10539/49440
dc.identifier.urihttps://hdl.handle.net/10539/49440
dc.language.isoen
dc.publisherUniversity of the Witwatersrand, Johannesburg
dc.rights©2025 University of the Witwatersrand, Johannesburg. All rights reserved. The copyright in this work vests in the University of the Witwatersrand, Johannesburg. No part of this work may be reproduced or transmitted in any form or by any means, without the prior written permission of University of the Witwatersrand, Johannesburg.
dc.rights.holderUniversity of the Witwatersrand, Johannesburg
dc.schoolSchool of Computer Science and Applied Mathematics
dc.subjectBayesian Deep Learning
dc.subjectHamiltonian Monte Carlo
dc.subjectNo-U-Turn Sampler
dc.subjectMarkov Chain Monte Carlo
dc.subjectPosterior Density Estimation
dc.subjectComputational Efficiency
dc.subjectScalability
dc.subjectBayesian Neural Networks
dc.subjectStochastic Gradient Hamiltonian Monte Carlo
dc.subjectUCTD
dc.subject.primarysdgSDG-9: Industry, innovation and infrastructure
dc.subject.secondarysdgSDG-4: Quality education
dc.titleComparison of Hamiltonian Monte Carlo Variants in Bayesian Deep Learning
dc.typeDissertation

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Nemushungwa_Comparison_2025.pdf
Size:
4.45 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
2.43 KB
Format:
Item-specific license agreed upon to submission
Description: