Uncertainty-Constrained Trustworthiness for Graph Learning

Chunhui Zhang, Pengqi Li, Lizhong Ding, Ye Yuan, Peng Yang, Changsheng Li, Guoren WangICML 2026

Graph Neural Networks (GNNs) are increasingly deployed in high-stakes domains such as financial fraud detection, social network moderation, and healthcare. In these critical environments, high accuracy is no longer sufficient; models must also be trustworthy. Specifically, they must be robust against adversarial attacks and fair across sensitive demographic groups.

Historically, robustness and fairness have been treated as separate—and sometimes conflicting—objectives. The paper "Uncertainty-Constrained Trustworthiness for Graph Learning" introduces DICT (Distributional uncertainty-constrained Trustworthiness), a novel framework that unifies these goals by treating them as manifestations of a single underlying issue: distributional uncertainty.

The Challenge: Siloed Trustworthiness

GNNs are notoriously fragile. Minor, strategically placed structural perturbations (adversarial attacks) can severely degrade a model's performance. Simultaneously, GNNs often inherit or amplify biases present in training data, leading to inequitable outcomes for protected groups.

Existing methods to address these issues are typically siloed: a technique designed to enhance robustness might inadvertently compromise fairness, and vice versa. The authors argue that structural perturbations, group biases, and even privacy attacks all stem from data-level uncertainty. This uncertainty creates a distributional shift between the training data and the real-world environments the model will encounter. The core question becomes: Can we model all these trustworthiness objectives within a single, mathematically rigorous framework?

Methodology: The DICT Framework

DICT tackles this challenge by formulating a unified optimization objective using Wasserstein Distributionally Robust Optimization (DRO). The framework rests on three main pillars:

  1. Empirical Distribution Generator: Traditional robust optimization assumes independent and identically distributed (i.i.d.) data, which fails for interconnected graphs. DICT solves this by employing a $K$-fold stochastic perturbation scheme to generate multiple "noisy" graph variants, creating a rich empirical distribution for the model to learn from.
  2. Wasserstein DRO: DICT defines an "uncertainty set" (a Wasserstein ball) around the training data. Rather than minimizing average loss, the model minimizes the worst-case risk within this ball. This forces the model to perform reliably even if the data shifts due to noise or bias.
  3. Tractable Dual Formulation: Because optimizing worst-case risk directly is an infinite-dimensional problem, the authors leverage strong duality and local Lipschitz continuity to reformulate it as a tractable min-max problem. The resulting objective resembles a standard loss function with a dynamic penalty term: $L(\theta)\sqrt{r}$, where $L(\theta)$ is the local Lipschitz constant (measuring sensitivity) and $r$ is the uncertainty radius.

To compute this efficiently, DICT uses first-order gradient linearization for labeled nodes and a second-order "Gaussian probing" technique to estimate sensitivity for unlabeled nodes.

Core Insights

  • Unification of Fairness and Robustness: By encoding sensitive attributes into the transportation cost of the Wasserstein metric, fairness is mathematically formulated as a specific type of robustness within the uncertainty set.
  • No Accuracy Trade-off: Unlike traditional methods that sacrifice clean accuracy for fairness or robustness, DICT often improves baseline accuracy. By controlling the local Lipschitz constant, the model learns smoother, more generalizable representations.
  • Architecture Agnostic: DICT is a training strategy, not a novel architecture. It is proven effective across various backbones, including GCN, GAT, GIN, GraphSAGE, and Graph Transformers.

Empirical Performance

Evaluated across seven diverse benchmarks—ranging from small-scale networks (403 nodes) to large-scale graphs (30,000 nodes)—DICT demonstrated striking improvements:

  • Robustness: On the NBA dataset using a GCN, the performance drop under adversarial attack plummeted from 26.11% (vanilla) to just 1.73% with DICT.
  • Fairness: On the German credit dataset, DICT reduced the Statistical Parity gap from 7.04% to 1.08% while simultaneously increasing clean accuracy.
  • Efficiency: By utilizing gradient-based estimation instead of expensive Singular Value Decompositions (SVD) at every layer, DICT operates significantly faster than other Lipschitz-based methods.

Limitations and Future Directions

While DICT provides a mathematically elegant recipe for building resilient and equitable GNNs, the authors note a few areas for future exploration:

  • Hyperparameter Sensitivity: Performance relies heavily on tuning the Wasserstein radius $r$ and transport cost weights $\kappa$. Finding the optimal balance for new datasets requires careful calibration.
  • Broader Trustworthiness: The current framework focuses primarily on robustness and fairness. The authors suggest potential extensions to privacy (via Differential Privacy) and interpretability, though these were not the focus of the current experiments.
  • Discrete vs. Continuous Shifts: DICT treats perturbations as continuous shifts. Applying this framework to purely discrete graph changes (e.g., adding a single edge) relies heavily on the Lipschitz approximations used in the solver step.

Summary updated

BibTeX
@inproceedings{zhang2026uncertainty,
  author = {Chunhui Zhang and Pengqi Li and Lizhong Ding and Ye Yuan and Peng Yang and Changsheng Li and Guoren Wang},
  title = {{Uncertainty-Constrained Trustworthiness for Graph Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=cYpoB1KvWb},
}
Figure