Papers
Topics
Authors
Recent
Search
2000 character limit reached

Torsional-GFN: Conditional Conformation Sampling

Updated 6 July 2026
  • The paper introduces Torsional-GFN, a conditional GFlowNet that samples rotatable dihedral angles with probabilities proportional to exp(-E/kT) to reflect Boltzmann distributions.
  • It factorizes molecular conformations into fixed local structures (bond lengths and angles) and flexible torsional variables, using off-policy trajectories and von Mises mixtures for policy parameterization.
  • Experimental findings show strong training performance and conditional transfer on molecules with limited torsion degrees, though generalization to unseen molecules remains challenging.

Searching arXiv for the primary paper and closely related work on torsion-focused molecular conformation generation. Torsional-GFN is a conditional conformation generator for small molecules that uses a GFlowNet over torsion angles to sample conformations approximately proportionally to the Boltzmann distribution, conditioned on a molecular graph and its local structure, namely bond lengths and bond angles (Volokhova et al., 15 Jul 2025). Its central design choice is to factor molecular conformation into local structure and torsional degrees of freedom, then train a reward-driven generative model whose target density is proportional to exp(E/kBT)\exp(-E/k_B T). Within this formulation, Torsional-GFN is positioned as a torsion-centric alternative to molecular dynamics and to likelihood-based generative approaches, with an emphasis on reward-only training, off-policy trajectories, and conditional zero-shot transfer to unseen bond lengths and angles for the molecules studied (Volokhova et al., 15 Jul 2025).

1. Scope and scientific setting

The target problem is to sample independent conformations cCGc \in C_G for a molecular graph G=(V,E)G=(V,E) from

p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),

where E(c)E(c) is the internal energy and Z(G)Z(G) the unknown normalizer (Volokhova et al., 15 Jul 2025). The paper motivates this distribution by its role in thermodynamic estimates, including free energies and binding affinity calculations in drug discovery.

The method is framed against two broad baselines. Molecular dynamics is described as accurate because it simulates physical time evolution, but expensive because uncorrelated samples require many small time steps. Other generative approaches, including Boltzmann generators and diffusion models, are described as potentially faster but often reliant on likelihood, Kullback-Leibler objectives, or importance reweighting, with associated mode-seeking, mean-seeking, or high-variance behavior (Volokhova et al., 15 Jul 2025). Torsional-GFN is introduced as a GFlowNet-based alternative that can train directly from reward signals and can use off-policy trajectory data without importance sampling.

A further premise is that the rigid-rotor approximation is insufficient if the full Boltzmann ensemble is sought, because bond lengths and bond angles fluctuate at finite temperature. Accordingly, the method does not fix local structure completely. Instead, it conditions on local structure and restricts the generative model itself to torsions (Volokhova et al., 15 Jul 2025). This places Torsional-GFN in the class of intrinsic-coordinate conformation models, but with the generative burden concentrated on the torus of rotatable dihedrals.

2. Factorization into local structure and torsional variables

The conformation is written in intrinsic coordinates as local structure LL, consisting of bond lengths and bond angles, together with torsions Φ=(ϕ1,,ϕm)\Phi=(\phi^1,\dots,\phi^m), the mm rotatable dihedral angles (Volokhova et al., 15 Jul 2025). The paper expresses the factorization as

p(cG)p(LG)p(ΦG,L).p(c \mid G) \approx p(L\mid G)\, p(\Phi \mid G, L).

In this decomposition, Torsional-GFN learns only the conditional torsional component,

cCGc \in C_G0

while cCGc \in C_G1 is supplied externally.

The intrinsic-to-extrinsic conversion is written as

cCGc \in C_G2

where cCGc \in C_G3 is the metric or Jacobian factor for the coordinate transformation (Volokhova et al., 15 Jul 2025). In the reported experiments, the model sets cCGc \in C_G4 for simplicity, while noting that the factor matters in a fully correct treatment. This detail is significant because it locates the method between a practical empirical implementation and a more exact statistical-mechanical formulation.

The reward is defined by the Boltzmann factor

cCGc \in C_G5

The conditional generative objective is therefore to sample torsion angles with probability proportional to this reward, given the graph and local structure (Volokhova et al., 15 Jul 2025). In this sense, Torsional-GFN is not merely a conformer proposal model; it is explicitly aimed at reward-proportional sampling on torsional space.

3. GFlowNet construction on the torsion torus

The state space is the cCGc \in C_G6-dimensional torus

cCGc \in C_G7

with one angle per rotatable bond (Volokhova et al., 15 Jul 2025). A trajectory is a sequence of torsion states

cCGc \in C_G8

starting from a source state cCGc \in C_G9 and progressing through sequential updates. The model uses a forward policy G=(V,E)G=(V,E)0 and a backward policy G=(V,E)G=(V,E)1, both parameterized as mixtures of von Mises distributions, which the paper treats as a natural parameterization for circular variables.

The training objective is the VarGrad GFlowNet objective. For a batch of trajectories G=(V,E)G=(V,E)2, the loss is

G=(V,E)G=(V,E)3

with

G=(V,E)G=(V,E)4

and

G=(V,E)G=(V,E)5

The full dataset loss is

G=(V,E)G=(V,E)6

(Volokhova et al., 15 Jul 2025).

The stated interpretation is that the objective drives the trajectory-wise quantity G=(V,E)G=(V,E)7 toward a constant G=(V,E)G=(V,E)8, which in turn implies that terminal torsion states are sampled in proportion to the reward (Volokhova et al., 15 Jul 2025). The paper emphasizes an operational advantage over importance-sampling-based energy training: the behavior policy may be any full-support off-policy distribution, and no importance weighting is required. This distinguishes the method from energy-based training schemes whose gradients depend directly on importance ratios.

4. Policy parameterization and VectorGNN

To support a single model across multiple molecules, the paper introduces VectorGNN, a graph neural network designed to be reflection-equivariant and to infer torsion-relevant geometry from the molecular graph and 3D coordinates (Volokhova et al., 15 Jul 2025). This is the principal architectural component used to amortize the forward and backward torsional policies across different conditional inputs.

The forward and backward policies are written as mixtures of von Mises distributions: G=(V,E)G=(V,E)9

p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),0

VectorGNN first performs invariant message passing to obtain atom embeddings, then predicts pairwise force-like quantities, converts them into torques around rotatable bonds, and outputs pseudo-scalars used to parameterize the von Mises mixture: p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),1 The paper presents this architecture as more suitable than a multilayer perceptron for structure sharing across molecules (Volokhova et al., 15 Jul 2025).

At inference time, the model is conditioned on a molecular graph p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),2 and an externally obtained local structure p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),3. It initializes from a source torsion state p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),4 sampled uniformly on p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),5, repeatedly samples updates from the learned forward policy, and after p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),6 steps constructs the full 3D conformation p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),7 from the fixed local geometry and the sampled torsions (Volokhova et al., 15 Jul 2025). The paper notes that the arbitrary reference atoms used to define each torsion only translate the reward landscape on the torus by a multiple of p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),8, which it treats as a robustness property of the formulation.

5. Training protocol and empirical findings

The reported experiments use six molecules from FreeSolv for training, each with two rotatable torsions, and two additional molecules for testing (Volokhova et al., 15 Jul 2025). Ground-truth conformations are obtained from molecular dynamics simulations using OpenMM and OpenFF 2.1.1, run for 2 ns at 1 fs and subsampled to 1 ps decorrelated frames, yielding 2001 conformations per molecule. For training, bond lengths and bond angles are fixed to those from one arbitrary molecular dynamics conformation per molecule, and the energy function is MMFF94s. Before GFlowNet training, VectorGNN is pretrained on supervised prediction of energy, p(cG)=1Z(G)exp(E(c)kBT),p(c \mid G) = \frac{1}{Z(G)} \exp\left(\frac{-E(c)}{k_B T}\right),9, and E(c)E(c)0 using 10,000 uniformly sampled torsion configurations per molecule (Volokhova et al., 15 Jul 2025).

Evaluation uses three metrics. The first is the Jensen-Shannon divergence between the discretized learned terminal distribution and the discretized target distribution,

E(c)E(c)1

The second is the log-probability versus log-reward correlation,

E(c)E(c)2

The third is the energy histogram Jensen-Shannon divergence ratio,

E(c)E(c)3

for which values below 1 indicate that Torsional-GFN is closer to molecular dynamics than random torsions (Volokhova et al., 15 Jul 2025).

On the training molecules, the paper reports strong agreement with the target landscape. Representative results include CCC, with E(c)E(c)4, E(c)E(c)5, and energy ratio E(c)E(c)6; C[C@@H]1CCCC[C@@H]1C, with E(c)E(c)7, E(c)E(c)8, and energy ratio E(c)E(c)9; and COC=O, with Z(G)Z(G)0, Z(G)Z(G)1, and energy ratio Z(G)Z(G)2 (Volokhova et al., 15 Jul 2025). The paper further states that, for several training molecules, the energy histograms of Torsional-GFN samples nearly overlap those of molecular dynamics, and the sampled probability landscapes visually track the molecular-dynamics reward landscape.

The results on held-out molecules are described more cautiously. One test molecule shows poor correlation and incomplete mode coverage, whereas the other shows partial generalization but not a perfect match (Volokhova et al., 15 Jul 2025). The empirical picture is therefore asymmetric: strong training-set performance, clear evidence of conditional transfer to unseen local structures for seen molecules, and only limited evidence for generalization to unseen molecules.

6. Generalization claims, limitations, and prospective extensions

A principal claim of the paper is zero-shot generalization to unseen local structures. The model is trained with fixed bond lengths and angles per molecule, then evaluated on new bond lengths and angles sampled from molecular dynamics for the same molecules (Volokhova et al., 15 Jul 2025). The reported qualitative two-dimensional plots show that the model can follow shifts in the energy landscape induced by these new local structures. This suggests that the learned torsion policy is not tied only to a single frozen geometry, but responds to conditioned local geometric changes.

The same section of the paper is explicit that unseen-molecule generalization is not yet established. The evidence is limited to two held-out molecules, one of which behaves poorly and one of which is only somewhat closer to molecular dynamics than random torsions (Volokhova et al., 15 Jul 2025). The authors accordingly describe this as potential rather than as a resolved capability.

The reported limitations are substantial and define the current scope of Torsional-GFN. Training is described as computationally expensive, with even the small experimental setting requiring a GPU with at least 40 GB memory. The experiments are restricted to molecules with only two rotatable torsions. Local structure is not generated by the GFlowNet; it is sampled from molecular dynamics and provided as conditioning input. In addition, the implementation sets Z(G)Z(G)3 rather than fully accounting for the intrinsic-to-extrinsic volume correction (Volokhova et al., 15 Jul 2025).

The paper identifies several future directions: training on larger datasets and larger molecular systems, extending the GFlowNet to generate local structures Z(G)Z(G)4 as well as torsions, exploring alternative policy parameterizations, and possibly using simulation-free objectives (Volokhova et al., 15 Jul 2025). A plausible implication is that the present method should be understood as a proof of concept for conditional Boltzmann-targeted torsional sampling rather than as a complete solution to unconditional conformer generation.

7. Relation to torsion-centric generative modeling

Torsional-GFN belongs to a broader line of work that concentrates conformation generation on flexible torsional coordinates rather than on full Cartesian space. The most immediate comparison in the supplied literature is “Torsional Diffusion for Molecular Conformer Generation,” which likewise focuses on torsion angles but uses a diffusion process on the hypertorus Z(G)Z(G)5 with an extrinsic-to-intrinsic score model rather than a GFlowNet objective (Jing et al., 2022).

The distinction is methodological and objective-level. Torsional diffusion learns a continuous-time score model and samples conformers by reverse diffusion; it is explicitly described as not building trajectories by sequentially adding actions to maximize a flow objective (Jing et al., 2022). Torsional-GFN, by contrast, is a conditional GFlowNet whose forward and backward policies define torsional trajectories, and whose terminal distribution is trained to be proportional to a reward defined by the Boltzmann factor (Volokhova et al., 15 Jul 2025). Both approaches concentrate the generative process on flexible dihedral variables, but only Torsional-GFN is cast as reward-proportional sampling via GFlowNet balance conditions.

This comparison also clarifies a common source of ambiguity in the term “torsional” within molecular machine learning. In this context it refers neither to mechanical torsion in materials nor to generic torsional dynamics in continuum mechanics. It denotes a torsion-space formulation of molecular conformation generation, where the primary latent or state variables are rotatable dihedral angles (Jing et al., 2022). Within that category, Torsional-GFN is specifically a conditional continuous GFlowNet on the torus of torsion angles, trained from reward alone and conditioned on local molecular geometry (Volokhova et al., 15 Jul 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Torsional-GFN.