Blog

An assortment of my thoughts on selected machine learning topics. I mainly pose questions, instead of answering them. I guess if I did have answers I would write a paper instead.

2023

On rooted trees and differentiation

22 November 2023, 10 minute read

The chain rule for higher order derivatives boosts a wealth of beautiful mathematical structure touching the theory of special rooted trees, group theory, combinatorics of integer partitions, order theory, and many others.

2021

Dual numbers

09 August 2021, 8 minute read

I found writing this next post is a real treat. It’s about dual numbers. Dual numbers are a bit strange, to say the least, and at first they seem like an abstract mathematical fancy, but as you will see they have quite a useful purpose in the realm of automatic differentiation.

2020

Reversible optimisers

20 December 2020, 6 minute read

Reversible neural architectures have been a popular research area in the last few years, but reversibility is also built into many modern day neural optimisers, perhaps serendipitously.

2019

On the ‘invention’ of randomness

15 December 2019, 10 minute read

Recently in AMLAB we started a Jaynes reading group. E T Jaynes’ posthumous book and general all-round cult classic Probability Theory: The Logic of Science is the focus of our study. After having lectured a Bayesian statistics course for the last two years…