Pareto Preference Optimization for Structure- and Stability-Aware RNA Inverse Folding

Minghao Sun, Hanqun Cao, Zhou Zhang, Chen Wei, Liang Wang, Tianrui Jia, Zhiyuan Liu, Tianfan Fu, Xiangru Tang, Yejin Choi, Pheng-Ann Heng, Fang Wu, Yang ZhangNeurIPS 2026

TL;DR

Designing an RNA sequence that folds into a specific 3D shape is like trying to write a sentence that sounds like poetry, makes grammatical sense, and survives a game of telephone—if you optimize for just one goal, the others fall apart. The authors introduce RiboPO, a multi-objective preference optimization framework that teaches an existing RNA design model to simultaneously improve 3D geometry and thermodynamic stability without falling into lazy biological "cheat codes." The result is a model that designs structurally faithful, energetically stable RNA sequences using a fraction of the usual computational guesswork.

What Problem Does This Paper Address?

At the heart of synthetic biology and RNA therapeutics is the inverse folding problem: given a target 3D molecular backbone, which sequence of nucleotides (A, U, C, G) will reliably fold into that exact shape?

Traditionally, deep learning models are trained to maximize "native sequence recovery"—guessing the exact letters nature used. The catch? RNA is notoriously floppy and flexible. Mimicking a native sequence doesn't guarantee the synthetic RNA won't flop into alternative shapes under physiological conditions.

On the flip side, if you use reinforcement learning or preference optimization to directly chase physical proxies like Minimum Free Energy (MFE, a measure of thermodynamic stability), the model discovers a classic reward-hacking shortcut: GC enrichment. Because G–C base pairs form three hydrogen bonds (compared to A–U's two), stuffing a sequence with Gs and Cs artificially craters the free energy score—creating a rock-solid molecule that folds into a completely wrong 3D shape. Furthermore, combining 3D accuracy (measured in Ångströms) and energy (kcal/mol) into a single weighted reward is brittle because their scales and noise levels are wildly different.

Methods

Instead of collapsing conflicting physical goals into one weighted average, RiboPO builds on top of a pretrained geometric neural network (gRNAde) using Direct Preference Optimization (DPO)—the same family of alignment techniques used to fine-tune LLMs, adapted here for biophysical reality.

Figure 1: Overview of RIBOPO. (a) Candidate generation from πref with multi-proxy scoring (pLDDT, RMSD, MFE). (b) ε-Pareto-dominance preference set with structural quality gate. (c) Frozen-reference DPO with decreasing-margin curriculum.

Here is what makes RiboPO's recipe distinct:

  • Variability-Aware $\varepsilon$-Pareto Dominance (New): RiboPO generates candidate sequences and scores them on 3D confidence (pLDDT), 3D structural error (RMSD), and stability (MFE). Rather than summing these scores, a "chosen" sequence beats a "rejected" one only if it improves across all three metrics simultaneously by a margin scaled to each metric's natural standard deviation. No single metric can trade off structural ruin for cheap energy gains.
  • Structural Quality Gate (New): Being relatively better isn't enough; winning sequences must also clear hard feasibility thresholds ($\text{pLDDT} > 0.70$ and $\text{RMSD} < 8.0\text{ Å}$).
  • Anchored-Reference Curriculum (Adapted/New): Optimization runs over multiple rounds. Crucially, the reference policy ($\pi_{\text{ref}}$) stays frozen at the base model (plus a small supervised fine-tuning anchor) to prevent catastrophic drift, while the Pareto margin shrinks across rounds—learning broad strokes early and fine refinements later.
  • Clipped Importance Reweighting (New Extension): Because generating 3D structure predictions is slow, reusing offline candidate pools across many rounds introduces off-policy distribution shift. The authors introduce a clipped importance-sampling weight to stabilize extended 5-round training.

Datasets

  • gRNAde DAS Split: Used unchanged for training and evaluation, consisting of 4,025 training, 100 validation, and 98 test RNA structures, strictly clustered so training and test shapes do not overlap. From 8 candidates per backbone, they construct ~20.8k training preference pairs.
  • SSTT Evaluation Panel: Rather than a new dataset of molecules, the authors organize a comprehensive evaluation protocol spanning Sequence, Secondary structure (EternaFold), Tertiary structure (RhoFold+, plus independent holdout predictors Boltz-2, AlphaFold3, and Protenix), and Thermostability (ViennaRNA).

Key Insights and Ideas

  • Sequence recovery is a mirage: Two designed sequences can share the exact same percentage of matching letters with a native RNA (e.g., 44.6% recovery on target 5C7W_1_C), while one folds into a tangled mess (18.46 Å error) and RiboPO's design nails the 3D fold (3.68 Å error).
  • Pareto labels naturally kill GC-hacking: Because $\varepsilon$-Pareto dominance agrees with every positive weighting of objectives simultaneously, any candidate that boosts stability by wrecking 3D geometry is automatically rejected—no hyperparameter weight-tuning required.
  • Real stability vs. compositional bloat: Even after statistically regressing out sequence length and GC content, RiboPO retains 65–69% of its free-energy improvements, proving it learns genuine structural stabilization rather than nucleotide stuffing.
  • Trimming the bad tail: Looking at sample distributions, RiboPO doesn't push the theoretical ceiling of the very best folds higher; instead, it dramatically shrinks the tail of low-confidence duds, making small-budget sampling much more reliable.

Key Results

On the 98-target DAS benchmark, the default two-round checkpoint (RiboPO-R2) consistently outperforms the base gRNAde model:

  • 3D Designability: Average RMSD drops from 11.45 Å to 10.23 Å, and the fraction of designs meeting the $<8\text{ Å}$ success threshold jumps from 41.6% to 51.0%.
  • Unseen Secondary Structure: Even though EternaFold scores are never used during training, secondary-structure consistency (scMCC) rises from 0.606 to 0.690 (and hits 0.710 at Round 4).
  • Thermostability: Mean MFE improves from -28.64 to -31.91 kcal/mol, while native sequence recovery dips slightly (0.529 to 0.502) as the model prioritizes physics over imitation.
  • 8x Sample Efficiency: Under matched candidate reranking, RiboPO needs just 8 candidate samples to match the joint structural success rate that base gRNAde requires 64 samples to achieve.
  • Cross-Predictor Transfer: Independent evaluation with Boltz-2 and Protenix confirms statistically significant improvements in TM-score, confidence, and RMSD.

Limitations and Future Work

  • In silico proxies only: Every structural and thermodynamic score in the study comes from computational predictors. Prospective wet-lab validation is still required to confirm folding and biological function in actual cells or test tubes.
  • Offline pool ceiling: Multi-round training currently reuses a static candidate pool generated by the base model. While clipped importance reweighting prevents collapse up to 5 rounds, generating fresh online candidates as the policy improves is highlighted as a prime next step.
  • Discrete rather than smooth steering: An optional weight-conditioned extension (using a lightweight FiLM layer) intended to let users smoothly dial preferences at inference time instead collapsed into two discrete modes (one favoring 2D structure, the other thermodynamics), because Pareto-dominant pairs never contain trade-off reversals.

Summary updated

Abstract

RNA inverse folding seeks sequences that fold into a desired three-dimensional structure. Learning to recover native sequences alone does not directly optimize structural fidelity and thermodynamic stability, while optimizing individual physical proxies can favor compositional shortcuts. We present **RiboPO**, a preference-optimization framework for structure- and stability-aware RNA inverse folding. **RiboPO** constructs preference pairs through $\varepsilon$-Pareto dominance with variability-scaled margins, selecting sequences that jointly improve structural and thermodynamic scores. A structural quality gate constrains the preferred candidates, and frozen-reference optimization with a decreasing-margin curriculum refines the policy across rounds. A clipped importance-reweighting extension supports continued learning from offline candidate pools. On the DAS benchmark, a single default checkpoint improves secondary-structure consistency, three-dimensional designability, and thermodynamic scores over the pretrained inverse-folding model. Evaluation with independent structure predictors supports the structural gains, while multi-seed experiments establish the reproducibility of the quality-control and reference designs. Matched-utility reranking shows that the refined candidate pools reach the base model's joint structural success with fewer samples. Specialist variants provide additional operating points for applications that prioritize individual objectives.
BibTeX
@inproceedings{sun2026pareto,
  author = {Minghao Sun and Hanqun Cao and Zhou Zhang and Chen Wei and Liang Wang and Tianrui Jia and Zhiyuan Liu and Tianfan Fu and Xiangru Tang and Yejin Choi and Pheng-Ann Heng and Fang Wu and Yang Zhang},
  title = {{Pareto Preference Optimization for Structure- and Stability-Aware RNA Inverse Folding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ZEneX95jqf},
}
Figure