When a chemist wants the path a flexible molecule takes from one shape to another, they usually hand a local optimizer a straight-line guess and let it relax. A local optimizer here means a method like the nudged elastic band, which bends a chain of intermediate structures downhill on the energy surface. The answer then depends heavily on that first guess. A straight line in atom positions stretches bonds and pushes atoms through each other. A straight line in torsion angles, the rotations about single bonds that make up nearly all of a molecule's flexibility, keeps bonds intact. It has two problems of its own. A small twist near the middle of the chain swings distant atoms through large arcs, the so-called lever-arm effect. And every bond has to be turned in some direction, clockwise or counter-clockwise. Naive torsion interpolation always picks the shorter arc for each bond, independently. Those direction choices sort candidate paths into classes that no amount of local smoothing can move between. If the seed lands in the wrong class, the optimizer converges to a high barrier or never resolves a clash.
This note proposes making that hidden discrete choice explicit. We treat the joint pattern of turning directions, which we call the winding class of a path on the torus of torsion angles, as the thing to search over, using a cheap lazy graph search. Each candidate is scored by a local path cost that measures distance as actual atom displacement rather than raw angle change, which suppresses lever-arm swings. Only the best few classes are handed to a gap-tolerant local optimizer. The claim is that most failures of molecular path optimization from poor initialization are winding-class errors, not resolution errors. A small, targeted search over winding classes should therefore beat random restarts, Cartesian elastic bands, and learned seeds at equal numbers of energy evaluations.
Core Claim
Represent a conformation by its $m$ rotatable torsions $\theta \in \mathbb{T}^m$, the hypertorus where each angle wraps at $360^\circ$, with bond lengths and angles held fixed. Any path between endpoints $\theta_A$ and $\theta_B$ belongs to a homotopy class: a family of paths that can be continuously deformed into one another. On the torus, the class is labelled by an integer winding vector $k \in \mathbb{Z}^m$ that records how many net turns each bond makes beyond the short arc. Steric walls on the energy surface split each class further, into variants that differ in which torsion moves first. Continuous optimizers cannot change $k$ and rarely change the move ordering, so both must be chosen before optimization starts.
To score candidate paths without lever-arm distortion, we measure path length using the metric that the torsion-to-Cartesian map induces on the torus:
$$ G(\theta) = J(\theta)^\top W J(\theta), \qquad L[\theta(\cdot)] = \int_0^1 \sqrt{\dot\theta^\top G(\theta)\,\dot\theta}\;dt . $$
Here $J(\theta)$ is the Jacobian of rigid-body-aligned atom positions with respect to torsions. $W$ is a diagonal mass weighting. $L$ is the path length in this metric, which equals the mass-weighted distance atoms actually travel. Under the flat torus metric, a twist near the root of the molecule costs the same as a twist at a terminal methyl group. Under $G$, it costs what it does physically.
This is the path-level counterpart of the covariance correction in Internal-Coordinate Density Modelling of Protein Structure: Covariance Matters. That paper shows independent internal-coordinate models overestimate distal fluctuations (atom-fluctuation MSE 1.550 versus 0.039 with induced covariance on 1pga), fixing this with a precision matrix induced from 3D constraints. Its correction is a density model under a small-angle approximation. Ours is a metric on paths, and we recompute $J$ along the path, so it does not rely on that linearization.
The search objective for a candidate path in class $(k, \text{ordering})$ adds an energy term to the metric length:
$$ C = L[\theta(\cdot)] + \lambda \int_0^1 \max\!\big(0,\, E(\theta(t)) - E_{\text{ref}}\big)\,dt . $$
Here $E$ is the potential energy from a classical force field, $E_{\text{ref}}$ is the higher of the two endpoint energies, and $\lambda$ trades path length against how far the path rises above that reference.
Research Program
The system has three parts.
The first is a winding-class proposer. For each torsion we compute both arcs between endpoints. Torsions whose short arc is under about $90^\circ$ are fixed to the short arc. Only the remaining ambiguous torsions, usually a handful even in drug-like molecules, branch into two directions. The proposer then builds a lazy graph whose nodes are partial assignments of direction and move ordering over the ambiguous torsions. It scores edges by $C$ evaluated on a coarse piecewise-geodesic path, and evaluates edges only when the search actually needs them.
This borrows the search structure of Torque-Limited Manipulation Planning through Contact by Interleaving Graph Search and Trajectory Optimization. Lazy INSAT interleaves A* search with local trajectory optimization and inserts partial optimizer results back into the graph as vertices, for robot arms with Euclidean joint limits. It never confronts wrapping coordinates, because limited joints have no winding. We keep its lazy edge evaluation and its rule of reinserting partial results. What we change is the discrete variable: on a torus with no joint limits, the thing worth searching over is the topological class of the path, not a lattice of waypoints.
The second part is a gap-tolerant local optimizer in torsion space. Each seed is refined by an elastic band whose images live on $\mathbb{T}^m$, with spring forces and tangent projections computed under $G$ rather than the flat torus metric. Following the feasibility-driven idea in Crocoddyl: An Efficient and Versatile Framework for Multi-Contact Optimal Control, we let early iterations tolerate gaps. In Crocoddyl, FDDP permits dynamic infeasibility between shooting nodes and closes it gradually. Here, neighbouring images may be far apart in $G$-distance and steric penalties start soft and are ramped. A seed that briefly passes through a clash is therefore repaired rather than rejected.
The oblique-projection idea from Geometry-Preserving Nudged Elastic Band and Dimer Methods under Anisotropic Force Uncertainty is the closest methodological relative. UA-NEB places a force-error covariance into the band geometry in Cartesian space. We place a kinematic metric into the band geometry in torsion space. The two are compatible, and we test them as orthogonal.
The third part is analysis. For small systems we can compute exact reference answers, so we can measure how often each method's final path lies in the globally best winding class. We can also separate two failure sources. A wrong class is unfixable by the local optimizer. A right class with bad local convergence is fixable by better optimization. This decomposition, more than any headline number, tests the core claim. Rings are out of scope: closed loops break the tree assumption and need coordinates such as those in Generating Cyclic Conformers with Flow Matching in Cremer-Pople Coordinates.
Baselines
The naive reference is a short-arc linear interpolation in torsion space, refined by the same torsion-space elastic band under the flat metric. This isolates what happens when both the winding choice and the lever-arm correction are absent. In robotics the analogous naive seed is catastrophic: Learning-based Initialization of Trajectory Optimization for Path-following Problems of Redundant Manipulators reports 2.3% success for linear-interpolation warm starts versus 88.9% for its learned seed on its Fetch benchmark. We expect a large gap in the molecular setting too, but have no molecular number to anchor that expectation.
The strongest existing method for this question is Cartesian elastic-band optimization, in which bond geometry is held in place only by stiff force-field terms. We run it in two forms: standard stochastic or deterministic NEB, and UA-NEB with its metric-weighted projections (Geometry-Preserving Nudged Elastic Band and Dimer Methods under Anisotropic Force Uncertainty). On its W-vacancy benchmark, UA-NEB reduced mean absolute barrier error by 56% over stochastic NEB. That figure is about force noise on a different system, so it is not directly comparable. No reported result was found on Lacuna for Cartesian NEB or UA-NEB on alanine dipeptide, chignolin, or GEOM conformer pairs, so we will establish those numbers ourselves.
The learned-sampler competitor is Transition Path Sampling with Improved Off-Policy Training of Diffusion Path Samplers. TPS-DPS trains Cartesian bias forces with a log-variance objective, without hand-picked collective variables (preselected low-dimensional coordinates for the motion). The file reports no quantitative success rates for it, so we will rerun it on its own systems. Wherever a TPS-DPS path exists, we will also use it as a seed for our local optimizer.
A learned-seed competitor uses Torsional Diffusion for Molecular Conformer Generation, trained on GEOM, to generate conformers as candidate waypoints. Those waypoints are chained by short arcs and refined with our optimizer, in the spirit of DiffusionSeeder: Seeding Motion Optimization with Diffusion for Rapid Motion Planning.
Two ablations isolate the key ingredient. Random winding restarts sample $k$ and the move ordering uniformly and spend the same budget. Searched classes under the flat metric drop $G$. All methods share one force field, one stopping tolerance, and a fixed budget of energy and force evaluations that includes search cost and generator inference. Each method gets the same hyperparameter-tuning budget on held-out molecules.
Beating the strongest baseline means three things at matched evaluation budget. The method must find a lower maximum barrier, or reach the globally best class more often. It must do so with no more clashes. And the gain must not vanish when the competitor's budget is doubled.
Why not just…?
Why not just optimize in Cartesian coordinates with stiff bond springs? Stiff springs make the problem badly conditioned: bond-stretch curvature dwarfs torsional curvature, so gradient steps crawl along soft directions. COMPASS: Decoupled Latent Steering for Protein Conformational Transitions found that direct Cartesian steering (Str2Str) raised clash scores from 0.191 to 0.515, while its latent steering kept 0.192. More fundamentally, a Cartesian straight line also commits to one winding class implicitly, so springs do not address our failure mode. The Cartesian NEB baseline tests this directly. If it reaches the best class as often as our method at equal cost, the core claim is wrong.
Why not just interpolate Cartesian positions and project each frame back onto fixed bond geometry? To first order this approximates a $G$-geodesic, so it is a serious threat to the metric component. But projection inherits whatever winding the Cartesian line implies, and near half-turns the projection can jump between classes erratically. We include it as an additional seed baseline. If it matches searched classes, the search contributes nothing and the metric alone is the result.
Why not just run many random restarts? If ambiguous torsions are few, random sampling of $k$ may be enough. That is why the random-winding ablation shares the full budget. We expect search to help most when the move ordering matters because of steric walls, and least for small, open molecules. We will report where the crossover happens rather than claim uniform gains.
Why not just seed with a generative model's conformers? Generators sample stable basins, not barrier crossings. COMPASS reports 0% hit rate for unsteered models on transitions over 15 Å, versus 55.6% with steering. Still, chaining generated waypoints is cheap and could implicitly pick good classes. The torsional-diffusion seed baseline measures this, and the two approaches can be combined if they turn out complementary.
Why not a convex relaxation? Fast and Certifiable Trajectory Optimization and A New Semidefinite Relaxation for Linear and Piecewise-Affine Optimal Control with Time Scaling certify global optima for polynomial or piecewise-affine problems. Force fields with coupled trigonometric torsion terms fall outside that reach at useful sizes, so we do not compare against them.
Proposed Experiments
The first check uses alanine dipeptide, which has two dominant torsions. There we compute the exact minimum-barrier path in every winding class by dense grid dynamic programming on the $(\phi,\psi)$ torus. This gives ground truth for both class correctness and barrier error.
The second tier uses endpoint pairs drawn from GEOM-DRUGS conformer ensembles, restricted to acyclic flexible regions with four to eight rotatable bonds. The reference is exhaustive enumeration of all winding vectors, each optimized at large budget.
The third tier uses chignolin, Trp-cage, and BBA, the fast-folding systems from the TPS-DPS benchmark. There no exact answer exists, so we compare the lowest barrier any method finds, clash counts, and the number of distinct pathways recovered.
Every method is reported on the same set of metrics:
- the fraction of runs ending in the reference-best class;
- barrier error relative to the reference;
- the number of energy evaluations needed to reach a given barrier tolerance;
- the final clash count;
- pathway diversity.
The decisive check is the failure decomposition. For naive seeds, most failures should be wrong-class failures. Our method should remove most of them, while its remaining failures should mostly be right-class failures with bad local convergence. If wrong-class failures turn out to be rare even for naive seeds, the winding-class thesis is false, and any remaining gain must be credited to the metric $G$ alone. The flat-metric ablation then tells us whether $G$ earns that credit.
References
- Internal-Coordinate Density Modelling of Protein Structure: Covariance Matters
- Torque-Limited Manipulation Planning through Contact by Interleaving Graph Search and Trajectory Optimization
- Crocoddyl: An Efficient and Versatile Framework for Multi-Contact Optimal Control
- Geometry-Preserving Nudged Elastic Band and Dimer Methods under Anisotropic Force Uncertainty
- Generating Cyclic Conformers with Flow Matching in Cremer-Pople Coordinates
- Learning-based Initialization of Trajectory Optimization for Path-following Problems of Redundant Manipulators
- Transition Path Sampling with Improved Off-Policy Training of Diffusion Path Samplers
- Torsional Diffusion for Molecular Conformer Generation
- DiffusionSeeder: Seeding Motion Optimization with Diffusion for Rapid Motion Planning
- COMPASS: Decoupled Latent Steering for Protein Conformational Transitions
- Fast and Certifiable Trajectory Optimization
- A New Semidefinite Relaxation for Linear and Piecewise-Affine Optimal Control with Time Scaling