ESM-IF1

ESM-IF1 ESM Inverse Folding

ICML 2022 main track (A*)

Summary card

ПолеЗначение
Год / version2022 / NR
Last verified2026-08-27
Что генерируетSequence and sequence likelihood conditioned on backbone
ФорматыMonomer and protein complex
De novo или optimizationDesign or masked redesign
DOI10.48550/arXiv.2204.07148
Paperhttps://proceedings.mlr.press/v162/hsu22a.html
GitHub / repohttps://github.com/facebookresearch/esm
Service / docsNR
ЛицензияMIT
Доступность / commercial-useCode + weights

Задача и generated object

Used in these tasks: Fixed-backbone inverse folding, Предложение single mutations

Part of these workflows: Fixed-backbone inverse folding

ПолеЗначение
Required inputN–Cα–C backbone coordinates; partial masks allowed
ConditioningPartial masks, complexes, interfaces, multistate use cases
FixedNR
EditableNR
GeneratedSequence and sequence likelihood conditioned on backbone
Single mutationsYes
Combinatorial mutationsYes
Multi-objectiveNo explicit multi-objective optimizer

Architecture and operating principle

Author-reported (matrix)
ПолеЗначение
Base architectureNR
Model type2 Fixed-backbone inverse-folding generator
RepresentationNR
Generation unitSequence and sequence likelihood conditioned on backbone
ConditioningPartial masks, complexes, interfaces, multistate use cases
OutputSequence and sequence likelihood conditioned on backbone
SamplingNR
Internal scorerConditional log-likelihood; can score mutations
Structure generationNo

Input representation

NR

ПолеЗначение
Node featuresNR
Edge / pair featuresNR

Encoder и decoder

NR

ПолеЗначение
EncoderNR
DecoderNR

Latent or generative state

NR

Conditioning mechanism

Partial masks, complexes, interfaces, multistate use cases

Generation mechanism

GVP geometric encoder + autoregressive Transformer

Sampling: NR

Training objectives

NR

Losses: NR

Mathematical details: NR

Integrated evaluation

Conditional log-likelihood; can score mutations

Architectural limitations

Uses these architecture components: Inverse folding, Geometric transformers, SE(3)-equivariant networks, Invariant models

Generator versus evaluation

ComponentRoleArchitecture classIntegrated or externalRequired or optionalInfluences generation or post hocRuntime included or excluded
ESM-IF1 inverse-folding modelprimary_generatorGVP geometric encoder + autoregressive Transformerintegratedrequiredgenerationincluded
Conditional log-likelihood; can score mutationsintegrated_scorerNRintegratedoptionalpost_hocunknown
Backbone/complex quality must be independently checkedmandatory_external_dependencyNRexternalrequiredpost_hocexcluded
Experimental binding/function assaysexperimental_validationNRexternalrequiredpost_hocexcluded

Training data и biases

ПолеЗначение
Training dataNR
PreprocessingNR
Negative examplesNR
Fine-tuningNR
Label requirementsNR
Training hardwareNR
Training timeNR

Inference hardware и runtime

ПолеЗначение
Candidate countNR
Batch sizeNR
Generation stepsNR
RecyclesNR
SizeNR
Reported runtimeNR
Runtime boundaryNR
CPUNR
GPUNR
VRAMNR
RAMNR
DiskNR
DatabasesNR

Experimental evidence

ПолеЗначение
Evidence class2 retrospective in primary paper; 4 when embedded in later structural-evolution workflow
RetrospectivePrimary paper: no prospective wet lab
Prospective bindingNR
Prospective functionNR
DevelopabilityNR
Tested design countPrimary paper: no prospective wet lab
Success criterionRetrospective recovery/generalization; later antibody evolution evidence belongs to separate workflow
Independent validationNR
SummaryRetrospective recovery/generalization; later antibody evolution evidence belongs to separate workflow

Limitations and failure modes

Deployment: Immediate retrospective evaluation

Reproducibility, license, commercial use

ПолеЗначение
Repohttps://github.com/facebookresearch/esm
LicenseMIT
Commercial-use statusCode + weights

Alternative tools: NR

Complementary: NR

Related: NR

Not directly comparable with

EvoDiff, FrameDiff, ProGen / ProGen2, RFdiffusion, RFdiffusion All-Atom (RFdiffusionAA)
Сравнение допустимо только внутри совместимых категорий. Runtime и quality AntiFold vs RFantibody нельзя читать как одну шкалу: разные starting points и generated objects.

Depends on these external modules

NR

NR

Primary paper и полный список источников

Learning inverse folding from millions of predicted structures

Source matrix: landscape xlsx, last verified 2026-08-13.

Детальный source-grounded разбор

partially verified Последняя сверка источников: 2026-08-27. bioRxiv HTML 10.1101/2022.04.10.487779 прочитан (Methods, architecture, Tables 1–3, ablations). PMLR 162:8946–8970 — peer-reviewed версия; PDF Table A.1 гиперпараметры упомянуты, но сама таблица в HTML не развёрнута. facebookresearch/esm commit 2b369911 зафиксирован; line-by-line ESM-IF1 module в этом выпуске не аудировался (отдельный InverseFoldingModel).

Недоступные или неполные источники

ИсточникПочему недоступенЧто использовано вместо
PMLR PDF Table A.1 полная сетка гиперпараметровВ bioRxiv HTML таблица A.1 не развёрнута численноТекст Appendix: 8 enc/8 dec Transformer, 8 heads, d=512, 142M; GVP k=30 в маскированном режиме
Line-by-line esm/inverse_folding/* на указанном commitВ этом выпуске читался paper + repo SHA, не каждый .pyАрхитектура из Hsu §2 / Appendix A.3

ESM-IF1 (GVP-Transformer) — inverse-folding generator $p(Y\mid X)$ по координатам N/Cα/C. Sequence recovery и zero-shot likelihood ratio не равны experimental $K_d$. Released модель — гибрид 4 GVP-GNN + 8+8 Transformer (~142M), обученный на CATH + 12M AF2-предсказанных структур.

Происхождение источников

МеткаИсточникСсылкаПримечание
[PAPER]Hsu et al., ICML 2022 / PMLR 162:8946–8970; bioRxiv 10.1101/2022.04.10.487779https://proceedings.mlr.press/v162/hsu22a.htmlДетали Methods — по bioRxiv HTML
[PAPER]Jing et al., ICLR 2021 — GVP layershttps://openreview.net/forum?id=1YLJDvSx6J4NR
[CODE]facebookresearch/esm (ESM-IF1 weights live here historically)https://github.com/facebookresearch/esmcommit 2b369911bb5b4b0dda914521b9475cad1656b2ac
ПолеЗначение
Репозиторийhttps://github.com/facebookresearch/esm
Commit2b369911bb5b4b0dda914521b9475cad1656b2ac
Ветка / tagmain
ЛицензияMIT (esm repository; verify COPYING)

Проверенные файлы реализации:

1. Что именно делает инструмент

[PAPER]Вход: backbone N, Cα, C coordinates (не side chains). Комплексы: цепи конкатенируются с 10 mask tokens между цепями. Частично masked backbone допустим (span mask train). bioRxiv: complexes; span masking up to 30 AA until 15% coords masked

[PAPER]Выход: авторегрессивная последовательность $Y$ (sampling или argmax при $T=10^{-6}$ для recovery). Backbone не генерируется.

[PAPER]Fixed-backbone inverse folding, не de novo fold. Zero-shot mutation scoring через likelihood ratio — evaluator mode той же сети, не отдельный affinity head.

2. Архитектура в одном абзаце

[PAPER]GVP-GNN encoder извлекает геометрию (rotation-equivariant vectors + invariant scalars). Затем change of basis в локальные residue frames → invariant scalars → generic Transformer encoder–decoder (learned positional embeddings, pre-LN). Лучшая модель: 4 GVP-GNN encoder layers, 8 Transformer encoder, 8 decoder, 8 heads, $d=512$, 142M. Инвариантность $p(Y\mid X)=p(Y\mid TX)$ для $T\in\mathrm{SE}(3)$ (Appendix A.3). §GVP-Transformer; Appendix A.3

4. Математическая модель

$$p_\theta(Y\mid X)=\prod_{i=1}^{n} p_\theta(y_i\mid y_{
[PAPER] tool-specific. AR encoder–decoder. $X=(x_1,\ldots,x_{3n})$ — координаты N, Cα, C; $Y$ — native sequence. Порядок — последовательность цепи (не random MPNN order).
СимволТипОпределение
$X$coordinatesbackbone atom xyz, 3 atoms × n residues
$Y$token sequenceamino acids
$T$SE(3) transformглобальный поворот/сдвиг входа
$$p(Y\mid X)=p(Y\mid TX)\qquad \forall T\in\mathrm{SE}(3)$$
[PAPER] tool-specific. Инвариантность выхода. Transformer сам по себе не SE(3)-equivariant: инвариантность обеспечивается GVP + local frames.
$$\mathrm{score}(m)=\log p(Y^{m}\mid X^{\mathrm{WT}})-\log p(Y^{\mathrm{WT}}\mid X^{\mathrm{WT}})$$
[PAPER] tool-specific [PAPER] zero-shot section. Zero-shot mutational score (likelihood ratio). $X^{WT}$ — экспериментальная WT-структура. Это не $\Delta\Delta G$ расчёт.

5. Физическое устройство состояния

[PAPER]Атомы остова в $\mathbb{R}^3$; GVP vectors — геометрические направления; scalars — invariant. Sequence — AA identity. pLDDT AF2 — входной признак (RBF) для predicted structures, не выход ESM-IF1. 10 gap tokens — цепной разделитель, не физический линкер.

7. Training

[PAPER]CATH topology 80/10/10: 16153 / 1457 / 1797. Плюс 12M UniRef50 AF2 structures (Amber-relaxed; sequences ≤500; ranked by MSA Transformer distogram lDDT). Mix per epoch: experimental set + 10% random sample of 12M → ~1:80 experimental:predicted. pLDDT < 90 маскируется (~25% predicted coords). Binary token experimental vs predicted. Span masking: spans ≤30 AA until 15% coords masked.

[PAPER]Small GVP-GNN (1M, 3+3) деградирует на predicted data. Large GVP-GNN (21M, 8+8) и GVP-Transformer выигрывают. Overfit CATH-only при scaling 1M→21M (42.2% → 39.2% recovery). Table 1; Fig. 6

8. Inference

[PAPER]Sampling из $p(Y\mid X)$; для max recovery $T=10^{-6}$. Partial backbone: masked nodes excluded from GVP then zeros into Transformer (Appendix A.2). Multi-state: geometric mean of likelihoods $p(Y\mid A)$ and $p(Y\mid B)$ как proxy $p(Y\mid A,B)$.

NRDefault CLI temperature / batch в этом выпуске: NR (код IF1 не построчно). Не путать с ESM-2 masked LM.

10. Почему, по мнению авторов, метод эффективен

[PAPER]Mechanism. Predicted structures ×3 orders of magnitude снимают data bottleneck; GVP даёт геометрию, Transformer — long-range / masked spans, которые чистый GVP-GNN не держит (Fig. 4).

[PAPER]Author claim. 51% native recovery (72% buried) on structurally held-out backbones; ~10 pp over prior GVP-GNN on CATH-only; generalization to complexes, partial masks, multi-state, zero-shot mutation.

[PAPER]Evidence. Retrospective CATH topology split; ablations Fig. 6 / Table 1 / C.1; zero-shot Rocklin stability, SKEMPI, Starr ACE2–RBD Spearman 0.69 when given RBD+ACE2 coords. No prospective designed-and-tested binders in this paper.

[INTERPRETATION]Causal support. Predicted-structure mix — ablation Fig. 6a–b (directly supported). Spearman 0.69 — retrospective correlation, не affinity maturation campaign.

12. Ablation analysis

[PAPER]CATH-only vs +AF2: GVP-Transformer recovery 38.3% → 51.6%; GVP-GNN-large 39.2% → 50.8%; tiny GVP-GNN 42.2% → 38.6% (деградация). Span vs independent masking: span лучше на длинных масках (Fig. 4). Число GVP layers перед Transformer помогает (Fig. C.1). Complex coords vs single chain: substantial perplexity gain (Table 2). RBM coords / ACE2 coords necessary for RBD affinity correlation (Table 3).

13. What the model does not represent

14. Evidence and limitations

[INTERPRETATION]Авторы честно показывают, что IF likelihoods коррелируют с некоторыми mutational assays. Это не prospective design evidence. AntiFold позже FT эту архитектуру на SAbDab+OAS — см. /tools/antifold.html. Structural evolution (Shanker/Hie Science) использует IF1-complex scoring — отдельный инструмент каталога.

15. Reproducibility

[CODE]Weights historically esm_if1_gvp4_t16_142M_UR50. Репозиторий esm на 2023-06-27 (commit выше) — maintenance; Meta перемещала модели. Точный inference example в этом выпуске не прогонялся. repo SHA only

Физико-химический смысл

Признак или операция моделиФизико-химическая интерпретацияПрямо / косвенно / внешнеВажное ограничение
N/Cα/C coordinatesостов полипептидапрямонет side chain / solvent
GVP vector channelsлокальные геометрические направленияequivariant inductive biasне сила взаимодействия
Transformer over invariant scalarssequence-structure long-range statslearnedне SE(3) внутри attention
AF2 pLDDT as input RBFconfidence predicted structureпрямо как feature predicted examplesне выход IF1 и не affinity

Модульная схема

МодульКласс моделиВходВыходОбучается или frozenGenerator или evaluator
GVP-GNN encoder (4 layers)geometric GNNbackbone graphscalar+vector features → local-frame invariant scalarstrainedencoder of generator
Transformer enc/dec 8+8AR seq2seqinvariant tokens + partial Ynext-AA logitstrainedgenerator
likelihood ratiosame AR modelWT structure + mutant sequencescalar scorefrozenevaluator only

Generator versus evaluator

КомпонентРольIntegrated или externalRequired или optionalВлияет на generation или только ранжирует после
GVP-Transformer decoderprimary_generatorintegratedrequiredgeneration
log p / likelihood ratiointegrated_scorerintegratedoptionalpost_hoc (zero-shot); не меняет sample path unless used as objective externally
AlphaFold2 (training data only)structure predictor for pretraining corpusexternalrequired for the 12M set, not at IF1 inferencetraining distribution, not inference coords unless user supplies predicted backbone

Claim–evidence matrix

УтверждениеПредполагаемый механизмТип evidenceДатасет / экспериментComparatorМетрика / результатИсточникОговорка
Predicted structures improve IF recovery for large models12M AF2 UniRef50 mix 1:803. ablation evidenceCATH 4.3 topology testsame architecture, CATH-onlyGVP-Transformer 38.3% → 51.6% recovery[PAPER] Table 1Recovery ≠ experimental fold of designed sequences in this paper
GVP-Transformer держит masked spans лучше GVP-GNNTransformer after local GVP3. ablation evidencevariable mask lengthsGVP-GNN-largeGVP-GNN → background perplexity for masks >5; Transformer remains moderate[PAPER] Fig. 4in silico
Zero-shot IF likelihood correlates with ACE2–RBD bindinglog p on RBM given complex coords2. retrospective benchmarkStarr et al. 2020 deep mutational scanESM-1v / sequence-only; ablate ACE2 or RBM coordsSpearman 0.69 with full RBD+ACE2; weaker without ACE2; none if RBM masked[PAPER] Table 3Корреляция на мутациях WT, не designed antibodies; не Kd новых молекул
Model is generally better at protein design—1. только architectural rationalen/an/aнет prospective designs в Hsu 2022[INTERPRETATION] experimental evaluation is in silico / zero-shot DMSНе утверждать wet-lab success ESM-IF1 как generator

Различия между статьёй и реализацией

Версия статьиCommit репозиторияCheckpoint / modelФайлРазличиеПрактическое следствие
ICML 2022 / bioRxiv v1 HTML2b369911bb5b4b0dda914521b9475cad1656b2acesm_if1_gvp4_t16_142M_UR50 (name from ESM docs; not re-opened this pass)esm/inverse_folding (not line-audited)Paper describes three architectures; released ESM-IF1 is the GVP-Transformer. Exact CLI defaults NR this pass.Не описывать released IF1 как чистый GVP-GNN Jing.

Схемы information flow

flowchart LR
  X["Backbone N/CA/C"] --> GVP["4× GVP-GNN"]
  GVP --> F["Local frames → invariant tokens"]
  F --> TE["8× Transformer encoder"]
  TE --> TD["8× Transformer decoder AR"]
  TD --> Y["Sequence Y"]
  Y -.->|"optional"| LR["likelihood ratio vs WT"]
ESM-IF1 information flow. Likelihood ratio — evaluator, не generator. Источник схемы: Hsu et al. ICML 2022; схема оригинальная

Источники

  1. [1] Hsu C. et al. Learning inverse folding from millions of predicted structures. PMLR 162:8946–8970 (2022). · DOI · источник
  2. [2] Jing B. et al. Learning from protein structure with geometric vector perceptrons. ICLR 2021. · источник
  3. [3] facebookresearch/esm commit 2b369911. · источник

Нерешённые научные вопросы