ML Engineer, London

Jonathan Cassens

I build ML platforms and the models that run on them. Physicist by training.

Four histograms of momentum, total energy, beam radius and azimuthal angle. The orange WGAN-GP synthetic outline sits on top of the blue real Monte Carlo distribution in each panel, including the long tails.
My MRes project. A physics-constrained GAN (orange) reproducing Monte Carlo truth (blue) for the COMET particle beam, six species mixed.ThesisCode
01

Experience

  1. Jun to Sep 2026

    AI Engineering Intern, Medly AI

    AI tutoring

    • End-to-end production pipelines for the core AI tutoring agent, built with a senior engineer, serving 300k+ users.
    • A question difficulty transformer driving personalised question assignment.
    • A knowledge-constrained LLM student simulator with its own eval framework: zero topic leakage across quantitative GCSE curricula.
    • Scraping and ETL pipelines to benchmark frontier LLMs on university exams, with cost-aware batching and caching.
    • SummaryEval: independent LLM judges acting as a quality gate on the factual accuracy of study guides.
  2. Feb to Jun 2026

    GenAI Alignment Engineer, Google

    via QualityAI

    • Curated physics data (custom and OpenStax) to align LLMs to good teaching on Google's learning platform.
    • An automated triage pipeline that parses, filters and routes model failure reports to the right engineering sub-team: over 91% faster, with no manual classification.
    • Loss analysis of next-generation LLM outputs, sorting failure modes into feedback for the core AI teams.
  3. Summer 2023

    Software Development Placement, Sky

    Scrum team

    • Refreshed a React component used for content tagging, cutting tagging time by 17%.
    • Helped fix two critical UI bugs, working in a cross-functional Scrum team with daily stand-ups and sprints.

Education

  1. 2025 to 2026

    MRes Machine Learning and Big Data in the Physical Sciences

    Imperial College London · High Distinction, 85%

    Statistics, applied ML and accelerated processing. Thesis: Generative Complex Beam Simulations with GANs (PDF).

  2. BSc, 2:1

    Theoretical Physics

    UCL

    Quantum mechanics, statistical and particle physics, computational physics, ML for physicists.

  3. Bootcamp

    Software Engineering

    Imperial College London. Full scholarship, 97th percentile.

02

Projects

MRes research · Physics · GANs · HPC

COMET particle beam GAN

A physics-constrained WGAN-GP that stands in for Geant4 simulation of the COMET beam: six per-species generators covering 99.2% of particles at the detector entrance, trained on HTCondor over 200M+ datapoints. The pre-registered bar was a classifier two-sample test (C2ST) accuracy of at most 0.51. Every species cleared it. The figure at the top is its output.

0.505joint C2ST accuracy. A coin flip scores 0.500, so a classifier can barely tell real from fake.
190,000×faster than the full Geant4 simulation per usable particle (GPU vs. wall clock)
  • Medly AI · Transformers · IRT

    Question difficulty transformer

    Predicts question difficulty so each student gets one pitched at the right level.

    ~90% in bracket · 99%+ within one

  • Trading · Game theory

    IMC Prosperity 04

    Market making, ETF arbitrage and game-theoretic allocation.

    Top 1% manual · top 2% algo

  • Hardware-aware ML

    Wildfire detection on an FPGA

    A 1.56 MB CNN sized for on-chip FPGA memory, with pruning and quantisation sweeps and an hls4ml path.

    405k params · 93.2% recall at 8-bit

  • LLMs · Evals

    Context Pareto

    Accuracy against tokens for long-context compression strategies.

    Public

  • Monte Carlo · Football

    FPL modelling engine

    AI-native Monte Carlo simulation of my Fantasy Premier League team.

    ~500k global rank, climbing

  • Reinforcement learning

    Poker Q-learning leak finder

    Exploits opponent tendencies and finds leaks in my own play. 200k+ hands.

    +8 bb/100, simulated data only

  • RAG · Local LLMs

    arXiv Physics RAG

    Ask questions of physics papers with Ollama, ChromaDB and React.

    Public

  • Edge ML

    Model to Mask

    Taking neural networks and small language models to ASICs. A curiosity project.

    Public

  • Tooling

    WhatsApp bot remover

    Spots bots in group chats, deletes their messages and kicks them. Built for uni chats.

    Personal tool

Also on GitHub higgs-boson-classification electron-muon-scattering lstm-double-pendulum pca-mnist covid-19-predictor tenant-matchmaker-api

Some repos stay private: work projects belong to their companies, and my poker strategy and FPL solver are staying with me. Happy to talk through any of them.

03

Stack

Platform and data
AWS, SageMaker, IAM, S3, Redshift, dbt, Iceberg, Kafka, PostgreSQL, Docker, HTCondor
ML and AI
PyTorch, TensorFlow, scikit-learn, transformers, GANs, LLMs, RAG, LLM evals, reinforcement learning
MLOps
MLflow, Weights & Biases, Git, CLI tooling, Dataiku (migrating away)
Languages
Python, SQL, JavaScript, React, Java, pandas, NumPy
Maths and physics
Statistics, item response theory, stochastic modelling, quantum information
Hardware-aware ML
FPGAs, HLS4ML, ONNX, pruning, quantisation, HPC
04

Outside work

  • Poker

    Former pro, then a dealer for a while. The statistics are what stuck.

  • Volleyball

    Ten years competitive, still in the London league. Two years as a volunteer coach, two promotions.

  • Reading

    AlphaSignal and TLDR to keep up. Standing opinion: DeepSeek is the GOAT, a Pareto legend.

  • Food

    My favourite hobby, by some distance. Hence the series below.

  • Games

    Chess, board games, video games, and FPL.

  • Outdoors

    Travelling and hiking, ideally towards somewhere good to eat.

A series

London lunch deals

Working through London's lunch deals one at a time. What is worth the walk, and what is a sad sandwich with a nice name.

  1. Coming soonThe first entries are on their way.
05

Say hello

Happy to talk ML platforms, evals, physics, or where to get lunch.