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 template diffusion method, named TDFold, to achieve accurate and highly efficient single-sequence 3D structure prediction for proteins. Given a protein sequence, TDFold initially generates high-quality inter-residue geometries (distances and orientations) as templates from a probabilistic diffusion perspective. Since inter-residue geometries can be encoded as multi-channel feature matrices, analogous to image features, we construct an image-level template diffusion module by adapting the stable diffusion (SD) model from text-vision generation to sequence-template diffusion for proteins. Subsequently, a lightweight sequence-template co-evolved learning (SCL) network is constructed to facilitate accurate and efficient protein structure prediction. TDFold significantly outperforms existing protein language models (PLMs) on homology-insufficient datasets such as Orphan and Orphan25, while maintaining low resource consumption and high training/inference efficiency.
Introduction
Predicting a protein's 3D shape from its sequence is a cornerstone of modern biology. While tools like AlphaFold2 have revolutionized the field, they rely heavily on Multiple Sequence Alignments (MSAs)—essentially looking at a protein's "evolutionary cousins" to guess its shape. This process is computationally expensive and often fails for "orphan proteins" that lack known relatives.
Existing single-sequence models like ESMFold are faster but often ignore structural template information, leading to lower accuracy. Furthermore, these models often use large Transformer architectures with high complexity, making them memory-hungry and slow for long protein sequences. TDFold addresses these challenges by adapting image diffusion techniques to generate high-quality structural templates from a single amino acid sequence.
Methodology: TDFold Architecture
TDFold operates in two distinct stages: Template Diffusion and Sequence-template Co-evolved Learning (SCL). The core innovation lies in treating inter-residue geometries (distance and orientation matrices) as multi-channel "images." The authors adapted a Stable Diffusion (SD) model—originally designed for text-to-image generation—to perform "sequence-to-template" generation. By using Low-Rank Adaptation (LoRA), the SD model's UNet and text encoder were fine-tuned to treat the protein sequence as a "text prompt" guiding the generation of the structural "image."
Following template generation, a lightweight graph-based SCL network refines the results. This module features a two-branch architecture (residue-level and atom-level) that fuses sequence data with the generated geometries. Finally, an SE(3) equivariant graph neural network (EGNN) projects these features into final 3D coordinates. To handle long sequences, position interpolation was implemented to extend the standard CLIP token limit, allowing the model to process proteins with thousands of residues.
Results and Benchmarking
TDFold was trained on approximately 352,409 non-redundant protein domains and benchmarked against CASP14, CASP15, and specialized "orphan" datasets. On the Orphan25 dataset, TDFold achieved a TM-score of 0.61, significantly outperforming ESMFold (0.54) and OmegaFold (0.52).
Beyond accuracy, TDFold offers massive speedups. For a 500-residue protein, TDFold takes about 10 seconds, compared to ~100 seconds for ESMFold and nearly 1,000 seconds for AlphaFold2. For very long sequences, the speedup reaches 10x to 100x. Additionally, TDFold is highly resource-efficient, requiring only ~7 GB of GPU RAM, making it accessible to researchers in resource-limited academic settings.
Discussion and Future Work
The "Geometry-as-Image" insight allows TDFold to leverage the spatial reasoning of vision models trained on billions of images. By framing structure prediction as an image generation task, the model can be trained in just one week on a single consumer-grade GPU (NVIDIA 4090). While homology-based methods like AlphaFold3 may still hold an edge when massive evolutionary data is available, TDFold establishes a new paradigm for single-sequence and orphan protein prediction. Future work will focus on extending this diffusion-based approach to multi-protein complexes and further optimizing the SCL stage for even higher resolution.
Summary updated