Model card for MORAD-RIDE
Browse files
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
library_name: pytorch
|
| 4 |
datasets:
|
| 5 |
-
-
|
| 6 |
tags:
|
| 7 |
- rna
|
| 8 |
- rna-design
|
|
@@ -11,62 +11,57 @@ tags:
|
|
| 11 |
- reinforcement-learning
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# MORAD
|
| 15 |
|
| 16 |
-
|
| 17 |
-
RNA Inverse Design**: the pretrained RIDE backbone-conditioned RNA
|
| 18 |
-
model
|
| 19 |
-
MORAD reward.
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
## File
|
| 26 |
-
|
| 27 |
-
| File | Content |
|
| 28 |
-
|---|---|
|
| 29 |
-
| `policy_step000390.pt` | MORAD policy after 390 updates, `{"model": state_dict}` (10,214,213 parameters) |
|
| 30 |
-
|
| 31 |
-
SHA-256 checksums are listed in `SHA256SUMS`.
|
| 32 |
|
| 33 |
## Results on the 153 test targets
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
| RiboDiffusion | 0.3132 | 0.2839 | 10.9215 | 0.3613 | 0.3267 | 0.6056 |
|
| 42 |
-
| gRNAde (T=0.1) | 0.3591 | 0.3179 | 8.8374 | 0.3642 | 0.6734 | 0.3458 |
|
| 43 |
-
| RDesign | 0.3291 | 0.2902 | 10.3441 | 0.3392 | 0.6566 | 0.3349 |
|
| 44 |
-
| RIDE | 0.3300 | 0.2841 | 9.7199 | 0.3538 | 0.6110 | 0.3906 |
|
| 45 |
-
| **MORAD** | **0.3827** | **0.3400** | **7.9196** | **0.3855** | **0.7295** | **0.2830** |
|
| 46 |
|
| 47 |
-
|
| 48 |
-
[repository README](https://github.com/Gabrile166/MORAD#results).
|
| 49 |
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
```bash
|
| 53 |
git clone https://github.com/Gabrile166/MORAD.git && cd MORAD
|
| 54 |
-
#
|
| 55 |
-
bash scripts/download_assets.sh #
|
| 56 |
-
bash scripts/evaluate_test153.sh morad #
|
| 57 |
```
|
| 58 |
|
| 59 |
-
`download_assets.sh` stores this file as `artifacts/models/morad/morad_update390.pt`.
|
| 60 |
-
Any MORAD checkpoint can be evaluated with
|
| 61 |
-
`RIDE_CHECKPOINT=path/to/policy.pt python evaluate.py --config configs/eval/test153.yaml`.
|
| 62 |
-
|
| 63 |
```python
|
| 64 |
import torch
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
```
|
| 69 |
|
|
|
|
|
|
|
|
|
|
| 70 |
## Citation
|
| 71 |
|
| 72 |
```bibtex
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
library_name: pytorch
|
| 4 |
datasets:
|
| 5 |
+
- MORAD-RNA/MORAD-Targets
|
| 6 |
tags:
|
| 7 |
- rna
|
| 8 |
- rna-design
|
|
|
|
| 11 |
- reinforcement-learning
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# MORAD-RIDE
|
| 15 |
|
| 16 |
+
The released model of **MORAD: Reinforcement Learning with Multi-Objective
|
| 17 |
+
Rewards for RNA Inverse Design**: the pretrained RIDE backbone-conditioned RNA
|
| 18 |
+
diffusion model, post-trained online for 390 updates with the six-objective
|
| 19 |
+
MORAD reward. One shared policy designs nucleotide sequences for any target 3D
|
| 20 |
+
backbone, with no per-target optimization.
|
| 21 |
|
| 22 |
+
[Project page](https://gabrile166.github.io/MORAD/) ·
|
| 23 |
+
[Code](https://github.com/Gabrile166/MORAD) ·
|
| 24 |
+
[Data](https://huggingface.co/datasets/MORAD-RNA/MORAD-Targets)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## Results on the 153 test targets
|
| 27 |
|
| 28 |
+
| Model | GDT-TS ↑ | TM-score ↑ | RMSD (Å) ↓ | Pairing MCC ↑ | NED ↓ |
|
| 29 |
+
|---|:---:|:---:|:---:|:---:|:---:|
|
| 30 |
+
| RiboDiffusion | 0.3132 | 0.2839 | 10.9215 | 0.3267 | 0.6056 |
|
| 31 |
+
| gRNAde | 0.3591 | 0.3179 | 8.8374 | 0.6734 | 0.3458 |
|
| 32 |
+
| RDesign | 0.3291 | 0.2902 | 10.3441 | 0.6566 | 0.3349 |
|
| 33 |
+
| RIDE | 0.3300 | 0.2841 | 9.7199 | 0.6110 | 0.3906 |
|
| 34 |
+
| **MORAD-RIDE** | **0.3827** | **0.3400** | **7.9196** | **0.7295** | **0.2830** |
|
| 35 |
|
| 36 |
+
<sub>Structures predicted with RhoFold+ (TM-score on C4′), base pairs with
|
| 37 |
+
EternaFold, normalized ensemble defect (NED) with ViennaRNA. gRNAde at T = 0.1.</sub>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
## Files
|
|
|
|
| 40 |
|
| 41 |
+
| File | Content |
|
| 42 |
+
|---|---|
|
| 43 |
+
| `morad_ride.pt` | policy weights, `{"model": state_dict}`, 10.2 M parameters |
|
| 44 |
+
| `SHA256SUMS` | checksum |
|
| 45 |
+
|
| 46 |
+
## Quick start
|
| 47 |
|
| 48 |
```bash
|
| 49 |
git clone https://github.com/Gabrile166/MORAD.git && cd MORAD
|
| 50 |
+
# set up the environments as described in the README, then
|
| 51 |
+
bash scripts/download_assets.sh # RIDE + RhoFold+ weights, data, this model
|
| 52 |
+
bash scripts/evaluate_test153.sh morad # evaluate on the 153 test targets
|
| 53 |
```
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
```python
|
| 56 |
import torch
|
| 57 |
|
| 58 |
+
state_dict = torch.load("morad_ride.pt", map_location="cpu")["model"]
|
| 59 |
+
# RIDE network definition: configs/ride_policy.yaml in the code repository
|
| 60 |
```
|
| 61 |
|
| 62 |
+
Training this model from pretrained RIDE takes about 2 hours on 4 × RTX 3090
|
| 63 |
+
(`bash scripts/train_morad.sh`).
|
| 64 |
+
|
| 65 |
## Citation
|
| 66 |
|
| 67 |
```bibtex
|