Hyperbolic Kinetic Coordinates for Protein Folding Landscapes

Simulations of protein folding are steered and summarized through a few "collective variables": low-dimensional coordinates such as a pair of dihedral angles or the leading linear slow modes of the dynamics. Enhanced-sampling methods push the simulation along these coordinates to cross energy barriers faster. Learned coarse-grained models are then trained on the resulting biased data. When the coordinates are poor, as they usually are for anything larger than a peptide, the whole pipeline produces biased force fields and wrong free energies. A protein's metastable states are often described as nested: an unfolded ensemble splits into intermediates, and those split into near-native sub-states. That nesting is a tree. Trees fit badly into a few flat dimensions and fit well into hyperbolic space, a geometry whose volume grows exponentially with radius, just as the number of nodes in a tree grows with depth.

We propose to learn a two- or three-dimensional hyperbolic coordinate for coarse-grained protein configurations. The coordinate is trained so that distance between two configurations tracks how long the dynamics take to travel between them, and so that distance from the origin tracks how deep a state sits in the kinetic hierarchy. We then test whether this coordinate, used as the variable that enhanced sampling biases, yields better training data for coarse-grained free-energy models than flat learned coordinates of the same dimension. The proposal comes with a built-in way to be wrong. If folding landscapes are not measurably tree-like, hyperbolic geometry should buy nothing, and we test that first.

Core Claim

For fast-folding proteins with multi-level kinetic hierarchies, a low-dimensional embedding in the Lorentz model of hyperbolic space reproduces kinetic distances and the hierarchy of metastable states with substantially less distortion than a Euclidean embedding of equal dimension. The embedding is trained with an identical encoder and loss, and differs only in curvature. Because the embedding is differentiable and low-dimensional, it can serve directly as a bias coordinate. Biased data gathered along it should then let a coarse-grained free-energy model recover the reference free-energy surface with less simulation than biasing along standard linear slow modes or hand-picked variables. We expect no advantage on systems whose landscape is essentially two-state, such as chignolin. The benefit should grow with measured tree-likeness. That dose-response prediction is what separates a geometric effect from a lucky architecture.

Relation to Prior Work

The research file reports no paper that combines hyperbolic embedding with coarse-grained molecular dynamics.

The closest generative work is the coarse-grained Boltzmann generator of Chen et al.. It learns a coarse free-energy surface from short biased simulations ("enhanced sampling force matching"), trains a flow-matching generator in flat coarse coordinates, and reweights the samples. The authors note that it relies on human-selected variables, both for biasing and for coarse sites, and that it degrades on larger systems. That paper motivates our target. Our proposal does not change its generator. It replaces the hand-chosen biasing coordinate that feeds it.

The obvious hybrid would move the generator into a hyperbolic latent space, following Valeau et al., who ran Riemannian flow matching in a Poincaré-ball latent space for images and found curvature to be a useful inductive bias. We deliberately do not build that. A Boltzmann generator needs an exact density over configurations for importance reweighting. A lossy hyperbolic autoencoder in front of the flow breaks that, so the hybrid would trade the method's main guarantee for an unproven geometric prior.

Our method borrows from three sources. The geometry and optimizer come from the Lorentz-model hierarchy work of Nickel & Kiela (Lorentz), which gives closed-form distances and avoids the boundary blow-up of the Poincaré ball documented for Poincaré embeddings. The numerical design follows HAEGAN, which showed that tangent-space round trips destabilize deep hyperbolic networks and that direct Lorentz concatenation fixes this. On the Poincaré-versus-Lorentz question the file flags, we therefore side with the Lorentz model, because a bias coordinate must stay numerically smooth over long biased simulations. The invariant internal-coordinate encoder follows CGnets, which sidesteps the equivariance debate: the coordinate only needs to be invariant to rotation and translation, not equivariant.

The hierarchy premise is motivated, not proven, by the multi-basin folding picture in CGSchNet and CGnets. The large dimension savings reported for word hierarchies were measured on discrete taxonomies, not dynamics, so we treat them only as a reason to check. COMPASS (Lee et al.) shows that steering in a learned latent space avoids the steric clashes that Cartesian guidance causes. It supports moving control into learned coordinates, but its latent space is flat and requires a target structure, whereas ours is used for unguided exploration.

Research Program

The data are the roughly 9 ms of unbiased all-atom folding trajectories for twelve fast-folding proteins used to train the TorchMD-Net coarse-grained potentials. We map them to one bead per residue at the alpha-carbon. For each protein we build a Markov state model, meaning a discretized model of state-to-state transition probabilities, at several lag times. From it we derive two references. The first is a kinetic distance between states: the commute time, or the expected round-trip time between them under the Markov model. The second is a kinetic tree, obtained by recording the lag time at which states merge into larger metastable sets.

Before training anything, we compute the Gromov four-point hyperbolicity of each protein's kinetic distance matrix. This standard measure of how tree-like a metric is gives an independent, model-free score of tree-likeness that the later results must track.

The encoder is an invariant graph network on bead internal coordinates. Its output is mapped onto the hyperboloid of dimension two or three, with learnable curvature. It is trained to minimize a stress loss between hyperbolic geodesic distance and kinetic distance, plus a time-lagged consistency term. That term asks configurations separated by a short lag to land close together, so the coordinate is smooth along trajectories. Fixing curvature to zero gives the Euclidean control with everything else identical.

The downstream use follows the coarse-grained Boltzmann generator recipe. We run equal-budget atomistic metadynamics, which repeatedly adds bias along a chosen coordinate to push the system out of states it has already visited. We do this along each candidate coordinate, train the same free-energy model and generator on each dataset, and compare the recovered free-energy surfaces against the long unbiased reference.

Baselines

The naive reference point is no learned coordinate at all. It has two parts: unbiased atomistic simulation at the same total budget, which shows how much any biasing helps, and biasing along hand-chosen variables (fraction of native contacts and radius of gyration), which is the typical practice the coarse-grained Boltzmann generator paper inherits. Both use identical simulation length, temperature, and downstream model training.

The strongest flat competitor is time-lagged independent component analysis (TICA), which finds the linear combinations of features that change most slowly. We use its leading two or three components, computed from the same featurization and the same subsampled frames that train our encoder. TICA is the standard slow coordinate on exactly these fast-folding datasets. Beating it requires lower error in the recovered free-energy surface at equal metadynamics budget, on at least the deeper-hierarchy proteins.

The key ablation is the zero-curvature twin. It has the same encoder, same loss, same output dimension, same tuning budget, and same number of training steps, and it isolates geometry from network capacity. A Euclidean twin with eight to sixteen output dimensions further tests whether extra flat dimensions recover the same fidelity. Such a coordinate would be impractical to bias, but it tells us whether curvature is substituting for dimension.

For downstream reference quality, the TorchMD-Net coarse-grained potential reports an average native-state reconstruction RMSD of 0.7 Å on chignolin, and the coarse-grained Boltzmann generator reports roughly 15 times faster inference than atomistic Boltzmann generators on alanine dipeptide. There is no reported result found on Lacuna for free-energy recovery as a function of the biasing coordinate on fast-folding proteins, nor for kinetic-hierarchy distortion of any embedding on these systems. Those comparisons must therefore be run here under matched conditions.

Why not just…?

Why not just use more Euclidean dimensions? Flat embeddings can approximate trees given enough dimensions. For word hierarchies, Poincaré embeddings report a mean average precision of 0.823 at 5 dimensions against 0.168 for a 200-dimensional Euclidean embedding. That evidence comes from a deep discrete taxonomy, however, and a folding landscape may be only three or four levels deep, where the gap could vanish. The constraint that matters here is different: metadynamics only works when the biased coordinate has two or three dimensions, so extra flat dimensions are not an option in deployment. The wide Euclidean twin measures exactly how much fidelity is lost by staying flat at low dimension.

Why not just use TICA or hierarchical lumping of the Markov model? Lumping already gives the kinetic tree, but it is a discrete object and cannot be biased. TICA can be biased, but it is linear, and for chignolin it may well be sufficient. This is a real threat. We expect parity on chignolin and an advantage only where hyperbolicity indicates genuine branching. If TICA matches our coordinate on Alpha3D and homeodomain as well, the geometric thesis is refuted.

Why not just put the Boltzmann generator itself in a hyperbolic latent space? That is the obvious hybrid, after Valeau et al.. Its encoder-decoder breaks the exact configuration density that reweighting needs. Its reported image gains, an FID of 81.89 against 215.62, say nothing about thermodynamic correctness. Putting the geometry in the sampling coordinate keeps the generator's guarantees intact.

Proposed Experiments

The first decisive check is cheap. If every protein's kinetic distance matrix shows hyperbolicity comparable to a random metric with matched spread, we stop and report a negative result about the tree picture of folding.

Otherwise, the second check compares hierarchy fidelity on the five benchmark proteins (chignolin, TRPcage, villin, homeodomain, Alpha3D) at dimensions two and three. The metrics are stress against commute-time distance, ancestor-recovery mean average precision on the kinetic tree, and the Spearman correlation between hyperbolic radius and merge timescale. They are compared across the learned-curvature, zero-curvature, wide-Euclidean, and TICA coordinates. The prediction is that the hyperbolic advantage over the zero-curvature twin correlates across proteins with measured tree-likeness.

The third check is the downstream one. At equal metadynamics budgets, we compare free-energy surface error after reweighting, projected onto a common reference coordinate so that no method is scored in its own coordinate, together with reweighting effective sample size and folded-state RMSD, all against the long unbiased trajectories. A win means lower free-energy error than TICA and the zero-curvature twin on the deeper-hierarchy proteins with parity on chignolin. A win on chignolin alone, or no win at all, would count against the claim.