Just know stuff. (Or, how to achieve success in a machine learning PhD)
An Oxford Mathematics PhD graduate who wrote 12 papers and earned 4,139 GitHub stars published a technical guide covering ML, scientific computing, and code.
By Dillip Chowdary • Dec 06, 2026 • Source: kidger.site

At a glance
- Author
- University of Oxford Mathematics PhD graduate
- Completion time
- 2-and-a-bit years
- Research output
- 12 papers and 1 textbook/thesis
- Online reach
- 4,139 GitHub stars, 3,271 Twitter followers
- Target audience
- Early-stage PhD and pre-PhD students
- Thesis availability
- Neural Differential Equations thesis online
In this post
An Oxford Mathematics PhD graduate published a technical curriculum on kidger.site's guide detailing the core knowledge behind a machine learning doctorate. Writing after completing the degree in just over two years, the author reported producing 12 papers, 1 textbook that doubled as a thesis on Neural Differential Equations, 4,139 GitHub stars, 3,271 Twitter followers, and a big-tech job offer. The guide distills repeated replies sent to Twitter and Mastodon followers into a single reference.
This article breaks down the guide's recommended topics across machine learning theory, elementary scientific computing, and academic software development. It is aimed at pre-PhD and early-stage PhD students who want a concrete foundation rather than a reading list of general advice. Late-stage researchers already familiar with these fundamentals are expected to skip ahead and layer domain-specific material on top.
01Technical depth over narrow coursework
The author's central argument is that technical breadth across mathematics, statistics, and software engineering drives new research ideas and helps researchers spot flawed ones early. While undergraduate classes impart baseline material and first-year PhD students spend months reading literature, the guide argues that deeper fluency across adjacent fields remains underrated. Possessing that breadth turns everyday implementation and modeling work into a source of original concepts.
The curriculum is explicitly non-exhaustive and reflects what proved useful during a single doctorate rather than a universal syllabus. Readers are advised to pair this core with specialized material from their own subfield. The author also makes the full Neural Differential Equations thesis available online for readers seeking a deeper scientific computing reference.
02Autodiff, neural architectures, and differential equations
In machine learning fundamentals, the guide prioritizes both forward-mode and reverse-mode automatic differentiation, pointing readers to Appendix A of the author's thesis and Wikipedia's entry on optimal Jacobian accumulation. Students are encouraged to write custom gradient operations in both PyTorch and JAX. Optional exercises include studying how JAX combines partial evaluation, forward-mode autodiff, and transposition, as well as learning Hutchinson's and Hutch++ trace estimators for efficient divergence computation.
For matrix and layer internals, the author recommends Strassen's algorithm, Winograd convolutions, and practical matrix multiplication before implementing convolutional layers and multihead attention. Theoretical foundations center on the universal approximation theorem, citing Leshno et al. 1993 and Pinkus 1999 over weaker results from Cybenko or Hornik. Readers are also directed to build toy Transformers and U-Nets while learning how graph neural networks generalize CNNs and suffer from oversmoothing.
The guide connects standard deep learning components directly to continuous mathematics by framing residual networks, Gated Recurrent Units, and stochastic gradient descent as discretised differential equations. Even the stochastic component of SGD is described as a Monte-Carlo discretisation of an expectation, forming gradient flows. Students are also expected to understand the manifold hypothesis alongside reinforcement learning basics, including implementing Proximal Policy Optimization via Spinning Up to solve cart-pole.
03Generative models, distributed training, and optimisers
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
Probabilistic and generative modeling topics begin with divergence and distance metrics, specifically KL divergence, Wasserstein distance, and Maximum Mean Discrepancy distance. From there, the guide recommends learning normalising flows, variational autoencoders, and Wasserstein GANs. Readers are advised to implement a basic score-based diffusion model from scratch to cement how those concepts work in practice.
Scaling and tuning workflows start with multi-GPU and multi-machine distributed training using jax.pmap. For hyperparameter optimisation, the author favors Bayesian optimisation through the Ax library, with an optional distributed setup using the Ax Service API to dispatch jobs across machines. Optimiser study covers the formulae and innovations behind Adadelta and Adam, newer variants such as Adabelief, RAdam, and NAdamW, and why first-order methods beat Gauss–Newton, Newton–Raphson, and Levenberg–Marquardt in deep learning.
04Linear decompositions, solvers, and floating-point arithmetic
The scientific computing section turns Gauss–Newton, Newton–Raphson, and Levenberg–Marquardt into required study alongside matrix decompositions. Students should learn QR, LU, SVD, and Cholesky decompositions to solve linear systems rather than inverting matrices. The guide ranks their cost and stability trade-offs from SVD to Cholesky, QR, and LU, while covering the Moore–Penrose pseudoinverse and how normal equations square the condition number.
Differential equation solvers start with Euler's and Heun's methods, plus optional explicit Runge–Kutta and implicit Euler methods. For implicit Euler, students learn the contraction mapping theorem and condition hL < 1, where h is step size and L is the vector field's Lipschitz constant. Other topics include Monte-Carlo and Quasi Monte-Carlo convergence rates, quadrature, Chebyshev polynomials, optional wavelets, and sparse CSC or COO formats with Krylov solvers and linear preconditioners.
The guide places heavy emphasis on floating-point arithmetic quirks that silently break numerical code. Students must understand non-associativity, catastrophic cancellation, unrepresentable integers, and why floating-point values should never be compared for exact equality. These numerical stability constraints explain why standalone functions such as expm1 and logsumexp exist in scientific libraries.
05Academic code hygiene and Python engineering
The software section critiques academic codebases as poorly maintained kludges of leaky abstractions, bad formatting, and masking bugs. Because applied machine learning researchers spend most of their time in front of code, the author argues most would not pass as junior developers. Researchers are urged never to accept kludges and to fix broken Git repositories with commands rather than re-cloning.
For Python projects, the guide recommends adopting PEP8, pre-commit, Black, flake8, and isort, or switching to ruff, while offering the author's own repository configs as templates. When Python becomes a performance bottleneck, researchers should drop down to C++, Rust, or Triton. Clean architecture relies on orthogonal abstractions and regular refactoring to avoid both spaghetti code and ravioli code.
Advanced Python fluency covers descriptors, weak references, metaclasses, closures, and publishing packages to PyPI. Researchers should know PyTorch and JAX and read their source code when documentation is inadequate. An optional exercise is reimplementing JAX core transforms, though PAC-Bayes bound theorists can skip this section unless seeking an industry job.
Frequently asked questions
Who is the kidger.site machine learning PhD guide written for?
It is written for pre-PhD and early-stage PhD students starting out in machine learning. Late-stage researchers who already know these fundamentals are expected to add domain-specific knowledge on top.
What did the author accomplish during their Oxford Mathematics PhD?
In just over two years, the author wrote 12 papers, authored a textbook on Neural Differential Equations that served as their thesis, earned 4,139 GitHub stars, gained 3,271 Twitter followers, and received a big-tech job offer.
Which Python tools and languages does the guide recommend for research code?
For Python formatting and linting, it recommends PEP8, pre-commit, Black, flake8, isort, or ruff, alongside PyTorch, JAX, and PyPI packaging. When Python code is too slow, it advises using C++, Rust, or Triton.
Why does the guide warn against solving linear least squares with normal equations?
Reducing linear least squares to linear solves via the normal equations squares the condition number. Instead, the guide recommends using QR, LU, SVD, or Cholesky decompositions to solve linear systems rather than inverting matrices.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement