Semi-supervised Learning for Multilayer Graphs Using Diffuse Interface Methods and Fast Matrix Vector Products

Kai Bergermann, Martin Stoll, Toni Volkmer

This paper introduces a scalable framework for multiclass semi-supervised learning (SSL) on multilayer graphs. By integrating physics-inspired "diffuse interface" methods with high-performance numerical transforms, the authors enable the classification of massive datasets—up to 10 million nodes—on standard hardware.

The Challenge: Complexity and Scalability

Graph-based semi-supervised learning is a powerful tool for data analysis, but it faces two significant bottlenecks when applied to modern datasets:

  1. Complexity of Relationships: Real-world data often involves multiple types of interactions. For instance, a social network might have layers for professional ties, family relations, and shared interests. Standard methods often collapse these into a single graph, losing the nuanced information contained within each layer.
  2. Computational Scalability: Many graph algorithms rely on the spectral information (eigenvalues and eigenvectors) of the graph Laplacian. For fully connected graphs or high-dimensional data, computing these becomes computationally prohibitive ($O(n^2)$ or worse) as the number of nodes ($n$) grows into the millions.
A conceptual illustration of a multilayer graph, where the same set of nodes has different connectivity patterns across multiple layers.

Proposed Methodology

The authors propose a three-part solution to address these challenges:

1. The Power Mean Laplacian ($L_p$)

To aggregate information across multiple layers, the authors utilize the power mean Laplacian. Unlike a simple arithmetic average, this generalized mean allows for more flexible integration. A key finding is that using negative values for $p$ (e.g., the harmonic mean) makes the model robust to "noisy" layers—those that do not contain useful clustering information. This acts as a fuzzy "AND" logic gate, ensuring that only consistent structures across layers drive the classification.

2. Diffuse Interface (Allen–Cahn) Method

Borrowed from materials science, the Allen–Cahn equation describes phase separation in liquids. In this SSL framework, it serves as a classifier that pushes unlabeled nodes toward specific class "phases" based on the graph structure and a small set of initial labels.

3. NFFT and Feature Grouping

To overcome the $O(n^2)$ bottleneck, the authors use the Nonequispaced Fast Fourier Transform (NFFT) to perform matrix-vector products in $O(n)$ time. To mitigate the "curse of dimensionality" associated with NFFT, they introduce Feature Grouping. High-dimensional features (such as hyperspectral bands) are split into several low-dimensional layers. This allows high-dimensional data to be treated as a multilayer graph while keeping NFFT computations efficient.

Key Insights and Results

The framework was evaluated on diverse benchmarks, ranging from standard SSL datasets to high-resolution imagery.

  • Robustness to Noise: The use of negative $p$ in the power mean Laplacian effectively ignores layers lacking clear clustering, preventing noise from degrading performance.
  • Dimensionality as Layers: Feature Grouping transforms the challenge of high dimensionality into an advantage, allowing the model to weight different types of information (e.g., spatial vs. spectral) separately.
  • Massive Scaling: The authors successfully segmented a 10-megapixel image in approximately 15 minutes on a laptop. Traditional graph methods would typically be infeasible for a problem of this scale.
  • High Accuracy with Sparse Labels: On the Pavia Center hyperspectral dataset, the method achieved over 97% accuracy using only 0.5% of the available labels.

Limitations and Future Directions

While the results are promising, some areas for further development remain. The current Feature Grouping strategy relies on physical intuition rather than a formal optimization theory. Additionally, the method is sensitive to hyperparameters such as the number of eigenpairs ($k$) and the kernel scaling parameter ($\sigma$). Future work may also explore the MBO scheme, a faster threshold-based version of Allen–Cahn, to further enhance computational speed.

Summary updated

BibTeX
@article{bergermann2021semi,
  author = {Kai Bergermann and Martin Stoll and Toni Volkmer},
  title = {{Semi-supervised Learning for Multilayer Graphs Using Diffuse Interface Methods and Fast Matrix Vector Products}},
  journal = {SIAM J. Math. Data Sci.},
  year = {2021},
  url = {https://openreview.net/forum?id=GXRBEMzJ8L},
}
Figure