Distributionally Robust Semi-Supervised Learning Over Graphs

Alireza Sadeghi, Meng Ma, Bingcong Li, Georgios B. GiannakisarXiv 2021

Abstract

Graph Neural Networks (GNNs) are highly effective for semi-supervised learning on graph-structured data, yet they often struggle with distributional shifts between training and testing phases. This paper introduces a distributionally robust optimization (DRO) framework that minimizes the worst-case loss within a Wasserstein ambiguity set. By incorporating this robust objective, GNNs become significantly more resilient to the noisy data and environmental uncertainties common in real-world applications like power grid monitoring. Our results demonstrate that this approach maintains high accuracy where standard models fail.

Introduction

In many graph-based applications, labels are available for only a small subset of nodes. Semi-supervised learning (SSL) aims to propagate these labels across the graph. While GNNs have become the standard tool for this task, their reliance on the assumption of identical training and testing distributions makes them vulnerable to real-world perturbations. In scenarios such as power system state estimation, sensor noise and dynamic changes can lead to significant performance degradation.

To address this, we propose a framework that moves beyond Empirical Risk Minimization (ERM) toward a minimax objective that accounts for distributional uncertainty. By defining a Wasserstein ball around the empirical distribution, we provide a formal guarantee of performance against the worst-case scenarios within that uncertainty radius.

Methodology

The proposed method robustifies GNNs by solving a minimax problem over an ambiguity set of potential data distributions.

The Wasserstein Ambiguity Set

Instead of training on a single fixed dataset, we consider all probability distributions within a certain Wasserstein distance $\rho$ of the observed empirical distribution. This distance represents the "cost" of perturbing the data, allowing us to model realistic noise and shifts.

Duality and Optimization

Solving an optimization problem over an infinite-dimensional space of distributions is generally intractable. We utilize a strong duality condition to transform the inner maximization (finding the worst-case distribution) into a finite-dimensional dual problem. We then apply Danskin’s Theorem to compute gradients, allowing the GNN weights to be updated iteratively via standard gradient descent. This approach ensures that robustness is an inherent part of the training process rather than a post-hoc heuristic.

Experimental Setup

We evaluated the robust GNN on a voltage estimation task using power system data:

  • GEFC 2012: Load consumption data from the Global Energy Forecasting Competition.
  • IEEE 118-bus network: A standard benchmark for power system analysis.
  • MATPOWER Toolbox: Used to simulate AC power flow equations to generate 1,000 pairs of measurements and ground-truth voltages.

The goal was to estimate voltage amplitudes across all nodes based on noisy injections of active and reactive power.

Key Results

The robust GNN was compared against a prox-linear network, a 6-layer vanilla feed-forward network (FNN), and an 8-layer FNN. Under both normal and perturbed conditions, the GNN-based method demonstrated superior tracking of ground-truth signals.

Comparison of estimated labels vs. ground-truth for nodes 105, 20, 40, and 90. The robust GNN (red) consistently tracks the ground truth (black) more accurately than the FNN and prox-linear baselines.

As illustrated in the figure above, the robust GNN's predictions closely follow the ground-truth curves, even at nodes with high volatility. While the performance of standard FNNs and prox-linear models deteriorated significantly under distributional uncertainty, the robust GNN maintained its precision, validating the effectiveness of the Wasserstein DRO framework.

Conclusion and Future Work

This paper presents a mathematically rigorous approach to making GNNs robust to distributional shifts. By leveraging Wasserstein DRO and Lagrangian duality, we provide a scalable method for semi-supervised learning that handles real-world uncertainty. Future research will explore adaptive methods for tuning the uncertainty radius $\rho$ and extending the framework to high-dimensional classification tasks.

Summary updated

BibTeX
@misc{sadeghi2021distributionally,
  author = {Alireza Sadeghi and Meng Ma and Bingcong Li and Georgios B. Giannakis},
  title = {{Distributionally Robust Semi-Supervised Learning Over Graphs}},
  year = {2021},
  eprint = {2110.10582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.10582},
}
Figure