Effects of Structural Reward Shaping on Biophysical Properties in RL-Trained Plasmid Generators
McClain Thiel, Angus G. Cunningham, Chris P. Barnes
University College London
Published November 26, 2026 · on the feed November 30, 2026 · ▲ 2 · arXiv 2611.36185
The abstract
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).
The Brief
2:25A short podcast summary of the paper. Written and voiced by AI.
Transcript
Effects of Structural Reward Shaping on Biophysical Properties in RL-Trained Plasmid Generators. By McClain Thiel and two others, from University College London. Published on the twenty-sixth of November.
The comparison here is between two ways of post-training a generative model of whole plasmids. The model is PlasmidGPT, a foundation model for whole-plasmid generation. One route is supervised fine-tuning, which the authors shorten to SFT. The other is reinforcement learning, carried out with Group Relative Policy Optimization. Both are judged on efficacy and on distributional effects, meaning not just how often the output passes inspection but what the sequences end up looking like. The reward function is biologically motivated: it encodes functional annotations, imposes length constraints, and penalises repeats.
On quality control, the reinforcement learning model passes seventy-one point six percent of the time, measured across eight prompts on four thousand sequences. The pretrained baseline passes four point three percent of the time, and supervised fine-tuning eleven point zero percent. A five-model ablation of the reward identifies which component is doing the work: the cassette arrangement bonus, which rewards getting the ordering right from promoter, to CDS, to terminator.
Rejection sampling was tried as an alternative explanation and does not account for the gain. Drawing up to sixty-four candidates from the base model reaches fifty-four point five percent. Matching single-sample reinforcement learning from the supervised model takes sixteen times more rejection samples. Beyond the features that were optimized directly, the reinforcement learning sequences move toward real plasmid distributions in three-mer composition and in minimum free energy density, neither of which the reward function targets.
That last convergence comes with a qualification the authors are careful to state. Minimum free energy density reaches the real-plasmid regime independently under both supervised fine-tuning and reinforcement learning, even though those are parallel post-training paths. The held-out test is small and specific: twenty-nine curated plasmids from outside Addgene. There, reinforcement learning improves per-token continuation log-likelihood over the pretrained baseline on every one of the sequences. But supervised fine-tuning attains the higher predictive log-likelihood of the two, at minus seven point three five nats against minus eight point one six.
The two post-training routes are not ordered the same way by every instrument. Reward shaping is what buys the pass rate, and one structural bonus inside it carries most of that. Some of the biophysical agreement with real plasmids arrives without being asked for, and arrives by either path.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free