Refined Topology-Pass Scheduling: Damped Trust-Region Compensation for Dynamic k-NN Graphs in SE(3)-Equivariant Structure Prediction
Abstract
Equivariant structure-prediction pipelines alternate coordinate updates with the construction of a k-nearest-neighbour (kNN) graph whose membership is a discrete, piecewise-constant function of the coordinates. Rebuilding that graph at every block boundary (PB) is the expensive part of an epoch, whereas reusing one frozen graph (F) is fast but leaves a topology gap. We study a two-pass design in which the cheap pass records a small amount of state (margins, kNN radii, measured per-boundary displacements) and a second pass compensates conservatively. We formulate the choice of the graph-construction basis as a damped fixed-point iteration whose unique fixed point is exactly PB, and derive (i) exact non-flip certificates with the two-sided constant and one-sided constant , (ii) the minimum-variance (BLUE) replay gain and the resulting feasibility crossover, (iii) an trust-region projection that preserves convergence, and (iv) an analytic near-tie spacing law that matches measurements to 1%. Three compensation levels are implemented in C++ (L1: frozen set with live geometry; L2: margin-gated local repair; L3: damped, projected basis) and validated under a matched-conditions protocol (identical seed, MSA depth and trajectory family, only the topology mode differs). L2 reproduces the PB edge set exactly ( at every boundary), L1 stays within 0.6% and L3 interpolates monotonically: L2 reproduces the PB edge set exactly when the trust region is removed, and L3 interpolates between the frozen and the PB topology. The recorded trajectory itself yields a measured Pass-1 and epoch speed-up with no measurable loss gap. An open-source implementation of the runtime and of all the experiments reported here is available at https://github.com/AlbertHuang96/ProteinPredictMachineLearning.
Figures & tables
| Level | Modified object | Cost / property |
|---|---|---|
| only geometry: (edge set stays ) | k free; removes the – Å geometry term | |
| edge set locally: in ( 35 ), evaluated inside | with (two-hop); closed under frozen neighbours | |
| the basis (predictor only) | storage ( : k floats); needs | |
| full rebuild every boundary ( ) | s/block; reference |
| Family | boundaries | Jaccard | ||
| P62805 (degenerate) | 103 | 6/6 | 7105–7107 | 1.0000 |
| P62891 | 51 | 6/6 | 2550 (ident.) | 1.0000 |
| P69905 | 142 | 3/3 | 9089 | 1.0000 |
| P62241 | 208 | 3/3 | 13588, 13595 | 1.0000 |
| Runtime mode | ( / ) | |||
| (frozen set, live geometry) | 0.0057 / 0.0068 | 1.0000 | ||
| Sample | collisions | mean dist. | margin median | drift (Å) | |
|---|---|---|---|---|---|
| P69905 | 142 | Å | Å | ( ) | |
| P62241 | 208 | Å | Å | ( ) | |
| P62805 (deg.) | 103 | Å | (103/103) | ( ) |
| Item | baseline | optimised |
|---|---|---|
| epoch wall time (two-pass vs ) | s | s ( ) |
| Pass-1 stage | — | |
| loss ( vs , 3 seeds, ) | ||
| kNN rebuild per block | s | : ; / : |
| geometry refresh (frozen set) | free (held live) |
| Sample | setting | (Å) | reduction | ||
|---|---|---|---|---|---|
| P69905 | frozen ( ) | — | 0.0578 | — | 0 |
| P69905 | 0.020 | 0.0515 | 133 | ||
| P69905 | 0.039 | 0.0458 | 116 | ||
| P69905 | 0.079 | 0.0401 | 80 | ||
| P69905 | 0.157 | 0.0274 | 47 | ||
| P69905 | 0.315 | 0.0227 | 26 |
Protein Structure Prediction
Protein structure prediction uses computational models to infer three-dimensional protein shapes and complexes from sequences and other biological data.
See all 40 papers