FoldToken2: Learning compact, invariant and generative protein structure language

Zhangyang Gao, Cheng Tan, Stan Z. LiarXiv 2024 · DOI

Abstract

FoldToken2 introduces a novel framework for tokenizing complex 3D protein structures into a discrete, invariant language. By representing protein folds as compact tokens, the model enables standard generative architectures to reconstruct and design structures with sub-Angstrom precision. FoldToken2 addresses the challenges of SE-(3) equivariance and long-range dependencies, achieving significant performance gains over its predecessor while maintaining high computational efficiency. This approach bridges the gap between geometric deep learning and large-scale language modeling for structural biology.

Introduction

The functional capacity of a protein is fundamentally dictated by its three-dimensional fold. In the field of machine learning, representing these complex geometries remains a significant challenge. Protein coordinates are inherently SE-(3) equivariant; any rotation or translation in 3D space alters the coordinate values without changing the underlying biological structure. This "coordinate noise" often hampers model performance. While the original FoldToken attempted to simplify this by using local torsion angles, it failed to capture the long-range spatial dependencies critical for accurate structural modeling. FoldToken2 addresses these limitations by developing a representation that is simultaneously invariant, compact, and generative.

Methodology

FoldToken2 functions as a bidirectional translator between continuous 3D geometry and a discrete "fold language." The architecture consists of three primary innovations:

  1. Invariant Structure Encoder (BlockGAT): To move beyond simple angle-based representations, FoldToken2 employs a frame-based Graph Attention Network. By treating each amino acid as a rigid "block" with its own local coordinate system, the model effectively captures complex 3D relationships and long-range dependencies in an invariant manner.
  2. Vector-Quantized Compressor (T-SoftCVQ): This module discretizes continuous structural features into a "codebook" of tokens. To ensure stable training, the authors implemented a teacher-guided temperature annealing strategy, which gradually forces the model to commit to discrete tokens while maintaining gradient flow.
  3. Equivariant Structure Decoder: A novel SE-(3) layer serves as a "plug-and-play" module to reconstruct 3D coordinates from discrete tokens. It iteratively refines the structure from initial noise, conditioned on the fold language.

Datasets and Evaluation

The model was rigorously evaluated using the CATH4.3 dataset, with specific focus on the T493 "core" test set and the T116 subset for benchmarking against existing state-of-the-art methods. Furthermore, to demonstrate scalability, the researchers trained the model on a massive dataset of 162,000 multi-chain protein complexes from the Protein Data Bank (PDB).

Results and Discussion

FoldToken2 demonstrates substantial improvements in both accuracy and efficiency. Compared to its predecessor, it achieved a 20% increase in TMScore and an 81% reduction in RMSD. On the T116 benchmark, the model reached an average RMSD of 0.41Å, indicating near-perfect structural reconstruction.

Beyond accuracy, the efficiency of FoldToken2 is a standout feature. While models like AlphaFold2 require extensive computational resources, FoldToken2 can be trained on the entire PDB in approximately 24 hours using 8 NVIDIA A100 GPUs. This efficiency suggests that discretization is not only viable for geometry but also highly optimized for large-scale learning.

Conclusion and Future Directions

FoldToken2 proves that complex 3D protein geometry can be effectively compressed into a discrete language without losing structural fidelity. This breakthrough opens the door for generative protein design using established NLP architectures. Future work will focus on "TokenFlow," a model for sequence-to-fold translation, and "FoldGPT," a generative model capable of "writing" new protein structures by predicting tokens in the fold language.

Summary updated

BibTeX
@misc{gao2024foldtoken,
  author = {Zhangyang Gao and Cheng Tan and Stan Z. Li},
  title = {{FoldToken2: Learning compact, invariant and generative protein structure language}},
  year = {2024},
  eprint = {2407.00050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.00050},
}
Figure