From Latent Graph to Latent Topology Inference: Differentiable Cell Complex Module

Claudio Battiloro, Indro Spinelli, Lev Telyatnikov, Michael M. Bronstein, Simone Scardapane, Paolo Di Lorenzo

Abstract

Latent Graph Inference (LGI) has traditionally focused on learning pairwise interactions (edges) to improve Graph Neural Network (GNN) performance. However, these methods often assume a pre-existing graph and are limited to regular topologies. We propose Latent Topology Inference (LTI) to learn higher-order cell complexes that capture multi-way interactions. Our core contribution, the Differentiable Cell Complex Module (DCM), uses a two-step inference procedure to efficiently learn sparse, non-regular topologies. By integrating DCM with cell complex message passing, we achieve state-of-the-art results on both homophilic and heterophilic datasets, particularly when an input graph is unavailable.

Introduction: Beyond Pairwise Interactions

Standard GNNs rely on a fixed input graph, which is often noisy or entirely missing in real-world applications. While LGI techniques attempt to learn this graph dynamically, they are typically biased toward pairwise relationships and regular structures. This paper introduces a shift toward learning Cell Complexes—topological structures that explicitly model nodes (0-cells), edges (1-cells), and polygons (2-cells). This allows for the representation of complex multi-way interactions that simple graphs cannot capture.

The Differentiable Cell Complex Module (DCM)

The DCM is designed to learn a latent topology end-to-end. To maintain scalability and avoid exhaustive searches over all possible higher-order structures, the module employs a two-step inference process.

The end-to-end pipeline of DCM, transforming unstructured data into a learned cell complex for downstream tasks.

Two-Step Inference Procedure

  1. $\alpha$-Differentiable Graph Module ($\alpha$-DGM): This stage learns the 1-skeleton (the graph). By utilizing the $\alpha$-entmax function instead of standard softmax, the model can produce truly sparse and non-regular graphs. This sparsity is crucial for preventing over-smoothing and allowing for varying node degrees.
  2. Polygon Inference Module (PIM): Building upon the learned graph, the PIM identifies induced cycles and learns which ones should be "filled" as 2-cells (polygons) to optimize the downstream task.

Message Passing and Architecture

The DCM integrates these learned structures into a Cell Complex Neural Network (CCNN) framework. Information is passed not just between nodes, but across different dimensions of the complex (nodes to edges, edges to polygons, and vice versa).

Detailed DCM architecture showing the flow between node-level and edge-level message passing via uplift and downlift operations.

As shown in the architecture above, the model utilizes "Uplift" operations to move features from nodes to higher-order cells and "Downlift" operations to aggregate information back down. This bidirectional flow allows the network to reason about the global topology it has discovered.

Experimental Evaluation

The DCM was tested on a variety of benchmarks, including homophilic (e.g., Cora, PubMed) and heterophilic (e.g., Texas, Wisconsin, Squirrel, and Chameleon) datasets.

Key Results

  • Performance Gains: DCM consistently outperforms existing LGI models like DGM-E and DGM-M.
  • Heterophilic Robustness: On the Texas dataset, DCM achieved a 20% accuracy improvement over models using the original graph. It successfully learned a latent homophilic structure from heterophilic data, effectively "unscrambling" the relationships.
  • Learning from Scratch: In "w/o graph" settings, DCM often surpassed standard GCNs that had access to the original graph, demonstrating that the learned latent topology can be superior to human-provided structures.

Conclusion and Future Directions

The Differentiable Cell Complex Module represents a significant step forward in topological deep learning by making the inference of higher-order structures differentiable and scalable. While currently focused on 2D polygons, future work could extend this to higher-dimensional polyhedra or directed structures like cellular sheaves. The ability to treat the very shape of data as a latent variable opens new avenues for robust representation learning in unstructured domains.

Summary updated

Abstract

Latent Graph Inference (LGI) relaxed the reliance of Graph Neural Networks (GNNs) on a given graph topology by dynamically learning it. However, most of LGI methods assume to have a (noisy, incomplete, improvable, ...) input graph to rewire and can solely learn regular graph topologies. In the wake of the success of Topological Deep Learning (TDL), we study Latent Topology Inference (LTI) for learning higher-order cell complexes (with sparse and not regular topology) describing multi-way interactions between data points. To this aim, we introduce the Differentiable Cell Complex Module (DCM), a novel learnable function that computes cell probabilities in the complex to improve the downstream task. We show how to integrate DCM with cell complex message passing networks layers and train it in a end-to-end fashion, thanks to a two-step inference procedure that avoids an exhaustive search across all possible cells in the input, thus maintaining scalability. Our model is tested on several homophilic and heterophilic graph datasets and it is shown to outperform other state-of-the-art techniques, offering significant improvements especially in cases where an input graph is not provided.
BibTeX
@inproceedings{battiloro2024from,
  author = {Claudio Battiloro and Indro Spinelli and Lev Telyatnikov and Michael M. Bronstein and Simone Scardapane and Paolo Di Lorenzo},
  title = {{From Latent Graph to Latent Topology Inference: Differentiable Cell Complex Module}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=0JsRZEGZ7L},
}
Figure