Hyperbolic Arc Hierarchies for Knotted Polymers Under Confinement

Knots change how a confined polymer behaves. A knotted ring squeezed between two walls pushes on them harder or more gently than an unknotted ring, depending on the gap. A knot in DNA leaving a virus capsid jams at the exit hole and sets the ejection rate. These effects have been measured almost entirely in short coarse-grained simulations, where each bead stands for a chunk of chain and the knot spans most of the molecule. In long chains the knot tightens into a small core inside a large unknotted ring. Whether the known effects survive in that regime is an open question, and no compact descriptor exists that would let a model trained on short chains predict long ones.

We propose to describe a polymer conformation as a hierarchy of its sub-arcs. Picture a tree in which the whole ring is the root, its halves are children, their halves are grandchildren, and so on. Each node records the knot type formed by closing that arc, together with where the arc sits relative to the walls. We embed this tree in hyperbolic space, a curved geometry in which room grows exponentially with distance from the center, so trees fit without crowding. The reason to expect this to help is scale. Doubling the chain length adds one level to the tree, and in hyperbolic space a new level is just another shell near the boundary, so a model trained on short chains should extend to long ones. The core claim is narrow and can be refuted: a hyperbolic encoder of the arc hierarchy, trained on rings of $N \le 600$ beads, will predict wall force and ejection time for $N = 2400$ rings more accurately than the same encoder in flat space, and more accurately than a short list of hand-picked knot descriptors.

What the literature gives us, and what it leaves open

The physical phenomena come from bead-spring simulations. Confinement of knotted polymers in a slit ran Langevin dynamics on rings of $N=300$ beads in slits of width $4\sigma$ to $18\sigma$, where $\sigma$ is the bead diameter. It found a crossover: the $12_1$ knot exerts "approximately 40% more force than a linear polymer" at $D=4\sigma$ but "roughly 25% less" at $D=18\sigma$. The $8_{18}$ knot does not follow the ordering by crossing number, apparently because of its rounder shape. Molecular dynamics simulations of the monomer density profiles of knotted ring polymer chains... used $N=360$ rings between one attractive and one repulsive wall. It reports that bulky knots block adsorption onto the attractive wall and that twisted knots develop a double-peaked density profile in narrow slits. Knot-Controlled Ejection of a Polymer from a Virus Capsid shows knots acting as ratchets at the capsid exit. For knots with more than about six crossings, friction inside the knot makes chain stiffness irrelevant to the ejection rate. These three papers motivate the work. All of them use short chains and summarize results with scalars or discrete knot labels, which is the gap we target.

The machine-learning methods for coarse-grained systems all work in flat coordinates and on simple topologies. PolyConf generates conformations hierarchically but only for linear homopolymers. Machine Learning Coarse-Grained Potentials of Protein Thermodynamics learns force fields with an equivariant graph network on raw coordinates. Coarse-Grained Boltzmann Generators names the hand-selection of collective variables (the few summary coordinates used to track a transition) as an unsolved bottleneck. These papers define our competitors rather than supply our method.

The method comes from two hyperbolic papers. Poincaré Embeddings for Learning Hierarchical Representations shows that in the Poincaré ball, distance from the origin encodes depth in a hierarchy. Learning Hyperbolic Representations of Topological Features embeds persistence diagrams in the Poincaré ball. A persistence diagram is a summary of the holes and loops in a point cloud across scales. That paper aggregates points through the log and exponential maps, which move points between the curved space and a flat tangent space. It also warns that results are sensitive to curvature and dimension, and we treat that warning as a constraint on our design. It is the closest existing work. It differs from ours in what it embeds. It embeds points of a diagram computed by a fixed filtration (a fixed rule for growing a simplicial complex from distances) on a static point cloud. We embed a tree of chain sub-arcs labeled with knot types. The knot types are invariants that a distance-based filtration on bead coordinates cannot see, because knotting depends on how the chain is connected, not only on where the beads are.

Core Claim

Topological dominance in long confined rings is a multiscale property. It depends on the knot core, on how the core is nested within larger arcs, and on where the knotted arcs sit relative to the walls. A representation that grows by depth with $\log N$ and stores that depth radially in hyperbolic space should therefore transfer across chain length better than flat or scalar descriptors. If it does not, the result is still informative: topological dominance in long chains would then reduce to a few scalars such as knot core length, and we would report that.

Research Program

Simulation data. We first reproduce the slit setup of the Matthews et al. confinement study. It uses FENE bonds (finite-extensible springs between neighboring beads), a purely repulsive Lennard-Jones excluded volume, and a Langevin thermostat. We simulate knot types $0_1, 3_1, 6_1, 8_{18}, 9_1, 12_1$ at $N=300$ and $D \in \{4,6,\dots,18\}\sigma$. Reproducing the reported 40% and 25% force ratios for $12_1$ is our validation gate. We then extend to $N = 600, 1200, 2400$, adding the composite knot $3_1\#3_1\#5_1$ and the twisted knots from the asymmetric-slit study. We also add a capsid-ejection set in the style of the Matthews et al. ejection study, using implicit solvent at first. Knots in long flexible rings localize on their own, which gives us the regime that is currently unexplored. These simulations also answer the open physics question directly: does the force crossover persist, shrink, or vanish as $N$ grows at fixed knot type?

Arc hierarchy. For each saved frame we build a tree of arcs. It contains dyadic arcs (the whole ring, its halves, its quarters, and so on) plus half-offset copies of each, so that a knot core is never split across every node at its own scale. That gives about $4N$ nodes. Each arc is closed by a standard closure, and we compute its knot type with an Alexander-polynomial check. Each node also stores the arc's writhe (a measure of how much the arc coils around itself), its extent normal to the walls, and its counts of wall contacts.

Encoder. Each node is placed at a hyperbolic radius tied to its depth. Messages are passed parent to child in the tangent space, as in the Yan et al. aggregation, and a readout predicts per-frame targets. The targets are the time-averaged wall force over a short window and, for the ejection set, the remaining ejection time. Following the sensitivity warning, we fix a low dimension (8) and sweep curvature over a small grid that has the same tuning budget as every baseline.

Baselines

The naive reference is a lookup table. It predicts the average target for each combination of knot type and slit width, measured at training lengths and applied unchanged at test lengths. It encodes the crossing-number intuition and nothing else. Beating it shows that conformation-level information matters at all.

The hand-crafted baseline is gradient-boosted regression on knot type, knot core length (the shortest knotted arc), radius of gyration, asphericity, and wall-contact fraction. This is the most dangerous competitor, because the $8_{18}$ anomaly suggests that shape alone may explain much of the effect.

The strongest learned baseline in flat coordinates is an equivariant graph network of the TorchMD-Net type (Machine Learning Coarse-Grained Potentials...), trained on raw bead coordinates to predict the same targets. The strongest topological baseline is P-Poinc from Learning Hyperbolic Representations of Topological Features, applied to Vietoris-Rips persistence diagrams of the bead cloud, in which loops are detected by growing balls around the beads. Its reported numbers are 81.86% accuracy on IMDB-BINARY, against 67.54% for its own Euclidean variant. Those are graph-classification results. We found no reported result on Lacuna for any method predicting wall force or ejection time of knotted polymers.

Two ablations isolate our key ingredients. The first is the same arc-tree encoder in flat space with matched dimension and parameter count, which isolates the geometry. The second is the hyperbolic encoder with knot labels shuffled across nodes, which isolates the knot invariants. All models see identical frames, splits, and GPU-hour budgets, with equal hyperparameter searches. Beating a baseline means lower relative error on the force ratio at $N=2400$ after training on $N \le 600$, with bootstrap confidence intervals that do not overlap.

Why not just…?

Why not just regress on knot core length and shape? This may well suffice for simple knots, and we take it seriously. Our expectation is that it fails where nesting matters. Composite knots have several cores, and twisted knots show the double-peaked profile, where the position of sub-arcs between the walls matters, not only their size. The hand-crafted baseline is scored separately on these subsets. If it matches the hyperbolic encoder there too, we will conclude that the arc hierarchy is unnecessary.

Why not just train an equivariant network on bead coordinates? Such networks learn local geometry well, but knot type is a global invariant that a fixed-radius message-passing network cannot compute. A graph network that does not take its receptive field from the chain length also has no built-in way to extrapolate in $N$. The length-extrapolation test settles this directly.

Why not use hyperbolic persistence diagrams as they are? Vietoris-Rips diagrams of a bead cloud record geometric loops, not knottedness. An unknot and a $12_1$ knot with similar shapes can produce similar diagrams. The comparison with P-Poinc measures how much the knot labels add over geometry. The label-shuffle ablation separates that contribution from the effect of the tree structure.

Why not simply simulate long chains and skip learning? We do simulate them, and that answers the physics question about whether the crossover persists. The learned descriptor matters for what comes after. It can serve as a candidate collective variable for knot-ratchet ejection, and it can predict behavior at chain lengths and topologies too costly to sweep. If it does not transfer, the simulations alone still stand as a result.

Decisive Checks

The main test trains every model on $N \le 600$ and evaluates at $N = 1200$ and $2400$. We also check a scaling prediction. Because tree depth grows like $\log_2 N$, the error of the flat-space ablation should rise with depth, while the hyperbolic error should stay roughly flat. A flat-versus-hyperbolic gap that does not grow with $N$ would refute the scale argument even if hyperbolic wins on average. A second test holds out entire knot types, $8_{18}$ and $3_1\#3_1\#5_1$, to probe generalization to shapes not seen in training. A third test checks whether the learned radial coordinate of the predicted knot core tracks the measured core length across $N$. Agreement there would mean the embedding reflects knot localization rather than an artifact of training.