Topologically Attributed Graphs for Shape Discrimination

Justin Curry, Washington Mio, Tom Needham, Osman Berat Okutan, Florian Russold

Abstract

In this paper we introduce a novel family of attributed graphs for the purpose of shape discrimination. Our graphs typically arise from variations on the Mapper graph construction, which is an an approximation of the Reeb graph for point cloud data. Our attributions enrich these constructions with (persistent) homology in ways that are provably stable, thereby recording extra topological information that is typically lost in these graph constructions. We provide experiments which illustrate the use of these invariants for shape representation and classification. In particular, we obtain competitive shape classification results when using our topologically attributed graphs as inputs to a simple graph neural network classifier.

Introduction

Shape discrimination in Topological Data Analysis (TDA) has traditionally relied on two distinct types of summaries: graphical skeletons like Mapper or Reeb graphs, and multi-scale persistence diagrams. While Mapper graphs capture global connectivity, they often discard fine-grained geometric details. Conversely, persistence diagrams track the birth and death of topological features across scales but lose the global spatial context. This paper introduces Topologically Attributed Graphs (TAGs), a framework that unifies these approaches by "decorating" graphical summaries with local persistence information, creating a stable and highly discriminative representation for 3D shapes.

Methods: Decorated Mapper and Reeb Graphs

The core contribution is the construction of Decorated Mapper Graphs (DMGs) and Decorated Reeb Graphs (DRGs). The process begins with a standard Mapper construction, where a dataset is partitioned based on a filter function (e.g., height or distance).

Figure 1: Conceptual construction of a Topologically Attributed Graph on a torus. The space is partitioned into overlapping regions, forming a Mapper graph where nodes are attributed with topological information.

Instead of merely recording connectivity, each node and edge in the resulting graph is "decorated" with a persistence diagram that captures the local topology of that specific segment. This ensures that the "topological texture" within global structures is preserved.

Figure 3: The pipeline for generating a TAG from a point cloud (a). The point cloud is summarized as a graph (b), where specific nodes are attributed with persistence diagrams (c) that represent the local topology of the corresponding data patches.

To ensure these features are reliable for machine learning, the authors provide stability proofs using category theory, demonstrating that small input noise does not lead to significant changes in the resulting graph. For classification, these persistence diagrams are vectorized and used as node features in a Graph Neural Network (GNN).

Experimental Results

The effectiveness of TAGs was evaluated on benchmarks including ModelNet10 and SHREC14.

  • Performance and Efficiency: On ModelNet10, the DRG-based approach achieved 87.11% accuracy. While slightly lower than PointNet's 89.43%, the TAG-based GNN was significantly more efficient, requiring only 209,162 parameters compared to PointNet's 3.4 million. Training time was reduced from 12 hours to just 10 minutes.
  • Sample Efficiency: In data-scarce scenarios (using only 10% of training data), the performance gap between TAGs and PointNet vanished. This suggests that the geometric prior knowledge baked into TAGs makes them more robust when labels are limited.

Conclusion

Topologically Attributed Graphs provide a "best of both worlds" solution for shape analysis, combining global structure with local topological detail. By shifting the burden of feature extraction to TDA, the method allows for simpler, faster, and more parameter-efficient neural network architectures. Future work includes learning optimal filter functions and further exploring the sheaf-theoretic properties of these decorated graphs.

Summary updated

BibTeX
@inproceedings{curry2023topologically,
  author = {Justin Curry and Washington Mio and Tom Needham and Osman Berat Okutan and Florian Russold},
  title = {{Topologically Attributed Graphs for Shape Discrimination}},
  booktitle = {TAG-ML},
  year = {2023},
  url = {https://openreview.net/forum?id=qpgw6fstTW},
}
Figure