AlphaFold 2 is DeepMind's neural network that predicts the three-dimensional shape of a protein from its amino-acid sequence and an alignment with related sequences. It was presented in 2020 at the CASP14 competition and published in Nature in 2021 (Jumper et al., 2021).
The problem
A protein is a chain of amino acids (there are 20 kinds) that folds into a three-dimensional structure, and that shape determines what it does (The Royal Swedish Academy of Sciences, 2024a). Determining it experimentally takes months or years: in 2021 the structures of about 100,000 distinct proteins were known, against billions of sequences (Jumper et al., 2021, p. 583). Predicting structure from sequence had been open for more than fifty years, and the biennial CASP competition assesses it blind, with structures that have just been solved but not yet released (2021, p. 583).
How it works
The input is not just the sequence: the system searches genetic databases for related proteins and builds a multiple sequence alignment (MSA); it can also use similar structures already solved as templates (Jumper et al., 2021, p. 585). The alignment matters because it stores evolutionary history: correlations between positions that mutate together betray residues that touch (2021, p. 583).
The trunk is made of 48 blocks called Evoformer, which jointly update two representations: one of the alignment (sequences × residues) and one of pairs (residues × residues). The authors frame this as inference over a graph whose edges are pairs of nearby residues (2021, p. 585). There is row-wise and column-wise self-attention over the alignment, an outer product that passes information from the alignment to the pairs, and "triangle" updates: for a table of distances to be a real structure it must respect, among other things, the triangle inequality (2021, p. 586).
The structure module, eight blocks that share weights, treats each residue as a rigid body (a rotation and a translation) that starts at the origin and gradually settles. Its key piece is invariant point attention: it adds to the usual queries, keys and values of attention 3D points expressed in each residue's local frame, so that the result does not change if the whole protein is rotated or moved (2021, pp. 585, 587). The output is the coordinates of all heavy atoms plus a per-residue confidence (pLDDT), and the whole result is fed back through the network three times to be refined: "recycling" (2021, p. 585).
It was trained on Protein Data Bank (PDB) structures released up to 30 April 2018 (Jumper et al., 2021) and then, through self-distillation, on some 350,000 structures that the network itself had predicted with high confidence (2021, p. 587).
What changed
Compared with the original Transformer, the "tokens" are residues and what matters most is the relation between pairs; geometry comes in as an inductive bias. The first version of AlphaFold (CASP13, 2018), which Buckner (2024) counts among the successes of deep convolutional networks (2024, p. 119), was, according to its authors, "a completely different model" (Jumper et al., 2021, p. 584). At CASP14, AlphaFold 2's median backbone error was 0.96 Å, against 2.8 Å for the next best method; a carbon atom is about 1.4 Å wide (2021, p. 584).
In 2024 Hassabis and Jumper received half of the Nobel Prize in Chemistry "for protein structure prediction"; the other half went to David Baker, for computational protein design (The Royal Swedish Academy of Sciences, 2024a).
Forms
AlphaFold 3 (2024) replaces the Evoformer with a "Pairformer" that does much less with the alignment, and the structure module with a diffusion module, a relative of image generators. This lets it predict complexes of proteins with DNA, RNA, small molecules and ions (Abramson et al., 2024, pp. 493–494). Becoming generative brought a vice: it can invent plausible-looking structure in regions that have none (2024, p. 496). When published, it could only be used through a non-commercial web server (2024).
Limits
Accuracy drops sharply when the alignment has fewer than about 30 sequences, and the model does worse on chains whose shape depends on their partners in a complex (Jumper et al., 2021, p. 588). Like other predictors of its kind, it returns static structures like those in the PDB, not the dynamic behavior of molecules in solution (Abramson et al., 2024, p. 498). It predicts where the chain ends up, not how it gets there.