Anonymoususer2223 commited on
Commit
9676415
·
verified ·
1 Parent(s): 01c36de

README: seven encoders run through the released model code; sizes updated

Browse files
Files changed (1) hide show
  1. README.md +15 -10
README.md CHANGED
@@ -35,22 +35,22 @@ Sizes are in GB (10^9 bytes).
35
 
36
  | Path | Content | Files | Size | Paper appendix |
37
  |---|---|---:|---:|---|
38
- | `extract/embeddings/<task>/<encoder>/` | pooled embeddings of 33 encoders and one non-learned reference on the ten downstream tasks | 2,237 | 6.5 | Tasks and protocols (The downstream tasks); Controls for the downstream comparison; Controls for the erasure analysis; Seed variability |
39
  | `extract/manifest/<task>.csv` | one row per protein: id, split, sequence, structure file, label | 11 | 0.12 | Tasks and protocols (The downstream tasks) |
40
  | `extract/pairs/ppi_affinity_pairs.csv` | chain pairs and labels of the PPI affinity task | 1 | <0.01 | Tasks and protocols (The downstream tasks) |
41
  | `extract/encoder_input_audit.csv`, `encoder_atom_audit.csv`, `encoder_sidechain_audit.csv` | measured input audit | 3 | <0.01 | Study Design; The Encoder Panel |
42
- | `probing_embeddings/<encoder>/` | per-residue and pooled embeddings of the 33 encoders on 19,461 CATH 4.3 domains | 101 | 96.9 | Tasks and protocols (Probe protocol); Controls for the probing comparison; Two residue-level tasks, and what the pooled readout hides |
43
  | `probing_embeddings_vframe/<encoder>_vframe/` | GVP, GCPNet (random and pretrained) and MACE with the direction of their vector channels kept | 19 | 5.2 | Controls for the probing comparison (Equivariant encoders with the direction of their vector channels kept) |
44
  | `probing_data/labels.h5`, `probing_data/splits/` | probe labels, coordinates and splits of the CATH domains | 8 | 0.32 | Tasks and protocols (The probing suite; Probe protocol) |
45
  | `extract/ab_modality/embeddings/`, `extract/ab_modality/probing_embeddings/` | ESM3 and SaProt with the structure input removed, and SaProt with shuffled 3Di tokens | 210 | 24.9 | Controls for the downstream comparison (Removing the structure input from the same checkpoint) |
46
  | `extract/ab_modality/encoder_input_audit_ab*.csv` | input audit of those three sources | 2 | <0.01 | same |
47
  | `confirmation/`, `confirmation2/` | probing cohorts A and B: CATH 4.4 domains absent from CATH 4.3 | 52 | 6.3 | Confirmation on data and splits the development did not use (The probing headline on CATH 4.4 domains absent from CATH 4.3) |
48
- | `confirmation_downstream/` | held-out downstream proteins never used in development | 280 | 0.54 | Confirmation on data and splits the development did not use (The demand results on downstream proteins never scored) |
49
- | `masif_site/` | residue-level interface task rebuilt from MaSIF-site | 90 | 20.2 | Two residue-level tasks, and what the pooled readout hides (Interface residues) |
50
  | `atlas/data_v4/` | latent-space atlas: 2D maps, k-NN purity and CKA for every task layer | 12 | 0.06 | Latent-Space Atlas |
51
  | `checkpoints/<encoder>/` | pretrained weights of six structure encoders, with licences and `SHA256SUMS` | 14 | 0.16 | The Encoder Panel |
52
 
53
- The current release has 3,040 files and 161.2 GB in total. The appendix names are section and subsection titles of
54
  the paper.
55
 
56
  ## Encoders
@@ -83,7 +83,7 @@ the atom audit (`extract/encoder_atom_audit.csv`); "side chain" marks the three
83
  | `gcpnet_pretrained` | GCPNet-pre | structure | pretrained | 116 | coordinate-reading | yes | N, CA, C, O, CB, side chain |
84
  | `gvp` | GVP | structure | random | 116 | coordinate-reading | yes | N, CA, C |
85
  | `gearnet` | GearNet | structure | random | 512 | coordinate-reading | yes | CA |
86
- | `gearnet_pretrained` | GearNet-pre | structure | pretrained | 512 | coordinate-reading | yes | CA |
87
  | `ipa` | IPA | structure | random | 128 | coordinate-reading | yes | CA |
88
  | `ipa_pretrained` | IPA-pre | structure | pretrained | 128 | coordinate-reading | yes | CA |
89
  | `mace` | MACE | structure | random | 128 | coordinate-reading | yes | CA |
@@ -111,16 +111,21 @@ Every embedding is taken from the last representation the encoder computes befor
111
  encoder has residue states, a protein is the masked mean of its residue states. The rule of each encoder is recorded in
112
  the `rule` field of its `meta.json`.
113
 
 
 
 
 
114
  | Encoders | Representation read |
115
  |---|---|
116
  | Ankh, ESM-1b, ESM2 (all sizes), ProtBert, ProtT5-XL | final hidden state, special tokens removed |
117
  | ProstT5 | final hidden state of the amino-acid track with the `<AA2fold>` prefix, special tokens removed; no 3Di input |
118
  | ESM3 | final trunk residue embeddings, sequence and structure tracks |
119
  | SaProt | final hidden states at the residue positions of the combined amino-acid and 3Di tokens |
120
- | SchNet, TFN, DimeNet, MACE, GearNet, CDConv, IPA (random and pretrained versions) | final invariant node states; IPA reads the structure in a canonical pose |
 
121
  | GVP, GCPNet (random and pretrained) | final scalar channels plus the norm of each vector channel (100 + 16 = 116) |
122
- | ProteinMPNN, PottsMPNN (all four) | encoder output h_V, before the decoder |
123
- | ESM-IF1 | output of the GVP-Transformer encoder, before decoding |
124
  | Foldseek | one-hot 3Di state per residue; the protein vector is the 3Di state frequency |
125
  | FoldVision | the model's global embedding; no residue states |
126
 
@@ -359,7 +364,7 @@ clf = LogisticRegression(max_iter=1000).fit(scaler.transform(X["train"]), y["tra
359
  print("test accuracy", clf.score(scaler.transform(X["test"]), y["test"]))
360
  ```
361
 
362
- Per-residue probing embeddings are large (up to 14.5 GB for ESM2-3B), so open them with `mmap_mode="r"`:
363
 
364
  ```python
365
  import h5py
 
35
 
36
  | Path | Content | Files | Size | Paper appendix |
37
  |---|---|---:|---:|---|
38
+ | `extract/embeddings/<task>/<encoder>/` | pooled embeddings of 33 encoders and one non-learned reference on the ten downstream tasks | 2,237 | 7.4 | Tasks and protocols (The downstream tasks); Controls for the downstream comparison; Controls for the erasure analysis; Seed variability |
39
  | `extract/manifest/<task>.csv` | one row per protein: id, split, sequence, structure file, label | 11 | 0.12 | Tasks and protocols (The downstream tasks) |
40
  | `extract/pairs/ppi_affinity_pairs.csv` | chain pairs and labels of the PPI affinity task | 1 | <0.01 | Tasks and protocols (The downstream tasks) |
41
  | `extract/encoder_input_audit.csv`, `encoder_atom_audit.csv`, `encoder_sidechain_audit.csv` | measured input audit | 3 | <0.01 | Study Design; The Encoder Panel |
42
+ | `probing_embeddings/<encoder>/` | per-residue and pooled embeddings of the 33 encoders on 19,461 CATH 4.3 domains | 101 | 111.6 | Tasks and protocols (Probe protocol); Controls for the probing comparison; Two residue-level tasks, and what the pooled readout hides |
43
  | `probing_embeddings_vframe/<encoder>_vframe/` | GVP, GCPNet (random and pretrained) and MACE with the direction of their vector channels kept | 19 | 5.2 | Controls for the probing comparison (Equivariant encoders with the direction of their vector channels kept) |
44
  | `probing_data/labels.h5`, `probing_data/splits/` | probe labels, coordinates and splits of the CATH domains | 8 | 0.32 | Tasks and protocols (The probing suite; Probe protocol) |
45
  | `extract/ab_modality/embeddings/`, `extract/ab_modality/probing_embeddings/` | ESM3 and SaProt with the structure input removed, and SaProt with shuffled 3Di tokens | 210 | 24.9 | Controls for the downstream comparison (Removing the structure input from the same checkpoint) |
46
  | `extract/ab_modality/encoder_input_audit_ab*.csv` | input audit of those three sources | 2 | <0.01 | same |
47
  | `confirmation/`, `confirmation2/` | probing cohorts A and B: CATH 4.4 domains absent from CATH 4.3 | 52 | 6.3 | Confirmation on data and splits the development did not use (The probing headline on CATH 4.4 domains absent from CATH 4.3) |
48
+ | `confirmation_downstream/` | held-out downstream proteins never used in development | 280 | 0.62 | Confirmation on data and splits the development did not use (The demand results on downstream proteins never scored) |
49
+ | `masif_site/` | residue-level interface task rebuilt from MaSIF-site | 90 | 23.5 | Two residue-level tasks, and what the pooled readout hides (Interface residues) |
50
  | `atlas/data_v4/` | latent-space atlas: 2D maps, k-NN purity and CKA for every task layer | 12 | 0.06 | Latent-Space Atlas |
51
  | `checkpoints/<encoder>/` | pretrained weights of six structure encoders, with licences and `SHA256SUMS` | 14 | 0.16 | The Encoder Panel |
52
 
53
+ The current release has 3,040 files and 180.3 GB in total. The appendix names are section and subsection titles of
54
  the paper.
55
 
56
  ## Encoders
 
83
  | `gcpnet_pretrained` | GCPNet-pre | structure | pretrained | 116 | coordinate-reading | yes | N, CA, C, O, CB, side chain |
84
  | `gvp` | GVP | structure | random | 116 | coordinate-reading | yes | N, CA, C |
85
  | `gearnet` | GearNet | structure | random | 512 | coordinate-reading | yes | CA |
86
+ | `gearnet_pretrained` | GearNet-pre | structure | pretrained | 3072 | coordinate-reading | yes | CA |
87
  | `ipa` | IPA | structure | random | 128 | coordinate-reading | yes | CA |
88
  | `ipa_pretrained` | IPA-pre | structure | pretrained | 128 | coordinate-reading | yes | CA |
89
  | `mace` | MACE | structure | random | 128 | coordinate-reading | yes | CA |
 
111
  encoder has residue states, a protein is the masked mean of its residue states. The rule of each encoder is recorded in
112
  the `rule` field of its `meta.json`.
113
 
114
+ ProteinMPNN, the four PottsMPNN variants, ESM-IF1 and GearNet-pre are run through the model code released with their
115
+ checkpoints. Their files in every embedding folder were replaced on 2026-11-21; before that date they came from
116
+ wrappers that loaded the same weights but did not reproduce the released computation.
117
+
118
  | Encoders | Representation read |
119
  |---|---|
120
  | Ankh, ESM-1b, ESM2 (all sizes), ProtBert, ProtT5-XL | final hidden state, special tokens removed |
121
  | ProstT5 | final hidden state of the amino-acid track with the `<AA2fold>` prefix, special tokens removed; no 3Di input |
122
  | ESM3 | final trunk residue embeddings, sequence and structure tracks |
123
  | SaProt | final hidden states at the residue positions of the combined amino-acid and 3Di tokens |
124
+ | SchNet, TFN, DimeNet, MACE, CDConv, IPA (random and pretrained versions), GearNet (random) | final invariant node states; IPA reads the structure in a canonical pose |
125
+ | GearNet-pre | TorchDrug's GearNet-Edge with its graph construction; node states of the six layers concatenated (6 x 512 = 3,072) |
126
  | GVP, GCPNet (random and pretrained) | final scalar channels plus the norm of each vector channel (100 + 16 = 116) |
127
+ | ProteinMPNN, PottsMPNN (all four) | encoder output h_V of the released model classes with 48 neighbours, before the decoder |
128
+ | ESM-IF1 | output of the GVP-Transformer encoder through the inverse-folding helper of the `esm` package, before decoding |
129
  | Foldseek | one-hot 3Di state per residue; the protein vector is the 3Di state frequency |
130
  | FoldVision | the model's global embedding; no residue states |
131
 
 
364
  print("test accuracy", clf.score(scaler.transform(X["test"]), y["test"]))
365
  ```
366
 
367
+ Per-residue probing embeddings are large (up to 17.4 GB for GearNet-pre and 14.5 GB for ESM2-3B), so open them with `mmap_mode="r"`:
368
 
369
  ```python
370
  import h5py