Cell Complex Neural Networks

Mustafa Hajij, Kyle Istvan, Ghada Zamzmi

TL;DR

Standard Graph Neural Networks (GNNs) are fundamentally limited to pairwise interactions between vertices, missing higher-order structural relationships. This paper introduces Cell Complex Neural Networks (CXNs), a generalized topological deep learning framework that extends message passing to regular cell complexes—spaces composed of vertices, edges, 2D polygons, and higher-dimensional cells. Alongside CXNs, the authors formulate a generalized convolutional architecture (CCXN) and an encoder-decoder framework (cell2vec) that extends node2vec to higher dimensions.

What Problem Does This Paper Address?

While graph neural networks (GNNs) are widely successful, graphs only capture pairwise, dyadic relationships via edges. Real-world structural domains—such as 3D polygonal meshes in computer-aided design (CAD), molecular complexes, and hierarchical relational reasoning—contain multidimensional and multi-way geometric relationships.

Simplicial complexes generalize graphs by adding triangles and tetrahedra, but they are rigid: every $k$-simplex must have a fixed number of boundaries (e.g., all 2-faces must be triangles). This makes them unnatural and computationally wasteful for quad meshes, general polygons, or hierarchical language/knowledge representation.

The authors address this by stepping up to regular cell complexes, which allow $k$-dimensional cells to have an arbitrary number of $(k-1)$-dimensional boundary cells (e.g., pentagons, hexagons, or arbitrary polygons as 2-cells).

Methods

The paper develops the mathematical and computational mechanics to perform deep learning directly on cell complexes:

  • Topological Adjacency and Coadjacency:
  • Two $n$-cells are adjacent if they share a common $(n+1)$-dimensional cofacet (e.g., two vertices connected by an edge, or two edges bounding a common polygon).
  • Two $n$-cells are coadjacent if they share a common $(n-1)$-dimensional facet (e.g., two polygons sharing an edge).
  • Inter-Cellular Message Passing (CXN): A recursive neighborhood aggregation scheme across dimensions. Feature vectors are iteratively aggregated using permutation-invariant functions across adjacent cells, conditioned on intermediate bounding cells. The authors define both bottom-up (low-to-high) and top-down (co-adjacency) information propagation schemes, as well as passing schemes based on algebraic boundary/coboundary maps ($\partial_k$ and $\partial_k^*$).
  • Convolutional Cell Complex Networks (CCXN): A direct generalization of Kipf & Welling's Graph Convolutional Networks (GCN). Using normalized adjacency matrices defined across cells: $$\mathbf{H}^{(k)} := \text{ReLU}\left(\mathbf{\tilde{D}}_{\text{adj}}^{-1/2} \mathbf{\tilde{A}}_{\text{adj}} \mathbf{\tilde{D}}_{\text{adj}}^{-1/2} \mathbf{H}^{(k-1)} \mathbf{W}^{(k-1)}\right)$$
  • Cell Complex Autoencoders (CXNA) & cell2vec: An encoder-decoder framework mapping cell features to Euclidean vectors. Using random walks across adjacent/coadjacent cells, they generalize node2vec and DeepWalk to learn representations of higher-dimensional cells (cell2vec).

Datasets

Not discussed in the paper. The paper is a theoretical and conceptual framework proposal; no experimental evaluations or benchmark datasets are included.

Key Insights and Ideas

  • Beyond Dyadic and Simplicial Constraints: Cell complexes accommodate irregular discrete structures (such as quad meshes in graphics or sentences within paragraphs in NLP) without forcing artificial triangulation, which dramatically reduces cell counts and computational overhead.
  • Hierarchical Relational Reasoning: Instead of shallow edge connections, cell complexes can naturally represent relationships between relations (e.g., edges form relational entities, and 2-cells define meta-relations among edges).
  • Oriented vs. Non-Oriented Awareness: The message-passing formulas handle both unoriented complexes and oriented topological spaces using sign-preserving boundary operators ($\partial_k \in \{0, \pm 1\}$).
  • Drop-in Implementation via Sparse Adjacency: Because message passing is structured using generalized block adjacency and incidence matrices, it can be implemented directly using standard sparse tensor operations in existing GNN libraries like PyTorch Geometric.

Key Results

Because this is a theoretical workshop paper introducing the formalism:

  • Theoretical Generalization: The authors formally demonstrate that standard GNNs, GCNs, and graph embedding algorithms (node2vec, DeepWalk, Laplacian Eigenmaps) are exact 1-dimensional special cases of CXNs and CXNAs.
  • Mathematical Formulations: Concrete forward-propagation rules are derived for edge/face/cell message passing, convolutional operations with renormalization tricks, and random-walk loss functions on cell complexes.

Limitations and Future Work

  • Lack of Empirical Validation: The paper does not provide empirical results, speed comparisons, or benchmark evaluations demonstrating downstream performance on real-world datasets.
  • Computational Scaling: While cell complexes reduce the combinatorial explosion of simplicial complexes, computing and storing higher-order incidence and boundary matrices for massive meshes or hypergraphs remains a potential memory bottleneck.
  • Proposed Future Directions:
  • Evaluating CXNs on discrete 3D shape similarity and topological classification (where standard GNNs struggle with graph isomorphism limitations).
  • Applying cell complexes to NLP embeddings, where words form 0-cells, adjacency forms 1-cells, sentences form 2-cells, and paragraphs form 3-cells.

Summary updated

BibTeX
@inproceedings{hajij2020cell,
  author = {Mustafa Hajij and Kyle Istvan and Ghada Zamzmi},
  title = {{Cell Complex Neural Networks}},
  booktitle = {TDA and Beyond @ NeurIPS},
  year = {2020},
  url = {https://openreview.net/forum?id=6Tq18ySFpGU},
}
Figure