TopoBench: A Framework for Benchmarking Topological Deep Learning

Lev Telyatnikov, Guillermo Bernardez, Marco Montagna, Mustafa Hajij, Martin Carrasco, Pavlo Vasylenko, Mathilde Papillon, Ghada Zamzmi, Michael T Schaub, Jonas Verhellen, Pavel Snopov, Bertran Miquel-Oliver, Manel Gil-Sorribes, Alexis Molina, Victor Guallar, Theodore Long, Julian Suk, Patryk Rygiel, Alexander V Nikitin, Giordan Escalona, Michael Banf, Dominik Filipiak, Liliya Imasheva, Max Schattauer, Alvaro L. Martinez, Halley Fritze, Marissa Masden, Valentina Sánchez, Manuel Lecha, Andrea Cavallo, Claudio Battiloro, Matthew Piekenbrock, Mauricio Tec, George Dasoulas, Nina Miolane, Simone Scardapane, Theodore Papamarkou

TL;DR

Topological Deep Learning (TDL) is a rapidly growing field, but a lack of standardization makes it hard to compare models and reproduce results. This paper introduces TopoBench, an open-source, modular framework that standardizes TDL pipelines from data handling to model evaluation, enabling robust benchmarking and accelerating research.

What Problem Does This Paper Address?

Geometric Deep Learning (GDL) has shown great success with graph neural networks (GNNs) for relational data. However, graphs primarily capture pairwise relationships, which is insufficient for complex systems where interactions involve more than two entities (e.g., social groups, molecular interactions). Topological Deep Learning (TDL) addresses this by using higher-order topological structures like simplicial and cell complexes. Despite TDL's promise, the field faces challenges: a lack of standardized benchmarking practices, difficulty in reproducing experiments, and a need for systematic comparative evaluations of Topological Neural Networks (TNNs). This makes it hard to assess the true performance and advantages of different TDL models.

Methods

TopoBench tackles these challenges by providing a modular and unified framework for TDL research. Its core components include:

  • Data Modules: Handling data loading, transformations (including "lifting" between topological domains), preprocessing, and batch generation.
  • Model Modules: Encapsulating neural network components like encoders, backbones (TNNs), and readout layers. It supports integration of existing TNNs from libraries like TopoX.
  • Training and Communication Modules: Leveraging PyTorch Lightning for automated training, validation, and testing, with support for callbacks and logging.

A key innovation is the lifting mechanism, which allows mapping data from simpler domains (like graphs) to richer higher-order topological domains (simplicial, cell complexes, hypergraphs). This enables richer data representations and more nuanced analyses. TopoBench also provides a comprehensive suite of datasets and implements standardized evaluation metrics.

Datasets

TopoBench supports a wide range of datasets, categorized as:

  • Graph-based datasets: Including citation networks (Cora, Citeseer, PubMed), heterophilous datasets (Amazon Ratings, Roman Empire), and molecular datasets (MUTAG, PROTEINS, ZINC).
  • Higher-order interaction datasets: These are often derived from graph datasets through lifting mechanisms. Examples include hypergraph citation networks (Cora-Cocitation, etc.) and simplicial complex datasets like MANTRA (surface triangulations).

The framework facilitates the integration of custom datasets through a simple interface.

Key Insights and Ideas

  • Standardization is Crucial: The lack of a unified framework hinders progress in TDL. TopoBench provides this much-needed standardization.
  • Lifting is Powerful: Mapping graph data to higher-order topological domains (simplicial, cell complexes, hypergraphs) unlocks richer representations and leads to better performance, especially for tasks that inherently involve multi-way interactions.
  • Higher-Order Models Outperform: In many cross-domain comparisons, TNNs (models designed for higher-order structures) achieve superior performance compared to traditional GNNs, particularly on tasks that benefit from capturing complex relational patterns.
  • Efficiency Trade-offs: While TNNs offer performance gains, they can be less efficient in terms of memory and computation compared to GNNs, highlighting an area for future optimization.

Key Results

TopoBench was used to benchmark 12 TNNs across four domains (graphs, hypergraphs, simplicial, cell complexes) on various tasks (node/graph classification/regression).

  • Performance Gains: Higher-order neural networks (based on hypergraphs, simplicial, and cell complexes) achieved the best performance on 15 out of 22 datasets, while GNNs performed best on 6.
  • Node Regression: GNNs showed a slight edge in node regression tasks.
  • Ablation Study: An ablation study on readout strategies (Direct Readout vs. Signal Down-Propagation) showed that the optimal strategy depends on how models propagate signals internally, with SDP often benefiting models that don't directly update node representations.
  • Scalability Issues: OOM (Out of Memory) errors were observed when lifting large, densely connected graphs to higher-order domains, indicating scalability challenges with certain lifting strategies.

Limitations and Future Work

The authors acknowledge several limitations and suggest future directions:

  • Learnable Liftings: TopoBench currently supports fixed liftings. Developing learnable lifting mechanisms would allow for task-specific topological representations learned dynamically from data.
  • Scarcity of Real-World Higher-Order Datasets: While TopoBench includes many datasets, there's a need for more standardized, real-world higher-order datasets.
  • Scalability of Liftings: OOM errors highlight the need for more scalable lifting strategies, especially for large graphs.
  • Evaluation Metrics: Expanding evaluation metrics beyond classification/regression to include measures of expressivity, explainability, and fairness is a promising avenue.
  • Community Contributions: The modular design encourages contributions for new learnable liftings, datasets, and performance metrics.
  • Efficiency Improvements: Exploring strategies like input graph pruning, scalable lifting mechanisms, and mini-batching for higher-order structures could mitigate efficiency concerns.

Summary updated

BibTeX
@inproceedings{telyatnikov2025topobench,
  author = {Lev Telyatnikov and Guillermo Bernardez and Marco Montagna and Mustafa Hajij and Martin Carrasco and Pavlo Vasylenko and Mathilde Papillon and Ghada Zamzmi and Michael T Schaub and Jonas Verhellen and Pavel Snopov and Bertran Miquel-Oliver and Manel Gil-Sorribes and Alexis Molina and VICTOR GUALLAR and Theodore Long and Julian Suk and Patryk Rygiel and Alexander V Nikitin and Giordan Escalona and Michael Banf and Dominik Filipiak and Liliya Imasheva and Max Schattauer and Alvaro L. Martinez and Halley Fritze and Marissa Masden and Valentina Sánchez and Manuel Lecha and Andrea Cavallo and Claudio Battiloro and Matthew Piekenbrock and Mauricio Tec and George Dasoulas and Nina Miolane and Simone Scardapane and Theodore Papamarkou},
  title = {{TopoBench: A Framework for Benchmarking Topological Deep Learning}},
  booktitle = {Accepted by DMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=07sTzyEVtY},
}
Figure