Molecular Machine Learning Using Euler Characteristic Transforms

Víctor Toscano-Durán, Florian Rottach, Bastian RieckarXiv 2025 · DOI

Introduction

In the domain of drug discovery, a molecule's geometric and topological properties are fundamental to its biological activity. Small variations in molecular shape can significantly alter binding affinities, determining whether a compound is a viable therapeutic or biologically inert. While traditional machine learning (ML) approaches have made strides in molecular property prediction, they often struggle to capture the multiscale "shape-ness" of molecules. Toscano-Duran et al. address this by introducing the Euler Characteristic Transform (ECT), a multiscale topological descriptor derived from algebraic topology, to enhance molecular representations.

The Challenge of Molecular Shape Representation

Predicting protein-ligand binding affinity (typically measured by the inhibition constant, $K_i$) is a central task in computational chemistry. Current methodologies generally fall into two categories:

  1. Molecular Fingerprints: These are bit-strings (e.g., AVALON, Morgan) that encode the presence or absence of specific chemical substructures. While computationally efficient, they are often "blind" to the global geometric arrangement of these fragments.
  2. Graph Neural Networks (GNNs): These models learn representations directly from the molecular graph. Despite their theoretical power, GNNs can be prone to overfitting on sparse biomedical datasets and may fail to explicitly capture higher-order topological features.

The primary gap is the lack of a multiscale shape representation that can bridge the divide between local atomic features and global molecular architecture.

Methodology: The Euler Characteristic Transform

The researchers propose the ECT as a robust topological signature. The process involves several key steps:

1. Filtration

A molecular graph is "filtered" based on node-level features such as atomic weight, partial charge, or electronegativity. As a threshold $t$ increases, nodes and their corresponding edges are added to the representation if their feature values are less than or equal to $t$.

Molecular graph with nodes colored by their filtration values.

2. Calculating the Euler Characteristic ($\chi$)

At each threshold $t$, the Euler characteristic of the resulting subgraph is calculated. For a graph, $\chi = V - E$, where $V$ is the number of vertices and $E$ is the number of edges. This value serves as a summary of the "connectedness" and presence of cycles within the molecule at that specific scale.

Euler Characteristic Curve showing the evolution of topological features across thresholds.

3. The Transform and Hybridization

The filtration is repeated across 158 different "directions" in the feature space, creating a collection of curves that form a high-dimensional descriptor (2528 dimensions). To maximize predictive power, the authors hybridized this topological descriptor with the AVALON fingerprint, combining global shape information with traditional chemical substructure data. This combined vector is then processed using an XGBoost regressor.

Experimental Results

The method was evaluated on nine benchmark regression datasets from BindingDB, encompassing 16,558 unique molecules across various protein targets (e.g., JAK1, JAK2, DPP4).

Key Findings

  • Superior Performance: The hybrid ECT + AVALON model achieved the lowest Root Mean Squared Error (RMSE) on 5 out of 9 individual datasets and performed best on the combined dataset.
  • Robustness over GNNs: Surprisingly, standard GNN architectures (GAT, GCN, AttentiveFP) were consistently outperformed by the ECT-XGBoost pipeline. This suggests that explicit topological features are more effective than learned graph representations in data-constrained biomedical contexts.
  • Efficiency: Training the XGBoost models on ECT features was significantly faster (10–20 seconds per iteration) compared to GNNs (40–100 seconds), without sacrificing accuracy.
  • Complementarity: Sensitivity analysis confirmed that the ECT captures information distinct from traditional fingerprints, as the hybrid model consistently outperformed models using either feature set alone.

Conclusion and Future Directions

The Euler Characteristic Transform provides a powerful, multiscale lens for viewing molecular structure. By translating complex topology into a fixed-length vector, it enables standard ML algorithms to "see" molecular shape more clearly. Future work aims to extend this framework to 3D spatial coordinates and explore data-adaptive strategies for selecting optimal filtration directions, potentially further refining the accuracy of binding affinity predictions.

Summary updated

BibTeX
@misc{toscanoduran2025molecular,
  author = {Víctor Toscano-Durán and Florian Rottach and Bastian Rieck},
  title = {{Molecular Machine Learning Using Euler Characteristic Transforms}},
  year = {2025},
  eprint = {2507.03474},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.03474},
}
Figure