Skip to main content
QUICK REVIEW

[Paper Review] VQPL: Vector Quantized Protein Language

Zhangyang Gao, Cheng Tan|arXiv (Cornell University)|Oct 8, 2023
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This paper proposes VQPL (Vector Quantized Protein Language), a method that unifies protein sequence and 3D structure into a discrete latent code space using a vector-quantized transformer (VQProteinformer). By projecting residue types and torsion angles into discrete symbols via a quantizer, the model enables joint sequence-structure modeling, achieving strong performance in reconstruction, prediction, and autoregressive generation tasks, with soft quantization significantly improving structural reconstruction fidelity.

ABSTRACT

Is there a foreign language describing protein sequences and structures simultaneously? Protein structures, represented by continuous 3D points, have long posed a challenge due to the contrasting modeling paradigms of discrete sequences. To represent protein sequence-structure as discrete symbols, we propose a VQProteinformer to project residue types and structures into a discrete space, supervised by a reconstruction loss to ensure information preservation. The sequential latent codes of residues introduce a new quantized protein language, transforming the protein sequence-structure into a unified modality. We demonstrate the potential of the created protein language on predictive and generative tasks, which may not only advance protein research but also establish a connection between the protein-related and NLP-related fields. The proposed method will be continually improved to unify more protein modalities, including text and point cloud.

Motivation & Objective

  • To unify protein sequence and 3D structure into a single discrete representation for joint modeling.
  • To overcome the modality gap between sequence (NLP-style) and structure (GNN-style) representations in protein modeling.
  • To enable protein representation learning that bridges natural language processing and structural biology.
  • To explore the potential of discrete protein language in predictive and generative protein modeling tasks.
  • To lay the foundation for future integration of additional modalities such as text and point clouds.

Proposed method

  • The VQProteinformer uses a transformer-based encoder to map corrupted protein sequences and structures into continuous latent representations.
  • A vector quantizer (VQ) maps the continuous embeddings into discrete latent codes, forming a discrete protein language.
  • A transformer-based decoder reconstructs the original sequence and structure from the discrete codes using a reconstruction loss.
  • Protein structures are converted into torsion angle sequences (r, α, β) to ensure rotational and translational invariance and enable sequence modeling.
  • Data corruption via masking and noising is applied to both sequence and structure inputs to improve representation learning.
  • Soft quantization is introduced to improve reconstruction quality by allowing differentiable soft assignments to codebooks.

Experimental results

Research questions

  • RQ1Can protein sequence and 3D structure be effectively unified into a single discrete latent space?
  • RQ2Can a discrete protein language enable end-to-end modeling with transformers, matching or exceeding performance of traditional sequence and structure models?
  • RQ3How does soft quantization compare to hard quantization in preserving structural and sequence information?
  • RQ4Can the learned discrete protein language improve downstream predictive and generative tasks?
  • RQ5Can the discrete representation support autoregressive generation of protein sequences with structural consistency?

Key findings

  • The soft quantizer (Soft-2) achieved a TMScore of 0.5786 on the CATH4.3 test set, significantly outperforming the vanilla quantizer (0.5592), demonstrating improved structural reconstruction.
  • The vanilla VQProteinformer with a 1024-codebook (Vanilla-8) achieved a TMScore of 0.5743, showing that larger codebooks marginally improve structural fidelity.
  • The VQProteinformer embeddings slightly outperformed the baseline in 6 out of 8 Gene Ontology and enzyme classification tasks, with a 0.4380 F1-score on BP and 0.8520 F1-score on fold classification.
  • The one-stage VQProteinformer (Vanilla-10) performed better than the two-stage fine-tuned model (Soft-2 → new MLM encoder), indicating that joint pretraining is more effective.
  • Visualizations showed that soft VQProteinformer reconstructions were more visually similar to ground truth structures than vanilla counterparts.
  • Autoregressive inpainting using the discrete protein language generated plausible structural fragments, suggesting generative capability of the learned language.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.