Tokenized and continuous embedding compressions of protein sequence and structure.

Lu, Amy X; Yan, Wilson; Yang, Kevin K; Gligorijevic, Vladimir; Cho, Kyunghyun; Abbeel, Pieter; Bonneau, Richard; Frey, Nathan C · Patterns (N Y) · 2025

basic_science · Level V

Where this comes from

Abstract

Existing protein machine learning representations typically model either the sequence or structure distribution, with the other modality implicit. Here, we characterize an embedding of the joint distribution of protein sequence and structure by compressing the latent space of the protein folding model ESMFold. This provides mechanistic interpretability insights, as well as a flexible compressed representation. We term these CHEAP (compressed hourglass embedding adaptations of proteins) embeddings. In continuous compression schemes, the ESMFold latent space can be reduced by factors of 128 <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>×</mo></mrow> </math> along the channel and 8 <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>×</mo></mrow> </math> along the length while retaining structure information at <2 Å scale accuracy and performing competitively on protein function and localization benchmarks. In discrete compression schemes, we construct a tokenized all-atom structure vocabulary that retains high reconstruction accuracy, thus introducing a tokenized representation of an all-atom structure that can be obtained from the sequence alone. CHEAP democratizes representations captured by large models and can enable flexible downstream applications such as generation, search, and prediction.