Anthropic Closes in on Generative Protein Synthesis: Biology is A Brave New World
In this series, we review NeurIPS, ICLR, AAAI, ICML, and CVPR papers in an approachable way. Our main tool is NotebookLM, which is hacking into our human desire for narratives. To supplement, I provide commentary drawn from my experience as a Senior Research Scientist at Nvidia.
Today’s paper:
ICLR 2024 Outstanding Paper Award and founders recently acquired by Anthropic:
Commentary
This paper was selected based on Anthropic’s recent acquihire of Nathan Frey and Samuel Stoughton, who received the ICLR 2024 Outstanding Paper Award for their work on protein synthesis. So, as the podcast points out introducing the problem, they are working on ab initio synthesis, meaning generating a new protein from a sequence.
The podcast does a good job of introducing the problem of needle in a haystack with, in this case, very little tolerance on sequence errors in generating the protein. What I found interesting in this work and was related to my work on quantum computing is the idea of superimposing physical constraints on the machine learning process, which they did through this DCS score, which has essentially correlates to physical phenomenon that occur together and give this sort of physical intuition to help guide the machine learning process.
I love further their optimization method, which is MCMC type algorithm with a snapback function to actually produce feasible targets. And finally, this is the last part that really puts this paper a cut above, which is the wet lab verification.
So, the nice thing about these scientific inquiries are that you can verify them with hardware. In this case, since they worked Genentech, they were able to synthesize. They already had the hardware to synthesize these proteins, so they went ahead and did this. This is, again, inspiring for my work, at least there may be a simplified quantum circuit that I can run in the cloud that will have physical verification of my analysis.
I love the conclusion of the podcast, which points towards new periodic elements that can be synthesized in this, again, two-part walk-jump machine learning process. Although in typical unreliable AI fashion, it also suggests something that is completely nonsensical, which is trying to find computer programs that are different by a few lines of code but are somehow much more efficient. I think it maybe is probably talking more about byte code, which would be much more sensical. This entire study gives us an insight into why Anthropic has acquihired this company for the total equity sum of $400M.
NotebookLM podcast and transcript (Google AI transcription)
Read full AI transcript
“Imagine uh imagine for a second that you’re trying to write a bestselling novel, but there’s a catch. A terrifying, incredibly frustrating catch.
Okay, I’m listening.
So, if you get a single letter wrong in the entire manuscript.
Yeah.
I mean, just one typo on page 300, the book doesn’t just get a bad review, it literally physically combusts in your hands.
Oh, wow. So, it just becomes completely useless. Like just smoke and ash.
Exactly. And not only that, but out of all the possible combinations of letters you could possibly type. Like 99.9% of them will result in that exact same pile of ash,
right?
There are almost no, you know, good books in this universe. Only these really rare hidden masterpieces that are just surrounded by an infinite ocean of absolute garbage,
which is um a pretty stressful way to write a book, but it is actually an incredibly accurate way to describe the harsh reality of biological design.
It really is. And finding those rare functioning masterpieces from scratch is the exact bottleneck in AI drug discovery that we are looking at today. Okay, let’s unpack this. Welcome to the deep dive.
Thanks for having me. It’s a fascinating topic
because you constantly hear about generative AI writing essays or spinning up digital art, right? But when it comes to reliably designing brand new medicines, which when you get down to it are fundamentally just massive complex sequences of biological letters, the underlying math has really struggled to catch up to the biology.
It has, but Um we’re looking at how a team of researchers has essentially solved this using a completely new mathematical framework.
Yeah, this is detailed in a groundbreaking paper from Preciant Design, which is the AI research arm of Genentech in New York University. The paper is titled protein discovery with discrete walk jump sampling.
It’s a huge step forward.
But wait, isn’t AI already dominating biology? I feel like I’ve seen the headlines for the last few years claiming AI solved protein folding.
Yeah.
Why is generating a new antibbody so much harder than what’s already out there.
That is the crucial distinction to make and honestly it’s a trap a lot of people fall into when they read those headlines
because it sounds like the same thing,
right? It does. But there is a vital difference between structure prediction and what this paper focuses on, which is abinio discovery.
Okay, break that down for us.
So, what you’ve seen in the news mostly falls under structure prediction. That is where you take an existing protein sequence, something that nature has already spent, you know, millions of years perfecting, and they AI just guesses the 3D shape it will fold into.
Got it?
And don’t get me wrong, that is a massive achievement. But abonio discovery means inventing a totally novel functional protein that has literally never existed in nature before.
So you aren’t just taking an object and guessing its shape in the dark. You are literally inventing the object itself from nothing.
Exactly. And to understand why that is so wildly difficult, we have to look at the raw materials. Proteins like the therapeutic antibodies we use to fight diseases like cancer are made of discrete sequences of amino acids,
right?
And nature builds these using a specific 20 character alphabet.
So if you have a protein with a length of L, the space of all possible proteins is 20 to the power of L, which is I mean that is a dimension so incomprehensibly massive.
Yeah.
It makes the number of atoms in the observable universe look like pocket change.
It’s practically infinite. And that massive space is what biologists call sparsely functional.
Meaning most of it is just empty.
Yeah. Sparsely functional means If you just randomly string together 20 amino acids, or even if you take a working protein and just randomly mutate one tiny piece of it, you almost always get biological garbage.
The combusting book,
right? The molecule won’t fold. It will collapse. It won’t bind to anything in a lab, and it just totally fails.
This has to be a total nightmare for mathematical models to navigate. I look at traditional training in this space like um like trying to map a treacherous, jagged mountain range in pitch black, darkness. That’s a really good way to visualize it.
You’re blindly feeling around trying to find a safe path. But because the terrain is discreet, meaning there is no smooth slope, you are either on a functional peak or falling off a sheer cliff one wrong step and the whole mathematical model basically collapses on you.
And existing models buckle under that exact pressure. Energy based models or EBMS have historically been the go-to for this, but they are notoriously brittle in discrete spaces.
Yeah, they suffer from massive training instabilities. To get an EBM to vaguely function, researchers have had to rely on a total grab bag of messy, inefficient tricks.
The paper mentioned things like replay buffers and rejection sampling. And I read that and immediately thought of a mechanic just hitting a broken engine with a wrench, hoping it starts
pretty much
because like rejection sampling basically means the AI generates a bunch of sequences and you just throw the vast majority of them in the trash because the math broke.
Yeah, it’s an incredibly unstable way to work and even the newer approaches have major flaws
like what?
Well, auto reggressive models which guess the sequence one amino acid at a time and standard diffusion models are highly inefficient. They are slow and poorly optimized for true abnio discovery.
And what about the big general models?
Even those powerful general models fall completely flat. The researchers tested ESM2 which is a massive highly capable mask language model specifically built for proteins.
Oh wow.
Yeah. But when task with creating novel antibodies from scratch, it failed completely. It generated highly repetitive, unnatural sequences that just look nothing like real biology.
Okay, so the math collapses because the terrain is too jagged.
Yeah.
But the researchers at Genentech and NYU didn’t just accept the jagged terrain, right?
They actually figured out a way to alter the math of the terrain itself.
They introduced this new formalism called smooth discrete sampling or SDS.
And within that, this novel algorithm called discrete walk jump sampling.
The brilliance here is exactly how it handles that discrete nature of the data. They take these discrete one hot encoded protein sequences, meaning data that is strictly categorized into separate distinct bins like our 20 character alphabet,
right?
And they mathematically smooth them out by adding isotropic gossian noise.
Wait, wait. They literally inject noise into a strictly discrete biological sequence. How does blurring the data help you find a precise protein?
It sounds Counterintuitive, I know. Isotropic just means they apply this noise evenly in all directions of the mathematical space.
Oh,
it takes those sheer cliffs of that jagged mountain range you mentioned and it essentially fills in the gaps. It transforms the disconnected peaks into a smooth continuous landscape of probability.
So suddenly the math has a slope you can actually navigate.
Exactly. And navigating that smooth slope is the very first phase of the algorithm, the walk.
Okay. The walk.
They use an energybased model. to do what’s called a Lunge Markoff chain Monte Carlo walk or MCMC.
An MCMC walk. So that essentially acts like a mathematical compass needle, right?
Yes, precisely.
Because they’ve smoothed out the data with that isotropic noise, the MCMC compass can constantly adjust itself to point toward lower energy, more stable protein states,
right? It safely glides through this noisy probability landscape without collapsing. It’s just hunting for areas that have a high probability of being a valid antibbody. Here’s where it gets really interesting. I was trying to picture how to explain this and here’s the analogy I landed on. Tell me if this works.
Let’s hear it.
Imagine you are visiting a massive chaotic city you’ve never been to and you want to find an incredible restaurant. The standard way is just wandering the discrete streets. That’s the jagged mountain, right? You take a wrong turn, you get lost, you end up at a terrible fast food joint,
right? You’re just guessing.
But what walk Jump does is it puts a blurry filter over the entire city map. Suddenly, you can’t see the individual streets anymore, but you can clearly see the general glowing heat zones of where all the good restaurants are clustered.
I love that.
That is the walk. You smoothly glide over the map to the brightest heat zone.
Yes, the blur allows you to easily find the exact right neighborhood. But, and this is key, you can’t build a noisy, blurry protein in a lab,
right? Obviously,
you need a clean, exact, discreet sequence to actually manufacture a drug. You need the specific address of the restaurant. Which brings us to the jump. And here is the absolute genius decoupling the researchers achieve.
It really is elegant.
Instead of slowly, painfully reversing the noise step by step like standard diffusion models have to do, they use a completely separate uncoupled denoising neural network, specifically a biteet architecture.
Right?
This model allows them to literally jump directly from the noisy state back to a clean solid protein sequence in one single step.
And because you are instantly teleporting from that blurry heat zone directly to the exact coordinates of the restaurant, you don’t have to trace your exact steps backward through all that noise,
which saves a massive amount of time.
Standard diffusion models are painfully slow because they require a complex noise schedule. They have to track and meticulously reverse the noise across many different levels.
But this walk jump method requires only a single noise level. The paper found that an optimal noise level of sigma greater than or equal to.5 is Literally all it takes to make the jump.
Yes, the walk and the jump are completely decoupled. The MCMC compass finds the neighborhood and the biteet network teleports you right to the front door.
The elegance of decoupling these two actions is just it completely bypasses the brittleleness of all those previous models.
And because the jump is handled by a totally separate network, it naturally allows for variable length protein sequences,
which is huge for biology,
right? Because antibodies aren’t all the same length. They have varying chain lengths, especially in their highly variable regions that actually do the physical binding.
If a mathematical model requires fixed length inputs, which a lot of older models do, it is artificially limiting the biology.
Absolutely. Walkjump handles these variable lengths beautifully. It also enables what the researchers call fast mixing.
Oh yeah, I saw that in the paper. Fast mixing basically means the AI doesn’t get stuck in a rut. Right.
Basically, yeah.
In a single continuous chain of generation, it explores many diverse classes of proteins. It’s not just giving you a hundred boring identical variations of the exact same molecule. It’s actively exploring completely different structural families in one go,
which is exactly what you want when you’re looking for totally new drugs.
Okay, so now the AI is jumping out of the noise and generating these novel diverse sequences really efficiently. But this leads to a massive real world problem,
the grading problem.
Exactly. If I am a researcher staring at a computer screen and the AI confidently hands me a thousand brand new protein sequences. How do I know they aren’t just biological gibberish? A computer screen isn’t a human body. How do you grade the AI’s homework before you spend millions of dollars running tests in a wet lab?
It has historically been a huge blind spot in the field of AI biology.
Really?
Oh, yeah. If you look at other AI domains, they have standardized metrics to grade the output. If you are generating digital images, you use the FID score to measure how realistic the image is. If you are doing machine translation for text, you use the BLEU score. But protein generation completely lacked a simple, reliable, scalar metric to say whether a newly hallucinated sequence was actually physically viable.
So to solve this, the researchers didn’t just invent a new algorithm. They actually invented a brand new metric to grade it, the distributional conformity score or DCS.
The DCS evaluates the likelihood that a generated sequence conforms to a reference distribution of real biohysically valid proteins.
It essentially asks, “Does this sequence mathematically resemble the physics of actual life?”
Yes. And it also measures novelty using metrics like edit distance and internal diversity just to ensure the model isn’t secretly just copying and pasting from its training data.
Okay, I have to challenge this metric, though, because to me it sounds like an automated BS detector for AI generated biology.
That’s a fair way to put it.
But if we explicitly optimize our AI to score highly on this DCS test, aren’t we just incentivizing the AI to play it incredibly safe? Won’t the model just regurgitates slightly tweaked versions of existing proteins just to get a passing grade.
What’s fascinating here is that the researchers actually built the DCS to prevent that exact thing through something called joint density estimation.
Joint density estimation,
right? The DCS doesn’t just look at simple sequence matching like checking off a grocery list of valid amino acids. It mathematically combines multiple distinct physical properties to see how they relate to each other.
Ah, so it’s looking at the physics, not just the letters.
Exactly. It looks at the co-occurrence of physics. Think of it like predicting weather phenomena.
You can’t just predict rain without also predicting clouds. Right.
Right. The two have to exist together in a specific way.
Yes. The DCS looks at things like surface hydrophobicity patches around the minding regions and then measures them against the symmetry of structural charges.
Wow.
You literally cannot have a specific structural charge without the right surface hydrophobicity holding it together.
So because it measures joint distribution ution alignment across these complex biohysical realities. Improving the DCS score directly translates to a higher probability of the protein actually folding and surviving in a real test tube.
It forces the model to actually learn the underlying rules of physics rather than just memorizing old sequences.
And the paper proves this with a head-to-head test. Right.
Yeah.
They compared their walk jump model against a baseline model called EGLM, which is a transformer-based language model specifically designed for antibodies.
They did. And the results of the DCS test were incredibly revealing about how different models essentially think.
Yeah. The baseline EGLM actually achieved a slightly higher raw DCS. I think it scored a.533, which on paper sounds like a win.
It does sound like a win, but when you looked at its internal diversity score, it was terrible. It scored a 34.6.
Meaning what exactly?
What that tells us is that played it completely safe. It generated sequences that were extremely close to the reference set and all the samples were very similar to each other. It was basically the student safely copying from the textbook just to pass the exam.
Then you look at the score-based discrete walk jump model. It hit the absolute sweet spot.
Yeah,
it achieved a very strong DCS of49, meaning it was highly biologically valid, but it generated 100% unique samples with a massive internal diversity score of 65.1.
It was inventing entirely new valid physics that didn’t previously exist anywhere in the data set.
That combination has to be the holy grail for true drug discovery. You need the molecule to be novel so it can do something completely new and you need it to be physically possible so it doesn’t just fall apart.
It really is the holy grail.
Okay, so the AI gets an A+ on its digital homework. It scored a 49 DCS with massive diversity. But as we established earlier, a computer score isn’t a physical drug.
No, it’s not.
Did they actually take these perfect digital hallucinations and try to brew them in a physical petri dish?
They absolutely did the invitro validation, the actual wet lab testing is where this paper moves from just being interesting math to an absolute paradigm shift.
I can’t wait to hear this.
The published results are staggering. When they took the designs generated by the walk jump method and tried to physically synthesize them in the lab, between 97% and 100% of the samples were successfully expressed and purified,
meaning they actually formed real stable proteins.
Yes. And to give you some context on why that matters, an older energy base model baseline that they compared it to only achieved a 42% expression rate.
Wow. 42 versus 97,
right? And obviously if you just fed in random vocabulary tokens, the expression rate would literally be zero. So hitting 97 to 100% expression means the model’s fundamental grasp of how proteins fold and hold themselves together is near perfect.
But expression just means the protein exists without combusting. Right? Like the hourbook analogy, it doesn’t necessarily mean it actually does anything useful.
True.
So they gave it the ultimate functional test. They test the models with redesigning a specific part the CDRH3 loop of an existing therapeutic antibbody called Tresstuzum
which is a very real important drug.
Yeah. And the goal was to make it successfully bind to the HR2 antigen which is a highly targeted protein in breast cancer treatment.
This is the true test of functional design. The question is can the AI hallucinate a completely novel key that perfectly fits into a specific biological lock?
So what does this all mean? Like traditional drug discovery you usually involves screening literally millions of useless variants just to find one single key that works. It’s a massive physical lottery that takes years.
It takes forever.
But using this energy based walk jump method, 70% of the design successfully bound to the HR2 target on the very first laboratory attempt.
We really have to contextualize what a 70% success rate means at the scale.
Please do.
The physical search space for this specific mutation data set is 10 to the 13th power.
So 10 with 13 zeros.
Exactly. 10 to the 13th possibilities. Hitting a 70% functional binding rate in a space that fast on the very first try without any post hawk filtering or cherry-picking it is a profound validation of the entire walk jump framework.
The gap between this and the competition is just massive. The researchers tested competing state-of-the-art diffusion models on this exact same binding task. A model called Lambo 2 only managed a 25% binding rate. Another called AB diffuser hit 22%.
And the comparison to generalized text AI is honestly even more telling.
Oh, this was my absolute favorite part of the entire paper. The researchers took this exact same data set and just prompted GPT4 to design variants.
And what did it do?
GBT4 literally outputed disclaimer. It told them, quote, “As an AI language model, I can’t run simulations or generate sequences based on actual molecular interactions.” It just threw its hands up in a bit of defeat.
Which is so funny, but it highlights perfectly why generalized text models cannot just be shoehorned into discrete biological physics,
right? Human language is forgiving. Biology is not
exactly. You need purpose-built architecture. The discrete walk jump method provides lab researchers with a starting batch where seven out of 10 completely novel designs are already functional hits that fundamentally alters the economics, the timelines, and the overall success rates of bringing new medicines to the clinic.
It’s incredible. So to recap the journey for you today, we started by looking at the immense difficulty of navigating the 20 to the power of L-dimensional space of proteins. This jagged sparse mathematical landscape where one wrong amino acid turns your molecule to ash.
And then we explored how precient design solved this by introducing smooth discrete sampling. They took that discrete biological alphabet injected isotropic gossian noise to essentially fill in the sheer cliffs and created a smooth landscape where an MCMC compass could safely hunt for valid proteins.
Then came the decoupling using a totally separate denoising network to easily jump from the noisy probability space back to a clean highly functional protein sequence entirely bypassing the painfully slow noise schedules of standard diffusion.
We saw how they rigorously evaluated these novel proteins using the new distributional conformity score.
Right, the DCS.
By mapping the joint density of physical traits, they ensured the AI wasn’t just regurgitating old data, but was actually learning the physics of biohysical validity while maintaining high internal diversity.
All of which culminated in that stunning realworld wet lab validation.
97 to 100% expression rates and a 70% target binding success rate on the very first try.
The underlying math has officially caught up to the complexity of the biology.
It proves that smoothing out discrete systems with noise and then jumping directly out of that noise is an incredibly viable way to design highly complex structures that actually function in the real world.
Which leaves me with a final thought for you to mle over. The researchers prove that this noise and jump framework works miraculously well for the discrete language of amino acids.
It does.
But biology isn’t the only discrete system that matters. If blurring the map to find the heat zones and instantly teleporting to the coordinates is this powerful, what other discrete, brittle systems could we optimize this way?
That’s a great question.
Could we apply this exact same walk jump architecture to the periodic table to discover hyperefficient, completely novel physical materials? Or perhaps could we use it to have AI generate flawlessly optimized, completely novel computer code from scratch where one wrong character no longer breaks the entire program.
The possibilities are endless.
The potential here extends far beyond biology. Thank you for joining us on this deep dive and we’ll catch you next time.”