Inferensys

Glossary

Torsional Diffusion

A diffusion-based generative model that operates on the torsional angle space of molecules to efficiently generate physically realistic 3D conformers by only modifying rotatable bonds.
ML engineer running AI model benchmarks, performance charts on multiple screens, late night home office setup.
CONFORMER GENERATION

What is Torsional Diffusion?

A generative diffusion model that operates exclusively on the torsional angle space of molecules to efficiently produce physically realistic 3D conformers.

Torsional Diffusion is a diffusion-based generative model that generates molecular 3D conformers by applying the denoising diffusion process solely to the torsional angles of rotatable bonds, while keeping local geometries (bond lengths and angles) fixed. This approach drastically reduces the dimensionality of the generation problem compared to operating on full Cartesian coordinates, leading to faster sampling and inherently preserving local chemical validity without requiring post-hoc relaxation.

By leveraging SE(3) equivariance and operating on a lower-dimensional internal coordinate subspace, Torsional Diffusion avoids the computational expense of modeling rigid-body translations and rotations. The model learns to reverse a noise process that perturbs dihedral angles, enabling it to generate diverse, energetically favorable conformers for drug-like molecules. This makes it a powerful tool for tasks like molecular docking and conformational ensemble generation in computational drug discovery.

MECHANISM

Key Features of Torsional Diffusion

Torsional Diffusion is a generative model that operates exclusively on the torsional angle space of molecules, generating physically realistic 3D conformers by modifying only rotatable bonds while preserving local geometry.

01

Torsional Angle Parameterization

The model operates on a reduced internal coordinate representation, modifying only dihedral angles of rotatable bonds. Bond lengths, bond angles, and ring geometries remain fixed, drastically reducing the dimensionality of the generative space compared to full Cartesian coordinate diffusion.

  • Input: Molecular graph with fixed local structures (bond lengths, angles)
  • Output: A set of torsion angles defining the 3D conformer
  • Dimensionality reduction: From 3N Cartesian coordinates to K torsion angles, where K << N
02

Diffusion on the Torus

Unlike standard Euclidean diffusion, torsional angles live on a flat torus (a product of circles). The diffusion process must respect this compact manifold topology. Noise is added and removed on the circle S¹ for each torsion angle, ensuring the probability density wraps correctly.

  • Forward process: Wraps angles with wrapped normal distributions
  • Reverse process: Learns to denoise angles back to physically plausible values
  • Manifold awareness: Prevents artifacts from treating angles as unbounded real numbers
03

SE(3) Invariance by Construction

By operating purely in internal coordinate space (torsion angles), the model is invariant to global rotation and translation by design. No equivariant network layers or tensor products are required, making the architecture simpler and more computationally efficient than Cartesian-space equivariant diffusion models.

  • No tensor products needed: Internal coordinates are naturally SE(3)-invariant
  • Simpler architecture: Standard message-passing GNNs suffice for the score network
  • Comparison: Cartesian models like EDM require SE(3)-equivariant layers
04

Score Network Architecture

The denoising score network is a message-passing neural network that operates on the molecular graph. It takes as input the current noisy torsion angles and predicts the score (gradient of the log-density) for each rotatable bond.

  • Node features: Atomic properties and current local geometry
  • Edge features: Bond types, distances between atoms affected by torsion changes
  • Output: Per-torsion score vectors on the circle S¹
  • Training objective: Denoising score matching on the torus
05

Conformer Ensemble Generation

Torsional Diffusion generates diverse, physically realistic conformer ensembles by sampling from the learned Boltzmann distribution. The stochastic nature of diffusion naturally captures the multi-modality of molecular conformational landscapes.

  • Diversity: Multiple low-energy conformers from a single model
  • Physical realism: Generated conformers respect steric clashes and ring strain
  • Benchmark performance: Competitive with or superior to GeoMol and ConfGF on GEOM-QM9 and GEOM-Drugs datasets
  • Speed: Generates conformers in seconds without iterative sampling
06

Ring and Constrained Geometry Handling

Rigid ring systems and constrained local geometries are preserved exactly throughout the diffusion process. Only exocyclic torsions and acyclic rotatable bonds are diffused. Ring conformations can optionally be sampled from pre-computed ensembles and treated as fixed during torsion diffusion.

  • Ring integrity: No distorted aromatic rings or unrealistic puckering
  • Hybrid approach: Combine pre-computed ring conformers with diffused acyclic torsions
  • Constraint satisfaction: Bond lengths and angles remain at equilibrium values
CONFORMER GENERATION COMPARISON

Torsional Diffusion vs. Other Conformer Generation Methods

A comparative analysis of Torsional Diffusion against classical and deep learning-based methods for generating physically realistic 3D molecular conformers.

FeatureTorsional DiffusionGeoDiff (EDM)RDKit ETKDGOMEGA

Operating Space

Torsional angle space (rotatable bonds only)

Full 3D Cartesian coordinate space

Distance geometry + torsion knowledge

Distance geometry + torsion knowledge

SE(3) Equivariance

Implicit (rotations/translations ignored by design)

Explicit (equivariant message passing)

Not applicable

Not applicable

Bond Length/Angle Preservation

Preserved by construction

Learned via equivariant constraints

Enforced via force field

Enforced via force field

Generative Framework

Score-based diffusion on torus

Score-based diffusion on Euclidean space

Stochastic search + scoring

Fragment-based assembly + scoring

Physical Plausibility

High (operates on physically valid manifold)

High (equivariant denoising)

Moderate (requires post-optimization)

Moderate (requires post-optimization)

Inference Speed (per molecule)

< 1 sec

10-60 sec

< 0.1 sec

< 0.5 sec

Coverage Score (GEOM-Drugs)

92.3%

88.7%

65.4%

71.2%

Ensemble Diversity

High (stochastic diffusion sampling)

High (stochastic diffusion sampling)

Moderate (deterministic seeding)

Low (rule-based enumeration)

TORSIONAL DIFFUSION EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about torsional diffusion models, their mechanisms, and their role in molecular conformer generation.

Torsional diffusion is a generative modeling framework that produces physically realistic 3D molecular conformers by operating exclusively on the torsional angle space of a molecule—the set of dihedral angles around rotatable bonds. Unlike standard diffusion models that add noise to Cartesian coordinates, torsional diffusion defines a forward noising process that gradually randomizes torsion angles while keeping bond lengths and bond angles fixed at their equilibrium values. The reverse generative process, parameterized by an SE(3)-equivariant neural network, learns to denoise these angles iteratively, steering the molecule toward a valid, low-energy conformer. By constraining the generative space to only the flexible degrees of freedom, torsional diffusion dramatically reduces the dimensionality of the problem, avoiding the generation of physically impossible bond geometries and enabling the efficient sampling of diverse, stable conformers for drug-like molecules.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.