CrypticFlow: Hybrid-Coordinate Flow Matching for Accurate Protein Conformation Generation

CrypticFlow combines Cartesian and internal coordinates via hierarchical flow matching to improve apo-to-holo prediction accuracy and local geometric plausibility.
CrypticFlow tackles apo-to-holo conformation prediction in structure-based drug design with a hierarchical flow matching model. It first generates sparse Cα anchors in Cartesian space using an E(3)-equivariant graph network for global accuracy, then recursively fills gaps in internal coordinates with a conditional midpoint Transformer, using distance constraints to suppress the lever-arm effect. On the D3PM test set, its median and mean Cα RMSD are 1.333 ± 0.056 Å and 2.766 ± 0.041 Å, with local geometric fidelity of 99.58% (adjacent distances) and 95.87% (pseudo-angles). The all-atom reconstruction achieves a MolProbity score of 3.034 ± 0.054, outperforming baselines and indicating that the hybrid-coordinate strategy balances global accuracy and local physical plausibility.
The Challenge and Breakthrough in Protein Conformation Generation
In structure-based drug design, predicting the ligand-bound holo conformation from the ligand-free apo structure is a core problem. Most existing apo-to-holo models operate in Cartesian space and achieve strong global accuracy. However, high global accuracy does not guarantee the physical plausibility of local backbone geometry. Internal-coordinate models offer local control and validity, but regression-based generation can amplify probability errors—the so-called lever-arm effect. CrypticFlow combines these two complementary representations through a hierarchical flow matching model, aiming to achieve both global accuracy and local fidelity.

apo and holo conformations: The apo conformation refers to the free-state structure of a protein when no ligand is bound, while the holo conformation is the structure after ligand binding. The differences between the two often involve side-chain rotations, loop rearrangements, and even secondary structure changes, and are key to predicting binding pocket shape in drug design.
Lever-arm effect: When generating structures by regression in internal coordinates (such as bond lengths, bond angles, and dihedral angles), a small angular error in a dihedral angle is amplified along the rotation axis into large positional deviations of terminal atoms—much like how the endpoint displacement grows with a longer lever. This error accumulation undermines the physical plausibility of local backbone geometry and is a major flaw of internal-coordinate generative models.
E(3)-equivariant graph network: E(3) refers to the three-dimensional Euclidean group (translation, rotation, reflection). An equivariant graph network ensures that when input coordinates undergo any rigid-body transformation, the output transforms in the same way, thereby respecting physical symmetry in Cartesian space and improving generalization and data efficiency.
Core Architecture of CrypticFlow
CrypticFlow adopts a hierarchical generation strategy. First, an E(3)-equivariant graph network conditioned on ESM-3 generates sparse Cα anchors in Cartesian space. Then, a conditional midpoint Transformer recursively fills in 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α-Cα distance. This hybrid-coordinate approach leverages the global modeling capability of Cartesian space while ensuring the validity of local geometry through internal coordinates.
Constraint Mechanism for Local Geometry
The distance constraint during recursive generation is key to ensuring physical plausibility. By restricting the distance between midpoints and parent anchors to the apo reference Cα-Cα distance, the model avoids the error accumulation common in internal-coordinate regression. This design directly targets the lever-arm effect, making the generated conformations more reasonable in local backbone geometry.
Flow Matching: A generative modeling framework based on continuous normalizing flows that learns a vector field along a probability path (often a straight line or optimal transport path) from a prior distribution to the data distribution. It is trained by regression, avoiding the multi-step sampling overhead of diffusion models. Hierarchical flow matching models at different resolutions or representation levels separately, generating structures from coarse to fine.
ESM-3: A protein language model released by Meta, pretrained on large-scale sequence data, capable of capturing evolutionary and structural information. In CrypticFlow, ESM-3 provides sequence-conditioned embeddings that guide the graph network to generate sequence-compatible Cα anchors.
Midpoint Transformer and recursive filling: The model recursively inserts midpoints between sparse Cα anchors, predicting one local internal coordinate (such as bond length, bond angle, or dihedral angle) at a time to progressively refine the backbone. The distance constraint restricts the distance between the new midpoint and the parent anchor to near the apo reference Cα-Cα distance (typically about 3.8 Å), thereby suppressing the propagation of dihedral angle errors toward the terminus and directly alleviating the lever-arm effect.
Experimental Results and Performance Evaluation
On the D3PM test set, CrypticFlow achieved the lowest median and mean Cα RMSD at the published baseline capacity. The median and mean direct RMSD across five independently trained models were 1.333 ± 0.056 Å and 2.766 ± 0.041 Å, respectively. Local geometric quality also improved significantly: adjacent-distance fidelity reached 99.58 ± 0.02%, and pseudo-angle fidelity reached 95.87 ± 0.25% (measured within holo reference ranges of 0.2 Å and 20°, respectively).
All-Atom Reconstruction and Physical Quality
The research team used the cg2all coarse-to-all-atom backmapping method to reconstruct the predicted Cα-only trajectories into all-atom structures and evaluated their physical and geometric quality with MolProbity. CrypticFlow achieved a MolProbity score of 3.034 ± 0.054, outperforming the evaluated baselines. This demonstrates that the hybrid-coordinate hierarchical flow matching model can maintain local fidelity while recovering global accuracy.
cg2all coarse-to-all-atom backmapping: A method that reconstructs a coarse-grained backbone trajectory containing only Cα atoms into an all-atom structure including all heavy atoms. It typically uses local geometric rules or a learned side-chain conformation library to complete the backbone N, C, O and side-chain atoms for each residue, making the structure suitable for physical quality assessment.
MolProbity score: A widely used all-atom structure validation tool in structural bioinformatics that comprehensively evaluates bond lengths, bond angles, dihedral angles, steric clashes, and Ramachandran outliers, among others; a lower score indicates better physical plausibility. CrypticFlow's score of 3.034 indicates that its all-atom models are geometrically reasonable.
Significance and Outlook
CrypticFlow's success demonstrates the potential of hybrid-coordinate representations in protein conformation generation. Through hierarchical flow matching, the model balances the global accuracy of Cartesian space with the local validity of internal coordinates, providing a more reliable solution for apo-to-holo prediction in drug design. In the future, the method is expected to be extended to more complex conformational change scenarios and to further optimize the physical plausibility of all-atom structures.
One-line Summary
CrypticFlow combines Cartesian and internal coordinates via hierarchical flow matching to improve apo-to-holo prediction accuracy and local geometric plausibility.
Paragraph Summary
CrypticFlow addresses the challenge of apo-to-holo conformation prediction in structure-based drug design with a hierarchical flow matching model. The method first uses an E(3)-equivariant graph network in Cartesian space to generate sparse Cα anchors for global accuracy, then recursively fills gaps in internal coordinates with a conditional midpoint Transformer, using distance constraints to suppress the lever-arm effect. On the D3PM test set, its median and mean Cα RMSD are 1.333 ± 0.056 Å and 2.766 ± 0.041 Å, respectively, with local geometric fidelity reaching 99.58% (adjacent distances) and 95.87% (pseudo-angles). The MolProbity score of the all-atom reconstruction is 3.034 ± 0.054, outperforming baselines, indicating that the hybrid-coordinate strategy can simultaneously achieve global accuracy and local physical plausibility.
Related articles

Vibe Coding Full-Stack in Practice: How One Person Builds a Commercial-Grade Product with AI
An analysis of the Bilibili course Vibe Coding Full-Stack in Practice: how one person uses AI to complete requirements analysis, frontend/backend development, MySQL databases, cloud deployment, multi-platform Mini Program execution, and AI-driven operations promotion—mastering one-person-company AI engineering product development.

DriveAnswer Benchmark: Evaluating Evidence Sufficiency in Autonomous Driving VLMs
DriveAnswer benchmark with 20,151 questions uses strong/weak evidence pairing to jointly evaluate answer correctness, evidence sufficiency, and visual grounding in autonomous driving VLMs, revealing zero-shot joint capability of only 21.55%.

Hijacking a US Treasury Subdomain for $3: The Overlooked Vulnerability
An attacker can take over a US Treasury subdomain for just $3. This article explains how subdomain takeover works, the special risks facing government domains, and how organizations can close this low-cost security gap through asset discovery and DNS cleanup.