Visual-like 2D Geometric Template Diffusion for Boosting Single-Sequence Protein Structure Prediction

Xudong Wang, Tong Zhang, Zhen Cui, Xu Guo, Fuyun Wang, Yuanzhi Wang, Xing Cai, Wenming ZhengbioRxiv 2025

Abstract

Single-sequence protein structure prediction has drawn increasing attention due to the high computational costs associated with obtaining homologous information. Here, we propose a visual-like 2D geometric template diffusion method, named TDFold, to generate high-quality pairwise geometries (including pairwise distances and orientations) for achieving accurate and highly efficient single-sequence 3D structure prediction for proteins. Given a protein sequence, TDFold initially generates high-quality inter-residue geometries from a probabilistic diffusion perspective. Since inter-residue geometries can be encoded as multi-channel feature matrices, analogous to image feature maps, we construct an image-level 2D geometric template diffusion module by adapting the stable diffusion (SD) model from text-vision generation to sequence-geometry diffusion for proteins. Subsequently, a lightweight sequence-geometry collaborative learning (SCL) network is constructed to facilitate accurate and efficient protein structure prediction. TDFold achieves superior performance on homology-insufficient datasets like Orphan and Orphan25, while maintaining low resource consumption and high efficiency in training and inference.

Introduction: The Challenge of Single-Sequence Prediction

Predicting a protein's 3D shape from its sequence is a fundamental challenge in biology. While tools like AlphaFold2 have revolutionized the field, they rely heavily on Multiple Sequence Alignments (MSAs)—searching massive databases for similar evolutionary sequences to find structural clues. This process is computationally expensive and often fails for "orphan proteins" that lack known relatives. Recent Protein Language Models (PLMs) like ESMFold attempt to predict structure from a single sequence but often lack the structural "templates" needed for high precision. TDFold addresses this by generating high-quality structural templates from scratch using generative AI, bypassing the need for biological database searches.

Methodology: TDFold and Stable Diffusion

The TDFold framework introduces a two-stage approach to protein folding:

  1. Template Diffusion Stage: The core innovation treats inter-residue geometries (distances and angles) as 2D multi-channel images. By adapting the Stable Diffusion (SD) framework, the model performs "sequence-to-template" diffusion. The amino acid sequence acts as a "text prompt," and LoRA (Low-Rank Adaptation) is used to fine-tune the SD model’s UNet and text encoder. This allows the model to learn protein-specific spatial patterns efficiently without retraining the entire massive model.
  2. Sequence-template Co-evolved Learning (SCL): A lightweight graph-based network converts the generated 2D geometry maps into 3D coordinates. This module utilizes a two-branch architecture (residue-level and atom-level) to ensure the final structure respects both the overall fold and fine-grained atomic details.
The TDFold architecture, featuring a 2D geometric template diffusion module and a sequence-template co-evolved learning network.

Experimental Results

TDFold was evaluated on several rigorous benchmarks, including CASP14, CASP15, CASP16, and specifically curated datasets for proteins with few homologs (Orphan and Orphan25).

  • Superior Accuracy on Orphans: TDFold significantly outperformed existing PLMs like ESMFold and OmegaFold on the Orphan datasets. On the Orphan25 benchmark, it achieved a TM-score of 0.61, compared to ESMFold’s 0.54. It also achieves promising results on popular CASP benchmarks.
  • Efficiency and Resource Footprint: TDFold is 10x to 100x faster than AlphaFold2 or AlphaFold3 for long sequences, predicting a 500-residue protein in approximately 10 seconds. It requires only ~7GB of GPU memory for inference and can be trained in one week on a single NVIDIA 4090 GPU.
  • Viral Protein Success: The model demonstrated a remarkable ability to predict the structures of rapidly evolving viral proteins, such as SARS-CoV-2 accessory proteins, where traditional homology-based methods often struggle.
Performance comparison on Orphan protein datasets and visualization of predicted distance matrices and 3D structures.

Discussion and Future Directions

While TDFold represents a breakthrough for single-sequence prediction, several areas for future work remain. The discretization of continuous geometric values into 8-bit "pixels" for the diffusion model could potentially lose fine-grained precision. Additionally, while the current model focuses on single-chain structures, extending this visual-like diffusion to protein-protein complexes is a logical next step. Tighter integration between the diffusion process and 3D coordinate generation could also further refine the final structural outputs.

Summary updated

BibTeX
@misc{wang2025visual,
  author = {Xudong Wang and Tong Zhang and Zhen Cui and Xu Guo and Fuyun Wang and Yuanzhi Wang and Xing Cai and Wenming Zheng},
  title = {{Visual-like 2D Geometric Template Diffusion for Boosting Single-Sequence Protein Structure Prediction}},
  year = {2025},
  doi = {10.1101/2025.07.03.662909},
  howpublished = {bioRxiv},
}
Figure