Inferensys

Glossary

AlphaFold2

A deep learning model developed by DeepMind that predicts protein 3D structure from amino acid sequence with atomic accuracy using a novel neural network architecture and evolutionary information.
ML engineer managing model training cluster on laptop, GPU utilization visible, technical deep learning setup.
PROTEIN STRUCTURE PREDICTION

What is AlphaFold2?

AlphaFold2 is a deep learning system developed by DeepMind that predicts the three-dimensional structure of a protein directly from its amino acid sequence with atomic accuracy.

AlphaFold2 is a novel neural network architecture that predicts protein 3D structure from an amino acid sequence. It integrates evolutionary information from Multiple Sequence Alignments (MSAs) with a specialized attention mechanism called the Evoformer to model residue interactions. The system outputs atomic coordinates and per-residue confidence scores, achieving accuracy competitive with experimental methods like X-ray crystallography.

The architecture's core innovation is the Invariant Point Attention (IPA) module, which reasons about 3D spatial relationships without overfitting to specific coordinate frames. A recycling mechanism iteratively refines predictions by feeding outputs back as inputs. The model provides two critical confidence metrics: pLDDT for per-residue accuracy and PAE for pairwise domain orientation, enabling researchers to assess prediction reliability without experimental validation.

AlphaFold2

Key Architectural Features

The novel neural network architecture that achieved atomic-accuracy protein structure prediction by integrating evolutionary information, spatial reasoning, and iterative refinement.

01

Evoformer: The Information Engine

A novel transformer-based module that processes Multiple Sequence Alignments (MSAs) and pairwise residue representations simultaneously. Unlike standard transformers, the Evoformer uses axial attention to handle the high-dimensional MSA tensor efficiently. It infers co-evolutionary couplings and spatial proximity constraints directly from sequence data, producing a refined residue pair representation that encodes the predicted distance and orientation between every pair of amino acids. This representation serves as the geometric blueprint for the subsequent structure module.

02

Structure Module: 3D Geometry Reasoning

The final stage of the network that translates the abstract pair representation into explicit 3D atomic coordinates. Its core innovation is the Invariant Point Attention (IPA) mechanism, which performs attention over the 3D spatial relationships between residues. IPA guarantees that the model's predictions are invariant to global rotation and translation of the entire protein, a critical physical constraint. The module iteratively updates a local coordinate frame for each residue, predicting backbone torsion angles and side-chain positions to construct the final all-atom structure.

03

Recycling: Iterative Self-Refinement

A mechanism where the model's initial predicted structure and refined representations are fed back as input for multiple passes, typically three. Each recycling iteration allows the network to resolve internal inconsistencies and progressively improve accuracy. The predicted 3D coordinates from one pass inform the attention mechanisms in the next, creating a feedback loop that mimics an energy minimization process. This iterative refinement is crucial for achieving sub-angstrom accuracy on challenging targets and for correctly packing complex domain architectures.

04

End-to-End Differentiable Pipeline

The entire AlphaFold2 system is trained as a single, end-to-end differentiable model. The loss function directly compares the predicted 3D coordinates to the experimental ground truth using the Frame Aligned Point Error (FAPE) loss. FAPE measures coordinate error after optimal alignment, providing a more robust training signal than traditional RMSD. This holistic training allows gradients to flow from the final 3D structure back through the Structure Module and into the Evoformer, jointly optimizing all parameters for the ultimate goal of atomic-accuracy prediction.

05

Confidence Metrics: pLDDT and PAE

AlphaFold2 outputs two essential per-residue and pairwise confidence metrics that are integral to its architecture, not post-hoc calculations. The predicted Local Distance Difference Test (pLDDT) scores each residue from 0-100, indicating local backbone reliability. The Predicted Aligned Error (PAE) matrix estimates the expected positional error between any two residues, revealing domain packing accuracy. These self-assessment tools allow researchers to identify well-predicted structured domains and distinguish them from flexible, low-confidence intrinsically disordered regions.

06

Template-Based Feature Augmentation

In addition to MSAs, the architecture optionally ingests structural templates from the Protein Data Bank (PDB) identified through sequence homology. These templates are processed by a dedicated embedding network that extracts pairwise distance and orientation features from the experimental structures. This information is integrated into the Evoformer's pair representation, providing a direct geometric prior that is particularly valuable for modeling proteins with known structural homologs, improving accuracy on conserved folds.

ALPHAFOLD2 CLARIFIED

Frequently Asked Questions

Direct answers to the most common technical questions about DeepMind's breakthrough protein structure prediction system, its architecture, and its practical applications.

AlphaFold2 is a deep learning model developed by DeepMind that predicts the three-dimensional structure of a protein directly from its amino acid sequence with atomic accuracy. It works by integrating a novel neural network architecture called the Evoformer with a structure module that operates directly on 3D coordinates. The Evoformer processes a Multiple Sequence Alignment (MSA) and a pairwise representation of residues, reasoning about evolutionary, spatial, and physical constraints simultaneously. This information is then passed to the Structure Module, which uses Invariant Point Attention (IPA)—a mechanism that performs attention over 3D spatial relationships while remaining invariant to global rotation and translation—to iteratively refine the predicted atomic coordinates. The model also employs a recycling mechanism, where its initial predictions are fed back as input for multiple passes, progressively improving accuracy. The final output includes per-residue confidence scores (pLDDT) and pairwise error estimates (PAE) that allow researchers to assess which regions of the prediction are reliable.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.