Topological Deep Learning

Research
Introduced by
Topological deep learning literature
Year
2023
Type
Higher-order message-passing framework
Family
Topological learning

What does it do?

Topological Deep Learning (TDL) is a framework that extends neural networks beyond graph data to higher-order topological domains such as simplicial complexes, cell complexes, and hypergraphs.

Hajij et al. provide a unified formulation of message passing across cells of different ranks, so that models can represent multi-way interactions that pairwise graph edges cannot express. It is most relevant to researchers whose data contain group-level dependencies, geometric structure, or relations among more than two entities.

The intuition behind the method

Standard graph neural networks pass messages along edges, and an edge can only describe a relationship between two entities. Many datasets involve groups of three or more entities acting together, such as a set of co-authors on one paper or a triangle of points on a surface mesh. TDL represents such data on a topological structure in which edges, triangles, and higher-dimensional cells each carry their own features. Messages can then move between nodes, edges, faces, and volumes, which gives the model access to relational structure that a plain graph does not record.

History

Neural models for simplicial complexes and hypergraphs were developed in separate lines of work before TDL was proposed. Hajij et al. introduced the term Topological Deep Learning and a common blueprint built from topological domains, neighborhood functions, and message-passing schemes, within which several earlier models can be described as special cases. The framework has since encouraged work on shared benchmarks and software for higher-order learning.

When to use it

Use TDL when the data contain genuine multi-way interactions that pairwise edges do not represent, for example group co-authorship, multi-entity interactions in a relational dataset, or features defined on triangulated geometric surfaces. The method assumes that the data carry meaningful higher-order structure and that the lifting map from raw data to a topological domain can be justified by domain knowledge, so the question of which subsets should form cells must have a clear answer. Avoid TDL when the data are purely pairwise, when the lifting would add structure that is not present in the data, or when computation is tightly limited, because the number of higher-order cells can grow rapidly with the size of the complex. For pairwise data, a graph neural network is the simpler choice; if only one level of group interaction matters, a hypergraph neural network may be enough. To check that higher-order cells add signal, compare against a graph neural network that uses the same input features, ablate the higher-rank channels, and test sensitivity to the lifting parameters.

Limitations and considerations

  • The number of higher-order cells can grow rapidly with the size of the complex, which raises memory and computation costs.
  • The lifting map from raw data to a complex is not canonical, and different choices can change downstream performance substantially.
  • Expressivity results analogous to Weisfeiler-Leman tests for higher-order domains are still an active area of research, so the theoretical limits of these models are not fully settled.
  • Software libraries and benchmark datasets for higher-order learning are less established than those for graph neural networks.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Represents multi-way interactions that graph-based message passing cannot encode directly.
  • Gives one formal framework that covers simplicial complexes, cell complexes, and hypergraphs.
  • Restricting messages to rank 0 and rank 1 recovers graph-style message passing, so graph models appear as a special case.
  • Allows topological information, such as features derived from persistent homology or the Mapper algorithm, to be incorporated into the model in a structured way.

Applications

  • Molecular modelling: representing interactions among groups of atoms as higher-order cells rather than only pairwise bonds.
  • Mesh processing: learning on triangulated surfaces where triangles and edges carry geometric features.
  • Recommendation: encoding group-level co-purchases or co-authorships as hyperedges.
  • Social network analysis: studying group structure that goes beyond pairwise ties.

How it works

How it works

1

Raw data (a point cloud, graph, or set of hyperedges) is first lifted into a chosen topological domain: a simplicial complex, a cell complex, or a hypergraph (which is treated as a separate domain type rather than a complex). This lifting map identifies which subsets of entities should form simplices, cells, or hyperedges, encoding the higher-order structure of the data before any learning begins.

Formula
\mathcal{X} \xrightarrow{\phi} \mathcal{T} \quad \text{where } \mathcal{T} \in \{\text{simplicial, cell, hypergraph complex}\}
2

Each cell at rank k aggregates feature information from its neighborhood. Neighborhoods are defined via boundary, co-boundary, or adjacency relations encoded in the combinatorial structure of the domain. The aggregation function is a learnable, permutation-invariant operation applied across all neighboring cells simultaneously.

Formula
h_{\sigma}^{(l+1)} = \text{AGG}\!\left(h_{\sigma}^{(l)},\, \bigoplus_{\tau \in \mathcal{N}(\sigma)} m_{\tau \to \sigma}^{(l)}\right)
3

Messages can flow both within the same rank (e.g., edge to edge) and across ranks (e.g., edge to triangle). Each message is computed from a learnable function of the sender and receiver features along with the appropriate adjacency or incidence matrix, allowing the network to integrate information at multiple topological scales.

Formula
m_{\tau \to \sigma}^{(l)} = \phi\!\left(h_{\tau}^{(l)},\, h_{\sigma}^{(l)},\, A_{\text{rank}(\tau),\, \text{rank}(\sigma)}\right)
4

After L rounds of message passing, a pooling or readout function aggregates cell-level representations across all ranks into a single task-level output. This pooled representation is then passed to a prediction head for node-level, edge-level, or complex-level tasks such as classification or regression.

Formula
\hat{y} = \text{READOUT}\!\left(\bigoplus_{k=0}^{K} \bigoplus_{\sigma \in \mathcal{T}_k} h_{\sigma}^{(L)}\right)

Common pitfalls

  • Lifting the data to an overly rich complex, for example by treating every clique as a simplex, can add many spurious higher-order cells and dominate computation without improving the model.
  • Comparing models that use different topological domain types (simplicial, cell, or hypergraph) without accounting for the domain type can make the comparison unfair or misleading.
  • Ignoring the orientation of simplices in simplicial complexes produces sign errors in boundary-operator-based message passing.
  • Replacing a graph neural network with a TDL model without checking that genuine higher-order interactions exist in the data may give no improvement.
  • Attributing a gain to topology without a control: higher-order models usually have more parameters and cells, so improvement may come from added capacity. Use a same-feature graph baseline with comparable capacity before drawing conclusions.

Frequently asked questions

How does TDL differ from a hypergraph neural network?

TDL treats hypergraphs as one topological domain among several (alongside simplicial and cell complexes) and describes message passing through explicit neighborhood functions, such as incidence and adjacency relations, between cells of different ranks. Many hypergraph neural networks work with a single node-hyperedge incidence structure and do not use a rank hierarchy, although some hypergraph models do use richer multi-level schemes. The practical difference is how much structure the model exploits, not the type of data it can in principle accept.

Can TDL be applied to standard graph datasets?

Yes. A graph is a 1-dimensional simplicial complex, so a TDL model that restricts messages to rank-0 and rank-1 cells reduces to a standard graph neural network. Practitioners sometimes apply a clique-lifting or Rips-complex construction to extend a graph dataset to a higher-order complex, but this adds computational cost and does not always improve accuracy.

Is there a universal lifting map from raw data to a topological complex?

No. Common choices include Vietoris-Rips or Čech complexes for point clouds, clique complexes for graphs, and task-specific hyperedge definitions for relational data. The lifting encodes domain knowledge as a design decision, and its choice can have a substantial effect on model performance.

Related methods

Sources

  1. Hajij, M., et al. (2023). Topological deep learning: Going beyond graph data. arXiv preprint.

    Open publication reference