Ensemble-Aware Structural Encoding (EASE): Conditioning Protein Encoders on Peptide Conformational Ensembles
Organizations: University of Waterloo · University of North Carolina at Chapel Hill
Abstract
Protein foundation models provide transferable representations for downstream peptide prediction tasks. However, existing representations typically reduce a peptide to a single sequence or structure, which may miss conformational variability relevant to key peptide properties, including antibacterial activity, hemolysis, toxicity, stability, and binding. For example, protease resistance correlates more strongly with conformational dynamics measured by hydrogen exchange than with average helicity. Therefore, we introduce Ensemble-Aware Structural Encoding (EASE), a framework for effectively extracting structural information from conformational ensembles for peptide representation. To extract useful information from noisy conformers, EASE selects central conformers representing a peptide's major structural states and fuses their individual representations with a permutation-invariant operator to produce a peptide-level representation for downstream prediction. We then evaluate our framework on six peptide property-prediction tasks under leakage-controlled splits. Against matched single-structure baselines, EASE improves performance consistently on six tasks with a mean absolute gain of about 3.0% across two structural encoders. Gains keep growing as we add conformers through K=20. A single peptide conformer therefore provides a limited basis for structural representation, whereas our framework distilling and fusing multiple conformers yields a more informative representation.
Figures & tables
| Task | Peptides | Metric | Application |
| Toxicity | 4,056 | AUROC | Safety |
| Hemolytic | 4,259 | AUROC | Blood compatibility |
| Hemolytic HC50 | 1,926 | RMSE | Blood compatibility |
| E. coli MIC | 3,161 | RMSE | AMP activity |
| Blood stability | 406 | AUROC | Proteolytic stability |
| PepPI | 5,931 | AUROC | Target binding |
| Encoder | Arm | Toxicity | Hemolytic | HC50 | E. Coli MIC | Stability | Interaction | Avg. rank |
|---|---|---|---|---|---|---|---|---|
| ESM-3 | Sequence track only | 0.7896 0.0640 | 0.9010 0.0245 | 0.5540 0.0328 | 0.6667 0.0294 | 0.6983 0.0231 | 0.8308 0.0121 | 3.33 |
| Reference conformer | 0.7792 0.0534 | 0.9013 0.0209 | 0.5793 0.0230 | 0.6842 0.0225 | 0.7141 0.0266 | 0.8329 0.0118 | 3.08 | |
| EASE, mean | 0.8058 0.0387 | 0.9071 0.0161 | 0.5554 0.0334 | 0.6515 0.0183 | 0.7032 0.0314 | 0.8520 0.0100 | 1.67 | |
| GearNet-Edge | ESM-2 (35M) | 0.7652 0.0597 | 0.8936 0.0184 | 0.5505 0.0254 | 0.6657 0.0205 | 0.6558 0.0694 | 0.8061 0.0073 | 4.00 |
| Reference conformer | 0.6893 0.1008 | 0.8617 0.0221 | 0.6460 0.0191 | 0.6847 0.0202 | 0.6737 0.0458 | 0.8059 0.0159 | 6.33 | |
| EASE, mean | 0.7231 0.0938 | 0.8733 0.0225 | 0.6139 0.0164 | 0.6651 0.0275 | 0.7141 0.0525 | 0.8327 0.0101 | 3.92 |
| Encoder | Fusion | Toxicity | Hemolytic | HC50 | E. coli MIC | Stability | Interaction | Mean |
|---|---|---|---|---|---|---|---|---|
| GearNet-Edge | Mean | +0.0339 (5/5) | +0.0116 (5/5) | +0.0321 (5/5) | +0.0196 (5/5) | +0.0404 (3/5) | +0.0267 (5/5) | +0.0274 |
| Gated | +0.0331 (5/5) | +0.0133 (5/5) | +0.0345 (5/5) | +0.0208 (5/5) | +0.0396 (3/5) | +0.0294 (5/5) | +0.0285 | |
| Attention | +0.0318 (5/5) | +0.0093 (4/5) | +0.0353 (5/5) | +0.0091 (3/5) | +0.0109 (3/5) | +0.0151 (5/5) | +0.0186 | |
| Gated attn | +0.0333 (5/5) | +0.0136 (5/5) | +0.0350 (5/5) | +0.0200 (4/5) | +0.0317 (3/5) | +0.0271 (5/5) | +0.0268 | |
| ESM-3 | Mean | +0.0266 (5/5) | +0.0058 (4/5) | +0.0238 (4/5) | +0.0327 (5/5) | 0.0108 (0/5) | +0.0191 (5/5) | +0.0162 |
| Gated | +0.0133 (5/5) | +0.0046 (4/5) | +0.0150 (4/5) | +0.0372 (5/5) | +0.0075 (4/5) | +0.0062 (4/5) | +0.0140 |
| Task | Len. | Conf. | Pairwise TM-score | ||
|---|---|---|---|---|---|
| Median [IQR] | |||||
| Toxicity | 36 | 142 | 0.095 [.055-.307] | 67.0 | 12.8 |
| Hemolytic | 20 | 145 | 0.054 [.033-.113] | 86.0 | 3.5 |
| HC50 | 17 | 146 | 0.052 [.036-.083] | 93.8 | 0.9 |
| E. coli MIC | 20 | 144 | 0.051 [.033-.086] | 92.5 | 1.0 |
| Stability | 21 | 142 | 0.054 [.033-.087] | 89.9 | 0.7 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Encoder | Fusion | Internal width | Params added |
|---|---|---|---|
| GearNet-Edge ( ) | mean | 512 | 0 |
| gated | 512 | 513 | |
| gated attn | 512 | 131,457 | |
| attention | 64 | 99,584 | |
| ESM-3 ( ) | mean | 1536 | 0 |
| gated | 1536 | 1,537 |
| Level | Quantity | Form | Definition |
|---|---|---|---|
| residue | fluctuation | both | RMS deviation of the C position around the ensemble mean |
| residue | accessibility, mean and s.d. | both | per-residue solvent-accessible surface area across conformers |
| residue | dihedral variability | raw | circular variance of backbone and across conformers |
| pair | distance, mean and s.d. | both | C –C distance across conformers |
| pair | contact frequency | raw | fraction of conformers with C –C separation below 10 Å |
| pair | ensemble-contact relation | — | additional edge type for pairs with contact frequency |
| Setting | GearNet-Edge | ESM-3 |
|---|---|---|
| Optimizer | AdamW | AdamW |
| Trunk learning rate | tuned, | |
| Head learning rate | ||
| Weight decay | ||
| Batch size | 16 | tuned, |
| LoRA rank | tuned, | 8 |
| GearNet-Edge | ESM-2 (35M) | ChemBERTa | ESM-3 (trunk learning rate / batch size) | |||||||||
| task | LoRA rank | head dropout | LoRA rank | head dropout | LoRA rank | head dropout | sequence | reference conformer | mean | gated | gated attn. | attention |
| toxicity | 8 | 0.5 | 8 | 0.1 | 8 | 0.5 | /16 | /32 | /16 | /32 | /16 | /32 |
| hemolytic | 8 | 0.1 | 8 | 0.1 | 8 | 0.3 | /16 | /16 | /16 | /16 | /16 | /16 |
| hemolytic HC50 | 8 | 0.1 | 8 | 0.5 | 4 | 0.3 | /16 | /16 | /32 | /32 | /16 | /16 |
| E. coli MIC | 8 | 0.5 | 8 | 0.5 | 4 | 0.5 | /16 | /16 | /16 | /32 | /16 | /32 |
| blood stability | 8 | 0.5 | 4 | 0.1 | 8 | 0.5 | /16 | /16 | /32 | /16 | /16 | /16 |
| Encoder | Fusion | Toxicity | Hemolytic | HC50 | E. coli MIC | Stability | Interaction | Avg. rank |
|---|---|---|---|---|---|---|---|---|
| GearNet-Edge | Ref. conformer | 0.6893 0.1008 | 0.8617 0.0221 | 0.6460 0.0191 | 0.6847 0.0202 | 0.6737 0.0458 | 0.8059 0.0159 | 5.00 |
| Mean | 0.7231 0.0938 | 0.8733 0.0225 | 0.6139 0.0164 | 0.6651 0.0275 | 0.7141 0.0525 | 0.8327 0.0101 | 2.50 | |
| Gated | 0.7224 0.0952 | 0.8750 0.0218 | 0.6115 0.0182 | 0.6639 0.0313 | 0.7134 0.0413 | 0.8353 0.0097 | 2.00 | |
| Attention | 0.7210 0.0939 | 0.8710 0.0208 | 0.6107 0.0217 | 0.6755 0.0232 | 0.6846 0.0723 | 0.8210 0.0110 | 3.50 | |
| Gated attn | 0.7226 0.0956 | 0.8753 0.0217 | 0.6110 0.0191 | 0.6647 0.0313 | 0.7055 0.0495 | 0.8331 0.0088 | 2.00 | |
| ESM-3 | Ref. conformer | 0.7792 0.0534 | 0.9013 0.0209 | 0.5793 0.0230 | 0.6842 0.0225 | 0.7141 0.0266 | 0.8329 0.0118 | 4.33 |
| encoder | arm | toxicity | hemolytic | HC50 | E. coli MIC | stability | interaction |
|---|---|---|---|---|---|---|---|
| GearNet-Edge | reference conformer | 0.6893 0.1008 | 0.8617 0.0221 | 0.6460 0.0191 | 0.6847 0.0202 | 0.6737 0.0458 | 0.8059 0.0159 |
| GearNet-Edge | 0.7231 0.0953 | 0.8747 0.0234 | 0.6051 0.0231 | 0.6692 0.0249 | 0.6770 0.0496 | 0.8271 0.0108 | |
| GearNet-Edge | 0.7231 0.0938 | 0.8733 0.0225 | 0.6139 0.0164 | 0.6651 0.0275 | 0.7141 0.0525 | 0.8327 0.0101 | |
| GearNet-Edge | 0.7384 0.0876 | 0.8731 0.0197 | 0.6101 0.0256 | 0.6636 0.0248 | 0.7126 0.0604 | 0.8376 0.0137 | |
| ESM-3 | reference conformer | 0.7792 0.0534 | 0.9013 0.0209 | 0.5793 0.0230 | 0.6842 0.0225 | 0.7141 0.0266 | 0.8329 0.0118 |
| ESM-3 | 0.7944 0.0498 | 0.9058 0.0161 | 0.5608 0.0400 | 0.6575 0.0217 | 0.7022 0.0525 | 0.8477 0.0116 |
| encoder | toxicity | hemolytic | HC50 | E. coli MIC | stability | interaction | mean | tasks | |
|---|---|---|---|---|---|---|---|---|---|
| GearNet-Edge | 5 | +0.0339 (5/5) | +0.0130 (5/5) | +0.0409 (5/5) | +0.0154 (4/5) | +0.0033 (2/5) | +0.0212 (5/5) | +0.0213 | 6/6 |
| GearNet-Edge | 10 | +0.0339 (5/5) | +0.0116 (5/5) | +0.0321 (5/5) | +0.0196 (5/5) | +0.0404 (3/5) | +0.0267 (5/5) | +0.0274 | 6/6 |
| GearNet-Edge | 20 | +0.0491 (5/5) | +0.0114 (5/5) | +0.0359 (5/5) | +0.0210 (5/5) | +0.0389 (3/5) | +0.0316 (5/5) | +0.0313 | 6/6 |
| ESM-3 | 5 | +0.0152 (5/5) | +0.0045 (4/5) | +0.0184 (4/5) | +0.0267 (5/5) | 0.0118 (2/5) | +0.0148 (5/5) | +0.0113 | 5/6 |
| ESM-3 | 10 | +0.0266 (5/5) | +0.0058 (4/5) | +0.0238 (4/5) | +0.0327 (5/5) | 0.0108 (0/5) | +0.0191 (5/5) | +0.0162 | 5/6 |
| ESM-3 | 20 | +0.0310 (5/5) | +0.0060 (4/5) | +0.0327 (4/5) | +0.0346 (5/5) | 0.0159 (0/5) | +0.0194 (5/5) | +0.0180 | 5/6 |
| # | Mechanism | Toxicity | Hemolytic | HC50 | E. coli MIC | Stability | PepPI | Mean | Tasks |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Per-residue statistics | +0.0083 (4/5) | +0.0054 (4/5) | +0.0116 (3/5) | 0.0013 (3/5) | +0.0109 (5/5) | +0.0056 (4/5) | +0.0067 | 5/6 |
| 1 | Pairwise statistics | +0.0127 (4/5) | +0.0068 (3/5) | +0.0044 (3/5) | 0.0047 (2/5) | +0.0155 (5/5) | +0.0037 (4/5) | +0.0064 | 5/6 |
| 1 | Extra edge type † | +0.0044 (2/5) | +0.0014 (3/5) | 0.0071 (2/5) | 0.0034 (1/5) | +0.0046 (2/5) | 0.0019 (2/5) | 0.0003 | 3/6 |
| 2 | Edge distance histogram | +0.0095 (3/5) | +0.0059 (4/5) | +0.0029 (3/5) | 0.0039 (2/5) | +0.0159 (4/5) | +0.0027 (4/5) | +0.0055 | 5/6 |
| 3 | Contact-frequency topology | +0.0055 (4/5) | +0.0032 (2/5) | +0.0260 (5/5) | 0.0025 (1/5) | +0.0499 (4/5) | +0.0102 (5/5) | +0.0154 | 5/6 |
| 4 | Modulation, node stats | +0.0257 (5/5) | +0.0077 (4/5) | +0.0184 (4/5) | 0.0024 (3/5) | +0.0206 (4/5) | +0.0081 (5/5) | +0.0130 | 5/6 |
| Encoder | Arm | Toxicity | Hemolytic | HC50 | E. coli MIC | Stability | PepPI |
|---|---|---|---|---|---|---|---|
| ESM-GearNet | Reference conformer ( ) | 0.7832 0.0700 | 0.8895 0.0252 | 0.5635 0.0358 | 0.7059 0.0168 | 0.6895 0.0447 | 0.8352 0.0097 |
| EASE, mean | 0.7864 0.0722 | 0.8896 0.0285 | 0.5425 0.0418 | 0.7022 0.0157 | 0.7020 0.0474 | 0.8410 0.0057 | |
| GearNet-Edge | Reference conformer ( ) | 0.6893 0.1008 | 0.8617 0.0221 | 0.6460 0.0191 | 0.6847 0.0202 | 0.6737 0.0458 | 0.8059 0.0159 |
| EASE, mean | 0.7231 0.0938 | 0.8733 0.0225 | 0.6139 0.0164 | 0.6651 0.0275 | 0.7141 0.0525 | 0.8327 0.0101 | |
| ESM-3 | Reference conformer ( ) | 0.7792 0.0534 | 0.9013 0.0209 | 0.5793 0.0230 | 0.6842 0.0225 | 0.7141 0.0266 | 0.8329 0.0118 |
| EASE, mean | 0.8058 0.0387 | 0.9071 0.0161 | 0.5554 0.0334 | 0.6515 0.0183 | 0.7032 0.0314 | 0.8520 0.0100 |
| Encoder | Toxicity | Hemolytic | HC50 | E. coli MIC | Stability | PepPI | Mean | |
|---|---|---|---|---|---|---|---|---|
| ESM-GearNet | (3/5) | (3/5) | (5/5) | (3/5) | (2/5) | (4/5) | ||
| GearNet-Edge | (5/5) | (5/5) | (5/5) | (5/5) | (3/5) | (5/5) | ||
| ESM-3 | (5/5) | (4/5) | (4/5) | (5/5) | (0/5) | (5/5) |
Protein Representation Learning
Protein representation learning builds computational features that capture sequence, structure, function, and molecular relationships.
See all 69 papers