arXiv:2610.01937cs.LGOct 2026

Manuscript Offprint

arXiv:2610.01937

Graph Representation via Elements of Discrete Morse and Cobordism Theories

Jennifer Rozenblit, Chenguang Yang, Yuxin Liu, Yuzhou Chen, Yulia Gel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Topology is, by its nature and design, suited to structure that is nonlinear, multiscale, and nonstationary - however, within machine learning, its use remains largely confined to topological data analysis. We advocate that tools from low-dimensional topology which have remained almost exclusively contained within the domain of pure mathematics (such as Morse theory and cobordism theory) offer a strong, complementary, and yet virtually unexplored perspective on the hidden structure of data-generating processes and learning tasks built upon them. Here we introduce concepts from cobordism theory and harness tools from discrete Morse theory to improve the performance of graph diffusion models. Further, we derive theoretical guarantees and sufficient conditions so that under a positive decision-gap, the Morse-theoretic tools and their application for induced diffusion guidance are stable under small perturbations. Finally, we illustrate the utility of cobordism and discrete Morse theory in application to graph diffusion models for spatio-temporal graph forecasting and graph regeneration, and argue that these applications are only a small window into the part of what low-dimensional topology can offer to the field of machine learning.

1 Introduction

In recent years, the use of theory from topology in machine learning has seen rapid growth, yet remains largely focused on tools from topological data analysis [10, 18]. We argue that cobordism and discrete Morse theory (which, with the exception of few studies on topological quantum field theory [1, 46]) remain almost exclusively confined within pure mathematics, but offer strong new complementary insights into learning latent data representations. To substantiate our claim, we show the utility of discrete Morse and cobordism theories via their application to graph diffusion.

Graph diffusion has recently emerged as a new powerful paradigm for graph generation, with applications ranging from new material design to traffic forecasting [8, 43, 57, 74]. However, prevailing graph diffusion approaches often struggle to preserve global structural organization such as cycles and higher-order motifs, particularly when trained with purely local objectives [67]. In turn, these often overlooked fundamental (or independent) features convey critical information on the underlying latent organization and functionality of the complex system, and play an important role in both spatiotemporal graph learning and graph regeneration. For example, in transportation systems, fundamental cycles can describe independent alternative traffic loops or determine robustness of traffic flow against disruptions. Moreover, because graphs are discrete combinatorial structures whose global topology can shift abruptly with even minor local modifications, denoising trajectories are often susceptible to what we call “topological drift”. Recent approaches on higher-order guided diffusion such as HOG-Diff [36] aim to address this gap by considering a coarse-to-fine curriculum based on cell-complex filtering. Although compelling, the resulting guidance is still effectively heuristic, as the diffusion process itself is still driven by 1-skeleton information, and higher-order structure is still used transiently as an ordering signal.

Instead, we choose to look at graph diffusion through a prism of intermediate structures derived from higher-order representations. Adopting a coarse-to-fine viewpoint, we ask a complementary question: what intermediate object most directly encodes topological events and guides future steps? To answer this question, we propose a discrete Morse skeleton that takes a graph G=(V,E)G = (V, E) and explicitly identifies critical cells (i.e., cells that characterize the fundamental topological structure or changes) and the gradient-respecting connectivity structure on G between them. We then use these two structures, together which form a topological skeleton, as the conditioning signal for diffusion.

To track fundamental structures and their associated topological changes, we invoke cobordism theory from low-dimensional topology (see [49] for background). Rather than studying spaces in isolation, cobordisms study the process by which one space transforms into another. This topological framing provides a pathway to address a key limitation of existing GDMs: their current treatment of generation as a sequence of purely local denoising steps, without explicitly modeling how global structure emerges, merges, or dissipates over time.

Intuitively, a cobordism can be viewed as a long-exposure photograph of a person walking across a room. Rather than capturing a single frozen moment, the image records the entire journey as a blurred light trail from start to finish. In this sense, a cobordism encodes an object changing through time; not a static snapshot, but the full trajectory itself (see Fig. 3). Where classical geometry studies objects at fixed moments, cobordisms study the transformation—the morphism—connecting one state to another. Crucially, not every point along this trajectory is equally significant, as certain moments, such as changes in direction or pauses before motion, mark meaningful transitions. Formally, a cobordism is a higher-dimensional object whose boundary consists of two lower-dimensional spaces, encoding an entire topology-changing trajectory between them (see Fig. 1b for a nontrivial cobordism between two trivial spaces).

We introduce this perspective into graph generation and graph diffusion; rather than viewing diffusion as a sequence of unrelated noise-removal steps, we interpret generation as a discrete cobordism (see Fig. 1a), where critical cells C represent fundamental topological events and gradient-respecting paths D between those cells represent the graph's fundamental skeleton S(G)=(C,D)\mathcal{S}(G) = (\mathcal{C}, \mathcal{D}). Discrete Morse theory makes this viewpoint fully combinatorial, where the cobordism is encoded by critical simplices and the directed structure induced by a discrete gradient vector field. This cobordism-based view explains why our intermediate object must encode more than persistence or filtration order in topological data analysis [9]. Persistence records when topological features appear and disappear, but not how they are connected by gradient flow. In particular, multiple discrete gradient vector fields may be compatible with the same filtration and induce identical persistence diagrams, while exhibiting distinct descending-manifold structures (further shown in Fig. 6 and Appx. J). This motivates the need for an intermediate object that captures both event timing and event connectivity; cobordism-aware structure retains precisely this missing information. Conditioning diffusion on such a structure therefore aligns the generative process with the true topology-changing process, rather than treating topology as an emergent side effect of local denoising.

Armed with the cobordism perspective, we introduce Morse-Guided Diffusion (MG-Diff), which extracts a discrete Morse skeleton from each graph and conditions a diffusion model on this skeleton. MG-Diff then yields an interpretable, sparse diffusion guide that explicitly encodes intra-

Figure

(a) Iterative perturbation as discrete cobordism sampling. Once the Morse skeleton (critical cells and their descending manifolds) is fixed, successive perturbations generate a sequence of graphs G0→G1→G2→⋯G_0 \to G_1 \to G_2 \to \cdots sharing identical Morse-theoretic structure. Each perturbation modifies only edges outside the skeleton (red and dotted), preserving the topological backbone. We can think of the process as sampling from time slices of a discrete cobordism WW: all GiG_i are cobordant via the identity on their shared Morse complex, realizing topology-preserving graph generation as traversal through a cobordism cylinder.

Nontrivial Cobordism W

between M0=∅M_{0} = \varnothing and M1=∅M_{1} = \varnothing

R

Figure

(b) Cobordism depiction. The torus T2T^{2} represents a nontrivial cobordism W between M0=∅M_{0} = \varnothing and M1=∅M_{1} = \varnothing. As we sweep through the Morse function f, the topology of level sets evolves: passing the index-0 critical point births a circle from the void, the first index-1 saddle splits this circle into two disjoint loops, the second saddle re-merges into one, and finally the index-2 maximum collapses the circle back to empty. This sequence of topological transitions (birth, splitting, merging, death) demonstrates how a cobordism can interpolate between boundary conditions while traversing rich intermediate topology.

and inter-graph topological events while also creating both constraints and freedom on admissible structural refinement steps. As Fig. 1a shows, each perturbation step to G can be viewed as an elementary cobordism that either preserves or changes the graph's topology [48]. We use the skeleton as a conditioning signal to bias the distribution toward trajectories that realize correct critical connectivity structure. We note that diffusion trajectories need not be monotone in any topological invariant, as edges may appear and disappear non-monotonically during denoising [39]. The main utility of the Morse skeleton is providing a useful conditioning signal by identifying points both within and between the changing topology of the graph that should remain stable within the topological structure of the final graph. In short, cobordism theory provides a mathematically principled answer to the question that diffusion models implicitly pose but do not explicitly address: what is the right way to think about a trajectory through state space that changes the topology of the object being generated?

Novelty of our contributions can be outlined as follows:

• We introduce a cobordism theory to ML, bringing a largely untapped body of low-dimensional topology from pure mathematics to graph diffusion.

• We provide an end-to-end implementation of Morse scaffold extraction and show how it integrates into a coarse-to-fine diffusion for topology-aware graph generation.

• Among other theoretical frameworks, we model skeleton extraction as a finite-comparison deterministic extractor yields a local stability result: when the relevant decision gaps are separated by

Figure

Figure 2: MG-Diff (left) vs. higher-order guided diffusion (right). MG-Diff identifies critical cells (red), computes descending manifolds (dotted), and perturbs outside these regions (blue). Higher-order diffusion preserves only 2-cell boundaries (teal triangles), missing critical 1-cells that govern topological connectivity.

a positive margin, the extracted skeleton (and its induced guidance) remains unchanged under small perturbations.

● We illustrate the introduced concepts from cobordism and discrete Morse theories in application to graph diffusion for spatio-temporal forecasting and regeneration. Our results suggest that MG-Diff does not only yield competitive performance but shows a high promise in terms of uncertainty quantification on all but one dataset, achieving relative CRPS gains of 6%-16%.

References (59)