Category Archives: Blog

Your blog category

Machine Learning Interatomic Potentials

Problem: Explain what an MLIP is. Solution: A better name might have been MLPES (machine-learned potential energy surface), but MLIP (machine-learned interatomic potential) is the standard term (it should not be confused with e.g. a pairwise interaction potential like the … Continue reading

Posted in Blog | Leave a comment

Reinforcement Learning (Part \(2\))

Problem: Let \(p(r_{t+1},s_{t+1}|s_t)\) be a Markov reward process. Compare constant-\(\alpha\) Monte Carlo (MC) evaluation and \(n\)-step constant-\(\alpha\) temporal difference (TD) evaluation. Solution: Essentially, TD is a bootstrapped version of MC, and indeed it turns out \(\lim_{n\to\infty}\text{TD}_{(n,\alpha)}=\text{MC}_{\alpha}\). That is, both TD … Continue reading

Posted in Blog | Leave a comment

Graphics Processing Units (GPUs)

Problem: Define the arithmetic intensity \(I\) of an algorithm/computation. Solution: It is basically what it sounds like: the more “intense” an algorithm’s computations (“arithmetic”) are, the greater its arithmetic intensity \(I\): \[I:=\frac{W}{Q}\] where \(W\) is the algorithm’s compute/work (measured in … Continue reading

Posted in Blog | Leave a comment

Screening

Problem: State the Poisson-Boltzmann mean-field equation for the electrostatic potential \(\phi(\mathbf x)\) at temperature \(T\) in a dielectric of isotropic permittivity \(\varepsilon\) containing mobile and immobile charge carriers. Explain what it means to apply Debye-Huckel linearization to the Poisson-Boltzmann mean-field … Continue reading

Posted in Blog | Leave a comment

Schwarzschild Metric, Orbits & Black Holes

Problem: State the Schwarzschild metric solution to the Einstein field equations and the assumptions underlying it. Solution: The Schwarzschild metric is given by: \[ds^2=\left(1-\frac{r_s}{r}\right)d(ct)^2-\frac{dr^2}{1-\frac{r_s}{r}}-r^2d\Omega^2\] (where \(r_s:=2GM/c^2\) is the Schwarzschild radius) and is (by Birkhoff’s theorem) the unique isotropic solution of … Continue reading

Posted in Blog | Leave a comment

Polymers

Problem: Explain why for a random walk in \(\mathbf R^d\), the probability distribution of the random vector sum \(\mathbf x:=\mathbf x_1+…+\mathbf x_N\) of \(N\) i.i.d. random vectors \(\mathbf x_i\) each with identical mean \(\boldsymbol{\mu}:=\langle\mathbf x_i\rangle\) and identical covariance matrix \(\sigma^2:=\langle\mathbf … Continue reading

Posted in Blog | Leave a comment

Magnetism

Problem: Define the \(2\) words in the phrase “ideal paramagnet“. Show that a classical ideal paramagnet of \(N\) spins each with the same fixed magnetic dipole moment \(\mu:=|\boldsymbol{\mu}|\) placed in a uniform external magnetic field \(B:=|\mathbf B|\) will develop a … Continue reading

Posted in Blog | Leave a comment

Physics-Informed Neural Networks

Problem: Train a physics-informed neural network (PINN) on both the van der Pol oscillator and the drift-free Fokker-Planck diffusion equation. Solution: report Spectral Bias of Physics-Informed Neural Networks¶ 1. Introduction and Background¶ The physics-informed neural network (PINN) paradigm is a … Continue reading

Posted in Blog | Leave a comment

Diffusion & Flow-Matching Models

Problem: State and prove Tweedie’s formula. Solution: Tweedie’s formula asserts that if \(p(\mathbf x|\boldsymbol{\mu},\sigma)=\frac{1}{\det(\sqrt{2\pi}\sigma)}e^{-(\mathbf x-\boldsymbol{\mu})^T\sigma^{-2}(\mathbf x-\boldsymbol{\mu})/2}\) is normally distributed, then without needing to know anything about the prior \(p(\boldsymbol{\mu}|\sigma)\) on the mean random vector \(\boldsymbol{\mu}\), one has the following Bayesian … Continue reading

Posted in Blog | Leave a comment

Information Geometry

Problem: Let \(\boldsymbol{\Theta}\) be a smooth statistical manifold, and let \(D:\boldsymbol{\Theta}^2\to [0,\infty)\) be a smooth function. What does it mean for \((\boldsymbol{\Theta},D)\) to be a “divergence manifold“? Solution: The notion of a divergence manifold relaxes the axioms of a metric … Continue reading

Posted in Blog | Leave a comment