Gut bacteria chemically rewrite dietary fibers, polyphenols, and bile acids into new molecules, and those molecules then bind hormone-sensing receptors in intestinal cells. The best-studied case is the Farnesoid X Receptor (FXR): when a bacterial bile-acid product docks into FXR, the gut releases the hormone FGF15 (in rodents; FGF19 in humans), which travels to the liver and suppresses fat accumulation and fibrosis. A single bacterial enzyme performing one chemical edit on a bile acid — the 7α-dehydroxylation carried out by Clostridium scindens — decides whether the bile acid pool poisons the liver or protects it, a result established in mice and correlated in a human cholestasis cohort by Sun et al.. Yet nobody can currently predict, from molecular structure, which microbially transformed metabolites will engage a flexible host receptor and how the receptor's binding pocket will reshape around them: microbiome studies measure statistical associations, and existing docking tools either freeze the receptor or produce physically invalid poses.
This proposal builds the first flexible docking model in which every rotational degree of freedom — the ligand's overall pose, its rotatable bonds, receptor side-chain rotamers, and local backbone frame orientations — is represented as a unit quaternion, a four-number descriptor of 3D orientation that lives on a sphere in 4D, and sampled by a learned generative flow on that sphere. Quaternion geometry has recently made protein-orientation generation numerically stable and torsion-aware molecular encoding nearly free; we aim that machinery at the diet–microbiome–host axis, where the central open problem is precisely a flexible-receptor, multi-conformer, stereochemistry-sensitive binding question.
Core Claim
A rectified quaternion flow on the 4D unit sphere can jointly sample induced-fit complexes of flexible nuclear receptors with microbially derived metabolites, and doing so converts the diet–microbiome literature's correlational findings into structural, testable predictions. Specifically, the model should (i) recover bound poses of steroidal and polyphenolic ligands in the FXR ligand-binding domain from unbound receptor structures, and (ii) rank a panel of microbial metabolites by predicted FXR engagement in a way that matches the in vivo FGF15/19 readouts already published for bile acids, fexaramine, and fiber-derived fatty acids.
Three strands of prior work motivate this and define what it must beat. On the geometry side, ReQFlow generates protein backbones by flowing residue orientations on $SO(3)$ with exponential spherical interpolation, eliminating the round-trip drift that rotation matrices accumulate; and the Quaternion Message-Passing module of Yue et al. (QMP) encodes bond torsion as chained Hamilton products of sorted unit quaternions in under 2 ms, fixing the blind spot that distance-based graph networks have to bond twists. On the docking side, Harmony handles ligand and side-chain torsions with Fourier-series diffusion but must freeze the protein backbone entirely, while FLEXDOCK transports torsion angles on a manifold but produces enough steric clashes to require a separate Euclidean relaxation stage. Köhler et al. show how to build multi-modal rotational densities on the quaternion sphere with projective maps, exactly the structure needed for discrete side-chain rotamer states. On the biology side, Sun et al., Zhong et al., and Wei et al. supply validated metabolite–receptor–phenotype chains but no structural modeling whatsoever. No paper in any of these strands — and nothing in the retrieved literature — connects quaternion rotational flows to flexible docking of microbiome-derived metabolites at host metabolic receptors.
Research Program
We will build QDock, a conditional rectified flow whose state is a list of unit quaternions: one for the ligand's rigid-body pose, one per rotatable ligand bond, one per flexible receptor side chain, and one per residue-level backbone frame in the pocket. Training pairs an unbound (apo) receptor and free ligand with the bound (holo) complex, and the flow learns to transport noise quaternions to data quaternions along geodesics of the 4D unit sphere. Two technical choices come directly from prior work and are the proposal's key ingredients. First, the antipodal ambiguity — a quaternion $q$ and its negation $-q$ describe the same rotation, which shreds naive regression training, as documented by Wu et al. — is handled inside the interpolation by sign alignment, following the sign-flip equivariance of Köhler et al.:
$$q_t = q_0 \, \exp\!\big(t \log(q_0^{-1} q_1)\big), \qquad q_1 \leftarrow \operatorname{sign}\big(\langle q_0, q_1\rangle\big)\, q_1,$$
where $q_0$ is a sampled noise quaternion, $q_1$ the data quaternion, $\langle\cdot,\cdot\rangle$ the Euclidean dot product in 4D, and the sign flip chooses the representative of $q_1$ nearest $q_0$ so every interpolation path is short and smooth. Second, side chains in a pocket interact through non-commutative quaternion multiplication, so neighborhood aggregation uses the QMP recipe of sorting rotations by angle before chaining Hamilton products, which keeps the model's output invariant to input ordering. Multi-modal pocket states — discrete rotamer clusters rather than smeared averages — come from the projective convex gradient maps of Köhler et al. as the base density. A flat-bottom steric potential, borrowed from FLEXDOCK's relaxation stage, is applied as a guidance term inside the flow rather than as a separate second-stage fix, so that clash avoidance and geometric transport are learned jointly.
The second deliverable is a curated benchmark, FXR-MA, assembled from crystal structures of the FXR ligand-binding domain with steroidal ligands and the gut-restricted agonist fexaramine, plus docking cases for microbiome-relevant metabolites named in the experimental literature: the secondary bile acids produced by C. scindens, pentadecanoic acid from inulin fermentation (Wei et al.), gallic acid from microbial tannin breakdown (He et al.), and curcumin-derived species (Zhong et al.). Apo receptor structures come from ESMFold, the same input convention used by FLEXDOCK, Harmony, and FlowDock, so every method sees identical starting material. Because FXR and its ligands are the regime where rodent and human biology diverge (Sun et al.), the set is split into murine-relevant and human FXR–FGF19 cases to measure cross-species transfer explicitly.
The third deliverable is a predictive ranking experiment: the panel of metabolites is scored by sampled binding modes and predicted affinity, and the ranking is compared against published in vivo evidence — that 7α-dehydroxylated secondary bile acids and fexaramine rescue FXR–FGF15 signaling and liver fibrosis in mice (Sun et al.), that curcumin's insulin-sensitizing effect is microbiome-dependent and FGF15-mediated (Zhong et al.), and that C. scindens abundance anticorrelates with serum bile acids in the human PSC cohort. The model's claim to relevance rests on reproducing these directional findings from structure alone.
Baselines
The naive reference point is the field's current default: association analysis from metagenomic and metabolomic correlation, the approach underlying Shoer et al. and Li et al.. It makes no structural prediction and cannot distinguish direct receptor agonism from indirect downstream effects, so it is the floor: if QDock's structural ranking adds nothing over correlation ordering on the metabolite panel, the proposal fails its own purpose. A second naive reference is rigid docking of metabolites into the apo FXR pocket with no receptor flexibility; no reported result found on Lacuna for rigid docking of bile acids into FXR, so we will run a standard rigid baseline ourselves under the same inputs.
The strongest existing competitor is Harmony, the torsional-diffusion docking model of Zhdanov et al., which reports the leading flexible-docking numbers on PDBBind: 64.2% of complexes docked under 2 Å ligand RMSD (up from the 39.7% it attributes to FLEXDOCK) and 47.3% of pockets under 1 Å side-chain RMSD. It is the strongest because it is the reported accuracy leader on exactly our task family — ligand plus side-chain flexibility with an apo input — and because its Fourier treatment of torsions is the most credible non-quaternion parameterization. We will retrain and tune Harmony, FLEXDOCK, and FlowDock on the same training complexes with the same ESMFold apo inputs, the same sampling budget, and matched GPU-hours (Harmony's own training is reported at 2 days on 8 H100s with optimized kernels, a budget we will match for QDock). Beating Harmony means exceeding its 64.2% success rate on the FXR-MA set with non-overlapping confidence intervals, and — more diagnostic — exceeding it specifically on pocket cases requiring backbone movement, which its frozen backbone cannot represent in principle.
The key ablation isolates the quaternion ingredient: QDock-M replaces every quaternion with a 3×3 rotation matrix maintained by SVD projection, and QDock-T replaces them with raw torsion angles, leaving the flow architecture, data, and tuning identical. If QDock does not beat both, the quaternion representation is not earning its place, and the honest conclusion would be that geometry was not the binding constraint on this problem.
Why not just…?
Why not just run Harmony or FLEXDOCK on FXR complexes as they are? This is the most serious objection, and we do not argue around it. If FXR induced fit is dominated by side-chain motion, Harmony's 64.2%-calibrated machinery may transfer directly, and the quaternion contribution would shrink to backbone-shift cases and rotamer multimodality. Our design settles this empirically rather than rhetorically: FXR-MA is stratified by the amount of observed apo-to-holo backbone displacement, so the head-to-head reports separately whether QDock wins only where Harmony's frozen backbone is structurally incapable of following, or everywhere. FLEXDOCK's own reported numbers — 73% PoseBusters validity and only 42% of pockets under 1 Å all-atom RMSD after its separate relaxation stage — additionally suggest its torsional transport is the weaker of the two off-the-shelf options.
Why not just use end-to-end structure predictors like AlphaFold 3 or Chai-1? They are a real threat on pose accuracy. But the retrieved evidence gives three concrete reasons to expect them to struggle here: FlowDock reports 51% blind docking success on PoseBusters, outperforming single-sequence AlphaFold 3, at a fraction of the training compute (one week on 4 GPUs versus a reported month on 128 GPUs for Chai-1); co-folding models do not naturally output binding affinities, which our ranking experiment needs; and gut microbial metabolites and their stereoisomers are rare in training corpora, precisely the novel-chemistry regime where geometric priors matter most. We will nevertheless include a co-folding baseline where compute permits, and treat it as decisive on the novel-metabolite stratum rather than on benchmark complexes the generalists may have memorized.
Why not just stick to statistical association, which the microbiome field already trusts? Because correlation cannot tell mechanism. Zhong et al. show curcumin acts entirely through microbiota-mediated FGF15 upregulation rather than direct systemic action, and Sun et al. show a single bacterial enzyme flips the bile acid pool between hepatotoxic and FXR-protective. Neither study can say whether a given metabolite physically engages FXR. If our structural ranking merely recapitulates the correlation ordering, the added value is real but modest; if it correctly reorders metabolites where correlation and structure disagree, that is the finding worth publishing.
Why not just use rotation matrices with SVD projection? ReQFlow already showed matrices accumulate round-trip drift that damages long generative trajectories, and Hua et al. documented the projection cost; but rather than rely on that transfer argument, the QDock-M ablation runs the comparison directly on our data.
Proposed Experiments and Decisive Checks
Experiment 1 is the standard-regime check: train on PDBBind and evaluate on PDBBind-E and PoseBusters, reporting ligand RMSD under 2 Å and physical-validity rates against Harmony's 64.2% and FLEXDOCK's 73% PoseBusters validity. This establishes that QDock is competitive on ordinary docking before any microbiome claim is made. Experiment 2 is the FXR-MA evaluation: pose recovery from apo structures, side-chain accuracy under 1 Å RMSD, PoseBusters validity, and the stratified backbone-shift analysis against all baselines; no reported result found on Lacuna for any existing docking method on FXR–microbial-metabolite complexes, so this benchmark itself is a contribution. Experiment 3 is the ablation triplet QDock / QDock-M / QDock-T, measuring pose accuracy, clash rates, and numerical drift across long pockets, with the ReQFlow result (0.972 designability with quaternions versus 0.904–0.908 for matrix-based generators) as the prior expectation. Experiment 4 is the decisive biological check: rank the microbial metabolite panel by predicted FXR engagement and affinity, and compare against the published in vivo direction of effect — FGF15 induction, fibrosis rescue, and the human PSC-cohort correlation — reporting rank agreement and, critically, any metabolite where the structural prediction and the correlational literature conflict, since those are the cases that motivate a structural model at all.
References
- Clostridium Scindens Protects Against Vancomycin‐Induced Cholestasis and Liver Fibrosis by Activating Intestinal FXR‐FGF15/19 Signaling
- ReQFlow: Rectified Quaternion Flow for Efficient and High-Quality Protein Backbone Generation
- A Plug-and-Play Quaternion Message-Passing Module for Molecular Conformation Representation
- Harmonic Torsional Diffusion for Protein-Ligand Flexible Docking
- Composing Unbalanced Flows for Flexible Docking and Relaxation
- Rigid Body Flows for Sampling Molecular Crystal Structures
- Curcumin improves insulin sensitivity in high-fat diet-fed mice through gut microbiota
- Parabacteroides distasonis uses dietary inulin to suppress NASH via its metabolite pentadecanoic acid
- Real-Time Object Pose Estimation with Pose Interpreter Networks.
- Tannins amount determines whether tannase-containing bacteria are probiotic or pathogenic in IBD
- Impact of dietary interventions on pre-diabetic oral and gut microbiome, metabolites and cytokines
- Resistant starch intake facilitates weight loss in humans by reshaping the gut microbiota
- FlowDock: Geometric Flow Matching for Generative Protein-Ligand Docking and Affinity Prediction
- Local-Global Associative Frames for Symmetry-Preserving Crystal Structure Modeling