@TimothyDuignan
Tim Duignan
10 months
This is a beautiful clear explanation of diffusion models. The cool thing is they are actually really easy to understand if you know molecular simulation. There is a direct analog for almost every concept. 1/n
@sedielem
Sander Dieleman
10 months
New blog post about the geometry of diffusion guidance: This complements my previous blog post on the topic of guidance, but it has a lot of diagrams which I was too lazy to draw back then! Guest-starring Bundle, the cutest bunny in ML 🐇
9
77
355
1
5
38

Replies

@TimothyDuignan
Tim Duignan
10 months
The “score” Is just the forcefield, the log of the probability is just a free energy. The “sampling” is just running the dynamics where the different algorithms correspond to different thermostats and different choices for the equations of motion. 2/n
Tweet media one
1
0
2
@TimothyDuignan
Tim Duignan
10 months
The amount of noise you add during the sampling corresponds to the temperature of the simulation. If you turn the noise down as you sample ie annealing you will eventually end up at points of maximum probability: de blurred images or minimum energy structures in a simulation. 3/n
1
0
0
@TimothyDuignan
Tim Duignan
10 months
Assuming Gaussian noise just corresponds to assuming a harmonic potential about all of your initial samples, as a harmonic potential gives you a Gaussian distribution when you use it in the Boltzmann factor. 4/n
1
0
0
@TimothyDuignan
Tim Duignan
10 months
“Guidance” just corresponds to adding an external potential to bias your simulation towards certain regions of phase space. Something we do all the time in molecular simulation. 5/n
1
0
0
@TimothyDuignan
Tim Duignan
10 months
The only difference is that in traditional molecular simulation we use an analytic function to approximate the real force field. In diffusion models we use a neural network to estimate the forces of a fictional smooth potential energy landscape. 6/n
1
0
1
@TimothyDuignan
Tim Duignan
10 months
This has significant implications, one is that diffusion models should be very useful for predicting new stable molecules, but of course we already know that from the fantastic work on protein design. 7/n
@HelenEisenach
Helen Eisenach
1 year
Aaaaand we're live! Excited that our paper "De novo design of protein structure and function with RFdiffusion" is available online @Nature Check out the accompanying news article for how it's being used already, and for a few hints at where this story might be going next 😉
2
51
303
1
0
1
@TimothyDuignan
Tim Duignan
10 months
The other implication though is that molecular simulators have developed a whole bag of tricks over the decades which should be useful for diffusion models as well. 8/n
1
0
1
@TimothyDuignan
Tim Duignan
10 months
A nice example of this is metadynamics where you add Gaussian hills to your potential energy surface to bias your simulation away from well sampled regions of phase space that you may not be interested in. 9/n
1
0
1
@TimothyDuignan
Tim Duignan
10 months
A really nice paper just came out that does exactly this in the context of drug design from @j0hnparkhill : 10/n
@j0hnparkhill
johnparkhill
10 months
Do you want to map: molecule vector available drug-like molecule? Do you want to do calculus on molecules to optimize them? Are you wracked by doubts about how expressive your molecular embedding is?  Want to make your own drug generator? Some open science for you🧵 (1/n)
1
2
52
0
1
3