Encoding RNA Topology into Synthetic Alignments for 3D Structure Prediction

Jörg K.h. Franke, Iris K. Tennie, Michael Uhl, Ryan Koksal, Dominika Matus, Dominik Scheuer, Frank Hutter, Rolf Backofen, Frederic RungeNeurIPS 2026

TL;DR

Modern 3D molecular predictors like AlphaFold 3 rely heavily on evolutionary clues hidden across families of related sequences—clues that are notoriously scarce for RNA. Instead of hunting through massive databases for natural relatives that might not exist, this paper flips the script: it predicts an RNA’s 2D wiring diagram from a single sequence and synthesizes fake relatives that carry that exact structural blueprint. By feeding these synthetic alignments into frozen 3D predictors, the authors bypass slow database searches, rescue predictions for "orphan" RNAs, and reveal how deep learning models actually read sequence alignments.

What Problem Does This Paper Address?

Why has protein folding had its "AlphaFold moment" while 3D RNA prediction still lags behind? A massive piece of the puzzle is the Multiple Sequence Alignment (MSA). When nature mutates one nucleotide in an RNA base pair, it often mutates its partner to keep the 3D fold intact. By lining up thousands of evolutionary relatives (homologs) in an MSA, models like AlphaFold 3 spot these correlated mutations (covariation) and infer which parts of the chain touch in 3D space.

For proteins, databases are overflowing with deep, rich MSAs. For RNA, searching databases is painfully slow, and the resulting alignments are often shallow, noisy, or completely empty ("orphan" RNAs). The authors ask a clever question: if covariation is the actual signal the 3D model cares about, do we really need natural evolution to provide it?

Methods

Instead of inferring structure from sequence variation, the authors invert the pipeline to generate synthetic sequence variation from a candidate structure. They leave downstream 3D predictors (AlphaFold 3 and RhoFold+) completely frozen and only swap out the MSA input using two new tools:

  • RNAformer: A lean, transformer-based neural network that takes a single RNA sequence and predicts a dense 2D interaction map (which nucleotides pair up), requiring no MSA of its own.
  • Synthetic Co-evolution Engine (SCE): A fast, rule-based generator that takes a 2D map (from RNAformer or elsewhere) and writes Synthetic Homologous Sequences (SHS). SCE co-mutates paired positions simultaneously to preserve base-pairing while letting unpaired loop regions mutate more freely.
Figure 1: Natural homology search versus topology-conditioned alignment synthesis for RNA structure prediction. The standard pipeline (top) searches sequence databases and aligns retrieved homologs, which is expensive and often yields shallow MSA for RNA. Synthetic co-evolution (bottom) replaces the search: a predicted RNA topology is encoded into synthetic homologous sequences (SHS) and supplied to the 3D model in alignment form. Only the RNA alignment input is changed; the 3D predictor is fixed.

Generated in seconds without touching a sequence database, these SHS ensembles slot directly into the custom-MSA channel of standard 3D models.

Datasets

  • 2D Benchmarks: Evaluated on standard TS-PDB ($n = 125$) and TS-Hard ($n = 28$) sets, safeguarded against data leakage using strict sequence-identity, BLAST, and covariance-model homology filtering, alongside synthetic Rfam family checks.
  • 3D Benchmarks: Curated from the Protein Data Bank (PDB), including 91 single-chain RNAs and 377 RNA-protein complexes (capped at 200 nucleotides to isolate alignment effects from generic long-RNA failures), plus 25 longer RNAs (202–746 nt) to test length scaling. Crucially, targets are split by training cutoff dates, isolating post-cutoff orphan subsets (13 single chains, 96 complexes) where AlphaFold 3's natural search finds zero RNA homologs.

Key Insights and Ideas

  • The MSA input is an editable "topology channel": Frozen 3D models don't just benefit from having a thicker alignment; they actively read its base-pairing rules. Feeding equal-depth shuffled or random alignments actively wrecks 3D predictions compared to giving no alignment at all. You can literally edit 2D base pairs in the synthetic alignment and watch the 3D fold follow suit.
  • Completeness beats precision (and depth): Scaling synthetic alignments from 100 to 20,000 sequences barely budges accuracy. Furthermore, deleting wrong base pairs from a noisy 2D map leaves AlphaFold 3 unfazed, whereas adding missing true pairs jumps accuracy significantly. The 3D model is robust to false positives in the MSA, provided recall is high.
  • A ground-truth-free quality check: How do you know if SHS worked on a mystery RNA? Check self-consistency—whether the final 3D structure actually forms the 2D base pairs you encoded into the SHS. When self-consistency is high ($\ge 0.9$), SHS predictions match the accuracy of natural MSAs.
Figure 3: Quality of synthetic homologs is set by the input 2D prediction. a, DockQ of AF3 predictions for one-RNA-one-protein complexes (n=112) binned by the MCC of the 2D topology used to seed the SHS (against the DSSR reference pairs), for RNAformer, SPOT-RNA, and RNAfold; per-target mean over 4 seeds × 5 samples. DockQ increases with 2D accuracy for all three sources. b, Example (PDB ID 1SJ4): interaction topology from the PDB (via DSSR) or predicted by RNAformer, SPOT-RNA, or RNAfold (top); 2D topologies (middle) derived from the corresponding 3D structures (bottom) generated by AF3 with SHS seeded by these topologies. Single predictions (seed 1, sample 0). RNA magenta; protein gray.

Key Results

  • State-of-the-art 2D prediction: Under strict homology-filtered splits on TS-PDB, RNAformer outperforms existing single-sequence predictors like SPOT-RNA ($p = 6.88 \times 10^{-4}$) and extracts better 2D contacts on TS-Hard than AlphaFold 3 itself.
  • Beating the no-alignment baseline: Across 91 single-chain RNAs in AlphaFold 3, RNAformer-seeded SHS boost average TM-score (a 0–1 structural similarity metric) from 0.519 (no alignment) to 0.605, while shuffled (0.412) and random (0.179) controls actively mislead the model.
  • Parity on orphans in a fraction of the time: On held-out post-cutoff orphans, SHS generated from a single sequence perform on par with AlphaFold 3's natural MSA pipeline for both single chains (TM-score 0.405 vs. 0.385) and complexes (DockQ 0.307 vs. 0.303). On long RNAs (202–746 nt), homolog search eats up 87% of AlphaFold 3's runtime (taking up to 14 minutes and still returning nothing for the longest chains), whereas SHS generation takes seconds and lifts TM-score from 0.232 to 0.599 when given reference topologies.

Limitations and Future Work

SHS are a lifeboat for weak or missing alignments, not a universal replacement: when rich natural MSAs exist, natural evolution still wins (likely capturing subtle tertiary contacts and base triples, whereas SCE only encodes 1-to-1 pairwise interactions and ignores base stacking). Additionally, 3D quality is bottlenecked by the 2D predictor, orphan benchmark sizes remain modest, and tests above 200 nucleotides relied on ground-truth 2D topologies rather than predicted ones. Moving forward, SCE can be plugged into any custom-MSA predictor (like RoseTTAFoldNA or DRfold) and used to systematically probe RNAs whose folds are self-driven versus chaperoned by proteins.

Summary updated

Abstract

Modern 3D structure predictors rely on multiple sequence alignments (MSA) to expose evolutionary covariation, but for RNA those alignments are often missing, shallow, or unreliable. To overcome this limitation, we invert the co-evolutionary structure inference pipeline and encode a predicted 2D topology into synthetic alignment-form covariation, without database search or alignment steps. We introduce RNAformer, a transformer-based RNA secondary structure predictor that supplies the topology, and a Synthetic Co-evolution Engine (SCE) that encodes it into synthetic homologous sequences (SHS) by co-mutating paired positions. Comprehensive experiments and systematic interventions across two structure predictors show that the MSA input acts as a topology channel: equal-depth shuffled and random controls show that the encoded topology, not alignment depth, drives the response; interventions on the encoded topology steer the predicted 3D structure; and with reference topologies the effect persists for RNAs longer than 200 nucleotides. Natural MSAs remain the strongest input where homologs exist. On single-chain RNAs, RNAformer-seeded SHS significantly improve over a no-alignment baseline and match natural MSAs when the predicted 3D structure forms the encoded base pairs, a check that requires no ground truth. SHS are interpretable, fast, and require no database search.
BibTeX
@inproceedings{franke2026encoding,
  author = {Jörg K.H. Franke and Iris K. Tennie and Michael Uhl and Ryan Koksal and Dominika Matus and Dominik Scheuer and Frank Hutter and Rolf Backofen and Frederic Runge},
  title = {{Encoding RNA Topology into Synthetic Alignments for 3D Structure Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LCvUtLKdYo},
}
Figure