Graph-based Semi-Supervised & Active Learning for Edge Flows

Junteng Jia, Michael T. Schaub, Santiago Segarra, Austin R. BensonarXiv 2019 · DOI

Abstract

We present a graph-based semi-supervised learning (SSL) method for learning edge flows defined on a graph. Specifically, given flow measurements on a subset of edges, we want to predict the flows on the remaining edges. To this end, we develop a computational framework that imposes certain constraints on the overall flows, such as (approximate) flow conservation. These constraints render our approach different from classical graph-based SSL for vertex labels, which posits that tightly connected nodes share similar labels and leverages the graph structure accordingly to extrapolate from a few vertex labels to the unlabeled vertices. We derive bounds for our method's reconstruction error and demonstrate its strong performance on synthetic and real-world flow networks from transportation, physical infrastructure, and the Web. Furthermore, we provide two active learning algorithms for selecting informative edges on which to measure flow, which has applications for optimal sensor deployment. The first strategy selects edges to minimize the reconstruction error bound and works well on flows that are approximately divergence-free. The second approach clusters the graph and selects bottleneck edges that cross cluster-boundaries, which works well on flows with global trends.

Introduction

In many complex networks—including transportation systems, power grids, and water distribution networks—the primary data of interest resides on the edges (flows) rather than the vertices (labels). However, measuring flow across every edge is often prohibitively expensive or technically unfeasible. While Semi-Supervised Learning (SSL) is a well-established tool for predicting missing vertex labels, it is not directly applicable to edge flows.

Traditional graph SSL assumes "smoothness," where neighboring nodes are expected to share similar values. Edge flows, however, are directional and governed by physical principles such as flow conservation (Kirchhoff's laws). Naively applying vertex-based SSL to a "line graph" ignores edge orientation and the underlying physics, leading to suboptimal predictions.

Comparison of traditional vertex-based SSL (left) with the proposed edge-based flow SSL (right).

Methodology: FlowSSL

The proposed framework, FlowSSL, shifts the learning paradigm from label smoothness to flow conservation.

Divergence Minimization

The core objective is to minimize the "divergence" at each vertex. By utilizing the edge Laplacian $L_e = B^\top B$ (where $B$ is the incidence matrix), the model penalizes flows that do not sum to zero at internal nodes. This is formulated as a regularized linear least-squares problem, solvable via efficient iterative methods like LSQR, ensuring scalability to large-scale networks.

Hodge Decomposition

FlowSSL leverages combinatorial Hodge theory to decompose any flow into distinct components: gradient flows (potential-based), curl flows (circular), and harmonic flows. By projecting incomplete edge data onto these subspaces, the method can effectively infer missing values while respecting the structural constraints of the graph.

Decomposition of edge flows into cut-space and cycle-space components using the incidence matrix.

Active Learning for Sensor Placement

Given limited resources, selecting which edges to measure is critical. The authors propose two active learning strategies:

  1. Rank-Revealing QR (RRQR): This mathematical approach selects edges to minimize the theoretical bound on reconstruction error. It is particularly effective for "divergence-free" flows where local conservation is the dominant feature.
  2. Recursive Bisection (RB): This strategy identifies "bottleneck" edges that cross between graph clusters. It proves superior for networks with global trends, such as rush-hour traffic moving from residential suburbs to a central business district.

Experimental Results

The framework was evaluated on diverse datasets, including the Minnesota road network, the US power grid, and real-world traffic data from Chicago and Anaheim.

  • Accuracy: FlowSSL consistently outperformed baselines like ZeroFill and LineGraph-based SSL. On the Minnesota road network, it achieved a 0.956 Pearson correlation with ground truth using only 40% labeled edges.
  • The Chicago Problem: In the Chicago traffic dataset, standard FlowSSL initially struggled due to high "cut-space" components (global trends). The introduction of the Recursive Bisection strategy resolved this, boosting correlation from ~0.15 (random selection) to ~0.72 at 10% labeling.
  • Information Flows: Beyond physical systems, the method showed strong performance on music playlist transitions (Last.fm), suggesting that human behavioral patterns often mimic physical conservation laws.

Conclusion and Future Directions

FlowSSL provides a robust framework for edge flow prediction by incorporating physical constraints directly into the learning process. While highly effective for divergence-free systems, future work will focus on modeling networks with significant sources and sinks, dynamic topologies where edges change over time, and extending the logic to higher-order structures like simplicial complexes.

Summary updated

BibTeX
@misc{jia2019graph,
  author = {Junteng Jia and Michael T. Schaub and Santiago Segarra and Austin R. Benson},
  title = {{Graph-based Semi-Supervised \& Active Learning for Edge Flows}},
  year = {2019},
  eprint = {1905.07451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.07451},
}
Figure