FlexRibbon: Joint Sequence and Structure Pretraining for Protein Modeling

Jianwei Zhu, Yu Shi, Ran Bi, Peiran Jin, Chang Liu, Zhe Zhang, Haitao Huang, Zekun Guo, Pipi Hu, Fusong Ju, Lin Huang, Xinwei Tai, Chenao Li, Kaiyuan Gao, Xinran Wei, Huanhuan Xia, Jia Zhang, Yaosen Min, Zun Wang, Yusong Wang, Liang He, Haiguang Liu, Tao Qin

TL;DR

FlexRibbon is a 3-billion-parameter protein foundation model that jointly learns sequence and 3D structure without requiring Multiple Sequence Alignments (MSAs). By combining masked language modeling with diffusion-based denoising, it achieves state-of-the-art performance across 12 diverse tasks, particularly excelling in modeling highly mutated and flexible regions like antibody loops where traditional evolutionary-based methods struggle.

What Problem Does This Paper Address?

Protein modeling has traditionally been split into two camps. Sequence-only models (like ESM-2) are fast and scale well but lack a deep understanding of 3D geometry. MSA-based models (like AlphaFold 2/3) are incredibly accurate at folding but rely on "evolutionary couplings"—essentially looking at how a protein's "relatives" have changed over time.

The problem arises when there are no relatives to look at. In "alignment-sparse" regimes—such as rapidly evolving pathogens, intrinsically disordered regions, or engineered antibodies—MSA-based models often falter. Furthermore, most models impose a one-way mapping from sequence to structure. The authors of FlexRibbon sought to create a model that understands the bidirectional relationship between sequence and structure, learning the underlying "physics" of proteins directly from a massive corpus of 3D coordinates.

Methods

FlexRibbon employs a hierarchical, three-stage architecture designed to balance computational efficiency with atomic-level precision:

FlexRibbon Training and Sampling Pipeline
  1. Sequence Module: A standard Transformer encoder that processes amino acid sequences and small-molecule topologies.
  2. Coarse-grained Structure Module: A Diffusion Transformer (DiT) that operates at the residue level (using "structural anchors") to capture global folds.
  3. All-atom Structure Module: A second DiT that refines the coarse representation into a full-atom structure, ensuring chemical validity through learnable attention biases for covalent bonds.

The core innovation is the Structure-Informed Masked Language Model (SIMLM) pretraining strategy. Instead of just masking words in a sentence, the model simultaneously masks amino acid identities and adds Gaussian noise to their 3D coordinates. To handle the variable quality of training data (which includes millions of predicted structures), the authors introduced a confidence-weighted diffusion loss. This uses pLDDT (a per-residue confidence score) to ensure the model doesn't overfit to unreliable, "hallucinated" geometry in the training set.

Datasets

  • Pretraining: A massive dataset of over 78 million protein structures. This includes ~78 million samples from the AlphaFold Protein Structure Database (AFDB) and ~181,000 experimentally resolved structures from the Protein Data Bank (PDB).
  • Evaluation: The model was tested on a wide array of benchmarks, including:
  • SAb23H2: For antibody and nanobody interface prediction and design.
  • FoldBench: For protein-peptide interface prediction.
  • PoseBusters V1: For protein-ligand docking.
  • CASF-2016: For protein-ligand binding affinity.
  • DeepFRI: For Gene Ontology (GO) and Enzyme Commission (EC) function prediction.
  • CASP15: For general protein monomer structure prediction.

Key Insights and Ideas

  • Bidirectionality is a Superpower: By training on sequence and structure simultaneously, FlexRibbon doesn't just predict how a protein folds; it can also "inverse fold," designing sequences that fit a specific 3D shape.
  • Hierarchical Scaling: Full-atom representations are memory-intensive. By splitting the task into coarse-grained and all-atom modules, the authors were able to scale the model to 3 billion parameters—significantly larger than previous joint models.
  • Ditching the MSA Crutch: FlexRibbon proves that with enough structural data, a model can internalize the rules of protein geometry well enough to outperform MSA-based methods in "mutation-rich" settings. It learns the rules of the fold rather than just memorizing evolutionary history.

Key Results

FlexRibbon established new state-of-the-art (SOTA) performance on 12 different tasks:

Antibody Design Success Rate
  • Antibody Design: On the SAb23H2 benchmark, it achieved a 61.3% success rate for antigen-antibody docking, a massive 14.6% absolute improvement over the previous best method (IgGM).
  • Peptide Binding: It reached a 91.4% success rate on FoldBench, outperforming AlphaFold 3 by 7%.
  • Ligand Docking: On PoseBusters V1, it achieved 71.8% accuracy in a single-sequence regime, reaching parity with MSA-based approaches like AlphaFold 3 and Boltz-1.
  • Function Prediction: It outperformed sequence-structure hybrids like ESM-GearNet in predicting enzyme activity and gene ontology terms, showing that its learned representations are deeply biological, not just geometric.

Limitations and Future Work

While FlexRibbon is a major step forward, the authors acknowledge some hurdles:

  • Reliance on "Teacher" Models: Much of the pretraining data comes from AlphaFold 2. While the adaptive loss helps, the model is still inherently influenced by any systematic biases present in AF2's predictions.
  • Confidence Estimation: The generative nature of the model means it can produce multiple plausible structures. The authors had to add a dedicated "confidence head" (predicting PAE and pLDDT) to help users identify the most reliable outputs.
  • Future Directions: The authors suggest expanding the model to handle even larger multi-protein complexes and integrating more diverse chemical entities beyond standard amino acids and small molecules.

Summary updated

BibTeX
@inproceedings{zhu2026flexribbon,
  author = {Jianwei Zhu and Yu Shi and Ran Bi and Peiran Jin and Chang Liu and Zhe Zhang and Haitao Huang and Zekun Guo and Pipi Hu and Fusong Ju and Lin Huang and Xinwei Tai and Chenao Li and Kaiyuan Gao and Xinran Wei and Huanhuan Xia and Jia Zhang and Yaosen Min and Zun Wang and Yusong Wang and Liang He and Haiguang Liu and Tao Qin},
  title = {{FlexRibbon: Joint Sequence and Structure Pretraining for Protein Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=B8BXHrshMi},
}
Figure