The Logical Expressiveness of Topological Neural Networks

Amirreza Akbari, Amauri H Souza, Vikas K GargICLR 2026

Introduction

Graph Neural Networks (GNNs) are the workhorses of relational learning, but they have a well-known "glass ceiling": most are no more powerful than the 1-Weisfeiler-Leman (1-WL) isomorphism test. This means they struggle to distinguish basic structural features like cycles or connected components.

Topological Neural Networks (TNNs) have emerged as a more powerful alternative. Instead of just looking at nodes and edges, TNNs operate on combinatorial complexes—structures that include hypergraphs and simplicial complexes—allowing them to model higher-order interactions (like the relationship between three people in a group, rather than just three separate pairs).

However, until now, we lacked a formal theory to describe the "logical expressiveness" of TNNs. We knew they were more expressive than standard GNNs, but we didn't know exactly which functions or classifiers they could represent. This paper fills that gap, providing the theoretical foundation needed to understand the representational limits of higher-order topological learning.

Methodology

The authors bridge three different fields to create a unified theory of expressiveness for TNNs:

  1. Algorithmic ($k$-CCWL): They introduce the $k$-dimensional Combinatorial Complex Weisfeiler-Leman test. This is a generalization of the $k$-WL test used for graphs, adapted to the multi-level structure of combinatorial complexes. A key novelty is the "double shift sequence," which tracks two substitutions per position during the refinement process.
Initialization and refinement update in the k-CCWL test
  1. Logical ($TC_k$): They define Topological Counting Logic. While standard counting logic counts single variables, $TC_k$ introduces a pairwise counting quantifier $\exists^N(x_i, x_j)$. This reflects how TNNs aggregate information: often, the relationship between two cells is mediated by a third (e.g., two edges sharing a vertex).
  2. Game-Theoretic: They develop the Topological $k$-pebble game, a "Spoiler vs. Duplicator" game where players move pebbles on two different complexes. If the Duplicator has a winning strategy, the two complexes are indistinguishable by the logic.

Key Findings

The paper's crowning achievement is proving that these three perspectives are exactly equivalent, establishing a formal "triad" of logical expressiveness for TNNs.

The equivalence triad between graphs and abstract combinatorial complexes (ACCs)
  • The Equivalence Theorem: The paper rigorously proves that $\text{k-CCWL} \equiv \text{TC}_{k+2} \equiv \text{Topological } (k+2)\text{-pebble game}$.
  • The $+2$ Correspondence: In standard graph theory, $k$-WL corresponds to $(k+1)$-variable logic. In the topological setting, the authors prove that $k$-CCWL corresponds to $TC_{k+2}$. This "extra" variable requirement stems from the fact that TNNs inherently process pairs of relational signals during their update steps.
  • Strict Hierarchy & Separation Power: The authors prove that the expressiveness of TNNs forms a strict hierarchy. Increasing $k$ (the dimension of the tuples being processed) strictly increases the types of topological structures the network can distinguish. For every $k$, there exist complexes that $k$-CCWL can distinguish but $(k-1)$-CCWL cannot.
  • GNN Subsumption: They show that 1-CCWL is at least as powerful as most existing message-passing TNNs (like CW Networks and Simplicial Neural Networks) and higher-order GNNs.

Limitations and Future Work

Like all finite-variable logics, $TC_k$ (for a fixed $k$) cannot capture global properties that require looking at the entire complex at once, such as connectivity or the existence of a Hamiltonian path. The authors acknowledge that TNNs still have "blindspots" regarding very large cycles or voids that exceed the "radius" of the $k$-variable logic.

Future directions include exploring how these results apply to specific, more restricted TNN architectures and investigating the trade-offs between the theoretical power of $k$-CCWL and the computational cost of implementing it in practice.

Summary updated

BibTeX
@inproceedings{akbari2026logical,
  author = {Amirreza Akbari and Amauri H Souza and Vikas K Garg},
  title = {{The Logical Expressiveness of Topological Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=8w8jzJXjhj},
}
Figure