Generative modeling of intrinsically disordered protein regions by reinforcing sparse autoencoder features
Organizations: Stanford University
Abstract
Intrinsically disordered protein regions (IDRs) play central roles in cellular processes such as transcriptional regulation, signal transduction, and subcellular localization, yet their functional design remains challenging. Structure-based design methods do not readily apply to IDRs, and existing protein language models are trained on full-length protein sequences, thus learning a prior that is biased towards folded domains. Here, we present IDiom, an autoregressive protein language model trained on IDiom-DB, a dataset of 54 million predicted IDRs curated from the AlphaFold Database. IDiom generates diverse sequences that recapitulate the composition, patterning, motifs, and predicted disorder of natural IDRs. To control function-associated sequence patterns, we also introduce reinforcement learning with sparse autoencoder features (RL-SAE), a post-training method that rewards the generation of sequences that activate specified feature sets. Across eight IDR design tasks, RL-SAE sequences activate, on average, 90% of 30 targeted features, compared to 24% for activation steering. We demonstrate that RL-SAE improves the predicted subcellular localization and transcriptional activity of generated IDRs compared to steering and supervised fine-tuning, and enables features associated with distinct biological functions to be combined within individual sequences. Thus, IDiom and RL-SAE enable interpretable and composable IDR design through explicit control of function-associated sequence features. More broadly, RL-SAE could extend to other protein design settings where interpretable features provide useful design targets. Code is available at https://github.com/rotskoff-group/idiom.
Figures & tables
| RL-SAE | ||||||
| Compartment | Base | Nat. | SFT | Steering ( ) | top-30 | private-30 |
| Nucleolus | (0.35) | |||||
| Chromosome | (0.21) | |||||
| Speckle | (0.20) | |||||
| Stress gran. | (0.15) | |||||
| P-body | (0.00) | |||||
| Readout | Base | Nat. | SFT | Steering ( ) | RL-SAE | |
|---|---|---|---|---|---|---|
| Activation | PADDLE | (0.43) | ||||
| Repression | KxE | (0.35) | ||||
| NDSM | (0.35) |
| Activation | Repression | Chromosome / nuclear | ||||
|---|---|---|---|---|---|---|
| RL-SAE target | PADDLE | KxE | NDSM | ProtGPS | DeepLoc | cNLS |
| chromosome AD | ||||||
| chromosome RD | ||||||
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
| Target feature coverage | On-target ProtGPS | |||||
| Target | Base | random-30 | top-30 | Base | random-30 | top-30 |
| Nucleolus | ||||||
| Chromosome | ||||||
| Speckle | ||||||
| Stress gran. | ||||||
| P-body | ||||||
| Compartment | RL-GPS ProtGPS |
|---|---|
| Nucleolus | |
| Chromosome | |
| Speckle | |
| Stress gran. | |
| P-body | |
| NPC |
| RL-SAE top-30 | RL-SAE private | |||
|---|---|---|---|---|
| Compartment | on-target | scramble | on-target | scramble |
| Nucleolus | ||||
| Chromosome | ||||
| Speckle | ||||
| Stress gran. | ||||
| P-body | ||||
| Readout | RL-SAE | scramble |
|---|---|---|
| PADDLE | ||
| KxE | ||
| NDSM |
| Target | Nat. | SFT | Steering ( ) | RL-SAE | RL-GPS |
|---|---|---|---|---|---|
| Metapredict V3 | |||||
| Nucleolus | (0.35) | ||||
| Chromosome | (0.21) | ||||
| Speckle | (0.20) | ||||
| Stress gran. | (0.15) | ||||
| P-body | (0.00) | ||||
| RL-SAE | |||||||
| Compartment | Base | Nat. | SFT | Steering ( ) | top-30 | private-30 | RL-GPS |
| Nucleolus | (0.35) | ||||||
| Chromosome | (0.21) | ||||||
| Speckle | (0.20) | ||||||
| Stress gran. | (0.15) | ||||||
| RL-SAE | ||||||||
|---|---|---|---|---|---|---|---|---|
| Compartment | Motif | Base | Nat. | SFT | Steering ( ) | top-30 | private-30 | RL-GPS |
| Nucleolus | cNLS | (0.35) | ||||||
| Chromosome | cNLS | (0.21) | ||||||
| Speckle | RS repeat | (0.20) | ||||||
| Stress gran. | RG/RGG | (0.15) | ||||||
| P-body | RG/RGG | (0.00) | ||||||
| Motif | Regex / rule | Compartment |
|---|---|---|
| RS/SR repeat | (?:RS|SR){3,} | Nuclear speckle |
| RG/RGG cluster | of { RGG , RG not in an RGG } within 30 residues | Stress granule, P-body |
| GLFG repeat | (?=(GLFG)) (overlapping matches) | Nuclear pore complex |
| KxE | [VILMF]K.E | Repression domain |
| NDSM | [VILMF]K.E[DE]+ | Repression domain |
| ELM class | Regex |
|---|---|
| TRG_NLS_MonoCore_2 | ˆ DE[KRP][KR][ ˆ DE] |
| TRG_NLS_MonoExtN_4 | (([PKR].{0,1}[ ˆ DE])|([PKR]))((K[RK])|(RK))(([ ˆ DE][KR])|([KR][ ˆ DE]))[ ˆ DE] |
| TRG_NLS_MonoExtC_3 | ˆ DE(([ ˆ DE][KR])|([KR][ ˆ DE]))(([PKR])|([ ˆ DE][DE])) |
| TRG_NLS_Bipartite_1 | [KR][KR].{7,15} ˆ DE(([ ˆ DE][KR])|([KR][ ˆ DE]))[ ˆ DE] |