TL;DR
Proteins aren’t rigid sculptures; they wiggle, fold, and breathe to perform their biological jobs, yet current AI models mostly read them as static snapshots. ENSEMBITS introduces the first learned "alphabet" that compresses an entire collection of moving 3D protein states into a single discrete token per amino acid. Even better, thanks to a clever distillation trick, it can infer how a protein would move even when you only give it a single static picture.
What Problem Does This Paper Address?
To feed 3D protein structures into Large Language Models (known as Protein Language Models, or PLMs), researchers use tokenizers—tools that translate local 3D geometry around each amino acid (residue) into discrete "words" or tokens.
The catch? Existing structural tokenizers (like Foldseek’s 3Di or ESM3) only look at a single, frozen snapshot. In reality, biology happens in motion: enzyme loops swing open to let substrates in, and receptors shift shapes to pass signals across cell membranes. As molecular dynamics (MD) simulations and generative AI start flooding the field with ensembles (sets of alternative conformations a protein adopts), we face a representation bottleneck. Applying static tokenizers frame-by-frame misses correlated movements across states. Prior to this work, no one had built a learned vocabulary natively designed to compress multi-frame protein motion into single, PLM-ready tokens.
Methods
ENSEMBITS frames dynamics tokenization as a multiset-to-token compression problem, built around a standard Residual Vector-Quantized Variational Autoencoder (RVQ-VAE) paired with three tailored design choices:
- Frame-Dependent Descriptors (New Twist on Standard): Using ESM3-style local geometry (3D frames and backbone angles of the 16 nearest neighbors, completely ignoring amino acid identity), ENSEMBITS recalculates nearest neighbors independently in every frame. Because neighbors change as the protein moves, contacts forming and breaking are baked directly into the input.
- Permutation-Invariant Set Encoder & Matching Decoder: Because conformational ensembles have no inherent order and vary in size, a PerceiverIO-style cross-attention encoder digests any number of frames into one latent vector. This vector is quantized across 3 codebook levels (though only the top-level 2,048-token vocabulary is needed downstream). The decoder reconstructs 10 descriptors, using Hungarian matching to pair predictions with unordered ground-truth frames via Frame Aligned Point Error (FAPE).
- Single-Frame-to-Token Distillation / SFTD (Novel): Dynamics data is scarce at test time—often you only have one structure. During training, ENSEMBITS runs a full 10-frame ensemble alongside a randomly sub-sampled ensemble (all the way down to 1 frame) and pulls the sub-sample's latent embedding toward the full ensemble's frozen embedding. This teaches the model to hallucinate dynamical context from a single static frame.
Datasets
- Training: A combined all-atom MD corpus comprising BioEmu-CATH (1,057 protein domains simulated at 300 K) and MISATO (16,972 protein–ligand complexes). The authors sample 10 maximally diverse frames per system.
- Evaluation: Flexibility is tested on BioEmu-CATH, MISATO, and mdCATH-div (a homology-deduplicated derivative of the mdCATH repository split by structural superfamily to prevent data leakage). Downstream functional tasks use MISATO (EC, GO, ligand binding/affinity), ProteinGym (96 deep mutational scanning assays for zero-shot mutation effects), and CryptoBench (222 entries for cryptic pocket detection).
Key Insights and Ideas
- Predicting hidden pockets from frozen structures: SFTD shines on cryptic pockets—binding sites that are completely closed in an unbound (apo) protein and only open up dynamically upon binding (holo). Shown only the closed apo structure, ENSEMBITS predicts these hidden pockets better than any static tokenizer because its tokens implicitly encode which conformations a residue can reach.
- Residual codebooks act as dynamical denoisers: Although RVQ-VAE uses three quantization levels, the authors only use the first level downstream—and find it beats training a single-level VQ-VAE of the exact same size. The secondary codebooks appear to soak up fine-grained, residue-specific noise, leaving the primary alphabet clean to capture dominant motion motifs.
- Physical motifs generalize across biology: Inspecting the learned alphabet reveals clear separation between rigid motifs (below) and flexible, fanning-out loops, with the exact same tokens appearing across completely different training corpora.
Key Results
- Flexibility (RMSF Prediction): Measuring Spearman rank correlation against full-trajectory Root Mean Square Fluctuation (how much each residue moves), ENSEMBITS sweeps every benchmark. With full ensembles ($P$=full), it hits 0.711 on BioEmu-CATH and 0.653 on mdCATH-div (beating multi-frame baseline ProtProfileMD's 0.641 and 0.622). Given just one frame ($P$=1), ENSEMBITS reaches 0.574 and 0.539, outperforming static tokenizers like AminoAseed (+0.135 and +0.106) and ESM3struct.
- Motion Variance: In an ANOVA test, ENSEMBITS tokens explain 3.5$\times$ more per-residue motion variance ($R^2 = 0.308$) than the best static tokenizer (AminoAseed, $0.087$) and 3$\times$ more than the best multi-frame baseline ($0.102$).
- Cryptic Pockets & Function: On CryptoBench, single-frame ENSEMBITS leads all static tokenizers with a 0.644 per-entry AUROC (vs. 0.621 for AminoAseed). On ProteinGym mutation scoring, blending ENSEMBITS token distances with ESM2-650M significantly boosts Spearman correlation from 0.484 to 0.509 ($p = 4.8 \times 10^{-6}$). On EC, GO, and binding tasks, it remains competitive (ranking 1st overall on the MISATO structure split) despite pretraining on far fewer structures than ESM3 or AminoAseed.
Limitations and Future Work
- No sense of time: Because the set encoder is permutation-invariant, ENSEMBITS treats ensembles as unordered bags of states. It captures thermodynamic distribution (what shapes exist), not kinetics (the sequence or speed of transitions).
- Data bottlenecks: Token quality is strictly bounded by current MD training coverage, and generative ensemble tools aren't yet mature or cheap enough to replace physics simulations for data augmentation.
- Next steps: The authors aim to scale ENSEMBITS as larger MD datasets arrive and plug these dynamical tokens directly into PLMs and generative diffusion models (like ESMDiff) to condition multi-state protein design.
Summary updated