Learning Protein-Ligand Binding in Hyperbolic Space

Jianhui Wang, Wenyu Zhu, Bowen Gao, Xin Hong, Ya-Qin Zhang, Wei-Ying Ma, Yanyan Lan

TL;DR

HypSeek introduces hyperbolic representation learning to protein–ligand binding prediction, addressing a major failure mode of traditional Euclidean retrieval models: activity cliffs, where structurally similar molecules have vastly different binding strengths. By mapping molecules, pockets, and protein sequences to Lorentz-model hyperbolic space and enforcing cone-hierarchy constraints, HypSeek substantially outperforms Euclidean baselines on both virtual screening and fine-grained affinity ranking while retaining fast inference.

What Problem Does This Paper Address?

In computational drug discovery, models typically tackle two related but distinct tasks:

  1. Virtual Screening: Searching massive, billion-scale compound libraries to find molecules likely to bind a target protein.
  2. Affinity Ranking: Sorting a smaller set of candidate binders by actual binding potency.

Dense retrieval frameworks (like DrugCLIP) map molecules and protein pockets into a shared Euclidean vector space, enabling lightning-fast similarity search via inner products. However, Euclidean space grows linearly with distance, forcing structurally similar molecules to cluster closely together. This creates a severe blind spot for activity cliffs—scenarios where two almost identical molecules exhibit 10- to 100-fold differences in binding affinity. Standard Euclidean embeddings compress these critical functional variations.

Methods

HypSeek formulates protein–ligand retrieval in the Lorentz model ($\mathbb{L}^n$) of hyperbolic space (constant negative curvature $-\kappa$).

  • Three-Tower Architecture:
  • Two SE(3)-equivariant 3D graph transformers encode the protein pocket ($g_\phi$) and ligand ($f_\theta$).
  • A pre-trained ESM-2 model encodes the full protein sequence ($h_\psi$) to provide global sequence context.
  • Outputs are lifted from Euclidean space into $\mathbb{L}^n$ using the Riemannian exponential map $\exp_{\mathbf{0}}^\kappa$.
  • Geometric & Ranking Objectives:
  • Contrastive & Listwise Ranking: Symmetric InfoNCE loss pairs active binders with targets, and a Plackett–Luce listwise ranking loss models relative affinity ordering within assays.
  • Cone–Hierarchy Loss ($\mathcal{L}_{\text{cone}}$): Each protein pocket defines an admissible cone half-aperture angle $\omega_i$. Ligands are split into affinity tiers ($b_{i,j}$) based on measured strength. The loss penalizes violations in both hyperbolic radial depth ($r_{i,j}$) and exterior angle ($\phi_{i,j}$), forcing high-affinity binders into tight, well-defined sectors while pushing weak binders outward.
  • Regularization: An angular margin penalty ($\mathcal{R}_{\text{ang}}$) prevents collapse, and intra-assay re-weighting ($\mathcal{R}_{\text{het}}$) handles assay heterogeneity.
  • Inference Scalability: During inference, only the spatial components of the hyperbolic embeddings are used, preserving fast, billion-scale screening via standard inner products without geodesic overhead.
       [Protein Sequence] ----> ESM-2 --------+
                                              |
[Protein Pocket Structure] ----> 3D Graph TX --+--> [Lorentz Hyperbolic Space]
                                              |     - Contrastive + Listwise Losses
       [Ligand Structure] ----> 3D Graph TX --+     - Hyperbolic Cone-Hierarchy Loss

Datasets

  • Training: Curated assay-level datasets derived from ChEMBL, BindingDB, and PDBbind (following LigUnity's setup), with strict UniProt ID exclusions against test sets.
  • Virtual Screening Evaluation:
  • DUD-E: 102 protein targets tested against property-matched decoys.
  • LIT-PCBA: 15 targets featuring over 400K experimentally verified inactives, representing an unbiased, real-world screening distribution.
  • Affinity Ranking Evaluation:
  • JACS: 8 high-quality congeneric series from real lead optimization projects.
  • Merck: Large-scale benchmark of diverse chemical scaffolds with higher experimental noise.

No new datasets were introduced; established public benchmarks were used for standard comparison.

Key Insights and Ideas

  • Exponential Separation of Similar Molecules: In hyperbolic space, geodesic distance grows exponentially relative to angular separation at depth: $$d_{\mathbb{H}}(\exp_o(v_1), \exp_o(v_2)) \approx \frac{\sinh r}{\sqrt{\kappa}} \theta + \mathcal{O}(\theta^3)$$ This allows subtle functional shifts (small angular deviations $\theta$) in similar molecules to produce massive separation distances without distorting structural representations.

  • Radial Depth Tracks Affinity: Hyperbolic space inherently models hierarchy. By mapping binding strength to radial and angular cones, high-affinity molecules sit reliably along distinct geometric trajectories.

  • Resolving Activity Cliffs: In tests on 21 cross-target activity cliff pairs (ECFP similarity $> 0.60$ but large binding free-energy gaps $\Delta G$), Euclidean models yielded negligible score gaps ($< 0.05$), whereas HypSeek separated them by an order of magnitude, consistently assigning higher scores to the true binder even when physics-based FEP+ failed.

Key Results

  • Virtual Screening:
  • On DUD-E, HypSeek achieved an early enrichment $\text{EF}_{1\%}$ of 51.44 (vs. 42.63 for previous best LigUnity, a +20.7% gain) and $\text{BEDROC}_{80.5}$ of 0.7892 (vs. 0.6526).
  • In fine-tuning evaluation on DUD-E, HypSeek reached $\text{RE}_{0.5\%} = \mathbf{137.15}$, outperforming few-shot DrugCLIP ($\text{RE}_{0.5\%} = 118.10$).
  • On LIT-PCBA, it led all benchmarks with an AUROC of 0.6210 and $\text{EF}_{1\%}$ of 6.81.
  • Affinity Ranking:
  • On JACS, HypSeek achieved a mean Spearman $\rho = \mathbf{0.7239}$ and ensemble $\rho = \mathbf{0.7819}$, rivaling expensive physics-based simulations ($\text{FEP}^+ = 0.7595$) and outperforming all deep learning baselines.
  • On Merck, HypSeek (ensemble) led all non-physics methods with Pearson $r = \mathbf{0.6120}$ and Spearman $\rho = \mathbf{0.5447}$.

Limitations and Future Work

  • Branch Asymmetry: Geometric hyperbolic regularizations were applied only to the pocket–ligand branch; the sequence encoder served only as an auxiliary signal without participating in hyperbolic supervision.
  • Curvature Parameter: The curvature parameter $\kappa$ was kept fixed at 1 throughout training; learning an adaptive curvature per target or family remains unexplored.
  • Single-Seed Ablations: Due to computational cost, ablation experiments were restricted to single random seeds.
  • True Multi-Conformational Ensembles: While one pocket structure is sampled per training iteration from candidate structures, full dynamic conformational ensembles were not explicitly modeled.

Summary updated

BibTeX
@inproceedings{wang2025learning,
  author = {Jianhui Wang and Wenyu Zhu and Bowen Gao and Xin Hong and Ya-Qin Zhang and Wei-Ying Ma and Yanyan Lan},
  title = {{Learning Protein-Ligand Binding in Hyperbolic Space}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=pn91yqEgkd},
}
Figure