Papers
arxiv:2611.36185

Effects of Structural Reward Shaping on Biophysical Properties in RL-Trained Plasmid Generators

Published on Nov 26
· Submitted by
McClain Thiel
on Nov 30
Authors:
,
,

Abstract

Reinforcement learning post-training with GRPO and a biologically motivated reward yields much higher quality-control pass rates and closer distributional realism for PlasmidGPT-generated plasmids than supervised fine-tuning or rejection sampling, although SFT achieves better predictive log-likelihood.

We compare the efficacy and distributional effects of supervised fine-tuning (SFT) and reinforcement learning (RL) post-training for PlasmidGPT, a foundation model for whole-plasmid generation, using Group Relative Policy Optimization (GRPO) for the RL model. Using a biologically motivated reward function encoding functional annotations, length constraints, and repeat penalties, the RL model achieves a 71.6% quality-control pass rate across 8 prompts on 4,000 sequences, compared to 4.3% for the pretrained baseline and 11.0% for SFT. A five-model reward ablation identifies the cassette arrangement bonus, which rewards correct promoter->CDS->terminator ordering, as the critical reward component. Rejection-sampling baselines indicate that the gain is not recovered by sampling up to K=64 candidates from the base model (54.5%), while matching single-sample RL requires 16times more rejection samples from SFT. Beyond directly optimized features, RL-generated sequences converge toward real plasmid distributions in 3-mer composition and minimum free energy density, neither of which is directly optimized by the reward function. Minimum free energy density independently converges to the real-plasmid regime under both SFT and RL despite these being parallel post-training paths. On 29 curated non-Addgene held-out plasmids, RL improves per-token continuation log-likelihood over the pretrained baseline on all 29 sequences (mean Δ= +0.83 nats), though SFT achieves higher predictive log-likelihood (-7.35 vs. -8.16 nats).

Community

Paper submitter

Code and project page for our paper "Effects of Structural Reward Shaping on Biophysical Properties in RL-Trained Plasmid Generators" (PlasmidRL): GRPO post-training for PlasmidGPT with a biologically motivated structural reward raises quality-control pass rates to 71.6% (vs. 4.3% pretrained and 11.0% SFT) and converges toward natural plasmid 3-mer composition and MFE density.

Sign up or log in to comment

Models citing this paper 7

Browse 7 models citing this paper

Datasets citing this paper 1

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2611.36185 in a Space README.md to link it from this page.

Collections including this paper 3