用于精确且物理合理的 Apo 到 Holo 蛋白质生成的分层混合坐标流匹配
摘要
该论文提出了 CrypticFlow,一种结合笛卡尔坐标和内坐标的分层流匹配模型,用于从 apo(未结合配体)结构生成 holo(结合配体)蛋白质构象,在 D3PM 基准测试中实现了最先进的 Cα RMSD 表现,并提高了局部几何保真度。
arXiv:2611.27162v1 Announce Type: new
Abstract: Predicting holo-like protein conformations from apo structures is essential in structure-based drug design. Most existing apo-to-holo models operate in Cartesian space and achieve strong global accuracy. However, high global accuracy does not ensure physically valid local backbone geometry. Internal-coordinate models offer local control and validity, but regressive generation can amplify angular errors, known as the lever-arm effect. We introduce CrypticFlow, a hierarchical flow-matching model that combines these two complementary representations. An ESM-3-conditioned E(3)-equivariant graph network first generates sparse C$\alpha$ anchors in Cartesian space. A conditional midpoint Transformer then recursively fills the gaps in local internal coordinates. During recursive generation, the decoder constrains the distance between each midpoint and any sequence-adjacent parent anchor to the corresponding apo C$\alpha$-C$\alpha$ distance. On the D3PM test split, CrypticFlow achieves the lowest median and mean C$\alpha$ RMSD at published baseline capacities. Across five independent training models, the median and mean direct RMSD are 1.333 $\pm$ 0.056 angstroms and 2.766 $\pm$ 0.041 angstroms, respectively. The quality of local geometry also improves substantially. Our model achieves 99.58 $\pm$ 0.02% adjacent-distance fidelity and 95.87 $\pm$ 0.25% pseudo-angle fidelity, measured within 0.2 angstroms and 20{\deg} of the holo reference. Then, we reconstruct the predicted C$\alpha$-only traces into all-atom structures using the cg2all coarse-to-all-atom backmapping method and evaluate their physical and geometric quality with MolProbity. Our model achieves a MolProbity score of 3.034 $\pm$ 0.054, outperforming the evaluated baselines. These results show that a hierarchical flow-matching model with hybrid coordinates can recover global accuracy while retaining local fidelity.
查看缓存全文
缓存时间: 2026/11/23 09:24
# Hierarchical Hybrid-Coordinate Flow Matching for Accurate and Physically Plausible Apo-to-Holo Protein Generation
Source: [https://arxiv.org/html/2611.27162](https://arxiv.org/html/2611.27162)
Jaemin SimAffiliation:College of Pharmacy, Seoul National UniversityDongwoo KimAffiliation:College of Pharmacy, Seoul National UniversityMyunghyun JangAffiliation:College of Pharmacy, Seoul National UniversityEun\-Sol KimAffiliation:Department of Computer Science, Hanyang UniversityFirst author:rlaalswhd199@snu\.ac\.kr∗Correspondence:nicole23@snu\.ac\.kr,eunsolkim@hanyang\.ac\.krJuyong LeeAffiliation:College of Pharmacy, Seoul National University
###### Abstract
Predicting holo\-like protein conformations from apo structures is essential in structure\-based drug design\. Most existing apo\-to\-holo models operate in Cartesian space and achieve strong global accuracy\. However, high global accuracy does not ensure physically valid local backbone geometry\. Internal\-coordinate models offer local control and validity, but regressive generation can amplify angular errors—the lever\-arm effect\. We introduceCrypticFlow, a hierarchical flow\-matching model that combines these two complementary representations\. An ESM\-3\-conditioned E\(3\)\-equivariant graph network first generates sparse Cα\\alphaanchors in Cartesian space\. A conditional midpoint Transformer then recursively fills the gaps in local internal coordinates\. During recursive generation, the decoder constrains the distance between each midpoint and any sequence\-adjacent parent anchor to the corresponding apo Cα\\alpha–Cα\\alphadistance\. On the D3PM test split,CrypticFlowachieves the lowest median and mean Cα\\alphaRMSD at published baseline capacities\. Across five independent training models, the median and mean direct RMSD are1\.333±0\.0561\.333\\pm 0\.056Å and2\.766±0\.0412\.766\\pm 0\.041Å, respectively\. The quality of local geometry also improves substantially\. Our model achieves99\.58±0\.02%99\.58\\pm 0\.02\\%adjacent\-distance fidelity and95\.87±0\.25%95\.87\\pm 0\.25\\%pseudo\-angle fidelity, measured within 0\.2 Å and20∘20^\{\\circ\}of the holo reference\. Then, we reconstruct the predicted Cα\\alpha\-only traces into all\-atom structures using the cg2all coarse\-to\-all\-atom backmapping method and evaluate their physical and geometric quality with MolProbity\. Our model achieves a MolProbity score of3\.034±0\.0543\.034\\pm 0\.054, outperforming the evaluated baselines\. These results show that a hierarchical flow\-matching model with hybrid coordinates can recover global accuracy while retaining local fidelity\.
## 1Introduction
Structure\-based drug design \(SBDD\) depends on the receptor conformation used for screening\. A ligand\-bound, or holo, structure reveals a ligand\-compatible pocket\. However, obtaining one requires a suitable ligand and an experiment that captures the bound state\. Screening therefore often treats an apo structure as rigid, which can hide the pocket that a drug must recognize\.
This problem is particularly important for*cryptic pockets*\. These sites are not apparent in a static apo structure but can become accessible through protein motion or a binding\-associated conformational change\([Vajda et al\., 2018](https://arxiv.org/html/2611.27162#bib.bib22);[Meller et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib10)\)\. Covalent fragments, for example, revealed the switch\-II pocket of KRAS\(G12C\)\([Ostrem et al\., 2013](https://arxiv.org/html/2611.27162#bib.bib13)\)\. This discovery enabled clinically effective inhibitors such as sotorasib and adagrasib\([Skoulidis et al\., 2021](https://arxiv.org/html/2611.27162#bib.bib19);[Jänne et al\., 2022](https://arxiv.org/html/2611.27162#bib.bib5)\)\. Predicting holo\-like conformations from apo structures could similarly expand receptor ensembles before experimental holo structures are available\.
Recent methods learn conditional bridges or flows from paired apo–holo structures\([Somnath et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib21);[Nobis et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib12)\)\. They are commonly evaluated using aligned Cα\\alphaRMSD\. RMSD measures global accuracy, but it does not ensure local\-geometry fidelity\. A prediction may approach the target while distorting adjacent distances, pseudo\-angles, or nonlocal contacts\. These errors become important when the Cα\\alphatrace is reconstructed into an all\-atom structure\.
Cartesian and internal coordinates offer complementary advantages\. Cartesian updates represent global motion and work naturally with equivariant networks\([Satorras et al\., 2021](https://arxiv.org/html/2611.27162#bib.bib17)\)\. However, they do not explicitly enforce local backbone geometry\. Internal coordinates represent distances and angles explicitly\([Wu et al\., 2024](https://arxiv.org/html/2611.27162#bib.bib24);[Li et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib7)\), but chain\-wide generation can suffer from the lever\-arm effect\([Li et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib7);[Singh et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib18)\)\. A small angular error can displace many downstream residues\.
We therefore predict sparse Cartesian anchors, then complete their intervals in a frame defined by two current parents and an apo reference direction\. The main midpoint model uses local internal coordinates and copies a radius only when its parent is sequence\-adjacent\. Ablations identify this copying as a small refinement and the local internal\-coordinate state \(ICS\) representation as the stronger bias for adjacent and reconstructed bond/angle fidelity\. The shallow hierarchy limits, but does not eliminate, lever\-arm amplification\. Its multiscale design is inspired by Protein Autoregressive Modeling \(PAR\)\([Qu et al\., 2026](https://arxiv.org/html/2611.27162#bib.bib16)\)\.
Our contributions are:
- •To combine the complementary strengths of Cartesian and internal\-coordinate representations, we first generate a coarse holo\-like scaffold as sparse Cartesian anchors with an EGNN, then recursively complete the intervening residues with a Transformer in anchor\-relative local internal coordinates\.
- •By representing each midpoint relative to its generated parent anchors and the apo reference, the refinement stage introduces an inductive bias toward physically plausible local geometry\.
- •On the fixed 150\-pair D3PM test split,CrypticFlowachieves the lowest median and mean Cα\\alphaRMSD among the compared methods, at published capacities, across five independently trained models\. It also achieves the strongest local\-geometry fidelity among the evaluated outputs and the lowest MolProbity score among the evaluated baselines after cg2all reconstruction\.
## 2Related Work
Apo\-to\-holo transport\.D3PM catalogs protein structural pairs, including apo–holo pairs, with motions from local residues to whole domains\([Peng et al\., 2022](https://arxiv.org/html/2611.27162#bib.bib15)\)\. Aligned Diffusion Schrödinger Bridges \(SBAlign\) learns transport from paired observations\([Somnath et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib21)\)\. Augmented Bridge Matching \(ABM\) provides a paired transport formulation used as a baseline\([De Bortoli et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib2)\)\. Fractional Diffusion Bridge Models \(FDBM\) extend this framework from Brownian to approximate fractional Brownian noise, introducing temporal correlations\([Nobis et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib12)\)\. SBAlign, ABM, and FDBM model Cartesian Cα\\alphacoordinates\. Sesame instead applies flow matching to backbone SE\(3\) frames, combining rotations and Cartesian translations\([Miñán et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib11)\)\. SBAlign, FDBM, and Sesame evaluate apo\-to\-holo prediction on D3PM\. DynamicFlow generates ligand\-conditioned, full\-atom pocket ensembles\([Zhou et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib25)\)\.
Equivariant Cartesian models\.E\(n\)\-equivariant graph neural networks update coordinates with invariant scalars and relative vectors\([Satorras et al\., 2021](https://arxiv.org/html/2611.27162#bib.bib17)\)\. This construction preserves the transformation law of a 3D structure while learning geometric messages\. ESM\-3 is a pretrained multimodal protein language model \(PLM\) that learns contextual representations over protein sequence, structure, and function tokens\([Hayes et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib3)\)\. We use ESM\-3 representations precomputed only from the apo full sequence: residue\-level embeddings provide sequence context to both the anchor and midpoint models, while the beginning\-of\-sequence \(BOS\) embedding provides a global condition to the anchor model\.
Transformers for conditional generation\.Transformers use multi\-head self\-attention to model interactions among tokens\([Vaswani et al\., 2017](https://arxiv.org/html/2611.27162#bib.bib23)\)\. Diffusion Transformers \(DiT\) adapt Transformer blocks to generative denoising, with adaptive layer normalization providing a mechanism for timestep and class conditioning\([Peebles & Xie, 2023](https://arxiv.org/html/2611.27162#bib.bib14)\)\.
Internal coordinates and multiscale generation\.FoldingDiff generates protein backbones through torsional variables\([Wu et al\., 2024](https://arxiv.org/html/2611.27162#bib.bib24)\)\. Int2Cart shows that correlations among internal coordinates affect Cartesian reconstruction quality\([Li et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib7)\)\. PAR replaces residue\-wise autoregression with a sequence of successively finer protein scales\([Qu et al\., 2026](https://arxiv.org/html/2611.27162#bib.bib16)\)\. We combine these ideas differently\. The top\-level anchor state is represented in Cartesian space\. At each finer level, every midpoint is defined relative to two already generated parent anchors in a local internal\-coordinate system\. We evaluate the completed Cα\\alphatrace directly\. After cg2all backmapping\([Heo & Feig, 2024](https://arxiv.org/html/2611.27162#bib.bib4)\), we assess the reconstructed all\-atom structure with MolProbity\([Chen et al\., 2010](https://arxiv.org/html/2611.27162#bib.bib1)\)\.
## 3Method
### 3\.1Problem Formulation and Hierarchical Architecture Overview
Figure 1:Overview ofCrypticFlowarchitecture\. The top\-anchor module \(EGNN\) transports apo anchors to holo\-like anchor positions in Cartesian coordinates\. The midpoint module \(Transformer\) generates midpoints from Gaussian noise in local internal coordinates defined by their parent anchors and an apo reference direction\. The geometry decoder converts these local internal\-coordinate states into Cartesian midpoint coordinates\. Red arrows show the recursive loop: each decoded midpoint joins the partial trace and serves as an anchor at the next level until the trace is complete\. Training uses paired clean targets and teacher\-forced parent\-anchor contexts\.Let the residue\-matched apo and holo Cα\\alphatraces be𝐗apo,𝐗holo∈ℝL×3\\mathbf\{X\}\_\{\\mathrm\{apo\}\},\\mathbf\{X\}\_\{\\mathrm\{holo\}\}\\in\\mathbb\{R\}^\{L\\times 3\}, and let the residue features formed by concatenating D3PM descriptors with full\-sequence ESM\-3 residue embeddings be𝐅\\mathbf\{F\}\. The top\-anchor EGNN additionally uses the ESM\-3 BOS embedding as a global condition\. We learn a conditional model that predicts𝐗holo\\mathbf\{X\}\_\{\\mathrm\{holo\}\}from𝐗apo\\mathbf\{X\}\_\{\\mathrm\{apo\}\}and𝐅\\mathbf\{F\}, without ligand input\.CrypticFlowseparates global motion from local geometry: a Cartesian flow first moves sparse anchors, and a local\-coordinate flow then fills the gaps between them\. Figure[1](https://arxiv.org/html/2611.27162#S3.F1)shows the two stages\. The complete training and recursive inference procedure is given in Appendix[L](https://arxiv.org/html/2611.27162#A12)\.
D3PM DB contains only residues shared by the apo and holo structures\. Removing unmatched residues can introduce gaps in the retained trace, so a single protein chain may be represented as multiple contiguous segments\. We treat these gaps as chain breaks and do not allow refinement intervals to cross them\. Within each segment, we select the first and last residues, together with everyss\-th interior residue, as the top anchor set\. We uses=4s=4\. After generating these anchors, we split every unresolved interval\[i,j\]\[i,j\]atm=⌊\(i\+j\)/2⌋m=\\lfloor\(i\+j\)/2\\rfloor, where⌊⋅⌋\\lfloor\\cdot\\rfloorrounds down to the nearest integer\. All midpoints at the same recursion level are generated together\. They are then merged into the partial trace and become parents at the next level\. A full stride\-4 interval contains three missing residues and is completed in two midpoint levels\. Let the top anchor set be𝒜\\mathcal\{A\}, the midpoints inserted at levelℓ\\ellbeℳℓ\\mathcal\{M\}\_\{\\ell\}, and the anchor residues already placed before levelℓ\\ellbe𝒫ℓ=𝒜∪⋃h<ℓℳh\\mathcal\{P\}\_\{\\ell\}=\\mathcal\{A\}\\cup\\bigcup\_\{h<\\ell\}\\mathcal\{M\}\_\{h\}\. Thus,𝒫ℓ\\mathcal\{P\}\_\{\\ell\}contains the original top anchors and all midpoints from earlier levels\. Writing𝐗\\mathbf\{X\}for a candidate holo trace, the hierarchy gives
pθ\(𝐗∣𝐗apo,𝐅\)=ptop\(𝐗𝒜∣𝐗apo,𝐅\)∏ℓ=1Dpmid\(𝐗ℳℓ∣𝐗𝒫ℓ,𝐗apo,𝐅,ℓ\),p\_\{\\theta\}\(\\mathbf\{X\}\\mid\\mathbf\{X\}\_\{\\mathrm\{apo\}\},\\mathbf\{F\}\)=p\_\{\\mathrm\{top\}\}\(\\mathbf\{X\}\_\{\\mathcal\{A\}\}\\mid\\mathbf\{X\}\_\{\\mathrm\{apo\}\},\\mathbf\{F\}\)\\prod\_\{\\ell=1\}^\{D\}p\_\{\\mathrm\{mid\}\}\(\\mathbf\{X\}\_\{\\mathcal\{M\}\_\{\\ell\}\}\\mid\\mathbf\{X\}\_\{\\mathcal\{P\}\_\{\\ell\}\},\\mathbf\{X\}\_\{\\mathrm\{apo\}\},\\mathbf\{F\},\\ell\),\(1\)where the number of refinement levels isDD\. Each midpoint factor is a joint conditional distribution over a level, not a product of independent residue predictions\. Generation is sequential across levels and parallel within each level\.
### 3\.2Clean\-Endpoint Conditional Flow
We use the linear conditional path of flow matching\([Lipman et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib8)\)and parameterize both networks to predict the clean endpoint\. For a source state𝐳0\\mathbf\{z\}\_\{0\}, target state𝐳1\\mathbf\{z\}\_\{1\}, and conditioning information𝐜\\mathbf\{c\},
𝐳t=\(1−t\)𝐳0\+t𝐳1,t∈\[0,1\)\.\\mathbf\{z\}\_\{t\}=\(1\-t\)\\mathbf\{z\}\_\{0\}\+t\\mathbf\{z\}\_\{1\},\\qquad t\\in\[0,1\)\.\(2\)Instead of predicting velocity directly, each network uses a clean\-endpoint predictor,fθf\_\{\\theta\}, to estimate the target state:
ℒclean=𝔼𝐳0,𝐳1,𝐜,t\[‖fθ\(𝐳t,t,𝐜\)−𝐳1‖22\]\.\\mathcal\{L\}\_\{\\mathrm\{clean\}\}=\\mathbb\{E\}\_\{\\mathbf\{z\}\_\{0\},\\mathbf\{z\}\_\{1\},\\mathbf\{c\},t\}\\left\[\\left\\\|f\_\{\\theta\}\(\\mathbf\{z\}\_\{t\},t,\\mathbf\{c\}\)\-\\mathbf\{z\}\_\{1\}\\right\\\|\_\{2\}^\{2\}\\right\]\.\(3\)For the path in Equation[2](https://arxiv.org/html/2611.27162#S3.E2), this prediction defines a velocity field
𝐯^θ\(𝐳t,t,𝐜\)=fθ\(𝐳t,t,𝐜\)−𝐳tmax\(1−t,ϵ\)\.\\widehat\{\\mathbf\{v\}\}\_\{\\theta\}\(\\mathbf\{z\}\_\{t\},t,\\mathbf\{c\}\)=\\frac\{f\_\{\\theta\}\(\\mathbf\{z\}\_\{t\},t,\\mathbf\{c\}\)\-\\mathbf\{z\}\_\{t\}\}\{\\max\(1\-t,\\epsilon\)\}\.\(4\)Here the positive numerical stabilizer isϵ\>0\\epsilon\>0\. The anchor flow starts from apo anchor coordinates and targets their holo coordinates\. The midpoint flow starts from Gaussian noise and targets a normalized holo local\-coordinate state defined in Section[3\.5](https://arxiv.org/html/2611.27162#S3.SS5)\. The networks thus share a training principle but use different representations and source distributions\.
### 3\.3Coarse Cartesian Anchor Generation
Figure 2:Hierarchical coarse\-to\-fine Cα\\alphageneration\. A Cartesian flow first predicts sparse stride\-4 holo anchors\. The midpoint Transformer inserts one midpoint in each active parent interval at each recursive level\. Two midpoint levels fill full stride\-4 intervals, while adjacent\-anchor distance constraints help preserve local geometry in the completed trace\.The top\-anchor EGNN predicts clean holo anchor coordinates from𝐗t\\mathbf\{X\}\_\{t\}in eight layers\. Initial node features combine D3PM descriptors and ESM\-3 residue embeddings; a shared condition combines flow time with the ESM\-3 BOS embedding\. For each central anchorii, the graph takes the union of neighborsjjselected by apo\-space proximity, current\-state proximity, and sparse\-sequence adjacency\. The neighbor list is fixed within each forward pass through the eight\-layer top\-anchor EGNN, while current\-state distances and geometric edge features are recomputed at every EGNN layer\. During inference, the graph is rebuilt at each Euler step\.
At each layer, the network decides how each neighbor should influence an anchor’s movement\. For anchoriiand neighborjj, it uses the vector fromiitojjin the current coordinates,𝐫ijcur=𝐗j\(k\)−𝐗i\(k\)\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{cur\}\}=\\mathbf\{X\}\_\{j\}^\{\(k\)\}\-\\mathbf\{X\}\_\{i\}^\{\(k\)\}, and the corresponding vector in the apo structure,𝐫ijapo=𝐗apo,j−𝐗apo,i\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{apo\}\}=\\mathbf\{X\}\_\{\\mathrm\{apo\},j\}\-\\mathbf\{X\}\_\{\\mathrm\{apo\},i\}\. At layerkk, their soft\-normalized forms,𝐫¯ijcur\\bar\{\\mathbf\{r\}\}\_\{ij\}^\{\\mathrm\{cur\}\}and𝐫¯ijapo\\bar\{\\mathbf\{r\}\}\_\{ij\}^\{\\mathrm\{apo\}\}, are
𝐫¯ijcur=𝐫ijcur‖𝐫ijcur‖\+1,𝐫¯ijapo=𝐫ijapo‖𝐫ijapo‖\+1\.\\bar\{\\mathbf\{r\}\}\_\{ij\}^\{\\mathrm\{cur\}\}=\\frac\{\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{cur\}\}\}\{\\\|\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{cur\}\}\\\|\+1\},\\qquad\\bar\{\\mathbf\{r\}\}\_\{ij\}^\{\\mathrm\{apo\}\}=\\frac\{\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{apo\}\}\}\{\\\|\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{apo\}\}\\\|\+1\}\.\(5\)The corresponding current and apo distances aredijcur=‖𝐫ijcur‖d\_\{ij\}^\{\\mathrm\{cur\}\}=\\\|\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{cur\}\}\\\|anddijapo=‖𝐫ijapo‖d\_\{ij\}^\{\\mathrm\{apo\}\}=\\\|\\mathbf\{r\}\_\{ij\}^\{\\mathrm\{apo\}\}\\\|\. Each raw distanceddbecomes a soft\-normalized magnituded/\(d\+1\)<1d/\(d\+1\)<1; this transformation smoothly suppresses near\-coincident pairs and bounds long\-range contributions\. At each layer, an edge MLP forms an invariant message𝐦ij\(k\)\\mathbf\{m\}\_\{ij\}^\{\(k\)\}from the conditioned node features of nodesiiandjjand their edge geometry\. This message determines a sigmoid gateqij\(k\)q\_\{ij\}^\{\(k\)\}, which controls the edge contribution, and signed weightsaij\(k\),bij\(k\)a\_\{ij\}^\{\(k\)\},b\_\{ij\}^\{\(k\)\}, which scale the two soft\-normalized vectors\. Averaging these contributions over the neighbor set𝒩\(i\)\\mathcal\{N\}\(i\)gives the coordinate update:
𝐗i\(k\+1\)=𝐗i\(k\)\+1\|𝒩\(i\)\|∑j∈𝒩\(i\)qij\(k\)\(aij\(k\)𝐫¯ijcur\+bij\(k\)𝐫¯ijapo\)\.\\mathbf\{X\}\_\{i\}^\{\(k\+1\)\}=\\mathbf\{X\}\_\{i\}^\{\(k\)\}\+\\frac\{1\}\{\|\\mathcal\{N\}\(i\)\|\}\\sum\_\{j\\in\\mathcal\{N\}\(i\)\}q\_\{ij\}^\{\(k\)\}\\left\(a\_\{ij\}^\{\(k\)\}\\bar\{\\mathbf\{r\}\}\_\{ij\}^\{\\mathrm\{cur\}\}\+b\_\{ij\}^\{\(k\)\}\\bar\{\\mathbf\{r\}\}\_\{ij\}^\{\\mathrm\{apo\}\}\\right\)\.\(6\)The weights are invariant to a joint rigid transformation of the current and apo structures, while the relative vectors transform with them\. The update therefore follows the same transformation: it does not depend on the chosen coordinate frame\. Therefore, every coordinate\-update layer isE\(3\)\\mathrm\{E\}\(3\)\-equivariant\. If the input structures are jointly translated, rotated, or reflected, the output transforms in the same way\. Appendix[G](https://arxiv.org/html/2611.27162#A7)evaluates the composed generator under random proper rotations and translations and separately tests reflection\.
After eight layers, let the anchor\-validity mask bemi∈\{0,1\}m\_\{i\}\\in\\\{0,1\\\}and the final displacement of anchoriibe𝐃i=𝐗i\(8\)−\(𝐗t\)i\\mathbf\{D\}\_\{i\}=\\mathbf\{X\}\_\{i\}^\{\(8\)\}\-\(\\mathbf\{X\}\_\{t\}\)\_\{i\}\. The network removes the masked mean displacement,𝐃¯=∑imi𝐃i/∑imi\\bar\{\\mathbf\{D\}\}=\\sum\_\{i\}m\_\{i\}\\mathbf\{D\}\_\{i\}/\\sum\_\{i\}m\_\{i\}, and returns the clean anchor estimate,𝐗^1,i=\(𝐗t\)i\+𝐃i−𝐃¯\\widehat\{\\mathbf\{X\}\}\_\{1,i\}=\(\\mathbf\{X\}\_\{t\}\)\_\{i\}\+\\mathbf\{D\}\_\{i\}\-\\bar\{\\mathbf\{D\}\}, for each valid anchor\. This suppresses uniform translation while preserving relative conformation and the current anchor centroid\. Appendix[A\.1](https://arxiv.org/html/2611.27162#A1.SS1)details the top\-anchor EGNN architecture, graph construction, and node and coordinate updates\.
### 3\.4Local Internal Coordinates and Geometry Decoding
Figure 3:Local internal\-coordinate geometry\. \(a\) Parent anchors𝐀\\mathbf\{A\}and𝐁\\mathbf\{B\}define a sphere\-intersection circle\. The apo midpoint direction𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}is translated to𝐂\\mathbf\{C\}and projected onto the plane normal to𝐞1\\mathbf\{e\}\_\{1\}to define𝐞2\\mathbf\{e\}\_\{2\};𝐞3\\mathbf\{e\}\_\{3\}completes the local frame\. PredictedrLr\_\{L\},rRr\_\{R\}, andω\\omegaplace𝐌\\mathbf\{M\}on the circle\. \(b\) Viewed along\+𝐞1\+\\mathbf\{e\}\_\{1\},ω\\omegais measured from the apo\-defined\+𝐞2\+\\mathbf\{e\}\_\{2\}direction\. Sequence\-adjacent radii are fixed to the corresponding apo Cα\\alpha–Cα\\alphadistances, reducing the predicted degrees of freedom from three to two or one\.Let the left and right parent anchors be𝐀\\mathbf\{A\}and𝐁\\mathbf\{B\}, and let their generated sequence midpoint be𝐌\\mathbf\{M\}\. Rather than predict an unconstrained Cartesian displacement, we represent𝐌\\mathbf\{M\}by its parent distancesrL=‖𝐌−𝐀‖r\_\{L\}=\\\|\\mathbf\{M\}\-\\mathbf\{A\}\\\|,rR=‖𝐌−𝐁‖r\_\{R\}=\\\|\\mathbf\{M\}\-\\mathbf\{B\}\\\|, and an angleω\\omegaaround the parent axis\. For distinct parents, define
d=‖𝐁−𝐀‖,𝐞1=𝐁−𝐀d,η=d2\+rL2−rR22d,𝐂=𝐀\+η𝐞1\.d=\\\|\\mathbf\{B\}\-\\mathbf\{A\}\\\|,\\quad\\mathbf\{e\}\_\{1\}=\\frac\{\\mathbf\{B\}\-\\mathbf\{A\}\}\{d\},\\quad\\eta=\\frac\{d^\{2\}\+r\_\{L\}^\{2\}\-r\_\{R\}^\{2\}\}\{2d\},\\quad\\mathbf\{C\}=\\mathbf\{A\}\+\\eta\\mathbf\{e\}\_\{1\}\.\(7\)Here the signed axial distance from𝐀\\mathbf\{A\}isη\\eta, the sphere\-intersection circle center is𝐂\\mathbf\{C\}, and the parent\-axis direction is𝐞1\\mathbf\{e\}\_\{1\}\. The circle radius isρ=max\(rL2−η2,0\)\\rho=\\sqrt\{\\max\(r\_\{L\}^\{2\}\-\\eta^\{2\},0\)\}\. When the two distance constraints are feasible, their intersection is a circle centered at𝐂\\mathbf\{C\}with radiusρ\\rho\.
The apo trace supplies the reference direction forω\\omega\. The apo coordinates of the residues represented by𝐀,𝐁,𝐌\\mathbf\{A\},\\mathbf\{B\},\\mathbf\{M\}are𝐀apo,𝐁apo,𝐌apo\\mathbf\{A\}\_\{\\mathrm\{apo\}\},\\mathbf\{B\}\_\{\\mathrm\{apo\}\},\\mathbf\{M\}\_\{\\mathrm\{apo\}\}, respectively\. In particular,𝐌apo\\mathbf\{M\}\_\{\\mathrm\{apo\}\}is the observed apo position of the sequence\-midpoint residue, whereas𝐌\\mathbf\{M\}is its generated position\. We denote the apo parents’ Cartesian midpoint by𝐂¯apo=\(𝐀apo\+𝐁apo\)/2\\bar\{\\mathbf\{C\}\}\_\{\\mathrm\{apo\}\}=\(\\mathbf\{A\}\_\{\\mathrm\{apo\}\}\+\\mathbf\{B\}\_\{\\mathrm\{apo\}\}\)/2and define
𝐪apo=𝐌apo−𝐂¯apo,𝐞2=\(𝐈−𝐞1𝐞1⊤\)𝐪apo‖\(𝐈−𝐞1𝐞1⊤\)𝐪apo‖,𝐞3=𝐞1×𝐞2\.\\mathbf\{q\}\_\{\\mathrm\{apo\}\}=\\mathbf\{M\}\_\{\\mathrm\{apo\}\}\-\\bar\{\\mathbf\{C\}\}\_\{\\mathrm\{apo\}\},\\qquad\\mathbf\{e\}\_\{2\}=\\frac\{\(\\mathbf\{I\}\-\\mathbf\{e\}\_\{1\}\\mathbf\{e\}\_\{1\}^\{\\top\}\)\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\}\{\\\|\(\\mathbf\{I\}\-\\mathbf\{e\}\_\{1\}\\mathbf\{e\}\_\{1\}^\{\\top\}\)\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\\\|\},\\qquad\\mathbf\{e\}\_\{3\}=\\mathbf\{e\}\_\{1\}\\times\\mathbf\{e\}\_\{2\}\.\(8\)Here the3×33\\times 3identity matrix is𝐈\\mathbf\{I\}, the apo reference vector is𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}, the zero\-angle direction is𝐞2\\mathbf\{e\}\_\{2\}, and the third frame direction is𝐞3\\mathbf\{e\}\_\{3\}\. Geometrically, we move the tail of𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}to𝐂\\mathbf\{C\}without changing its direction or length, then project it onto the plane through𝐂\\mathbf\{C\}with normal𝐞1\\mathbf\{e\}\_\{1\}\. Normalizing the projected vector gives𝐞2\\mathbf\{e\}\_\{2\}, the zero\-angle direction on the circle\. If the projected apo vector has zero or near\-zero norm, it cannot provide a stable direction for𝐞2\\mathbf\{e\}\_\{2\}\. We instead project a deterministically selected least\-aligned fallback axis onto the same plane and normalize the result\. Appendix[B\.4](https://arxiv.org/html/2611.27162#A2.SS4)explains this construction and the limitation of using fixed Cartesian axes\. The Cartesian midpoint is
𝐌=𝐂\+ρ\(cosω𝐞2\+sinω𝐞3\)\.\\mathbf\{M\}=\\mathbf\{C\}\+\\rho\(\\cos\\omega\\,\\mathbf\{e\}\_\{2\}\+\\sin\\omega\\,\\mathbf\{e\}\_\{3\}\)\.\(9\)For fixed parents, an angular change moves only this midpoint along its local circle\. Figure[2](https://arxiv.org/html/2611.27162#S3.F2)visualizes the two\-level stride\-4 refinement, and Figure[3](https://arxiv.org/html/2611.27162#S3.F3)illustrates the frame used for local internal coordinates\. Appendix[B](https://arxiv.org/html/2611.27162#A2)derives the circle and local frame step by step, including why translating the apo reference vector to𝐂\\mathbf\{C\}and projecting it onto the circle plane is equivalent to removing its axial component\.
#### Adjacent\-distance constraints\.
Adjacent Cα\\alpha–Cα\\alphadistances are tightly constrained by backbone connectivity and change little between matched apo and holo conformations, as quantified in Appendix[B\.6](https://arxiv.org/html/2611.27162#A2.SS6)\. The main configuration replaces a learned radius spanning residuesiiandi\+1i\+1with the corresponding apo distance as a fixed local constraint\. Let the sequence gaps from midpointmmto its left and right parentsi,ji,jbenL=m−in\_\{L\}=m\-iandnR=j−mn\_\{R\}=j\-m, respectively\. If either gap is one, the corresponding radius is fixed to the sanitized apo Cα\\alpha–Cα\\alphadistance:
nL=1⇒rL=d𝐀,𝐌apo,nR=1⇒rR=d𝐌,𝐁apo\.n\_\{L\}=1\\Rightarrow r\_\{L\}=d\_\{\\mathbf\{A\},\\mathbf\{M\}\}^\{\\mathrm\{apo\}\},\\qquad n\_\{R\}=1\\Rightarrow r\_\{R\}=d\_\{\\mathbf\{M\},\\mathbf\{B\}\}^\{\\mathrm\{apo\}\}\.\(10\)Here the sanitized apo distances for the left and right adjacent pairs ared𝐀,𝐌apod\_\{\\mathbf\{A\},\\mathbf\{M\}\}^\{\\mathrm\{apo\}\}andd𝐌,𝐁apod\_\{\\mathbf\{M\},\\mathbf\{B\}\}^\{\\mathrm\{apo\}\}, respectively\. Sanitation retains finite apo distances in\[2\.5,5\.0\)\[2\.5,5\.0\)Å and replaces other values with 3\.80 Å\. A midpoint therefore follows a*3/2/1\-DOF policy*, with three, two, or one learned geometric variables when zero, one, or both parent radii are fixed\. Across all 1,591 D3PM pairs finds that 99\.8202% of 577,291 within\-segment consecutive Cα\\alphapairs change by less than 0\.2 Å between apo and holo structures \(Appendix[B\.6](https://arxiv.org/html/2611.27162#A2.SS6)\)\.
#### Sphere feasibility\.
The radii and parent separation must satisfy
\|rL−rR\|≤d≤rL\+rR\.\|r\_\{L\}\-r\_\{R\}\|\\leq d\\leq r\_\{L\}\+r\_\{R\}\.\(11\)For an infeasible non\-final midpoint, the predicted spheres do not intersect; we keep the parent anchors fixed and minimally adjust only the learnable radii to form a valid intersection circle\. If Equation[10](https://arxiv.org/html/2611.27162#S3.E10)fixes one radius to an apo adjacent distance, only the other is adjusted\. At a final leaf, both radii are fixed to apo adjacent distances and remain unchanged\. If the two fixed radii are incompatible with the generated parents, their spheres do not intersect\. The local\-ICS geometry decoder then sets the intersection\-circle radius to zero and places the midpoint at𝐂=𝐀\+η𝐞1\\mathbf\{C\}=\\mathbf\{A\}\+\\eta\\mathbf\{e\}\_\{1\}on the parent axis\. This finite numerical fallback is not a feasibility repair, and the query remains marked infeasible\. Appendix[B\.2](https://arxiv.org/html/2611.27162#A2.SS2)gives the exact case\-wise corrections\. In five\-seed free test rollouts,1\.882±0\.486%1\.882\\pm 0\.486\\%of midpoint queries are raw\-infeasible before non\-final repair; Appendix[B\.7](https://arxiv.org/html/2611.27162#A2.SS7)reports the seed\-wise counts and final\-leaf events\.
### 3\.5Recursive Midpoint Generation
The midpoint Transformer generates the local states for all active intervals at a level\. Each midpoint local state,𝐳mid∈ℝ4\\mathbf\{z\}^\{\\mathrm\{mid\}\}\\in\\mathbb\{R\}^\{4\}, contains the left and right radial channels,uL,uRu\_\{L\},u\_\{R\}, and the angular channels,sinω,cosω\\sin\\omega,\\cos\\omega, so𝐳mid=\(uL,uR,sinω,cosω\)\\mathbf\{z\}^\{\\mathrm\{mid\}\}=\(u\_\{L\},u\_\{R\},\\sin\\omega,\\cos\\omega\)\. The midpoint Transformer outputs local\-ICS channels, whose radial components are mapped to bounded radii, while the angular pair avoids the discontinuity at±π\\pm\\pi\. To balance the scales of the four local\-ICS channels, flow matching is performed on the channel\-wise standardized state,𝐳~=\(𝐳−𝝁train\)/𝝈train\\widetilde\{\\mathbf\{z\}\}=\(\\mathbf\{z\}\-\\bm\{\\mu\}\_\{\\mathrm\{train\}\}\)/\\bm\{\\sigma\}\_\{\\mathrm\{train\}\}, where the training\-target channel mean and standard deviation are𝝁train\\bm\{\\mu\}\_\{\\mathrm\{train\}\}and𝝈train\\bm\{\\sigma\}\_\{\\mathrm\{train\}\}\. Before geometry decoding, predicted states are transformed back to raw local coordinates\.
Each query concatenates its noisy local state, parent\-distance features, apo local state, D3PM residue features, and ESM\-3 embeddings\. Each query token receives a sinusoidal residue\-position embedding\. Flow\-time and recursion\-level embeddings condition each Transformer block through adaptive layer normalization \(AdaLN\)\. A four\-channel head predicts the clean local state; architectural details appear in Appendix[A\.2](https://arxiv.org/html/2611.27162#A1.SS2)\.
At each level, the local\-ICS geometry decoder maps the generated local internal\-coordinate states to Cartesian midpoint coordinates and merges them with the existing parent anchors to update the partial trace\. The updated trace supplies the parent anchors for the next level, and this generate–decode–merge cycle repeats recursively until the Cα\\alphatrace is complete\.
### 3\.6Training and Inference
#### Training\.
Paired apo–holo structures provide clean targets for both flows\. Midpoint training uses teacher\-forced parent contexts; inference instead uses the parents generated at earlier levels\. The anchor clean\-endpoint loss,ℒtop\\mathcal\{L\}\_\{\\mathrm\{top\}\}, and midpoint clean\-endpoint loss,ℒmid\\mathcal\{L\}\_\{\\mathrm\{mid\}\}, apply the objective to anchor coordinates and local midpoint states, respectively\. Radius channels fixed by Equation[10](https://arxiv.org/html/2611.27162#S3.E10)are excluded from the midpoint state loss\. The full objective is
ℒ=ℒtop\+ℒmid\+αs\(0\.2ℒxyz\+0\.1ℒadj\+0\.1ℒsparse\+0\.05ℒfeas\)\.\\mathcal\{L\}=\\mathcal\{L\}\_\{\\mathrm\{top\}\}\+\\mathcal\{L\}\_\{\\mathrm\{mid\}\}\+\\alpha\_\{s\}\\\!\\left\(0\.2\\mathcal\{L\}\_\{\\mathrm\{xyz\}\}\+0\.1\\mathcal\{L\}\_\{\\mathrm\{adj\}\}\+0\.1\\mathcal\{L\}\_\{\\mathrm\{sparse\}\}\+0\.05\\mathcal\{L\}\_\{\\mathrm\{feas\}\}\\right\)\.\(12\)The auxiliary losses penalize errors in decoded midpoint coordinates,ℒxyz\\mathcal\{L\}\_\{\\mathrm\{xyz\}\}; adjacent distances,ℒadj\\mathcal\{L\}\_\{\\mathrm\{adj\}\}; sparse pair distances,ℒsparse\\mathcal\{L\}\_\{\\mathrm\{sparse\}\}; and sphere infeasibility,ℒfeas\\mathcal\{L\}\_\{\\mathrm\{feas\}\}\. The auxiliary\-loss scale,αs\\alpha\_\{s\}, increases linearly from zero to one over the first 500 optimization steps\. Flow times are drawn in equal proportions fromt=0t=0, the five\-point Euler grid, and a continuous uniform distribution on\[0,1\)\[0,1\)\. Appendix[D](https://arxiv.org/html/2611.27162#A4)gives the exact masks, reductions, and Smooth\-L1 definitions used by every objective term\.
#### Inference\.
The anchor flow first transforms apo anchor coordinates into holo\-like anchors\. These anchors initialize a partial trace that is recursively completed by the midpoint flow\. Unlike teacher\-forced training, inference builds the hierarchy from its own predictions: each decoded midpoint is added to the partial trace and becomes a fixed parent anchor for the next level\. Each flow uses five Euler steps, and evaluation draws one prediction per test protein\.
## 4Experimental Setup
#### Data\.
We use the fixed D3PM\-Large split introduced by SBAlign: 1,291 apo–holo pairs for training, 150 for validation, and 150 for testing\([Somnath et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib21);[Peng et al\., 2022](https://arxiv.org/html/2611.27162#bib.bib15)\)\. We center and Kabsch\-align each pair during preprocessing\([Kabsch, 1976](https://arxiv.org/html/2611.27162#bib.bib6)\); segment labels prevent midpoint generation across mask\-defined gaps\.
#### Full\-sequence ESM\-3 features\.
We run ESM\-3 on the full apo SEQRES sequence and gather embeddings for observed D3PM residues, without holo input\. Appendix[F](https://arxiv.org/html/2611.27162#A6)gives the windowing, residue\-mapping, and validation details\.
#### Model and training\.
Complete architecture settings are reported in Appendix[C](https://arxiv.org/html/2611.27162#A3)\. We train for 1,000 epochs with AdamW\([Loshchilov & Hutter, 2019](https://arxiv.org/html/2611.27162#bib.bib9)\), an effective batch size of eight, and top and midpoint learning rates of10−410^\{\-4\}and5×10−45\\times 10^\{\-4\}\. For each seed in\{1,3,42,88,99\}\\\{1,3,42,88,99\\\}, we evaluate the checkpoint with the lowest validation mean Kabsch RMSD and report mean±\\pmsample standard deviation\. Appendices[I](https://arxiv.org/html/2611.27162#A9)and[E](https://arxiv.org/html/2611.27162#A5)report model selection and computational cost\.
#### Baselines and protocol\.
For global RMSD, we use published D3PM results for SBAlign and Sesame and FDBM\-reported results for EGNN, ABM, and FDBM\([Somnath et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib21);[Miñán et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib11);[Nobis et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib12)\)\. Local and all\-atom analyses use stored predictions for direct\-regression EGNN, SBAlign, ABM, and FDBM on the same 150 test identifiers; Sesame is omitted because reproducible per\-target outputs were unavailable\. We report one prediction from each of five training seeds\.
#### Metrics\.
Following the D3PM protocol\([Somnath et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib21);[Peng et al\., 2022](https://arxiv.org/html/2611.27162#bib.bib15)\), we measure RMSD directly in the pre\-aligned frame without a prediction\-to\-target fit and report success below 2, 5, and 10 Å\. Local fidelity uses 0\.2 Å distance and20∘20^\{\\circ\}pseudo\-angle thresholds; Cα\\alphaclashes are non\-adjacent pairs below 3 Å per million eligible pairs\.
#### Relaxation\-free all\-atom validation\.
Fixed\-Cα\\alphacg2all reconstructs all predictions, and MolProbity scores the unrelaxed outputs\([Heo & Feig, 2024](https://arxiv.org/html/2611.27162#bib.bib4);[Chen et al\., 2010](https://arxiv.org/html/2611.27162#bib.bib1)\)\. All reconstructions succeed; GT\-holo applies the same pipeline to reference Cα\\alphatraces\.
## 5Results
Figure 4:Example for the 100\-residue pair 3EBN\_B–5N5O\_A\. \(a\) Apo input \(gray\) and holo target \(green\), with 14\.233 Å direct Cα\\alphaRMSD\. \(b\) The prediction \(dark blue\) reaches 0\.773 Å RMSD; markers show 26 top anchors \(blue\), 25 level\-1 midpoints \(orange\), and 49 level\-2 midpoints \(teal\)\.Figure[4](https://arxiv.org/html/2611.27162#S5.F4)visualizes how sparse anchors and two midpoint levels resolve a large apo–holo displacement\. A corresponding hierarchical inference animation is part of the code release \(videos/crypticflow\_hierarchical\_inference\)\.
### 5\.1Apo\-to\-Holo Accuracy
Table 1:Cα\\alphaaccuracy on the fixed D3PM test split\. Ours is mean±\\pmsample standard deviation over five models; baseline values are taken from the cited reports\([Somnath et al\., 2023](https://arxiv.org/html/2611.27162#bib.bib21);[Miñán et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib11);[Nobis et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib12)\)\. Test std\. is the dispersion across test proteins; our row summarizes this statistic across five models\.
### 5\.2Cα\\alphaand All\-Atom Structural Validity
Table 2:Core validity metrics\.CrypticFlowreports mean±\\pmsample standard deviation over five models; baselines are single stored predictions\.Tables[1](https://arxiv.org/html/2611.27162#S5.T1)and[2](https://arxiv.org/html/2611.27162#S5.T2)show gains in both global and local quality\. Relative to FDBM \(H=0\.2H=0\.2\),CrypticFlowlowers median/mean direct RMSD from 2\.12/3\.34 Å to1\.333±0\.0561\.333\\pm 0\.056/2\.766±0\.0412\.766\\pm 0\.041Å and raises sub\-2 Å success from 48\.0% to58\.53±0\.73%58\.53\\pm 0\.73\\%\. It also achieves99\.58±0\.02%99\.58\\pm 0\.02\\%distance fidelity,95\.87±0\.25%95\.87\\pm 0\.25\\%angle fidelity, and the lowest learned\-model MolProbity score \(3\.034±0\.0543\.034\\pm 0\.054\)\. Detailed metrics appear in Appendix[H](https://arxiv.org/html/2611.27162#A8)\. Controls that isolate the source of this fidelity, the same comparison at matched baseline capacity, and an external benchmark are reported in Appendices[O](https://arxiv.org/html/2611.27162#A15),[N](https://arxiv.org/html/2611.27162#A14)and[M](https://arxiv.org/html/2611.27162#A13)\.
## 6Discussion and Limitations
#### Where each result comes from\.
CrypticFlowsplits the problem deliberately, and controls let us say which stage carries which result\. Global accuracy is set almost entirely at the Cartesian anchor stage\. Replacing the generated anchors with ground\-truth ones lowers the mean RMSD from 2\.766 to 0\.775 Å, and the midpoint stage adds almost no error of its own, so 72% of the remaining global error sits in the anchors \(Appendix[Q](https://arxiv.org/html/2611.27162#A17)\)\. Local geometry comes from the internal\-coordinate midpoints: a local\-Cartesian midpoint is slightly better on RMSD but loses the adjacent\-distance and reconstructed bond/angle fidelity \(Appendix[J](https://arxiv.org/html/2611.27162#A10)\)\. One component we expected to matter does not\. The apo radius copied for a sequence\-adjacent parent can be removed altogether and the distance fidelity is unchanged to within0\.020\.02pp \(Appendix[O\.2](https://arxiv.org/html/2611.27162#A15.SS2)\)\. That number is produced by the representation, not by the constraint\.
#### The hierarchy is a position on a trade\-off\.
Neither pure representation is good on both axes, and each fails where the other succeeds\. A hierarchy\-free stride\-1 Cartesian flow reaches a lower median RMSD thanCrypticFlowin all five seeds, by0\.180±0\.0370\.180\\pm 0\.037Å, but its adjacent\-distance fidelity is 67\.3% against our 99\.6%\. Full\-chain internal\-coordinate rollouts reach a higher pseudo\-angle fidelity, 98\.78–98\.83% against our 95\.87%, but their median RMSD is more than five times ours, and retraining them at our parameter count closes only about a tenth of that gap \(Appendix[P](https://arxiv.org/html/2611.27162#A16)\)\.CrypticFlowsits between the two: it gives up0\.1800\.180Å of median RMSD and gains\+32\.2±2\.3\+32\.2\\pm 2\.3pp of adjacent\-distance fidelity\. The claim we can make is therefore not that the hierarchy improves global accuracy, nor that it preserves local geometry better than any alternative\. It is that of these three settings only the hierarchy is good on both axes at once\.
#### What capacity matching changes, and what it does not\.
At 34\.08M parametersCrypticFlowis substantially larger than the published bridge baselines, so the main comparison is not capacity matched\. We retrained all four at matched capacity with the same pretrained features\. ABM then attains a lower global RMSD thanCrypticFlowon this split, 2\.547 against 2\.766 Å \(Appendix[N](https://arxiv.org/html/2611.27162#A14)\), so the accuracy claim holds at the published baseline capacities rather than in general\. Matching capacity does not change the geometry result: the best capacity\-matched baseline still reaches only 38\.5% adjacent\-distance fidelity against our 99\.6%\. Size is also not bought with time, sinceCrypticFlowremains faster per target than all three bridge baselines under the hardware\-controlled comparison in Appendix Table[5](https://arxiv.org/html/2611.27162#A5.T5)\. Our accuracy result therefore depends on model size, and our geometry result does not\.
#### What transfers to an unseen benchmark\.
We then asked whether the geometry result survives a change of distribution, using CryptoBench, an external cryptic\-pocket benchmark, with no retraining\. Every capacity\-matched baseline there is worse than leaving the apo structure untouched, andCrypticFlowis the only evaluated generative model that improves on it, in both global and pocket Cα\\alphaRMSD \(Appendices[M](https://arxiv.org/html/2611.27162#A13)and[M\.1](https://arxiv.org/html/2611.27162#A13.SS1)\)\. The margin is small and the docking gains stay well short of the reconstructed ground\-truth ceiling, so this is evidence that the hybrid representation survives a distribution shift, not a claim that cryptic\-pocket prediction is solved\. Two limits bound it further\.CrypticFlowreturns a single ligand\-free Cα\\alphatrace, and repeated sampling does not change that: 20 samples of one target differ by a median of0\.020±0\.0030\.020\\pm 0\.003Å, and an oracle over them performs the same as a single sample \(Appendix[R](https://arxiv.org/html/2611.27162#A18)\)\. It is a deterministic predictor rather than an ensemble generator, and it never sees the ligand that opens the pocket\.
## 7Conclusion
We introducedCrypticFlow, a hierarchical flow\-matching model for apo\-to\-holo generation\. It places sparse anchors with a Cartesian flow and fills the gaps between them with recursive local internal coordinates, so that no dependency path runs longer than two refinements\. The design answers a trade\-off\. Cartesian models are globally accurate but geometrically implausible, and internal\-coordinate models are the reverse\. On the fixed 150\-pair D3PM split,CrypticFlowis the only one of these three settings that is good on both axes, and that holds in each of our five independently trained models\.
Our accuracy result and our geometry result do not rest on the same footing\. The global\-accuracy lead holds at the published baseline capacities, but not once every baseline is retrained at our parameter count\. The local\-geometry and all\-atom advantage is untouched by that matching, and it is the one that transfers: on CryptoBench,CrypticFlowis the only evaluated generative model that improves on the unmoved apo input\. We read the hybrid representation, rather than the accuracy ranking, as the result worth carrying forward\.
What the model still cannot do is return more than one structure\. Repeated sampling gives back the same trace, soCrypticFlowdoes not address the conformational heterogeneity that makes cryptic pockets hard\. Ligand\-conditioned, all\-atom, multi\-state generation is the natural next step, and the hierarchical hybrid\-coordinate representation is what we would build it on\. The same representation could also carry over to conformational change driven by protein–protein interactions or post\-translational modifications\.
### Reproducibility statement
Sections[3](https://arxiv.org/html/2611.27162#S3)and[4](https://arxiv.org/html/2611.27162#S4)specify the fixed split, representations, model dimensions, training objective, inference procedure, and evaluation metrics\. Appendix[C](https://arxiv.org/html/2611.27162#A3)records the complete main configuration and seed protocol; Appendices[I](https://arxiv.org/html/2611.27162#A9),[J](https://arxiv.org/html/2611.27162#A10),[K](https://arxiv.org/html/2611.27162#A11), and[F](https://arxiv.org/html/2611.27162#A6)document model selection, post\-selection controls, perturbation diagnostics, and sequence mapping\. The code release prepared for this work contains the implementation, fixed split manifest, five sanitized training/evaluation configuration pairs, per\-target metric records, and a standard\-library script that recomputes theCrypticFlowrows in Tables[1](https://arxiv.org/html/2611.27162#S5.T1)and[2](https://arxiv.org/html/2611.27162#S5.T2)\. ItsREADME\.mdandREPRODUCIBILITY\.mddocument the environment, data schema, training, inference, and all\-atom evaluation procedures\. Upstream D3PM structures, ESM\-3 assets, and large checkpoints are not redistributed; the archive documents their preparation and the commands needed to retrain or evaluate a checkpoint\. The release will be made publicly available on GitHub upon publication\.
### AI use statement
Generative AI tools, including OpenAI Prism and Codex, assisted with literature discovery; manuscript drafting, editing, and translation; method implementation and software review; dataset validation and formatting; experimental design; figure and artifact development; and interpretation of results\. They were not used to generate synthetic datasets, formulate or prove mathematical claims, or propose scientific hypotheses; qualitative and thematic data analysis was not applicable\. The authors manually verified the cited literature, implementation, experimental artifacts, numerical claims, and final wording, and take responsibility for the complete content of the submission\.
## References
- Chen et al\. \(2010\)Vincent B\. Chen, W\. Bryan Arendall, III, Jeffrey J\. Headd, Daniel A\. Keedy, Robert M\. Immormino, Gary J\. Kapral, Laura W\. Murray, Jane S\. Richardson, and David C\. Richardson\.MolProbity: All\-atom structure validation for macromolecular crystallography\.*Acta Crystallographica Section D: Biological Crystallography*, 66\(1\):12–21, 2010\.doi:10\.1107/S0907444909042073\.
- De Bortoli et al\. \(2023\)Valentin De Bortoli, Guan\-Horng Liu, Tianrong Chen, Evangelos A\. Theodorou, and Weilie Nie\.Augmented bridge matching\.*arXiv preprint arXiv:2311\.06978*, 2023\.URL[https://arxiv\.org/abs/2311\.06978](https://arxiv.org/abs/2311.06978)\.
- Hayes et al\. \(2025\)Thomas Hayes, Roshan Rao, Halil Akin, Nicholas J\. Sofroniew, Deniz Oktay, Zeming Lin, Robert Verkuil, et al\.Simulating 500 million years of evolution with a language model\.*Science*, 387\(6736\):850–858, 2025\.doi:10\.1126/science\.ads0018\.
- Heo & Feig \(2024\)Lim Heo and Michael Feig\.One bead per residue can describe all\-atom protein structures\.*Structure*, 32\(1\):97–111\.e6, 2024\.doi:10\.1016/j\.str\.2023\.10\.013\.
- Jänne et al\. \(2022\)Pasi A\. Jänne, Gregory J\. Riely, Shirish M\. Gadgeel, Rebecca S\. Heist, Sai\-Hong Ignatius Ou, Jessica M\. Pacheco, et al\.Adagrasib in non–small\-cell lung cancer harboring a KRASG12C mutation\.*The New England Journal of Medicine*, 387\(2\):120–131, 2022\.doi:10\.1056/NEJMoa2204619\.
- Kabsch \(1976\)Wolfgang Kabsch\.A solution for the best rotation to relate two sets of vectors\.*Acta Crystallographica Section A*, 32\(5\):922–923, 1976\.doi:10\.1107/S0567739476001873\.
- Li et al\. \(2023\)Jie Li, Oufan Zhang, Seokyoung Lee, Ashley Namini, Zi Hao Liu, João M\. C\. Teixeira, Julie D\. Forman\-Kay, and Teresa Head\-Gordon\.Learning correlations between internal coordinates to improve 3d cartesian coordinates for proteins\.*Journal of Chemical Theory and Computation*, 19\(14\):4689–4700, 2023\.doi:10\.1021/acs\.jctc\.2c01270\.
- Lipman et al\. \(2023\)Yaron Lipman, Ricky T\. Q\. Chen, Heli Ben\-Hamu, Maximilian Nickel, and Matt Le\.Flow matching for generative modeling\.In*International Conference on Learning Representations*, 2023\.URL[https://openreview\.net/forum?id=PqvMRDCJT9t](https://openreview.net/forum?id=PqvMRDCJT9t)\.
- Loshchilov & Hutter \(2019\)Ilya Loshchilov and Frank Hutter\.Decoupled weight decay regularization\.In*International Conference on Learning Representations*, 2019\.URL[https://openreview\.net/forum?id=Bkg6RiCqY7](https://openreview.net/forum?id=Bkg6RiCqY7)\.
- Meller et al\. \(2023\)Artur Meller, Michael Ward, Jonathan Borowsky, Meghana Kshirsagar, Jeffrey M\. Lotthammer, Felipe Oviedo, Juan Lavista Ferres, and Gregory R\. Bowman\.Predicting locations of cryptic pockets from single protein structures using the PocketMiner graph neural network\.*Nature Communications*, 14:1177, 2023\.doi:10\.1038/s41467\-023\-36699\-3\.
- Miñán et al\. \(2025\)Raúl Miñán, Carles Perez\-Lopez, Javier Iglesias, Álvaro Ciudad, and Alexis Molina\.Sesame: Opening the door to protein pockets\.*arXiv preprint arXiv:2509\.05302*, 2025\.URL[https://arxiv\.org/abs/2509\.05302](https://arxiv.org/abs/2509.05302)\.
- Nobis et al\. \(2025\)Gabriel Nobis, Maximilian Springenberg, Arina Belova, Rembert Daems, Christoph Knochenhauer, Manfred Opper, Tolga Birdal, and Wojciech Samek\.Fractional diffusion bridge models\.In*Advances in Neural Information Processing Systems 38*, 2025\.doi:10\.52202/085713\-3819\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2025/hash/a66caa1703fe34705a4368c3014c1966\-Abstract\-Conference\.html](https://proceedings.neurips.cc/paper_files/paper/2025/hash/a66caa1703fe34705a4368c3014c1966-Abstract-Conference.html)\.
- Ostrem et al\. \(2013\)Jonathan M\. Ostrem, Ulf Peters, Martin L\. Sos, James A\. Wells, and Kevan M\. Shokat\.KK\-Ras\(G12C\) inhibitors allosterically control GTP affinity and effector interactions\.*Nature*, 503\(7477\):548–551, 2013\.doi:10\.1038/nature12796\.
- Peebles & Xie \(2023\)William Peebles and Saining Xie\.Scalable diffusion models with transformers\.In*Proceedings of the IEEE/CVF International Conference on Computer Vision*, pp\. 4195–4205, 2023\.URL[https://openaccess\.thecvf\.com/content/ICCV2023/html/Peebles\_Scalable\_Diffusion\_Models\_with\_Transformers\_ICCV\_2023\_paper\.html](https://openaccess.thecvf.com/content/ICCV2023/html/Peebles_Scalable_Diffusion_Models_with_Transformers_ICCV_2023_paper.html)\.
- Peng et al\. \(2022\)Cheng Peng, Xinben Zhang, Zhijian Xu, Zhaoqiang Chen, Yanqing Yang, Tingting Cai, and Weiliang Zhu\.D3PM: A comprehensive database for protein motions ranging from residue to domain\.*BMC Bioinformatics*, 23:70, 2022\.doi:10\.1186/s12859\-022\-04595\-0\.
- Qu et al\. \(2026\)Yanru Qu, Cheng\-Yen Hsieh, Zaixiang Zheng, Ge Liu, and Quanquan Gu\.Protein autoregressive modeling via multiscale structure generation\.In*Proceedings of the 43rd International Conference on Machine Learning*, 2026\.URL[https://arxiv\.org/abs/2602\.04883](https://arxiv.org/abs/2602.04883)\.Oral presentation\.
- Satorras et al\. \(2021\)Víctor Garcia Satorras, Emiel Hoogeboom, and Max Welling\.E\(n\)E\(n\)Equivariant Graph Neural Networks\.In*Proceedings of the 38th International Conference on Machine Learning*, volume 139 of*Proceedings of Machine Learning Research*, pp\. 9323–9332\. PMLR, 2021\.URL[https://proceedings\.mlr\.press/v139/satorras21a\.html](https://proceedings.mlr.press/v139/satorras21a.html)\.
- Singh et al\. \(2025\)Lakshaditya Singh, Adwait Shelke, and Divyansh Agrawal\.Torsion\-space diffusion for protein backbone generation with geometric refinement\.*arXiv preprint arXiv:2511\.19184*, 2025\.URL[https://arxiv\.org/abs/2511\.19184](https://arxiv.org/abs/2511.19184)\.
- Skoulidis et al\. \(2021\)Ferdinand Skoulidis, Bob T\. Li, Grace K\. Dy, Timothy J\. Price, Gerald S\. Falchook, Jürgen Wolf, et al\.Sotorasib for lung cancers with KRAS p\.G12C mutation\.*The New England Journal of Medicine*, 384\(25\):2371–2381, 2021\.doi:10\.1056/NEJMoa2103695\.
- Škrhák et al\. \(2024\)Vít Škrhák, Marian Novotný, Christos P\. Feidakis, Radoslav Krivák, and David Hoksza\.CryptoBench: cryptic protein–ligand binding sites dataset and benchmark\.*Bioinformatics*, 41\(1\):btae745, 2024\.doi:10\.1093/bioinformatics/btae745\.
- Somnath et al\. \(2023\)Vignesh Ram Somnath, Matteo Pariset, Ya\-Ping Hsieh, Maria Rodriguez Martinez, Andreas Krause, and Charlotte Bunne\.Aligned Diffusion Schrödinger Bridges\.In*Proceedings of the Thirty\-Ninth Conference on Uncertainty in Artificial Intelligence*, volume 216 of*Proceedings of Machine Learning Research*, pp\. 1985–1995\. PMLR, 2023\.URL[https://proceedings\.mlr\.press/v216/somnath23a\.html](https://proceedings.mlr.press/v216/somnath23a.html)\.
- Vajda et al\. \(2018\)Sandor Vajda, Dmitri Beglov, Amanda E\. Wakefield, Matthew Egbert, and Adrian Whitty\.Cryptic binding sites on proteins: Definition, detection, and druggability\.*Current Opinion in Chemical Biology*, 44:1–8, 2018\.doi:10\.1016/j\.cbpa\.2018\.05\.003\.
- Vaswani et al\. \(2017\)Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N\. Gomez, Łukasz Kaiser, and Illia Polosukhin\.Attention is all you need\.In*Advances in Neural Information Processing Systems*, volume 30, pp\. 5998–6008, 2017\.URL[https://proceedings\.neurips\.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa\-Abstract\.html](https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html)\.
- Wu et al\. \(2024\)Kevin E\. Wu, Kevin K\. Yang, Rianne van den Berg, Sarah Alamdari, James Y\. Zou, Alex X\. Lu, and Ava P\. Amini\.Protein structure generation via folding diffusion\.*Nature Communications*, 15:1059, 2024\.doi:10\.1038/s41467\-024\-45051\-2\.
- Zhou et al\. \(2025\)Xiangxin Zhou, Yi Xiao, Haowei Lin, Xinheng He, Jiaqi Guan, Yang Wang, Qiang Liu, Feng Zhou, Liang Wang, and Jianzhu Ma\.Integrating protein dynamics into structure\-based drug design via full\-atom stochastic flows\.In*International Conference on Learning Representations*, 2025\.URL[https://proceedings\.iclr\.cc/paper\_files/paper/2025/hash/2eea2b3ce7266e83785692cebbe1381d\-Abstract\-Conference\.html](https://proceedings.iclr.cc/paper_files/paper/2025/hash/2eea2b3ce7266e83785692cebbe1381d-Abstract-Conference.html)\.
## Supplementary Benchmark Visualizations
Figures[5](https://arxiv.org/html/2611.27162#Ax1.F5)and[6](https://arxiv.org/html/2611.27162#Ax1.F6)visualize the results reported in main Tables[1](https://arxiv.org/html/2611.27162#S5.T1)and[2](https://arxiv.org/html/2611.27162#S5.T2), respectively\.
Figure 5:Median and mean direct Cα\\alphaRMSD on the fixed D3PM test split after the dataset’s apo\-to\-holo preprocessing alignment\. The broken axis retains legacy EGNN;CrypticFlowerror bars show sample standard deviations over five models\. Baseline values are taken from the cited reports\.Figure 6:Local and all\-atom validity\. Error bars show sample standard deviations over fiveCrypticFlowmodels\. Sesame is omitted because reproducible per\-target predictions were unavailable\.
## Appendix ADetailed Network Architectures
### A\.1Anchor Network Details
Each anchor receives a 145\-dimensional D3PM descriptor and a 1,536\-dimensional ESM\-3 residue representation\. A projection produces the initial invariant node state𝐇\(0\)∈ℝ\|𝒜\|×320\\mathbf\{H\}^\{\(0\)\}\\in\\mathbb\{R\}^\{\|\\mathcal\{A\}\|\\times 320\}\. A sinusoidal time embedding and the projected ESM\-3 BOS representation produce a 320\-dimensional condition𝐜\\mathbf\{c\}, broadcast to all anchors\.
The graph unites three directed neighborhoods: 32\-nearest neighbors in the apo structure, 16\-nearest neighbors in the flow state𝐗t\\mathbf\{X\}\_\{t\}at the start of the forward pass, and adjacent entries in the sparse anchor sequence whose original residue index gap is at most 16\. Graph indices stay fixed during that pass\. Layerkkrecomputes the invariant edge features,𝐆ij\(k\)\\mathbf\{G\}\_\{ij\}^\{\(k\)\},
𝐆ij\(k\)=RBF\(‖𝐗j\(k\)−𝐗i\(k\)‖\)‖RBF\(‖𝐗apo,j−𝐗apo,i‖\)‖Fourier\(pj−pi\),\\mathbf\{G\}\_\{ij\}^\{\(k\)\}=\\operatorname\{RBF\}\(\\\|\\mathbf\{X\}\_\{j\}^\{\(k\)\}\-\\mathbf\{X\}\_\{i\}^\{\(k\)\}\\\|\)\\,\\\|\\,\\operatorname\{RBF\}\(\\\|\\mathbf\{X\}\_\{\\mathrm\{apo\},j\}\-\\mathbf\{X\}\_\{\\mathrm\{apo\},i\}\\\|\)\\,\\\|\\,\\operatorname\{Fourier\}\(p\_\{j\}\-p\_\{i\}\),\(13\)with 32, 32, and 17 channels, respectively\. Here the original residue index of anchoriiispip\_\{i\}, and the concatenation operator is∥\\\|\.
Each of eight EGNN layers computes the conditioned node state,𝐇~i\(k\)\\widetilde\{\\mathbf\{H\}\}\_\{i\}^\{\(k\)\}; edge message,𝐦ij\(k\)\\mathbf\{m\}\_\{ij\}^\{\(k\)\}; and message gate,qij\(k\)q\_\{ij\}^\{\(k\)\}:
𝐇~i\(k\)\\displaystyle\\widetilde\{\\mathbf\{H\}\}\_\{i\}^\{\(k\)\}=AdaLN\(𝐇i\(k\),𝐜\),\\displaystyle=\\operatorname\{AdaLN\}\(\\mathbf\{H\}\_\{i\}^\{\(k\)\},\\mathbf\{c\}\),\(14\)𝐦ij\(k\)\\displaystyle\\mathbf\{m\}\_\{ij\}^\{\(k\)\}=ϕe\(\[𝐇~i\(k\)‖𝐇~j\(k\)‖𝐆ij\(k\)\]\),\\displaystyle=\\phi\_\{e\}\\\!\\left\(\[\\widetilde\{\\mathbf\{H\}\}\_\{i\}^\{\(k\)\}\\\|\\widetilde\{\\mathbf\{H\}\}\_\{j\}^\{\(k\)\}\\\|\\mathbf\{G\}\_\{ij\}^\{\(k\)\}\]\\right\),\(15\)qij\(k\)\\displaystyle q\_\{ij\}^\{\(k\)\}=σ\(ϕq\(𝐦ij\(k\)\)\)\.\\displaystyle=\\sigma\\\!\\left\(\\phi\_\{q\}\(\\mathbf\{m\}\_\{ij\}^\{\(k\)\}\)\\right\)\.\(16\)The 320\-dimensional edge message is multiplied byqij\(k\)q\_\{ij\}^\{\(k\)\}and averaged over valid neighbors\. Node features receive a local message update, a masked\-global\-mean update, and a SwiGLU transition\. Each residual is modulated channel\-wise by the condition:
𝐇←𝐇\+gs\(𝐜\)⊙Δ𝐇s,s∈\{local,global,tr\}\.\\mathbf\{H\}\\leftarrow\\mathbf\{H\}\+g\_\{s\}\(\\mathbf\{c\}\)\\odot\\Delta\\mathbf\{H\}\_\{s\},\\qquad s\\in\\\{\\mathrm\{local\},\\mathrm\{global\},\\mathrm\{tr\}\\\}\.\(17\)HereΔ𝐇s\\Delta\\mathbf\{H\}\_\{s\}is the candidate update from branchss, andgs\(𝐜\)g\_\{s\}\(\\mathbf\{c\}\)is its condition\-dependent channel gate\. The edge messages also produce the coordinate weights in Equation[6](https://arxiv.org/html/2611.27162#S3.E6)\. Figure[7](https://arxiv.org/html/2611.27162#A1.F7)shows the complete layer\-level data flow\.
Reading the figure from left to right, D3PM and ESM\-3 residue features first initialize𝐇\(0\)\\mathbf\{H\}^\{\(0\)\}, while flow time and the ESM\-3 BOS embedding produce the condition𝐜\\mathbf\{c\}\. Current and apo coordinates define the neighbor union and edge geometry\. In every EGNN layer, AdaLN conditions the node features; the center feature, neighbor feature, and𝐆ij\(k\)\\mathbf\{G\}\_\{ij\}^\{\(k\)\}enter the edge MLP to form𝐦ij\(k\)\\mathbf\{m\}\_\{ij\}^\{\(k\)\}and the gateqij\(k\)q\_\{ij\}^\{\(k\)\}\. The gated messages update node features through successive local, global, and transition residuals\. In parallel, the same message predicts signed weights for the soft\-normalized current and apo relative vectors, and the gated mixture updates the coordinates\. The updated node states and coordinates enter the next layer\. Neighbor indices stay fixed, whereas current\-state geometry is recomputed at each layer\. After eight layers, the final displacement is mean\-centered to produce the clean holo\-like anchor estimate\.
Figure 7:Detailed top\-anchor Cartesian flow\. Precomputed ESM\-3 residue and BOS features condition an eight\-layer EGNN\. A fixed neighbor union supports invariant messages and equivariant coordinate updates\. Orange paths are prepared once; blue paths are recomputed in each layer\. Tensor dimensions are shown below the blocks\.
### A\.2Midpoint Network Details
For each active interval, the input token concatenates the noisy local state \(4 channels\), current parent\-distance features \(17\), apo local state \(4\), and D3PM plus ESM\-3 residue features \(1,681\)\. Parent\-distance features comprise a normalized distance and 16 Gaussian RBF channels\. Layer normalization and a linear map project the 1,706 input channels to 256, after which a sinusoidal residue\-position embedding is added\.
Two learned register tokens are prepended\. A sinusoidal flow\-time embedding and a learned recursion\-level embedding form the 128\-dimensional condition\. Eight non\-causal Transformer blocks apply AdaLN\-conditioned eight\-head self\-attention and an AdaLN\-conditioned SwiGLU transition, each with a residual connection\. The registers are removed before a four\-channel head predicts the clean local state\. Figure[8](https://arxiv.org/html/2611.27162#A1.F8)shows the tensor dimensions and decoding path\.
Figure 8:Detailed midpoint flow at recursion levelℓ\\ell\. TheQQactive midpoint queries are processed in parallel with two learned registers\. Self\-attention is non\-causal\. After clean\-state integration, bounded radii and an angular direction are decoded in local internal coordinates and merged into the trace\.
## Appendix BLocal Internal Coordinates: A Step\-by\-Step Derivation
This section explains Equations[7](https://arxiv.org/html/2611.27162#S3.E7)–[9](https://arxiv.org/html/2611.27162#S3.E9)using right triangles, vector projections, and circle coordinates\. The parents𝐀,𝐁\\mathbf\{A\},\\mathbf\{B\}are already placed\. The new residue𝐌\\mathbf\{M\}is a midpoint in*sequence index*, not necessarily the spatial midpoint\(𝐀\+𝐁\)/2\(\\mathbf\{A\}\+\\mathbf\{B\}\)/2\. We assume distinct parents and nonnegative radii throughout the derivation\.
### B\.1From Two Distances to a Circle
FixingrL=‖𝐌−𝐀‖r\_\{L\}=\\\|\\mathbf\{M\}\-\\mathbf\{A\}\\\|restricts𝐌\\mathbf\{M\}to a sphere centered at𝐀\\mathbf\{A\}\. FixingrR=‖𝐌−𝐁‖r\_\{R\}=\\\|\\mathbf\{M\}\-\\mathbf\{B\}\\\|restricts it to a second sphere centered at𝐁\\mathbf\{B\}\. Their intersection is generally a circle: the distances determine its position and radius, but leave the position of𝐌\\mathbf\{M\}around that circle free\.
Let the parent separation bed=‖𝐁−𝐀‖d=\\\|\\mathbf\{B\}\-\\mathbf\{A\}\\\|and the unit vector from𝐀\\mathbf\{A\}to𝐁\\mathbf\{B\}be𝐞1=\(𝐁−𝐀\)/d\\mathbf\{e\}\_\{1\}=\(\\mathbf\{B\}\-\\mathbf\{A\}\)/d\. For any candidate𝐌\\mathbf\{M\}, write
𝐌=𝐀\+η𝐞1\+𝐯,𝐯⋅𝐞1=0\.\\mathbf\{M\}=\\mathbf\{A\}\+\\eta\\mathbf\{e\}\_\{1\}\+\\mathbf\{v\},\\qquad\\mathbf\{v\}\\cdot\\mathbf\{e\}\_\{1\}=0\.Here the signed distance along the parent axis isη\\eta, and the remaining displacement perpendicular to it is𝐯\\mathbf\{v\}\. By the Pythagorean theorem,
rL2=η2\+‖𝐯‖2,rR2=\(d−η\)2\+‖𝐯‖2\.r\_\{L\}^\{2\}=\\eta^\{2\}\+\\\|\\mathbf\{v\}\\\|^\{2\},\\qquad r\_\{R\}^\{2\}=\(d\-\\eta\)^\{2\}\+\\\|\\mathbf\{v\}\\\|^\{2\}\.Subtracting the second equation from the first eliminates‖𝐯‖2\\\|\\mathbf\{v\}\\\|^\{2\}:
rL2−rR2=η2−\(d−η\)2=2dη−d2\.r\_\{L\}^\{2\}\-r\_\{R\}^\{2\}=\\eta^\{2\}\-\(d\-\\eta\)^\{2\}=2d\\eta\-d^\{2\}\.Thus every point satisfying both distances has the same axial coordinate,
η=d2\+rL2−rR22d,𝐂=𝐀\+η𝐞1\.\\eta=\\frac\{d^\{2\}\+r\_\{L\}^\{2\}\-r\_\{R\}^\{2\}\}\{2d\},\\qquad\\mathbf\{C\}=\\mathbf\{A\}\+\\eta\\mathbf\{e\}\_\{1\}\.Its perpendicular distance from𝐂\\mathbf\{C\}is also fixed:
ρ=‖𝐯‖=rL2−η2\.\\rho=\\\|\\mathbf\{v\}\\\|=\\sqrt\{r\_\{L\}^\{2\}\-\\eta^\{2\}\}\.All such points therefore lie on a circle of radiusρ\\rho, centered at𝐂\\mathbf\{C\}in a plane perpendicular to𝐞1\\mathbf\{e\}\_\{1\}\. IfrL=rRr\_\{L\}=r\_\{R\}, thenη=d/2\\eta=d/2and𝐂\\mathbf\{C\}is the spatial midpoint of the parents\. For unequal radii,𝐂\\mathbf\{C\}shifts along the axis and can lie outside the segmentABAB\.
The two spheres intersect only when\|rL−rR\|≤d≤rL\+rR\|r\_\{L\}\-r\_\{R\}\|\\leq d\\leq r\_\{L\}\+r\_\{R\}\. At equality,ρ=0\\rho=0and the circle reduces to a point\. The clamped square root used in the local\-ICS geometry decoder prevents taking the square root of a negative value; it does not by itself make incompatible distance constraints feasible\.
### B\.2Feasibility Repair for Non\-intersecting Spheres
The main configuration enables geometric repair for non\-final midpoint queries\. Let the small interior margin beδ=10−3\\delta=10^\{\-3\}\. If the two spheres are externally separated,d\>rL\+rRd\>r\_\{L\}\+r\_\{R\}, we set
Δsep=d\+δ−rL−rR2,\(r~L,r~R\)=\(rL\+Δsep,rR\+Δsep\)\.\\Delta\_\{\\mathrm\{sep\}\}=\\frac\{d\+\\delta\-r\_\{L\}\-r\_\{R\}\}\{2\},\\qquad\(\\widetilde\{r\}\_\{L\},\\widetilde\{r\}\_\{R\}\)=\(r\_\{L\}\+\\Delta\_\{\\mathrm\{sep\}\},r\_\{R\}\+\\Delta\_\{\\mathrm\{sep\}\}\)\.Here the separation correction isΔsep\\Delta\_\{\\mathrm\{sep\}\}, and the repaired radii arer~L,r~R\\widetilde\{r\}\_\{L\},\\widetilde\{r\}\_\{R\}\. This equally shares the minimum Euclidean correction between the two radii and moves their sum just inside the feasible region\. If the left sphere contains the right one,rL−rR\>dr\_\{L\}\-r\_\{R\}\>d, we instead use
Δcon=rL−rR−max\(d−δ,0\)2,\(r~L,r~R\)=\(rL−Δcon,rR\+Δcon\),\\Delta\_\{\\mathrm\{con\}\}=\\frac\{r\_\{L\}\-r\_\{R\}\-\\max\(d\-\\delta,0\)\}\{2\},\\qquad\(\\widetilde\{r\}\_\{L\},\\widetilde\{r\}\_\{R\}\)=\(r\_\{L\}\-\\Delta\_\{\\mathrm\{con\}\},r\_\{R\}\+\\Delta\_\{\\mathrm\{con\}\}\),where the containment correction isΔcon\\Delta\_\{\\mathrm\{con\}\}\. We apply the symmetric update whenrR−rL\>dr\_\{R\}\-r\_\{L\}\>d\. This transfers half of the excess from the larger radius to the smaller one until their difference lies just inside the containment boundary\. Parent coordinates are never moved\.
An adjacent\-distance constraint takes priority over the symmetric repair\. If, for example,rLr\_\{L\}is fixed to its sanitized apo value andrRr\_\{R\}is learned, the implementation leavesrLr\_\{L\}unchanged and clamps only the free radius:
r~L=rL,r~R=clip\(rR,\|d−rL\|\+δ,d\+rL−δ\),\\widetilde\{r\}\_\{L\}=r\_\{L\},\\qquad\\widetilde\{r\}\_\{R\}=\\operatorname\{clip\}\\\!\\left\(r\_\{R\},\\ \|d\-r\_\{L\}\|\+\\delta,\\ d\+r\_\{L\}\-\\delta\\right\),with the roles reversed when onlyrRr\_\{R\}is fixed\. The repaired radii defineη\\eta,𝐂\\mathbf\{C\}, andρ\\rhoin Equation[7](https://arxiv.org/html/2611.27162#S3.E7); the angular state is normalized before Equation[9](https://arxiv.org/html/2611.27162#S3.E9)is applied\. We retain the raw feasibility flag and record whether a projection was applied and its magnitude\. The repair does not re\-impose the learned contour\-length caps, so a large correction remains visible as evidence of an upstream parent–radius mismatch\.
Final leaves are handled separately\. Both radii are apo\-fixed and are never altered by the non\-final repair\. If predicted parents make these two constraints incompatible, the local\-ICS geometry decoder evaluatesρ=max\(rL2−η2,0\)\\rho=\\sqrt\{\\max\(r\_\{L\}^\{2\}\-\\eta^\{2\},0\)\}\. Henceρ=0\\rho=0and𝐌=𝐂\\mathbf\{M\}=\\mathbf\{C\}lies on the parent axis, while the raw query remains labeled infeasible\. This is a finite numerical fallback, not a claim that both incompatible distances have been satisfied\. During training, the raw violations are additionally penalized by
ℒfeas=𝔼\[ReLU\(d−rL−rR\)2\+ReLU\(\|rL−rR\|−d\)2\]\.\\mathcal\{L\}\_\{\\mathrm\{feas\}\}=\\mathbb\{E\}\\\!\\left\[\\operatorname\{ReLU\}\(d\-r\_\{L\}\-r\_\{R\}\)^\{2\}\+\\operatorname\{ReLU\}\(\|r\_\{L\}\-r\_\{R\}\|\-d\)^\{2\}\\right\]\.Training and inference differ in one respect, and every number in this paper follows the inference setting\. The final\-leaf axial fallback above is applied identically in both\. The non\-final repair, however, is enabled during training \(training\.project\_infeasible\_non\_final\) and is*off*at inference unless requested explicitly throughevaluation\.apply\_non\_final\_feasibility\_projection, which defaults to off\. All results reported here, in the main text and in the appendices, were generated with the non\-final feasibility projection switched off at inference\. Enabling it changes almost nothing: re\-evaluating the same five checkpoints on the fixed 150\-pair test split with the projection on moves the mean direct Cα\\alphaRMSD by\+0\.00004±0\.00143\+0\.00004\\pm 0\.00143Å \(seed\-paired\), and in no seed does the absolute change exceed0\.0020\.002Å\. The queries that require a correction are1\.882±0\.486%1\.882\\pm 0\.486\\%of all midpoint queries \(Table[3](https://arxiv.org/html/2611.27162#A2.T3)\), so the repair acts on a small minority of tokens and its effect on the resulting structures is below the resolution of this comparison\.
### B\.3From an Apo Direction to a Local Frame
#### Choose a reference vector\.
The circle does not yet have a zero\-angle direction\. We obtain one from the apo trace by defining
𝐂¯apo=𝐀apo\+𝐁apo2,𝐪apo=𝐌apo−𝐂¯apo\.\\bar\{\\mathbf\{C\}\}\_\{\\mathrm\{apo\}\}=\\frac\{\\mathbf\{A\}\_\{\\mathrm\{apo\}\}\+\\mathbf\{B\}\_\{\\mathrm\{apo\}\}\}\{2\},\\qquad\\mathbf\{q\}\_\{\\mathrm\{apo\}\}=\\mathbf\{M\}\_\{\\mathrm\{apo\}\}\-\\bar\{\\mathbf\{C\}\}\_\{\\mathrm\{apo\}\}\.The vector from the apo parents’ spatial midpoint toward the apo midpoint residue is𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\. The apo parents’ spatial midpoint,𝐂¯apo\\bar\{\\mathbf\{C\}\}\_\{\\mathrm\{apo\}\}, is not the circle center𝐂\\mathbf\{C\}: the former uses apo coordinates, while the latter uses the current parents and the two prescribed radii\.
#### Remove the component along the parent axis\.
Since𝐞1\\mathbf\{e\}\_\{1\}has unit length, the scalar𝐪apo⋅𝐞1\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\\cdot\\mathbf\{e\}\_\{1\}is the signed length of the component along the axis\. Multiplying this scalar by𝐞1\\mathbf\{e\}\_\{1\}gives the axial vector itself\. Subtracting it leaves only the component parallel to the circle plane:
𝐪∥=\(𝐪apo⋅𝐞1\)𝐞1,𝐪⟂=𝐪apo−𝐪∥\.\\mathbf\{q\}\_\{\\parallel\}=\(\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\\cdot\\mathbf\{e\}\_\{1\}\)\\mathbf\{e\}\_\{1\},\\qquad\\mathbf\{q\}\_\{\\perp\}=\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\-\\mathbf\{q\}\_\{\\parallel\}\.Indeed,𝐞1⋅𝐪⟂=𝐞1⋅𝐪apo−\(𝐪apo⋅𝐞1\)\(𝐞1⋅𝐞1\)=0\\mathbf\{e\}\_\{1\}\\cdot\\mathbf\{q\}\_\{\\perp\}=\\mathbf\{e\}\_\{1\}\\cdot\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\-\(\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\\cdot\\mathbf\{e\}\_\{1\}\)\(\\mathbf\{e\}\_\{1\}\\cdot\\mathbf\{e\}\_\{1\}\)=0\. In matrix notation, the same operation is
𝐪⟂=\(𝐈−𝐞1𝐞1⊤\)𝐪apo,\\mathbf\{q\}\_\{\\perp\}=\(\\mathbf\{I\}\-\\mathbf\{e\}\_\{1\}\\mathbf\{e\}\_\{1\}^\{\\top\}\)\\mathbf\{q\}\_\{\\mathrm\{apo\}\},where𝐈\\mathbf\{I\}is the3×33\\times 3identity matrix\. The outer product𝐞1𝐞1⊤\\mathbf\{e\}\_\{1\}\\mathbf\{e\}\_\{1\}^\{\\top\}extracts the axial component; subtracting it from𝐈\\mathbf\{I\}keeps the perpendicular component\.
#### Why translation followed by projection is the same construction\.
The target plane passes through𝐂\\mathbf\{C\}and is*perpendicular*to𝐞1\\mathbf\{e\}\_\{1\}; it is not a plane containing the parent axis\. Denote this circle plane byΠ𝐂\\Pi\_\{\\mathbf\{C\}\}:
Π𝐂=\{𝐏:\(𝐏−𝐂\)⋅𝐞1=0\}\.\\Pi\_\{\\mathbf\{C\}\}=\\\{\\mathbf\{P\}:\(\\mathbf\{P\}\-\\mathbf\{C\}\)\\cdot\\mathbf\{e\}\_\{1\}=0\\\}\.Translate the arrow representing𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}so that its tail moves from𝐂¯apo\\bar\{\\mathbf\{C\}\}\_\{\\mathrm\{apo\}\}to𝐂\\mathbf\{C\}\. Its length and direction do not change\. Its translated head is𝐓=𝐂\+𝐪apo\\mathbf\{T\}=\\mathbf\{C\}\+\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\. The tail already lies inΠ𝐂\\Pi\_\{\\mathbf\{C\}\}\. To project the head onto that plane, subtract its signed normal displacement:
𝐓proj\\displaystyle\\mathbf\{T\}\_\{\\mathrm\{proj\}\}=𝐓−\[\(𝐓−𝐂\)⋅𝐞1\]𝐞1\\displaystyle=\\mathbf\{T\}\-\\bigl\[\(\\mathbf\{T\}\-\\mathbf\{C\}\)\\cdot\\mathbf\{e\}\_\{1\}\\bigr\]\\mathbf\{e\}\_\{1\}=𝐂\+𝐪apo−\(𝐪apo⋅𝐞1\)𝐞1\\displaystyle=\\mathbf\{C\}\+\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\-\(\\mathbf\{q\}\_\{\\mathrm\{apo\}\}\\cdot\\mathbf\{e\}\_\{1\}\)\\mathbf\{e\}\_\{1\}=𝐂\+𝐪⟂\.\\displaystyle=\\mathbf\{C\}\+\\mathbf\{q\}\_\{\\perp\}\.The projected arrow from𝐂\\mathbf\{C\}to𝐓proj\\mathbf\{T\}\_\{\\mathrm\{proj\}\}is therefore exactly𝐪⟂\\mathbf\{q\}\_\{\\perp\}\. Translating the arrow chooses its location; removing the axial component determines its projection\. No rotation of the apo vector is involved\. Both constructions use the axis of the*current*parents, not the apo parent axis\.
#### Normalize the direction and complete the frame\.
The projected arrow need not reach the circle\. Only its direction is needed:
𝐞2=𝐪⟂‖𝐪⟂‖,𝐞3=𝐞1×𝐞2\.\\mathbf\{e\}\_\{2\}=\\frac\{\\mathbf\{q\}\_\{\\perp\}\}\{\\\|\\mathbf\{q\}\_\{\\perp\}\\\|\},\\qquad\\mathbf\{e\}\_\{3\}=\\mathbf\{e\}\_\{1\}\\times\\mathbf\{e\}\_\{2\}\.The vectors𝐞2,𝐞3\\mathbf\{e\}\_\{2\},\\mathbf\{e\}\_\{3\}are perpendicular unit vectors in the circle plane; the cross product fixes their orientation by the right\-hand rule\. The zero\-angle point is𝐂\+ρ𝐞2\\mathbf\{C\}\+\\rho\\mathbf\{e\}\_\{2\}, not necessarily𝐌apo\\mathbf\{M\}\_\{\\mathrm\{apo\}\}or𝐓proj\\mathbf\{T\}\_\{\\mathrm\{proj\}\}\. This normalization requires a nonzero projected vector; the degenerate case is discussed next\.
### B\.4Degenerate References and the Axis Fallback
#### Why a fallback is needed\.
If𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}is parallel to𝐞1\\mathbf\{e\}\_\{1\}, removing its axial component leaves𝐪⟂=0\\mathbf\{q\}\_\{\\perp\}=0\. The same happens if𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}itself is zero\. There is then no apo\-defined direction in the circle plane, and dividing by‖𝐪⟂‖\\\|\\mathbf\{q\}\_\{\\perp\}\\\|is undefined\. A near\-zero projection also makes the normalized direction sensitive to small numerical perturbations\. The implementation activates the fallback when the projected norm is at most10−610^\{\-6\}during target encoding or at most10−810^\{\-8\}during Cartesian decoding\. The fallback supplies a reference direction for these cases; it does not change the circle center or the prescribed radii\.
#### Least\-aligned coordinate\-axis construction\.
For a fallback based on the fixed Cartesian unit axes𝐚x=\(1,0,0\)\\mathbf\{a\}\_\{x\}=\(1,0,0\),𝐚y=\(0,1,0\)\\mathbf\{a\}\_\{y\}=\(0,1,0\), and𝐚z=\(0,0,1\)\\mathbf\{a\}\_\{z\}=\(0,0,1\), the selection rule is
𝐚∗∈argmin𝐚∈\{𝐚x,𝐚y,𝐚z\}\|𝐚⋅𝐞1\|\.\\mathbf\{a\}\_\{\*\}\\in\\underset\{\\mathbf\{a\}\\in\\\{\\mathbf\{a\}\_\{x\},\\mathbf\{a\}\_\{y\},\\mathbf\{a\}\_\{z\}\\\}\}\{\\arg\\min\}\|\\mathbf\{a\}\\cdot\\mathbf\{e\}\_\{1\}\|\.The absolute dot product measures how closely an axis aligns with𝐞1\\mathbf\{e\}\_\{1\}, regardless of sign\. Choosing the smallest value selects the axis closest to being perpendicular to𝐞1\\mathbf\{e\}\_\{1\}\. The implementation tests the axes inx,y,zx,y,zorder, and the first minimum is selected in a tie\. The replacement frame is then
𝐯fallback=𝐚∗−\(𝐚∗⋅𝐞1\)𝐞1,𝐞2=𝐯fallback‖𝐯fallback‖,𝐞3=𝐞1×𝐞2\.\\mathbf\{v\}\_\{\\mathrm\{fallback\}\}=\\mathbf\{a\}\_\{\*\}\-\(\\mathbf\{a\}\_\{\*\}\\cdot\\mathbf\{e\}\_\{1\}\)\\mathbf\{e\}\_\{1\},\\qquad\\mathbf\{e\}\_\{2\}=\\frac\{\\mathbf\{v\}\_\{\\mathrm\{fallback\}\}\}\{\\\|\\mathbf\{v\}\_\{\\mathrm\{fallback\}\}\\\|\},\\qquad\\mathbf\{e\}\_\{3\}=\\mathbf\{e\}\_\{1\}\\times\\mathbf\{e\}\_\{2\}\.This projection cannot vanish for a unit𝐞1\\mathbf\{e\}\_\{1\}\. Its three squared Cartesian components sum to one, so the smallest is at most1/31/3\. Consequently,
‖𝐯fallback‖2=1−\(𝐚∗⋅𝐞1\)2≥23\.\\\|\\mathbf\{v\}\_\{\\mathrm\{fallback\}\}\\\|^\{2\}=1\-\(\\mathbf\{a\}\_\{\*\}\\cdot\\mathbf\{e\}\_\{1\}\)^\{2\}\\geq\\frac\{2\}\{3\}\.For example, when𝐞1\\mathbf\{e\}\_\{1\}points along thexx\-axis, either theyy\- orzz\-axis provides a perpendicular reference direction\.
#### Determinism is not rotation equivariance\.
For the nondegenerate apo\-based frame, rotating both structures rotates𝐞1\\mathbf\{e\}\_\{1\}and𝐪apo\\mathbf\{q\}\_\{\\mathrm\{apo\}\}together, so their projection rotates with them\. Fixed Cartesian axes do not rotate with the protein\. A fallback chosen from those axes is reproducible in a given coordinate frame, but need not produce the rotated version of the original𝐞2\\mathbf\{e\}\_\{2\}after the protein is rotated\. It therefore does not, in general, preserve rotation equivariance of the local decoder when activated\. This limitation is distinct from the equivariance of the Cartesian anchor network in Section[3\.3](https://arxiv.org/html/2611.27162#S3.SS3)\.
Coincident parents \(d=0d=0\) are a separate degeneracy: the parent axis itself is undefined, so replacing the apo reference vector alone does not resolve that case\. At sphere tangency \(ρ=0\\rho=0\), the decoded point is simply𝐂\\mathbf\{C\}, independent of the angular reference\.
### B\.5Placing the Midpoint: A Worked Example
In a two\-dimensional plane, a circle of radiusρ\\rhohas coordinates\(ρcosω,ρsinω\)\(\\rho\\cos\\omega,\\rho\\sin\\omega\)\. Replacing the two coordinate axes by𝐞2,𝐞3\\mathbf\{e\}\_\{2\},\\mathbf\{e\}\_\{3\}and placing the origin at𝐂\\mathbf\{C\}gives
𝐌=𝐂\+ρ\(cosω𝐞2\+sinω𝐞3\)\.\\mathbf\{M\}=\\mathbf\{C\}\+\\rho\(\\cos\\omega\\,\\mathbf\{e\}\_\{2\}\+\\sin\\omega\\,\\mathbf\{e\}\_\{3\}\)\.Atω=0\\omega=0, the displacement points along\+𝐞2\+\\mathbf\{e\}\_\{2\}; atω=π/2\\omega=\\pi/2, it points along\+𝐞3\+\\mathbf\{e\}\_\{3\}\. Positive angles thus run from\+𝐞2\+\\mathbf\{e\}\_\{2\}toward\+𝐞3\+\\mathbf\{e\}\_\{3\}\. Changingω\\omegaleaves both parent distances unchanged becausecos2ω\+sin2ω=1\\cos^\{2\}\\omega\+\\sin^\{2\}\\omega=1\.
For a simple numerical example, let𝐀=\(0,0,0\)\\mathbf\{A\}=\(0,0,0\),𝐁=\(6,0,0\)\\mathbf\{B\}=\(6,0,0\), andrL=rR=5r\_\{L\}=r\_\{R\}=5, in arbitrary length units\. Then
d=6,𝐞1=\(1,0,0\),η=3,𝐂=\(3,0,0\),ρ=25−9=4\.d=6,\\quad\\mathbf\{e\}\_\{1\}=\(1,0,0\),\\quad\\eta=3,\\quad\\mathbf\{C\}=\(3,0,0\),\\quad\\rho=\\sqrt\{25\-9\}=4\.The circle lies in the planex=3x=3\. Suppose the apo reference vector is𝐪apo=\(2,3,4\)\\mathbf\{q\}\_\{\\mathrm\{apo\}\}=\(2,3,4\)\. Moving its tail to𝐂\\mathbf\{C\}places its head at𝐓=\(5,3,4\)\\mathbf\{T\}=\(5,3,4\)\. Orthogonal projection ontox=3x=3gives𝐓proj=\(3,3,4\)\\mathbf\{T\}\_\{\\mathrm\{proj\}\}=\(3,3,4\), so the projected arrow is\(0,3,4\)\(0,3,4\)\. Subtracting the axial component gives the same result directly:
𝐪⟂=\(2,3,4\)−2\(1,0,0\)=\(0,3,4\)\.\\mathbf\{q\}\_\{\\perp\}=\(2,3,4\)\-2\(1,0,0\)=\(0,3,4\)\.Normalizing and taking the cross product yields𝐞2=\(0,3/5,4/5\)\\mathbf\{e\}\_\{2\}=\(0,3/5,4/5\)and𝐞3=\(0,−4/5,3/5\)\\mathbf\{e\}\_\{3\}=\(0,\-4/5,3/5\)\. Atω=0\\omega=0,
𝐌=𝐂\+4𝐞2=\(3,12/5,16/5\)\.\\mathbf\{M\}=\\mathbf\{C\}\+4\\mathbf\{e\}\_\{2\}=\(3,12/5,16/5\)\.Both squared parent distances are32\+\(12/5\)2\+\(16/5\)2=253^\{2\}\+\(12/5\)^\{2\}\+\(16/5\)^\{2\}=25, as required\. Notice that the projected apo arrow has length55, while the circle radius is44: projection determines the reference direction, and the two parent distances determine the radius\.
### B\.6Empirical Support for the Adjacent\-Distance Prior
We characterize the apo\-distance assumption over all 1,591 D3PM pairs as a post\-hoc dataset audit; these statistics were not used to select a model or a hyperparameter\. Segment boundaries are essential: treating consecutive rows of a compressed tensor as bonded residues would introduce false adjacencies across gaps\. We restore the curated residue masks for 1,587 pairs and recover the four remaining 6XR4 pairs from their source PDB files\. This yields 577,291 within\-segment consecutive Cα\\alphapairs and excludes 3,960 transitions across mask\-defined gaps\.
Among these pairs, 576,253/577,291 \(99\.8202%\) satisfy\|dholo−dapo\|<0\.2\|d\_\{\\mathrm\{holo\}\}\-d\_\{\\mathrm\{apo\}\}\|<0\.2Å\. The mean and median absolute differences are 0\.0226 and 0\.0147 Å, respectively\. Figure[9](https://arxiv.org/html/2611.27162#A2.F9)shows the full adjacent\-distance distributions and their signed differences\.
Figure 9:Adjacent Cα\\alpha–Cα\\alphadistances in matched apo and holo structures\. The left panel overlays the two distance distributions\. The right panel showsdholo−dapod\_\{\\mathrm\{holo\}\}\-d\_\{\\mathrm\{apo\}\}; orange dotted lines mark±0\.2\\pm 0\.2Å\. The analysis contains 577,291 within\-segment consecutive Cα\\alphapairs from all 1,591 D3PM pairs, of which 99\.8202% lie within the marked interval\.
### B\.7Test\-Time Sphere\-Feasibility Diagnostics
Table[3](https://arxiv.org/html/2611.27162#A2.T3)reports raw sphere\-intersection violations during free recursive rollout on the fixed 150\-pair test split\. Thefeasibleflag is evaluated from the predicted radii before geometric repair\. A non\-final query can therefore be counted here even though its radii are subsequently projected before the midpoint is placed\.
Table 3:Raw pre\-repair sphere infeasibility for the five base models\. The per\-seed rate is1\.882±0\.486%1\.882\\pm 0\.486\\%\(mean±\\pmsample standard deviation\)\. Non\-final radii are eligible for the repair in Appendix[B\.2](https://arxiv.org/html/2611.27162#A2.SS2); final leaves retain both apo\-fixed radii and use the finite axial fallback if needed\.Of the 3,833 raw violations, 3,696 \(96\.43%\) are non\-final queries and 137 \(3\.57%\) are final leaves\. Final\-leaf violations constitute 0\.0673% of all generated midpoint queries\. The saved evaluation artifacts do not contain the total number of final\-leaf opportunities, so we do not report a category\-conditional final\-leaf rate\.
## Appendix CMain Configuration
Table 4:Configuration used for the five\-seed main result\.The top distance RBF centers span 0–6 normalized coordinate units; this is not a 6 Å graph cutoff\. The midpoint parent\-distance RBF centers span 0–64 Å\. The top graph indices are fixed within a forward pass, but current edge distances are recomputed after each coordinate update\. Self\-conditioning, scheduled sampling, and a separate previous\-level memory module are disabled in the main configuration\.
Coordinate normalizers are estimated from training\-set holo top anchors:𝐗~=\(𝐗−𝝁𝐗\)/𝝈𝐗\\widetilde\{\\mathbf\{X\}\}=\(\\mathbf\{X\}\-\\bm\{\\mu\}\_\{\\mathbf\{X\}\}\)/\\bm\{\\sigma\}\_\{\\mathbf\{X\}\}, with per\-channel population mean and standard deviation\. Midpoint states use the analogous channel\-wise statistics over all training targets,𝐒~=\(𝐒−𝝁𝐒\)/𝝈𝐒\\widetilde\{\\mathbf\{S\}\}=\(\\mathbf\{S\}\-\\bm\{\\mu\}\_\{\\mathbf\{S\}\}\)/\\bm\{\\sigma\}\_\{\\mathbf\{S\}\}\. Predictions are mapped back with the inverse transformations before geometry decoding and evaluation\. The midpoint parent feature concatenatesd/64d/64with 16 Gaussian RBF values whose centers are uniformly spaced from 0 to 64 Å\.
## Appendix DTraining Objective Details
The main configuration predicts clean endpoints\. Let the normalized holo anchor coordinates be𝐗~1\\widetilde\{\\mathbf\{X\}\}\_\{1\}, and let the standardized four\-channel local state for queryqqat midpoint levelℓ\\ellbe𝐒~1,q\(ℓ\)\\widetilde\{\\mathbf\{S\}\}\_\{1,q\}^\{\(\\ell\)\}\. The two primary losses are
ℒtop\\displaystyle\\mathcal\{L\}\_\{\\mathrm\{top\}\}=13\|𝒜\|∑i∈𝒜‖fθtop\(𝐗t,t,𝐅\)i−𝐗~1,i‖22,\\displaystyle=\\frac\{1\}\{3\|\\mathcal\{A\}\|\}\\sum\_\{i\\in\\mathcal\{A\}\}\\left\\\|f\_\{\\theta\}^\{\\mathrm\{top\}\}\(\\mathbf\{X\}\_\{t\},t,\\mathbf\{F\}\)\_\{i\}\-\\widetilde\{\\mathbf\{X\}\}\_\{1,i\}\\right\\\|\_\{2\}^\{2\},\(18\)ℒmid\\displaystyle\\mathcal\{L\}\_\{\\mathrm\{mid\}\}=1D∑ℓ=1D1Qℓ∑q=1Qℓ\[12∑c=12aq,ceq,c2\+12∑c=34eq,c2\],\\displaystyle=\\frac\{1\}\{D\}\\sum\_\{\\ell=1\}^\{D\}\\frac\{1\}\{Q\_\{\\ell\}\}\\sum\_\{q=1\}^\{Q\_\{\\ell\}\}\\left\[\\frac\{1\}\{2\}\\sum\_\{c=1\}^\{2\}a\_\{q,c\}e\_\{q,c\}^\{2\}\+\\frac\{1\}\{2\}\\sum\_\{c=3\}^\{4\}e\_\{q,c\}^\{2\}\\right\],\(19\)where the number of active midpoint queries at levelℓ\\ellisQℓQ\_\{\\ell\}, and the clean\-state prediction error for queryqqand channelcciseq,ce\_\{q,c\}\. The first two midpoint channels encode radii and the last two encode\(sinω,cosω\)\(\\sin\\omega,\\cos\\omega\)\. The maskaq,ca\_\{q,c\}is zero when Equation[10](https://arxiv.org/html/2611.27162#S3.E10)fixes that radius and one otherwise\. Thus the model receives no state\-loss gradient for a radius that the decoder replaces by an apo distance\. The loss is averaged over all queries within each level and equally over levels; apo\-fixed radius channels contribute zero but retain the two\-channel normalization\.
For the Cartesian auxiliary terms, define the Smooth\-L1 penalty
hβ\(e\)=\{e2/\(2β\),\|e\|<β,\|e\|−β/2,otherwise\.h\_\{\\beta\}\(e\)=\\begin\{cases\}e^\{2\}/\(2\\beta\),&\|e\|<\\beta,\\\\ \|e\|\-\\beta/2,&\\text\{otherwise\}\.\\end\{cases\}\(20\)The geometric auxiliary losses below are evaluated on the teacher\-forced partial reconstruction used during training\. The decoded\-coordinate lossℒxyz\\mathcal\{L\}\_\{\\mathrm\{xyz\}\}averagesh0\.1\(𝐌^−𝐌holo\)h\_\{0\.1\}\(\\widehat\{\\mathbf\{M\}\}\-\\mathbf\{M\}\_\{\\mathrm\{holo\}\}\)over Cartesian components, queries, and midpoint levels\. For a contiguous segmentggand sequence offsetΔ\\Delta, let
ℓΔ,g\(𝐗^,𝐗1\)=1\|𝒫Δ,g\|∑i∈𝒫Δ,ghβ\(‖𝐗^i\+Δ−𝐗^i‖−‖𝐗1,i\+Δ−𝐗1,i‖\),\\ell\_\{\\Delta,g\}\(\\widehat\{\\mathbf\{X\}\},\\mathbf\{X\}\_\{1\}\)=\\frac\{1\}\{\|\\mathcal\{P\}\_\{\\Delta,g\}\|\}\\sum\_\{i\\in\\mathcal\{P\}\_\{\\Delta,g\}\}h\_\{\\beta\}\\\!\\left\(\\\|\\widehat\{\\mathbf\{X\}\}\_\{i\+\\Delta\}\-\\widehat\{\\mathbf\{X\}\}\_\{i\}\\\|\-\\\|\\mathbf\{X\}\_\{1,i\+\\Delta\}\-\\mathbf\{X\}\_\{1,i\}\\\|\\right\),\(21\)where the set of valid index pairs separated byΔ\\Deltawithin segmentggis𝒫Δ,g\\mathcal\{P\}\_\{\\Delta,g\}\. Thenℒadj\\mathcal\{L\}\_\{\\mathrm\{adj\}\}is the mean ofℓ1,g\\ell\_\{1,g\}over segments withβ=0\.05\\beta=0\.05\. The sparse multiscale term is
ℒsparse=∑Δ∈\{1,2,4\}∑gwΔℓΔ,g∑Δ∈\{1,2,4\}∑gwΔ,\(w1,w2,w4\)=\(1,1,0\.5\),\\mathcal\{L\}\_\{\\mathrm\{sparse\}\}=\\frac\{\\sum\_\{\\Delta\\in\\\{1,2,4\\\}\}\\sum\_\{g\}w\_\{\\Delta\}\\ell\_\{\\Delta,g\}\}\{\\sum\_\{\\Delta\\in\\\{1,2,4\\\}\}\\sum\_\{g\}w\_\{\\Delta\}\},\\qquad\(w\_\{1\},w\_\{2\},w\_\{4\}\)=\(1,1,0\.5\),\(22\)usingβ=0\.1\\beta=0\.1\. Offsets one, two, and four supervise connectivity, local bending, and slightly wider local shape without constructing allL2L^\{2\}pairs\.
Before any non\-final repair, let the parent separation and two decoded radii for queryqqbedqd\_\{q\},rL,qr\_\{L,q\}, andrR,qr\_\{R,q\}, respectively\. The feasibility penalty is averaged within each midpoint level and then equally across levels:
ℒfeas=1D∑ℓ=1D1Qℓ∑q=1Qℓ\[ReLU\(dq−rL,q−rR,q\)2\+ReLU\(\|rL,q−rR,q\|−dq\)2\]\.\\mathcal\{L\}\_\{\\mathrm\{feas\}\}=\\frac\{1\}\{D\}\\sum\_\{\\ell=1\}^\{D\}\\frac\{1\}\{Q\_\{\\ell\}\}\\sum\_\{q=1\}^\{Q\_\{\\ell\}\}\\\!\\left\[\\operatorname\{ReLU\}\(d\_\{q\}\-r\_\{L,q\}\-r\_\{R,q\}\)^\{2\}\+\\operatorname\{ReLU\}\(\|r\_\{L,q\}\-r\_\{R,q\}\|\-d\_\{q\}\)^\{2\}\\right\]\.\(23\)The full implemented objective is
ℒ=ℒtop\+ℒmid\+αs\(0\.2ℒxyz\+0\.1ℒadj\+0\.1ℒsparse\+0\.05ℒfeas\),\\mathcal\{L\}=\\mathcal\{L\}\_\{\\mathrm\{top\}\}\+\\mathcal\{L\}\_\{\\mathrm\{mid\}\}\+\\alpha\_\{s\}\\left\(0\.2\\mathcal\{L\}\_\{\\mathrm\{xyz\}\}\+0\.1\\mathcal\{L\}\_\{\\mathrm\{adj\}\}\+0\.1\\mathcal\{L\}\_\{\\mathrm\{sparse\}\}\+0\.05\\mathcal\{L\}\_\{\\mathrm\{feas\}\}\\right\),\(24\)with a linear auxiliary warm\-upαs=min\(max\(s/500,0\),1\)\\alpha\_\{s\}=\\min\(\\max\(s/500,0\),1\)at optimization stepss\. Optional top\-coordinate, pairwise, endpoint, and RMSD auxiliaries are implemented but have zero weight in the reported configuration\.
## Appendix EModel Size and Inference Cost
Table 5:Hardware\-controlled inference cost on the same 150\-pair D3PM test split, with one generated structure per target\. Every method was run sequentially on one NVIDIA GeForce RTX 2080 Ti\. Wall time is measured around the CUDA\-synchronized inference loop and includes per\-target data transfer, sampling, and Cα\\alphametric computation; it excludes Python startup, checkpoint and dataset initialization, prediction serialization, ESM\-3 preprocessing, cg2all reconstruction, and MolProbity\.CrypticFlowhas 34,080,066 registered trainable parameters: 23,562,666 in the top\-anchor EGNN and 10,517,400 in the midpoint Transformer\. The count excludes ESM\-3 because embeddings are precomputed\. In the hardware\-controlled run,CrypticFlow, direct\-regression EGNN, SBAlign, ABM, and FDBM take 36\.20, 2\.30, 245\.86, 200\.86, and 208\.24 seconds, respectively, for the complete 150\-target test inference loop\. These are single\-checkpoint runtime measurements rather than seed\-averaged accuracy estimates\.CrypticFlowperforms five Euler updates for the top\-anchor stage and five updates at each active recursive midpoint level, whereas the bridge baselines use 100 integration steps and the direct EGNN uses one forward pass\. The local direct\-EGNN control is distinct from the legacyEGNN \(reported\)row in Table[1](https://arxiv.org/html/2611.27162#S5.T1)\.
## Appendix FFull\-Sequence ESM\-3 Mapping
We map each canonical D3PM row first to an ordered apo ATOM residue and then to the deposited polymer sequence\. Author residue numbers and insertion codes are used when available\. If insertion codes were lost during dataset construction, positions with the same residue number are disambiguated by amino\-acid identity\. Four pairs require a global\-alignment fallback\. All 1,591 pairs map without changing a deposited amino acid\. Eight pairs contain a non\-monotone gather order because of insertion\-code ordering or circular permutation\.
We first run ESM\-3 on the entire deposited apo polymer sequence \(SEQRES\), including residues that are unresolved in the apo coordinates\. For sequences of at most 600 residues, ESM\-3 is applied once\. Longer sequences use length\-600 windows with stride 300\. If a residue occurs in several windows, we retain the representation from the window in which it is farthest from a boundary\. BOS and EOS representations are averaged across windows\. We then gather only the embeddings corresponding to observed D3PM residues, in D3PM graph order\.
## Appendix GRotation, Translation, and Reflection Consistency
An equivariant model should give the same structure when the input protein is shown in a different position or orientation\. The output should only move with the input\. We test this property on all 150 test pairs using each of the five trained models\. First, we generate a prediction from the original input\. We then transform every Cartesian input and run the model again\. We use the same Gaussian midpoint\-noise seed in both runs, pairing the stochastic draws channel\-wise\. Finally, we apply the inverse transform to the second prediction\. If the model is equivariant to that transform, the two predictions should coincide without structural alignment\.
We test rotation, translation, rotation plus translation, and reflection\. A proper rotation is obtained by QR\-orthogonalizing a3×33\\times 3Gaussian matrix, correcting its column signs, and enforcing determinant\+1\+1\. For reflection, we independently sample a proper rotation and flip its last column, producing a Haar\-random improper orthogonal matrix𝐐\\mathbf\{Q\}with𝐐⊤𝐐=𝐈\\mathbf\{Q\}^\{\\top\}\\mathbf\{Q\}=\\mathbf\{I\}anddet𝐐=−1\\det\\mathbf\{Q\}=\-1\. We draw one transform per test pair with a fixed random seed\. Each translation component is sampled from\[−25,25\]\[\-25,25\]Å\. All coordinate fields, including the apo reference vectors used by the local decoder, receive the same transform\.
The two RMSD columns answer different questions\. The*full\-trace difference*directly compares the original prediction with the inverse\-transformed new prediction, without Kabsch alignment\. It is the strict equivariance check\. The*change in holo RMSD*first computes the Kabsch\-aligned RMSD of each prediction to its corresponding holo target and then reports the absolute difference between those two errors\. It checks whether prediction accuracy is preserved, but does not by itself prove that the two generated structures are identical\.
Table 6:Consistency under rigid transforms and reflection on the fixed 150\-pair test split\. We invert each input transform before comparing the new prediction with the original prediction; no Kabsch alignment is used\. Values are means±\\pmsample standard deviations across five trained models\. The last column is the largest difference among all5×1505\\times 150predictions\.For proper rotations and translations, the inverse\-transformed full traces differ by about0\.00050\.0005Å on average, and the largest difference is below0\.00580\.0058Å\. Holo RMSD changes by less than0\.0000390\.000039Å on average\. Thus, the composed generator is numerically consistent under the SE\(3\) transforms that preserve molecular handedness\.
Reflection gives a different result\. The top\-anchor difference remains only\(2\.576±1\.4\)×10−4\(2\.576\\pm 1\.4\)\\times 10^\{\-4\}Å, confirming numerical reflection equivariance of the Cartesian EGNN\. However, the complete trace differs by1\.633±0\.0271\.633\\pm 0\.027Å, and holo RMSD changes by0\.725±0\.0140\.725\\pm 0\.014Å\. The adjacent\- distance MAE changes by only\(6\.49±3\.37\)×10−7\(6\.49\\pm 3\.37\)\\times 10^\{\-7\}Å because the radial constraints remain distance based, whereas pseudo\-angle MAE changes by3\.915±0\.0243\.915\\pm 0\.024degrees\. The composed model is therefore not reflection\- equivariant\. This behavior arises after the anchor stage: reflection reverses handedness, changes the parity of the cross\-product axis𝐞3=𝐞1×𝐞2\\mathbf\{e\}\_\{3\}=\\mathbf\{e\}\_\{1\}\\times\\mathbf\{e\}\_\{2\}, and is not an enforced symmetry of the midpoint Transformer\.
At the Cα\\alpha\-trace level, reflection produces the mirror geometry associated with the opposite handedness rather than another pose of the same L\-protein\. L\- and D\-proteins are biologically distinct because chirality changes their stereochemistry and molecular interactions\. Reflection therefore lies outside the intended SE\(3\) symmetry group for L\-protein conformations\. We require consistency under proper rotations and translations, which preserve handedness\. This fixed\-seed experiment is a samplewise check, not a test of distribution\-level symmetry under alternative latent\-noise couplings\. It is also empirical rather than a proof for every input\. In addition, the degenerate\-frame fallback in Appendix[B\.4](https://arxiv.org/html/2611.27162#A2.SS4)uses a fixed global axis and remains an exception to exact rotation equivariance\.
## Appendix HDetailed Structural Validity
Main Table[2](https://arxiv.org/html/2611.27162#S5.T2)retains the three summary measures used in Figure[6](https://arxiv.org/html/2611.27162#Ax1.F6)\. Table[7](https://arxiv.org/html/2611.27162#A8.T7)reports the remaining Cα\\alphaand all\-atom diagnostics\. Our values are mean±\\pmsample standard deviation over five independently trained models\.
Table 7:Detailed Cα\\alphaand relaxation\-free cg2all–MolProbity metrics\. Cα\\alphaclashes count non\-bonded pairs; only direct sequence neighbours within the same restored segment are excluded\.
## Appendix IValidation\-Based Hyperparameter Selection
We selected time sampling, training\-grid resolution, ESM\-3 conditioning, and anchor stride on the validation split\. The original selection matrix contains 19 conditions and five training seeds per condition, for 95 trained models in total\. Additional post\-selection mechanism controls are reported separately in Appendix[J](https://arxiv.org/html/2611.27162#A10)and were not used to revise the test\-set results\. Every model is evaluated on the same 150 validation pairs\. Fixed\-Cα\\alphacg2all reconstruction and MolProbity use the same 149 eligible pairs per run; the excluded pair,4P7G\_C\_3OE4\_A, consists of four disconnected singleton segments and does not define a local frame for backmapping\. The RMSD columns use the public\-protocol direct metric in the pre\-aligned D3PM frame\. Checkpoints were nevertheless selected by the prespecified validation Kabsch RMSD\. Local metrics pool the same 55,064 within\-segment adjacent pairs and 54,571 contiguous triplets for every run\. Table[8](https://arxiv.org/html/2611.27162#A9.T8)reports representative global, local, and all\-atom metrics\. Figure[10](https://arxiv.org/html/2611.27162#A9.F10)visualizes the factor\-wise comparisons and the accuracy–validity trade\-off\. The held\-out test results are not used in this analysis\.
Table 8:Validation ablations used for model selection\. Values are mean±\\pmsample SD over five training seeds\. The selected base \(marked†\\dagger\) uses equal\-probabilityt=0t=0/Euler\-grid/uniform sampling,Ktrain=5K\_\{\\mathrm\{train\}\}=5, stride 4, and ESM\-3\. Distance and angle validity denote errors within 0\.2 Å and20∘20^\{\\circ\}, respectively\. Direct RMSD is measured in the shared pre\-aligned D3PM frame without a post\-hoc prediction\-to\-target Kabsch fit\. All conditions use five Euler integration steps at evaluation\.Figure 10:Validation ablations used for model selection\. Bars and error bars show means and sample standard deviations across five independently trained models\. \(a\) Absolute direct mean RMSD for every time sampler, including the selected equal 1:1:1 mixture oft=0t=0, Euler\-grid, and uniform samples\. \(b\) Training\-grid resolution; evaluation uses five Euler steps in every condition\. \(c\) ESM\-3 conditioning improves direct RMSD and pseudo\-angle fidelity\. \(d\) Stride 4 balances direct RMSD and adjacent\-distance fidelity\. Dark bars and daggers denote the selected configuration\.#### Time sampling\.
The selected sampler draws equal proportions from the exact source endpointt=0t=0, the discrete Euler grid, and the continuous uniform distribution\. It has the lowest validation direct mean and median RMSD among the sampled time distributions\. Grid\-only reaches a direct mean/median RMSD of 3\.165/1\.644 Å, versus 3\.083/1\.595 Å for the selected sampler, and also has lower pseudo\-angle validity and a higher MolProbity score\. Uniform\-only and SimpleFold\-style sampling increase direct mean RMSD by 1\.593 and 2\.308 Å, respectively\. This result suggests that explicit exposure to the source endpoint and inference\-grid times is useful for this conditional transport problem\.
#### Training time\-grid resolution\.
Here the training\-grid resolution,KtrainK\_\{\\mathrm\{train\}\}, controls the support\{0,1/Ktrain,…,\(Ktrain−1\)/Ktrain\}\\\{0,1/K\_\{\\mathrm\{train\}\},\\ldots,\(K\_\{\\mathrm\{train\}\}\-1\)/K\_\{\\mathrm\{train\}\}\\\}of the discrete component of the training\-time sampler\. It is not the number of integration steps used at evaluation, which remains five for every row\. The selectedKtrain=5K\_\{\\mathrm\{train\}\}=5has the lowest direct mean RMSD \(3\.083 Å\);Ktrain=20K\_\{\\mathrm\{train\}\}=20and 40 give 3\.092 and 3\.089 Å, respectively, differences that are small relative to seed variation\. A grid of 10 gives a slightly lower MolProbity score \(3\.030 versus 3\.044\)\. We therefore interpret this ablation as showing no consistent benefit from a finer training grid, rather than as evidence that every metric is uniquely optimized at five\.
#### ESM\-3 conditioning\.
Removing both residue\-level and BOS ESM\-3 features increases direct mean RMSD by 0\.687 Å, decreases pseudo\-angle validity by 4\.71 percentage points, and increases the MolProbity score by 0\.355\. The Cα\\alphaclash rate also rises from 25\.18 to 70\.32 per million eligible pairs\. Thus sequence\-level context supports both conformational prediction and structural fidelity\. This comparison ablates the two ESM\-3 inputs together and does not isolate their individual contributions\.
#### Anchor stride\.
Stride 1 predicts every residue in the Cartesian top flow and obtains the lowest direct mean RMSD, 2\.888 Å\. It removes the recursive local\-coordinate stage, however, and its adjacent\-distance validity falls from 99\.63% to 64\.30%\. Stride 8 and stride 16 preserve adjacent distances but increase global error, clashes, and all\-atom MolProbity score\. Stride 2 gives lower pseudo\-angle and all\-atom validity than stride 4\. We therefore select stride 4 as the best observed balance between global accuracy and local and all\-atom validity, not as the optimum for RMSD alone\. Stride 1 also uses the legacy execution path with state normalization disabled, so it is an architectural boundary case rather than a perfectly isolated stride\-only perturbation\.
Overall, the validation results support the equal three\-way time mixture, ESM\-3 conditioning, a five\-point training grid, and stride 4 for the final model\. The uncertainty values are seed\-level sample standard deviations, not confidence intervals\. We perform no significance test and avoid interpreting small differences as statistically resolved\.
## Appendix JLocal\-Geometry Ablations
These controls were performed after the test\-reported configuration had been fixed and use only the 150\-pair validation split\. They are explanatory rather than a second round of test\-set model selection\. Five\-seed radius/loss controls use seeds\{1,3,42,88,99\}\\\{1,3,42,88,99\\\}; the representation and auxiliary/projection controls use matched seeds\{1,3,42\}\\\{1,3,42\\\}\. Cα\\alphastatistics come from the original validation predictions \(150 pairs per seed\) and use 55,064 within\-segment adjacent pairs and 54,571 contiguous triplets\. Fixed\-Cα\\alphacg2all and MolProbity use the identical 149 successful pairs per seed; the excluded pair is4P7G\_C\_3OE4\_A\. Values are means and seed\-level sample standard deviations, not confidence intervals\.
Table 9:Fixed\-radius and distance\-loss controls on validation\. Values are mean±\\pmsample SD over five seeds\. Fixed denotes the reported apo\-adjacent and final\-leaf radius rules, not fixed radii everywhere\. All rows retain coordinate and feasibility losses and non\-final feasibility projection\. Cα\\alphametrics use 150 pairs per seed and direct RMSD is measured in the shared pre\-aligned D3PM frame without a post\-hoc target fit; MolProbity \(MP\) uses the identical 149 successful pairs\.Table 10:Three\-seed local\-representation and auxiliary/projection controls on validation\. RMSD is direct in the shared pre\-aligned D3PM frame\. Minimal Local ICS and Local Cartesian disable fixed radii, all geometric auxiliary losses, and feasibility projection\. Local ICS \+ auxiliaries/projection retains coordinate and feasibility losses and the non\-final projection\. All rows learn every radius, disable both distance losses, and use the same flow\-training schedule\.Table 11:All\-atom details for the three\-seed controls in Table[10](https://arxiv.org/html/2611.27162#A10.T10)\. MolProbity evaluates the same 149 relaxation\-free cg2all reconstructions per seed\.#### Fixed radii and distance losses\.
Table[9](https://arxiv.org/html/2611.27162#A10.T9)compares the reported fixed apo\-adjacent/final\-leaf radius rules with learned\-all\-radii variants, then removes the adjacent\-distance loss or both adjacent and sparse\-distance losses\. Feasibility projection remains enabled in all six rows\. Learning all radii under the full objective lowers distance fidelity by only 0\.150 percentage points \(99\.632%99\.632\\%to99\.482%99\.482\\%\), while direct mean RMSD and MolProbity slightly improve\. Removing either set of distance losses changes the metrics only weakly and inconsistently relative to seed variation\. The fixed\-radius rule and distance auxiliaries therefore act as minor refinements rather than the primary source of local fidelity\.
#### Local representation\.
The representation control retains the same stride\-4 hierarchy, generated parent\-anchor frame, apo reference, network capacity, conditioning, and training schedule\. Both variants learn every radius and disable all geometric auxiliary losses and infeasibility projection\. Local Cartesian predicts the three components of𝐌−\(𝐀\+𝐁\)/2\\mathbf\{M\}\-\(\\mathbf\{A\}\+\\mathbf\{B\}\)/2in the same\(𝐞1,𝐞2,𝐞3\)\(\\mathbf\{e\}\_\{1\},\\mathbf\{e\}\_\{2\},\\mathbf\{e\}\_\{3\}\)parent frame, padded by one zero channel to preserve the model interface\. It has lower direct mean RMSD but higher direct median RMSD, higher pseudo\-angle validity, and lower MolProbity\. Local ICS, however, raises adjacent\-distance fidelity by 7\.751 percentage points and reduces reconstructed bond and angle RMSDs\. The shared frame defines each new midpoint relative to its generated parent anchors and the apo reference; the ICS distance parameterization adds a stronger bond\-scale geometric bias\. This supports a specific role in local geometry, not uniform superiority on every metric\.
#### Other geometric auxiliaries and projection\.
Minimal Local ICS uses the same local\-ICS architecture as the reported model, but learns every radius, removes all four geometric auxiliary losses \(ℒxyz\\mathcal\{L\}\_\{\\mathrm\{xyz\}\},ℒadj\\mathcal\{L\}\_\{\\mathrm\{adj\}\},ℒsparse\\mathcal\{L\}\_\{\\mathrm\{sparse\}\}, andℒfeas\\mathcal\{L\}\_\{\\mathrm\{feas\}\}\), and disables non\-final sphere\-feasibility projection\. The*Local ICS \+ auxiliaries/projection*control also learns every radius and disables the two distance losses, but retains coordinate and feasibility losses and the non\-final projection\. Their direct mean RMSD and adjacent\-distance fidelity are essentially unchanged\. Removing these terms modestly worsens pseudo\-angle validity, Cα\\alphaclashes, and MolProbity, indicating that they are mild regularizers rather than the primary source of accuracy or local fidelity\.
## Appendix KFull\-Chain Internal Coordinates and Lever\-Arm Diagnostics
The shallow midpoint hierarchy does not make generated\-parent errors vanish\. Instead, each local prediction depends on one parent interval, whereas a sequential full\-chain internal\-coordinate rollout can transmit an early angular error through every downstream reconstruction\. We examine this mechanism with two previously trained full\-chain controls on the fixed 150\-pair D3PM test split and with a controlled reconstruction diagnostic\.
Table 12:Diagnostic comparison on the fixed 150\-pair D3PM test split\. The full\-chain controls sequentially reconstruct the Cα\\alphatrace from global internal coordinates\. Because their NeRF root pose is undefined, we align each decoded trace to the pre\-aligned apo input and then compute RMSD to holo without a prediction\-to\-holo fit\. Local metrics pool 54,509 within\-segment adjacent pairs and 54,082 contiguous triplets\. All rows use seed 42, but the controls are not parameter\-matched ablations; they provide supporting rather than causal evidence for the hierarchy\.This conclusion also replicates on the separate fixed 150\-pair D3PM validation split using the same seed\-42 checkpoints and metric protocols\. The full\-chain ICS Transformer, full\-chain ICS NeRF–EGNN, andCrypticFlowobtain median/mean direct RMSDs of8\.900/11\.6778\.900/11\.677,8\.300/11\.3968\.300/11\.396, and1\.632/3\.0741\.632/3\.074Å, respectively\. Their adjacent\-distance/pseudo\-angle fidelities are99\.809/98\.824%99\.809/98\.824\\%,99\.809/98\.668%99\.809/98\.668\\%, and99\.599/94\.891%99\.599/94\.891\\%, respectively\. Validation local metrics pool 55,064 within\-segment adjacent pairs and 54,571 contiguous triplets\.
The full\-chain models match or exceedCrypticFlowon the local threshold metrics yet have substantially larger direct RMSD\. This decoupling is consistent with the lever\-arm effect: small local angular errors can accumulate into large downstream Cartesian displacements\. To separate this effect from a decoder implementation failure, an oracle encode–decode round trip gives1\.39×10−41\.39\\times 10^\{\-4\}Å RMSD\. We then add zero\-mean Gaussian noise to the angular channels of a 265\-residue trace while keeping its distance channels fixed\. Angular standard deviations of0\.0010\.001,0\.0050\.005,0\.0100\.010, and0\.0200\.020radians \(0\.057∘0\.057^\{\\circ\},0\.286∘0\.286^\{\\circ\},0\.573∘0\.573^\{\\circ\}, and1\.146∘1\.146^\{\\circ\}\) produce Cartesian RMSDs of0\.2420\.242,1\.2311\.231,2\.2842\.284, and4\.9464\.946Å, respectively \(Figure[11](https://arxiv.org/html/2611.27162#A11.F11)\)\. Upstream torsions have up to328\.8×328\.8\\timeslarger coordinate sensitivity than the least influential torsions\. These diagnostics show chain\-length amplification in sequential ICS; they do not claim that the hierarchical model eliminates parent\-error propagation\.
Figure 11:Controlled full\-chain reconstruction diagnostic\. Sub\-degree angular noise produces increasing Cartesian displacement despite fixed distance channels and a numerically exact oracle round trip\.
## Appendix LTraining and Inference Algorithm
Algorithm[1](https://arxiv.org/html/2611.27162#algorithm1)makes explicit the different contexts used during training and generation\. During training, the top\-anchor module regresses the clean holo endpoint from interpolated apo–holo anchors\. The midpoint module is trained level by level with ground\-truth parent coordinates and clean local\-coordinate targets\. This teacher\-forced construction prevents errors from earlier generated levels from changing the target distribution seen by the midpoint Transformer during optimization\. The adjacent\-distance rule is also active during training: radius channels next to a sequence\-adjacent parent are fixed to the sanitized apo distance before decoding\. Non\-final decoded states use the same sphere\-feasibility repair as inference, and their Cartesian coordinates contribute to geometric auxiliary losses, including an adjacent\-distance term\.
At inference, the two stages are composed autoregressively across hierarchy levels\. The top\-anchor flow is integrated first, and its generated anchors initialize a partial Cα\\alphatrace\. At each midpoint level, all active intervals are processed in parallel from fresh Gaussian local states\. The integrated states are decoded with the adjacent\-distance and sphere\-feasibility rules, merged into the partial trace, and reused as parents for the next level\. The procedure is therefore sequential across levels but parallel within each level\. For stride four, two midpoint levels complete every full interval\.
Algorithm 1Training and inference with hierarchical flow matching\.Model components:
fθtopf\_\{\\theta\}^\{\\mathrm\{top\}\}ESM\-3\-conditioned E\(3\)\-equivariant anchor EGNN;fθmidf\_\{\\theta\}^\{\\mathrm\{mid\}\}conditional midpoint Transformer;𝒟ICS\\mathcal\{D\}\_\{\\mathrm\{ICS\}\}local\-ICS geometry decoder and merge operator;EulerK\\operatorname\{Euler\}\_\{K\}clean\-endpoint flow integration withK=5K=5steps\.Stage I: Data preparation
Stage II: Training
Stage III: Inference
## Appendix MExternal Generalization: CryptoBench
The results in the main text are confined to the fixed D3PM\-Large split\. To test generalization beyond it, we applied the models trained on D3PM\-Large, without any retraining, to CryptoBench\([Škrhák et al\., 2024](https://arxiv.org/html/2611.27162#bib.bib20)\)\.
#### Leakage filter and evaluation set\.
To remove proteins overlapping the training data we compared*both*the apo and the holo structure of every CryptoBench record against the apo and holo structures of all 1,591 D3PM\-Large pairs \(train, validation and test\)\. A record was excluded if any of the following held: \(i\) the same PDB identifier and chain, or the same UniProt accession; \(ii\) full\-length sequence identity≥30%\\geq 30\\%with≥80%\\geq 80\\%coverage of both sequences \(MMseqs2\); \(iii\) domain\-level similarity with identity≥30%\\geq 30\\%, alignment length≥80\\geq 80residues,≥80%\\geq 80\\%coverage of the shorter sequence and E\-value≤10−3\\leq 10^\{\-3\}\. Of the 5,493 original records, 2,517 \(650 distinct apo PDB entries\) pass this filter together with the structural checks, which require at least 50 matched Cα\\alphaatoms between apo and holo, at least 5 pocket Cα\\alphaatoms, and a holo ligand\. D3PM\-Large was curated to contain only pairs whose apo–holo Cα\\alphaRMSD exceeds 3 Å\([Miñán et al\., 2025](https://arxiv.org/html/2611.27162#bib.bib11)\)\. Applying the same curation criterion to CryptoBench leaves212 records over 59 distinct apo PDB entries\. The selection uses only apo and holo structures; no prediction was consulted\. The record list is released with the code\.
#### Metrics and weighting\.
Global Cα\\alphaRMSD is the direct RMSD in the shared pre\-aligned frame, as in the main text\. Distance and pseudo\-angle fidelity are as in the main text\. MolProbity is computed after the same fixed\-Cα\\alphacg2all reconstruction used for every method, on the 211 records \(58 apo PDB entries\) for which reconstruction and scoring succeeded for every structure\. Because one apo structure can carry several ligand records, every metric is first averaged within an apo PDB entry and then averaged with equal weight over apo PDB entries\.
Table 13:CryptoBench, apo–holo Cα\\alphaRMSD≥3\\geq 3Å \(212 records, 59 apo PDB entries\)\. All methods were trained on the D3PM\-Large training split with five seeds and applied without retraining\. Mean±\\pmsample standard deviation over seeds\.On this external datasetCrypticFlowis the only evaluated method that improves on the apo input in global Cα\\alphaRMSD; all four compared generative models move further from holo than the unmoved apo structure does\. Among the generative modelsCrypticFlowalso attains the highest distance and angle fidelity and the best MolProbity score\. The apo input nevertheless leads on local geometry and MolProbity: a structure that was not moved cannot break its own geometry\. The claim supported here is a relative advantage among models that move the structure, together with an improvement over the apo baseline in global accuracy\.
### M\.1Pocket Recovery and Downstream Docking
The main text notes that D3PM does not evaluate pocket recovery or docking utility\. Within the regime above we measured both\. The pocket is the set of Cα\\alphaatoms within 8 Å of a holo ligand heavy atom, and values use the same within\-apo\-then\-across\-apo weighting\.
Table 14:Pocket recovery on CryptoBench \(212 records, 59 apo PDB entries\)\. Direct RMSD, mean±\\pmseed standard deviation over five seeds\. MolProbity is measured on the 211 records \(58 apo PDB entries\) on which apo, GT holo and all five models succeeded\.CrypticFlowis the only method better than the apo input in both global and pocket RMSD, and the improvement is larger at the pocket \(−0\.307\-0\.307Å\) than globally \(−0\.168\-0\.168Å\): the model does not displace the protein uniformly but moves the ligand\-binding site more\.
#### Docking\.
Within the same regime the docking targets are the 154 records over 37 apo PDB entries whose ligand has at least 12 and at most 45 heavy atoms and is fully resolved\. Docking conditions are identical for every receptor: known\-site docking withgnina v1\.3\.3, one box fixed per record and shared unchanged by every receptor \(the bounding box of the holo ligand heavy atoms plus 4 Å on each face\)\. Every model receptor is a predicted Cα\\alphatrace converted to all atoms by the same cg2all reconstruction, and the ligand is a conformer freshly embedded with RDKit ETKDGv3; the crystal pose is never used as input\. Pose RMSD is symmetry\-corrected and measured without refitting\.
Table 15:Known\-site docking on CryptoBench \(154 records, 37 apo PDB entries\)\. top\-1 is the pose ranked first by CNN rescoring; best\-of\-20 is the closest of the 20 generated poses\.With aCrypticFlowprediction as the receptor, both top\-1 and best\-of\-20 are closer to the correct pose than with the apo input or with any of the other four generative models, andCrypticFlowis the only generative model that produced any pose meeting the 2 Å criterion\. Two controls set the scope\. The ceiling, which passed through the same cg2all reconstruction, reaches only an 11\.1% success rate at 2 Å\. Getting the backbone right is therefore not sufficient for Cα\\alpha\-level prediction to recover most of the docking success; side\-chain reconstruction is the remaining bottleneck, and the gap to the crystal structure \(50\.2%\) measures that shortfall\. This result shows that improvements in backbone accuracy propagate into smaller ligand\-placement errors; it does not claim to solve docking success itself\.
## Appendix NCapacity\- and Pretraining\-Matched Baselines
Section[6](https://arxiv.org/html/2611.27162#S6)notes thatCrypticFlowis substantially larger than the published bridge baselines, so the main comparison is not capacity matched\. We therefore retrained all four baselines from scratch atCrypticFlow’s parameter count and gave them the same ESM\-3 features as input\. Data \(the D3PM\-Large training split\), epoch budget \(1,000\), effective batch size \(8\) and checkpoint\-selection criterion \(validation direct Cα\\alphaRMSD\) were matched\. Parameter counts measured from the checkpoint state dictionaries areCrypticFlow34,080,122, ABM and FDBM 33,693,525, SBAlign 33,751,329 and EGNN 35,072,991, that is within±3%\\pm 3\\%of each other\.
Table 16:Capacity\- and ESM\-3\-matched baselines on the fixed 150\-pair D3PM test split\. Direct RMSD\.CrypticFlowis the mean±\\pmsample standard deviation over five seeds; every baseline is a single seed\. Bold marks the best among the models that generate structures; apo and holo are reference lines\.#### The accuracy claim does not survive capacity matching\.
Once the parameter count is matched, ABM attains a lower global RMSD thanCrypticFlow\(2\.547 versus 2\.766 Å\), and also leads on the median \(1\.069 versus 1\.333 Å\) and on the sub\-2 Å success rate \(68\.00 versus 58\.53%\)\. Our seed\-to\-seed standard deviation is 0\.041 Å, so this is not seed noise\. The claim in Table[1](https://arxiv.org/html/2611.27162#S5.T1)thatCrypticFlowattains the lowest compared median and mean RMSD therefore holds at the published baseline capacities and not in general\. What the same ABM does not reach is structural quality: its adjacent\-distance fidelity of 38\.46% is less than half of our 99\.58%, its angle fidelity is 90\.21 versus 95\.87%, and its MolProbity is 3\.802 versus3\.034±0\.0543\.034\\pm 0\.054\. Inside this split every model, including all four baselines, is better than the unmoved apo input \(6\.743 Å\)\.
Table 17:The same four checkpoints carried, without retraining, to CryptoBench \(212 records, 59 apo PDB entries; weighting as in Appendix[M](https://arxiv.org/html/2611.27162#A13)\)\.
#### The ordering reverses outside the training distribution\.
With the same checkpoints, ABM’s global RMSD of 2\.547 Å on the D3PM test becomes 4\.327 Å on CryptoBench while ours goes from 2\.766 to 4\.059 Å\. Among the generative modelsCrypticFlownow leads on every column except the sub\-2 Å rate, where ABM’s 1\.89% lies inside our seed standard deviation \(1\.51±0\.62%1\.51\\pm 0\.62\\%\) and no ordering can be claimed\. More tellingly, none of the four capacity\-matched baselines beats the unmoved apo input \(4\.227 Å\): all four lie between 4\.327 and 8\.744 Å, so moving the structure took them further from the answer\. Inside the training distribution all five models beat the apo input; outside it that property remains only forCrypticFlow\. The gap in local geometry is not filled by capacity either — the best adjacent\-distance fidelity among the baselines is FDBM’s 40\.56%, against our 99\.67%, and SBAlign shows most clearly that capacity is not the bottleneck, moving from 11\.3 to 11\.1% in distance fidelity and from 4\.65 to 4\.64 in MolProbity as it grows from 0\.54M to 34M\.
Table 18:Training and inference cost at matched capacity, extending the hardware\-controlled comparison of Table[5](https://arxiv.org/html/2611.27162#A5.T5)\. Inference was timed on one a5000, running the 150 test pairs sequentially\. GPU\-hours are normalized to 1,000 epochs\.The one pair comparable on identical hardware isCrypticFlowand EGNN: both ran 1,000 epochs on a single RTX 6000 Ada, andCrypticFlowtook 2\.9×\\timesless time\. The other three do not fit on a single 48 GB card at this size and required multiple GPUs\. Effective batch size was matched at 8 for every method\. GPU\-hours mix cards of different speeds, so card names are given; since H100 and Blackwell are faster cards than the RTX 6000 Ada, the ratios are conservative\. Inference is 63×\\timesfaster than ABM because the bridge family takes 100 integration steps whereCrypticFlowtakes five Euler steps per active flow\.
#### Scope\.
OnlyCrypticFlowis run with five seeds; every capacity\-matched baseline is a single seed\. MolProbity on CryptoBench is aggregated over the 211 commonly successful pairs, excluding the one pair that fails identically for every model \(CB002742, duplicate atom labels\)\. The fixed\-Cα\\alphareconstruction leaves Cα\\alphapositions unchanged, so global RMSD and the two fidelity measures are unaffected by it\.
## Appendix OTest\-Split Controls Added in Revision
The controls in Appendix[J](https://arxiv.org/html/2611.27162#A10)were run on the validation split and are explanatory\. The controls below were requested during review and are run on the fixed 150\-pair*test*split with the same five seeds asCrypticFlow\(1, 3, 42, 88, 99\)\. RMSD is direct Cα\\alphaRMSD\. MolProbity and the covalent\-geometry RMSDs use fixed\-Cα\\alphacg2all reconstruction without relaxation\.
### O\.1Language\-Model Features
ESM\-3 was pretrained on structural as well as sequence data, so structural information about the evaluated proteins could in principle enter through its embeddings\. We replaced the ESM\-3 embeddings with those of ESM\-2 \(esm2\_t33\_650M\_UR50D\), which is trained on sequences only; the 1280\-dimensional embeddings were zero\-padded to the 1536\-dimensional input and every other setting was kept\.
Table 19:Language\-model and representation controls on the test split\.Switching to ESM\-2 does not change performance \(seed\-paired differences: median RMSD−0\.01±0\.08\-0\.01\\pm 0\.08Å, sub\-2 Å−0\.5±1\.1\-0\.5\\pm 1\.1pp, MolProbity−0\.07±0\.06\-0\.07\\pm 0\.06, angle fidelity\+0\.8±0\.2\+0\.8\\pm 0\.2pp; covalent bond\-length and bond\-angle RMSDs slightly lower in all five seeds\)\. Removing the language\-model features worsens every accuracy and quality metric in all five seeds \(median RMSD\+1\.17\+1\.17Å, sub\-2 Å−15\.1\-15\.1pp, angle fidelity−4\.2\-4\.2pp, MolProbity\+0\.34\+0\.34\)\.CrypticFlowtherefore relies on pretrained language\-model features, but the benefit is explained by information learned from sequences rather than by the structural pretraining of ESM\-3\.
### O\.2The Adjacent\-Radius Constraint
To measure what the adjacent\-radius copying contributes we trained*Predicted radii*, in which*every*path by which an apo distance enters a radius is removed: no adjacent radius is fixed, and the 1\.1×\\timesapo contour\-length ceiling is removed as well, so the model predicts all radii without an upper bound\. The apo structure then enters only as an input condition, exactly as for every other model\.
Table 20:A ladder of generation schemes on the test split, ordered by increasing distance fidelity\.Predicting the radii instead of copying them lowers distance fidelity by0\.02±0\.020\.02\\pm 0\.02pp \(99\.58→99\.56%99\.58\\to 99\.56\\%\) and moves MolProbity by\+0\.042±0\.051\+0\.042\\pm 0\.051\(seed\-paired\)\. The99\.58%99\.58\\%figure is therefore not produced by copying the radii\. The ladder shows where it does come from: a single EGNN generating all residues directly in global Cartesian coordinates reaches 67\.34%; adding the hierarchy with the midpoint in local Cartesian coordinates reaches 93\.41%; and writing the midpoint in local internal coordinates reaches 99\.56% even without any copying\. The figure arises when the hierarchy and local internal coordinates are present together, and neither alone produces it\. Along the same ladder the mean direct RMSD spans only 2\.450 to 2\.766 Å while distance fidelity spans 32 pp\.
### O\.3Two Regimes for the Midpoint Representation
The representation pair of Appendix[J](https://arxiv.org/html/2611.27162#A10)was measured on three seeds of the validation split\. We extended it to five seeds on the test split and then carried the same checkpoints to CryptoBench\.*Minimal Local ICS*is our representation alone, with the fixed apo\-derived radii, the auxiliary losses and the sphere\-feasibility correction switched off;*Local Cartesian*writes the same midpoint as\(x,y,z\)\(x,y,z\)in the same parent frame\.
Table 21:The minimal representation pair inside and outside the training distribution\. Left: D3PM test \(150 pairs\)\. Right: CryptoBench \(212 records\), with the weighting of Appendix[M](https://arxiv.org/html/2611.27162#A13)\. Five seeds throughout\.Inside the training distribution the Cartesian side leads on three of the four metrics, and adding seeds does not change that direction\. We therefore do not claim that the internal\-coordinate representation is generally better in global accuracy or all\-atom quality\. Outside the training distribution the trade\-off disappears: the three metrics on which Local Cartesian led all reverse, its global RMSD of 4\.30 Å is worse than the unmoved apo input \(4\.23 Å\), angle fidelity splits 92\.54 versus 57\.64% and MolProbity 3\.44 versus 4\.49\. The distance\-fidelity gap of 6\.29 pp inside becomes 79 pp outside\. The trade\-off is therefore a property of the training distribution, not of the representation\. Two facts limit this reading\. On external data the best local\-geometry values still belong to the apo input \(distance 99\.88%, angle 97\.29%, MolProbity 2\.26\); the claim is that among models that move the structure we damage it least\. And Minimal Local ICS — with the radii, auxiliary losses and sphere correction all off — performs essentially the same as fullCrypticFlowhere, so what generalizes outside the training distribution is the midpoint representation rather than the rest of the design\.
## Appendix PFairness of the Hierarchy\-Free Controls
Appendix[K](https://arxiv.org/html/2611.27162#A11)comparesCrypticFlowagainst hierarchy\-free full\-chain internal\-coordinate controls\. Review raised two objections to those controls: that the stride\-1 control used a different normalization setting, and that the full\-chain controls were smaller thanCrypticFlow\. Both are correct\. The first is not a setting we chose; the second we corrected by retraining at matched capacity, which did not change the conclusion but did narrow one of our claims\.
#### The normalization difference is structurally forced\.
Our state normalizer is fitted on per\-channel statistics of the midpoint internal\-coordinate states, and at stride 1 the tree has depth 0, so no midpoint is generated at all\. Running the main configuration twice with onlydata\.stridechanged from 4 to 1 confirms this: with normalization on there was no state to fit and training stopped before it could begin; with it off the run proceeded normally and logged 0 for both the generated\-midpoint count and the midpoint loss\. Coordinate normalization at the top\-level Cartesian stage is on exactly as in the main configuration\.
#### Capacity\-matched full\-chain controls\.
We retrained both full\-chain controls at matched capacity, leaving depth \(8 layers\), seed \(42\), data and training budget unchanged and increasing only the width \(Transformer hidden320→416320\\to 416; NeRF–EGNN hidden320→384320\\to 384, edge160→192160\\to 192\)\.
Table 22:Hierarchy\-free controls at matched capacity on the fixed 150\-pair D3PM test split, extending Table[12](https://arxiv.org/html/2611.27162#A11.T12)\. The full\-chain controls copy the apo adjacent distances and predict only the angles, so their distance fidelity is marked \(= apo\) and left out of that column’s comparison\. Bold marks the best value in each column\.Raising capacity to 97–99% ofCrypticFlowimproves the median direct RMSD only from 7\.559 to 6\.845 Å and from 7\.618 to 7\.151 Å, about 10% of the gap toCrypticFlow; the remaining gap is still 5\.1×\\timesand 5\.4×\\times\. The capacity mismatch is therefore not the cause of this gap\. MolProbity does not move consistently \(3\.142→\\to3\.174 for the Transformer, 3\.259→\\to3\.216 for NeRF–EGNN\), and distance fidelity is identical to the floating\-point digits across all four settings because that channel copies the apo distances, which independently confirms that this figure is not model performance\.
#### What this narrows in our claim\.
Stride 1 has a lower median RMSD thanCrypticFlowin all five seeds \(difference0\.180±0\.0370\.180\\pm 0\.037Å\), and in local geometry the full\-chain controls are better than we are: their pseudo\-angle fidelity is 98\.78–98\.83% against our 95\.87%, and their MolProbity of 3\.17–3\.26 is close to our 3\.034\. What we can claim is therefore not that the hierarchy improves global accuracy, nor that it preserves local geometry better than any alternative, but that it recovers most of the global accuracy of a Cartesian flow while losing almost no local geometry\. Against stride 1 that trade is−0\.180\-0\.180Å of median RMSD for\+32\.2±2\.3\+32\.2\\pm 2\.3pp of adjacent\-distance fidelity\.
## Appendix QExposure Bias and Robustness to the Generated Anchors
In standard training the midpoint flow sees only ground\-truth parent contexts\. We applied the two remedies proposed in PAR\([Qu et al\., 2026](https://arxiv.org/html/2611.27162#bib.bib16)\)and retrained with seed 1, keeping every other setting unchanged\. In*scheduled sampling*\(SS\) the parent context is replaced with the model’s own predictions with a probability rising from 0 to 0\.5 over the first 25k of 162k steps\. In*noisy context learning*\(NCL\) isotropic Gaussian noise is added to the ground\-truth parent Cα\\alphacoordinates with probability 0\.5, atσ=1\.05\\sigma=1\.05Å per coordinate, so that the RMSD of the noise equals the median error of the generated anchors on the validation set \(1\.81 Å\)\.
Table 23:Exposure\-bias remedies on the fixed 150\-pair D3PM test split \(seed 1\)\.Accuracy does not improve: the median RMSD changes by−0\.05\-0\.05Å with SS and\+0\.02\+0\.02Å with SS and NCL, both inside our five\-seed standard deviation \(0\.056 Å\), and worsens by 0\.17 Å with NCL\. Local geometry and structure quality worsen with all three: angle fidelity drops by 0\.75–2\.20 pp against a seed standard deviation of 0\.25 pp, and MolProbity rises from 3\.038 to 3\.121–3\.216\.
#### Why the mismatch does not amplify\.
If the train–inference mismatch were the problem, the error of the final structure would exceed the error of the anchors it was built on\. On the 150 test pairs over five seeds the RMSD of the final structure is almost identical to the RMSD measured on the anchor residues alone \(median difference\+0\.013±0\.004\+0\.013\\pm 0\.004Å\)\. The midpoint stage therefore adds no error even when given incorrect anchors, and the final error is set by the top\-level anchor stage\. Because SS and NCL change only the training of the midpoint stage, they cannot reduce it\.
#### Robustness to perturbed anchors\.
We injected an isotropic Gaussian displacementσ\\sigmainto the generated top\-level anchors and re\-evaluated the test split; base and oracle use five seeds, the perturbed conditions use seeds 1, 3 and 42\.
Table 24:Anchor perturbation on the fixed 150\-pair D3PM test split\.The final structure degrades only as much as the anchors do, with no further accumulation: in the strongest condition the anchor error rises from 2\.628 to 4\.732 Å while the final error rises from 2\.766 to 4\.697 Å, that is, by less\. Supplying ground\-truth anchors lowers the final error from 2\.766 to 0\.775 Å, which locates 72% of the remaining global error at the top\-level anchor stage\. The component to improve is therefore the anchor stage, not the midpoint stage\. The injected displacement is isotropic and does not reproduce the correlation and directionality of the real anchor error, so this table is an upper bound under isotropic perturbation rather than a reproduction of it\.
## Appendix RSampling Diversity
Using each of the five trained models we generated 20 samples for each of the 150 test pairs\. Diversity is the mean pairwise Cα\\alphaRMSD among the 20 samples of a target; over the 150 targets its median is0\.020±0\.0030\.020\\pm 0\.003Å and its 90th percentile0\.22±0\.050\.22\\pm 0\.05Å\. Against a median apo–holo RMSD of 4\.46 Å on the same split, the samples are effectively the same structure\. The cause is architectural: the top\-level anchor flow is a deterministic ODE started from the apo structure, so all 20 samples share identical anchors \(0\.0 Å difference\), and stochasticity enters only through the midpoint flow, which fills gaps between those fixed parents\.
Table 25:Single sample versus the best of 20 under an oracle that selects the sample closest to the true holo structure\. Fixed 150\-pair D3PM test split, five seeds\.Even the oracle gives almost the same accuracy as a single sample\.CrypticFlowin its current form therefore does not generate structural diversity or alternative holo states: it is not an ensemble generator but a nearly deterministic predictor mapping one apo structure to one holo\-like structure\. This limitation is stated in Section[6](https://arxiv.org/html/2611.27162#S6)\.相似文章
ProHiFlo:具有功能引导的分层流匹配用于从头蛋白质生成
介绍了ProHiFlo,一种用于从头蛋白质生成的分层流匹配框架,具有从粗到细的生成、功能引导和SE(3)等变架构,以4倍更少的采样步骤实现了最先进的性能。
PolyFlow:面向艺术家风格网格生成的连续拓扑嵌入流匹配
PolyFlow利用拓扑嵌入器提出连续的网格表示,并基于Transformer实现流匹配的并行网格生成,相比自回归方法推理速度更快且分辨率控制精确。
H-GLow:通过危险率引导的离散流匹配加速图生成
该论文提出了 H-Glow,一种风险率引导的框架,通过将连续时间马尔可夫链的生成元分解为风险率和条件跳转分布,加速用于图生成的离散流匹配(DFM),从而在分子和合成基准测试中,以显著更少的采样步数实现高质量图生成。
MeshFlow: 基于等变流匹配的网格生成
MeshFlow 引入了一种等变最优传输流匹配模型,用于直接生成三角形网格,在达到最先进质量的同时,相比自回归方法提供了约18倍的推理加速。
机器学习粗粒化分子动力学中的Hessian匹配方法
本文提出了一种面向机器学习粗粒化分子动力学的Hessian匹配框架,该框架通过随机Hessian-向量积匹配增强力匹配,将二阶曲率信息注入CG势能。该方法在快折叠蛋白质的慢模式指标上,KL散度最高降低了85%。