Reverse-Engineering Hamiltonian Monte Carlo: The MCMC Engine Behind Modern Bayesian Inference
Hey CCAI fam, hope you enjoyed the Virtual Summer School! Had a great time so far but I’ll admit I have to do a lot of catch up with the tutorials and lectures 😅
That said, I wanted to share this article I wrote recently that goes even deeper into Markov Chain Monte Carlo (MCMC) with it’s most popular variant - the Hamiltonian Monte Carlo algorithm (this was probably the reason why I have lots of catch up to do). What I really liked about learning it was how well it scales in being able to sample posterior distributions from simple, two-parameter models to complex, multi-level ones with dozens of parameters. In fact, I was able to generate great results after building a Hierarchical Multi-Level Bayesian Regression model that estimates wildfire sizes across BC’s diverse landscape which I’ll walk through in the article along taking you through the secret sauce of how the algorithm runs.
If you use Bayesian Statistics extensively in your work and wanted to learn (or needed a refresher) about how probabilistic programming frameworks like PyMC generate posterior distributions from your models, this one should be a treat.
As an aside, this will be my last post on Bayesian Inference for awhile as I’m looking forward to pivoting to new topics such as AI safety and security. And yes, I’ll also be catching up on the summer school material! Happy to form a study group if anyone’s interested? Anyways, thank you all for your support!