Overview
Standard autoregressive DNA language models generate nucleotide-plausible strings that routinely fail strict biological viability criteria (functional origin of replication, intact selectable marker, and absence of >= 50 bp repeats). Applying Group Relative Policy Optimization (GRPO) to PlasmidGPT with a multi-component bioinformatics reward (BLAST, NCBI AMRFinderPlus, Prodigal, length prior, repeat penalty, and cassette ordering bonus) raises strict QC pass rate from 4.3% to 71.6% across 4,000 generated sequences (8 prompts x 500 samples) while matching real plasmid distributions on unrewarded biophysical properties such as minimum free energy density and 3-mer spectrum.
Headline Results
| Model | Checkpoint | Strict QC Pass Rate (n=4,000) | Paper Protocol T |
|---|---|---|---|
| PlasmidGPT (Base) | UCL-CSSB/PlasmidGPT | 4.3% | T = 1.00 (main) / 1.00 (rej.) |
| PlasmidGPT-GRPO (RL) | UCL-CSSB/PlasmidGPT-GRPO | 71.6% (~17x Base) | T = 1.00 (main) / 0.95 (ablat.) / 1.15 (rej.) |
Quick Start
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("UCL-CSSB/PlasmidGPT-GRPO")
tokenizer = AutoTokenizer.from_pretrained("UCL-CSSB/PlasmidGPT-GRPO")
input_ids = tokenizer("ATG", return_tensors="pt").input_ids
outputs = model.generate(input_ids, max_new_tokens=512, do_sample=True, temperature=1.0)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Citation
@inproceedings{thiel2026plasmidrl,
title = {Effects of Structural Reward Shaping on Biophysical Properties in {RL}-Trained Plasmid Generators},
author = {Thiel, McClain and Cunningham, Angus G. and Barnes, Chris P.},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning (ICML)},
series = {Proceedings of Machine Learning Research},
volume = {306},
pages = {120490--120503},
year = {2026},
publisher = {PMLR},
eprint = {2611.36185},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://proceedings.mlr.press/v306/thiel26a.html},
}
Download BibTeX · Download CSL-JSON · Companion paper: PlasmidLM: A Promptable DNA Language Model via Verifiable-Reward Post-Training