ImageNet-1k Latent Diffusion Model (Part 1: The VAE)

Posted on Mon 02 March 2026 in Machine Learning • Tagged with machine learning, imagenet, diffusion, VAE

Introduction

This post is the first of two about how I've trained a Latent Diffusion Model (LDM) to generate images from ImageNet-1k class labels.

As a recap from the last post, which was a high level overview of how a LDM works we have two main components:

  1. A Variational Autoencoder …

Continue reading

What Problems I Enjoy

Posted on Mon 26 January 2026 in Personal • Tagged with machine learning, maths, personal philosophy

Motivation

A colleague recently asked me what problems I enjoy working on, so I've been thinking more and more about where I draw enjoyment from, especially in my diffusion model project, but also from other previous projects and what I have worked on for others. This post is to organise …


Continue reading

Latent Diffusion Model on CIFAR-10

Posted on Wed 07 January 2026 in Machine Learning • Tagged with machine learning, cifar, diffusion, VAE

Project

This project builds a Latent Diffusion Model (LDM) on CIFAR-10 that has been upscaled to 64x64.

Introduction

After exploring diffusion on MNIST datasets, I have continued exploring more, successfully building a LDM on CIFAR-10 data. This post covers the first phase of a currently three month project helping to …


Continue reading

Reinforcement Learning for Combinatorial Optimisation

Posted on Sun 02 November 2025 in Machine Learning, • Tagged with machine learning, optimisation, reinforcement learning

The Problem: TSP

The Traveling Salesperson Problem (TSP) is one of the most famous combinatorial optimisation problems. It is incredibly easy to state: Given a list of cities and the distances between each pair, find the shortest route that visits each city exactly once and then returns to the first …


Continue reading

Diffusion Models for MNIST Data

Posted on Sat 27 September 2025 in Machine Learning • Tagged with machine learning, mnist

Demo

Before I even get started on what I've done, here is a demo that you can play with.

Introduction

After playing around with reconstruction and classification of MNIST digits last week and talking to a few colleagues about the project, I decided to investigate diffusion models. I broadly knew …


Continue reading

Learning to Reconstruct and Classify MNIST Digits

Posted on Sun 21 September 2025 in Machine Learning • Tagged with machine learning, mnist

Introduction

This blog post is about my attempts to learn about self-supervised learning. Most of my background is in reinforcement learning as opposed to any kind of supervised learning, so I feel I need to broaden my knowledge and be aware of how to actually structure projects, issues that can …


Continue reading