Diffusion Model with Representation Alignment for Protein Inverse Folding

Chenglin Wang, Yucheng Zhou, Zijie Zhai, Jianbing Shen, Kai ZhangarXiv 2024

Abstract

Protein inverse folding is a fundamental problem in bioinformatics, aiming to recover the amino acid sequences from a given protein backbone structure. Despite the success of existing methods, they struggle to fully capture the intricate inter-residue relationships critical for accurate sequence prediction. We propose a novel method that leverages diffusion models with representation alignment (DMRA), which enhances diffusion-based inverse folding by (1) proposing a shared center that aggregates contextual information from the entire protein structure and selectively distributes it to each residue; and (2) aligning noisy hidden representations with clean semantic representations during the denoising process. This is achieved by predefined semantic representations for amino acid types and a representation alignment method that utilizes type embeddings as semantic feedback to normalize each residue. In experiments, we conduct extensive evaluations on the CATH4.2 dataset to demonstrate that DMRA outperforms leading methods, achieving state-of-the-art performance and exhibiting strong generalization capabilities on the TS50 and TS500 datasets.

Introduction

In the fields of drug design and synthetic biology, protein inverse folding—often called the "design problem"—is a critical challenge. While protein folding predicts a 3D shape from a sequence, inverse folding starts with a desired 3D backbone structure and seeks the amino acid sequence that will stably adopt that shape.

Existing computational methods often face two primary hurdles. First, they struggle to capture Global Context; proteins are integrated systems where distant residues can exert significant influence on one another. Second, they lack Semantic Guidance. Most models treat amino acids as discrete labels, failing to utilize their chemical "personalities" or semantics to guide the generative process, particularly during the noisy intermediate steps of a diffusion model.

Methodology: The DMRA Framework

DMRA addresses these challenges through a discrete diffusion framework that learns to denoise a random sequence of amino acids into a coherent sequence fitting a target 3D structure. The architecture introduces three core innovations:

  1. The Shared Center: Functioning as a global communication hub, a virtual node aggregates information from every residue across the protein structure. It then selectively redistributes this global context back to individual residues using a gated "Cell" module, ensuring every part of the protein is informed by the global topology.
  2. Representation Alignment (RA): During denoising, internal hidden representations can become disorganized. The RA module forces these noisy representations to align with "clean" semantic embeddings of the 20 amino acid types. Using a specific alignment loss ($L_{attn}$), the model receives constant feedback to ensure its predictions remain chemically plausible.
  3. Gated Cell Module: Instead of simple feature concatenation, a gating mechanism dynamically weights the integration of neighbor and edge information at each step.
The DMRA framework architecture, illustrating the conditioning, diffusion, and denoising processes.

Key Insights and Analysis

Global Communication is Non-Linear

Using KL divergence analysis, the authors demonstrated that the Shared Center does more than just increase data flow; it fundamentally enhances the model's ability to perform complex, non-linear transformations. This is particularly vital in the early layers of the network where the overall protein architecture is established.

KL Divergence analysis comparing models with and without the Shared Center module across different layers.

Semantics as a Compass

By aligning noisy states with clean amino-acid-type embeddings, the model learns to recognize the correct amino acids much earlier in the denoising process. Attention map visualizations reveal that as the network depth increases, the model's focus on the correct amino acid type becomes increasingly sharp and accurate.

Experimental Results

DMRA establishes a new state-of-the-art for protein inverse folding without relying on massive, external pre-trained language models:

  • Sequence Recovery: On the CATH4.2 dataset, DMRA achieved 64.07% recovery, significantly outperforming previous leaders like GRADE-IF (52.21%).
  • Generalization: It is the first model to exceed 70% recovery on the TS500 dataset (71.61%) without external pre-trained knowledge.
  • Structural Validity: When predicted sequences were folded back into 3D using AlphaFold2, the results showed extremely low Root Mean Square Deviation (RMSD) and high pLDDT scores, indicating that the predicted sequences accurately represent the target structures.

Conclusion and Future Work

While DMRA represents a significant leap forward, several areas for future research remain. The iterative nature of diffusion models results in slower inference speeds compared to one-shot models. Additionally, the current model focuses on the protein backbone; future iterations could explicitly model side-chain flexibility and extend the "Shared Center" logic to multi-protein complexes (quaternary structures).

Summary updated

BibTeX
@misc{wang2024diffusion,
  author = {Chenglin Wang and Yucheng Zhou and Zijie Zhai and Jianbing Shen and Kai Zhang},
  title = {{Diffusion Model with Representation Alignment for Protein Inverse Folding}},
  year = {2024},
  eprint = {2412.09380},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.09380},
}
Figure