alphafold
**AlphaFold** is the **deep learning system developed by DeepMind that predicts the three-dimensional structure of proteins from their amino acid sequence** — solving a 50-year-old grand challenge in structural biology by achieving accuracy comparable to experimental X-ray crystallography at a fraction of the time and cost, enabling drug discovery, enzyme engineering, and fundamental biological understanding by predicting structures for virtually all 200+ million known proteins.
**The Protein Folding Problem**
- Proteins are linear chains of 20 amino acid types (sequence = primary structure).
- They fold into unique 3D shapes (tertiary structure) that determine function.
- Levinthal paradox: A protein with 100 residues has 10^47 possible conformations → cannot find correct fold by random search.
- Experimental methods (X-ray crystallography, cryo-EM) are slow and expensive → only ~200K structures known before AlphaFold.
**AlphaFold2 Architecture (2021)**
- **Input**: Amino acid sequence + multiple sequence alignment (MSA) of evolutionary relatives.
- **Evoformer**: 48-layer transformer that jointly processes MSA (sequence alignment) and pairwise residue distance matrix.
- MSA representation: (N_seq × L × c_m) tensor capturing co-evolutionary signals.
- Pair representation: (L × L × c_z) tensor capturing distance/angle relations.
- Row/column attention: Attends across sequences AND across positions simultaneously.
- **Structure module**: Converts pair representation → 3D backbone frames (rotation + translation per residue) using equivariant point attention.
- **Output**: All-atom 3D coordinates + per-residue confidence score (pLDDT: predicted local distance difference test, 0–100).
**Key Innovations**
- **Triangular attention**: Pair (i,j) updated by attending to all (i,k)+(k,j) pairs → exploits triangle inequality in distances.
- **Frame Aligned Point Error (FAPE)**: Loss function invariant to global rotation/translation → measures local structural quality.
- **Iterative recycling**: Runs 3 times through Evoformer + structure module → refines prediction.
- **pLDDT confidence**: Well-calibrated per-residue confidence → regions > 90 are experimentally comparable.
**Performance and Impact**
| Metric | AlphaFold1 (2018) | AlphaFold2 (2021) | Experimental |
|--------|------------------|------------------|---------------|
| CASP median GDT | ~45 | ~92 | 95+ |
| Time per protein | Hours | Minutes | Months |
| Cost | High GPU cluster | $0 (free API) | $10K–$100K |
- AlphaFold DB: 200+ million predicted structures (essentially all UniProt) released free.
- Nobel Prize in Chemistry 2024 awarded to David Baker and John Jumper (AlphaFold).
**ESMFold (Meta AI, 2022)**
- Uses protein language model (ESM-2, 650M–15B parameters) pretrained on 250M protein sequences.
- Single sequence input (no MSA required) → 60× faster than AlphaFold2.
- Accuracy slightly lower but practical for rapid screening of millions of sequences.
- Key: Language model embeddings capture evolutionary information that MSAs provide explicitly.
**AlphaFold3 (2024)**
- Extends to full biomolecular complexes: proteins + DNA + RNA + small molecules + ions.
- Uses diffusion model for structure generation (replaces structure module).
- Achieves state-of-the-art for protein-ligand docking and protein-nucleic acid complexes.
**Applications in Drug Discovery**
- Structure-based drug design: Predicted binding pocket → virtual screening → lead compounds.
- Protein engineering: Mutant screening without wet-lab experiments → enzyme design.
- Antibody design: VHH nanobody structures predicted → faster therapeutic development.
- Disease mechanisms: Structures of disease proteins (e.g., tau aggregation in Alzheimer's).
AlphaFold is **one of the most transformative applications of deep learning in science** — by predicting protein structures with experimental accuracy in minutes rather than months, it has effectively given the world a reference structural database for all life on Earth, accelerating drug discovery pipelines that previously bottlenecked on structural determination and establishing that sufficiently trained neural networks can solve physical prediction problems once thought to require explicit physics simulation.