DiffPack: A Torsional Diffusion Model for Autoregressive Protein Side-Chain Packing

Yangtian Zhang, Zuobai Zhang, Bozitao Zhong, Sanchit Misra, Jian Tang

Abstract

Protein Side-Chain Packing (PSCP) is a critical task in structural biology for understanding molecular interactions and drug binding. Traditional methods are often computationally expensive or produce chemically invalid structures. We present DiffPack, a novel generative model that treats PSCP as a diffusion process in torsional space. By generating the four key side-chain angles ($\chi_1$ to $\chi_4$) autoregressively, DiffPack ensures strict chemical validity while achieving state-of-the-art accuracy. Notably, DiffPack outperforms existing models with 60x fewer parameters, demonstrating the efficiency of physics-constrained architectural choices.

Introduction

Predicting the 3D structure of protein side-chains, given a fixed backbone, is essential for functional analysis. While deep learning has advanced protein folding, side-chain packing remains challenging. Coordinate-based models often violate physical constraints, such as bond lengths and angles, leading to steric clashes. DiffPack addresses these issues by departing from coordinate-based prediction in favor of Torsional Diffusion, operating directly in the torsional space of the side-chain "limbs."

Methods

DiffPack utilizes a Torsional Diffusion framework. Instead of predicting Cartesian coordinates, it models the joint distribution of the four torsional angles ($\chi_1, \chi_2, \chi_3, \chi_4$) that define a side-chain's shape. Because bond lengths and angles are kept constant, the resulting structure is always chemically "legal."

A key innovation is the autoregressive generation strategy: angles are denoised sequentially from the backbone outwards ($\chi_1 \rightarrow \chi_2 \rightarrow \chi_3 \rightarrow \chi_4$). This approach mitigates the "whip effect," where small perturbations in early angles cause massive displacements in terminal atoms. The model architecture leverages GearNet-Edge, an SE(3)-invariant graph neural network, to encode the protein's structural context. During inference, refinements such as annealed temperature sampling and a confidence-based ranking model are used to select the highest-quality conformations.

The DiffPack framework: (A) Torsional diffusion process and SE(3)-invariant architecture. (B) Autoregressive generation of side-chain angles.

Results

Evaluated on the CASP13 and CASP14 benchmarks, DiffPack sets a new state-of-the-art. It improves angle accuracy by approximately 12-13% relative to the previous leader, AttnPacker. Despite its superior performance, DiffPack is highly efficient, utilizing only 3 million parameters compared to AttnPacker's 208 million—a 60x reduction.

Quantitative comparison of DiffPack against established baselines, showing superior performance in angle accuracy and atom RMSD.

Furthermore, the model produces zero bond length violations and significantly fewer atom-on-atom clashes than coordinate-based models. When applied to AlphaFold2 structures, DiffPack consistently improved side-chain accuracy, proving its utility as a refinement module for existing structural biology pipelines. Interestingly, the model also learned to identify complex interactions like $\pi$-stacking without explicit supervision, suggesting it captures the underlying energy landscape effectively.

Conclusion

DiffPack demonstrates that incorporating physical constraints into generative models can lead to significant gains in both accuracy and efficiency. By modeling side-chains in torsional space and using an autoregressive diffusion process, it provides a robust solution for high-fidelity protein structure modeling. Future work will explore moving toward "co-generation," where the backbone and side-chains are diffused and denoised together to capture the full flexibility of the protein.

Summary updated

BibTeX
@inproceedings{zhang2023diffpack,
  author = {Yangtian Zhang and Zuobai Zhang and Bozitao Zhong and Sanchit Misra and Jian Tang},
  title = {{DiffPack: A Torsional Diffusion Model for Autoregressive Protein Side-Chain Packing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=sXMQPKbLXf},
}
Figure