Abstract: We propose principled Gaussian processes (GPs) for modeling functions defined over the edge set of a simplicial 2-complex, a structure similar to a graph in which edges may form triangular faces. This approach is intended for learning flow-type data on networks where edge flows can be characterized by the discrete divergence and curl. Drawing upon the Hodge decomposition, we first develop classes of divergence-free and curl-free edge GPs, suitable for various applications. We then combine them to create Hodge-compositional edge GPs that are expressive enough to represent any edge function. These GPs facilitate direct and independent learning for the different Hodge components of edge functions, enabling us to capture their relevance during hyperparameter optimization. To highlight their practical potential, we apply them for flow data inference in currency exchange, ocean currents and water supply networks, comparing them to alternative models.
Introduction
While Gaussian processes (GPs) are a staple of machine learning for uncertainty quantification, most "Graph GPs" focus on modeling data at the nodes (e.g., temperature at weather stations). However, many real-world problems involve data on edges—specifically "flows." Standard approaches often treat edges as nodes in a "line-graph," but this ignores the fundamental geometric and physical properties of flows, such as divergence (accumulation at nodes) and curl (circulation around loops).
Existing edge-based learning methods are often deterministic or lack a principled way to encode these physical priors into a probabilistic framework. This paper, presented at AISTATS 2024, fills that gap by introducing a framework for applying GPs to data living on the edges of a network.
Methodology: Hodge-Compositional GPs
The authors move beyond simple graphs to simplicial 2-complexes (SC₂), which are graphs augmented with triangular "faces." This structure allows for the definition of a Hodge Laplacian ($L_1$), the edge-equivalent of the standard graph Laplacian.
The core innovation is the Hodge-Compositional (HC) GP. According to the Hodge Theorem, any edge flow can be uniquely decomposed into three orthogonal parts:
- Gradient flow: Curl-free (moves from high potential to low potential).
- Curl flow: Divergence-free (circulates around faces).
- Harmonic flow: Both curl-free and divergence-free (circulates around "holes" in the network).
The authors derive kernels for each component using Stochastic Partial Differential Equations (SPDEs). Unlike previous "non-compositional" edge GPs that force all components to share the same hyperparameters (like lengthscale), the HC GP allows the model to learn different characteristics for each component independently.
Experimental Evaluation
The model was evaluated on three distinct types of flow data:
- Foreign Currency Exchange (Forex): Real-world exchange rates for the 25 most traded currencies. The HC GP achieved an RMSE of 0.06, compared to 2.47 for non-compositional edge GPs, by strictly enforcing curl-free priors.
- Ocean Currents: Data from 1,500 buoys in the North Pacific. HC GPs outperformed baselines in capturing complex gyre patterns and allowed for the separation of steady currents from eddies.
- Water Supply Networks (WSNs): A simulation where flow is governed by hydraulic head differences. The model leveraged node-edge synergy to predict both water pressure at nodes and flow rates in pipes simultaneously.
Key Insights: Hyperparameter Discovery
During training, the HC GP can automatically "zero out" components that do not fit the observed data. In the Forex experiment, the model correctly learned that the curl and harmonic components should have near-zero variance, reflecting the "arbitrage-free" nature of efficient financial markets.
Conclusion and Future Work
Hodge-Compositional Edge GPs provide a powerful, physically-informed framework for modeling network flows. While the method currently relies on the eigendecomposition of the Hodge Laplacian—which can be computationally intensive for very large networks—it offers unprecedented interpretability and accuracy for flow-type data. Future work may extend this to higher-order structures to model volumetric flows in 3D space.
Summary updated