Sam Duffield

Sam Duffield

@samduffield.com

Stats, ML and open-source

1K followers391 following63 posts

Sam Duffield reposted

I think this didn't get nearly enough traction. Sam did some fantastic work here leveraging the library we've been developing to make predictions for football. This was ported to a UI by Ryan Chan (Warwick MSc student) who's doing his thesis with me (on the methods behind the prediction).

Sam Duffield@samduffield.com

The World Cup is about to start, I wrote a model using cuthbert to predict the games, check out cuthberto-carlos 🐛⚽ ryantjx.github.io/cuthberto-ca...

I'll be at ICLR this week 🇧🇷 presenting my complete SDE decomposition at the DeLTA workshop on Monday. Reach out if you want to meet!

New preprint! A Complete Decomposition of Stochastic Differential Equations I characterise *all possible SDEs* that satisfy given time-dependent marginals p(x,t)

View full thread

Here is the decomposition: I show that the scalar ϕ is unique(!) but you can choose and Q or D. In diffusion the ϕ terms represent the "probability flow ODE" but there are actually many ODEs which satisfy p(x,t) depending on your choice of Q

New preprint! A Complete Decomposition of Stochastic Differential Equations I characterise *all possible SDEs* that satisfy given time-dependent marginals p(x,t)

Sam Duffield reposted

Usual MCMC algorithms are typically guaranteed to work well when used to sample from target distributions for which i) mass is reasonably well-concentrated in the centre of the state space, and ii) the log-density is smooth and of moderate growth. Outside of this setting, things can go poorly.

New paper on arXiv! And I think it's a good'un 😄 Meet the new Lattice Random Walk (LRW) discretisation for SDEs. It’s radically different from traditional methods like Euler-Maruyama (EM) in that each iteration can only move in discrete steps {-δₓ, 0, δₓ}.

So simple! Normally we order our minibatches like a, b, c, ...., [shuffle], new_a, new_b, new_c, .... but instead, if we do a, b, c, ...., [reverse], ...., c, b, a, [shuffle], new_a, new_b, .... The RMSE of stochastic gradient descent reduces from O(h) to O(h²) arxiv.org/abs/2504.04274

Sam Duffield reposted

Sequential Monte Carlo (aka. Particle Socialism?): "why send one explorer when you can send a whole army of clueless one"

Alex Thiery@alexxthiery.bsky.social

Next week is the MCMC chapter of my simulation course. Asked chatgpt to come up with a funny drawing:

Sam Duffield reposted

Thrillingly (/s), I have today (lightly) updated my website (sites.google.com/view/sp-mont...). I highlight that I've added i) links to several slide decks for talks about my research, and ii) materials related to the (few) short courses which I've given in the past couple of years. Enjoy!

sites.google.comSam Power's siteHello! My name is Sam, and I am a researcher in Statistics. I am currently Lecturer in Statistical Science at the University of Bristol. Prior to this role, I was a Senior Research Associate (also at...

Sam Duffield reposted

Hi there! This account will post about the AlgoPerf benchmark and leaderboard updates for faster neural network training via better training algorithms. But let's start with what AlgoPerf is, what we have done so far, and how you can train neural nets ~30% faster.

I've been using Cursor and enjoying it but I'm not sure I'm bullish on it for the long run. One of the best parts about VSCode is the ecosystem of extensions (and that it is open source). Cursor is already out of sync and having issues with extension compatibility

forum.cursor.comUnexpected indent when using "Run selection in terminal"It seems this issue can be resolved by using the latest version of Python extensions when using Python 3.13. Currently in Cursor, we can only use outdated versions (at least 6 months old) of Python, P...

Thermo Matrix Exponentials has been published in Physical Review Research 🔥 On a thermodynamic computer, the matrix exponential occurs very naturally through the temporal covariance driven by the noise - a polynomial speedup over digital computers!

journals.aps.orgThermodynamic matrix exponentials and thermodynamic parallelismThermodynamic computing exploits fluctuations and dissipation in physical systems to efficiently solve various mathematical problems. It was recently shown that certain linear algebra problems can be ...

This is a lovely read

ruiqigao.bsky.social@ruiqigao.bsky.social

A common question nowadays: Which is better, diffusion or flow matching? 🤔 Our answer: They’re two sides of the same coin. We wrote a blog post to show how diffusion models and Gaussian flow matching are equivalent. That’s great: It means you can use them interchangeably.

Sam Duffield reposted

Parallel scans accumulate sequences on GPUs (or other parallel hardware) at logarithmic cost in the size of the input. The canonical example is cumulative sums (a, a+b, a+b+c, ...) from an input (a, b, c, ...), but this is hardly the only use, and, e.g., Kalman filtering can be handled in parallel.

You are up to date.