Linear Uncertainty Quantification of Graphical Model Inference

Chenghua Guo, Han Yu, Jiaxin Liu, Chao Chen, Qi Li, Sihong Xie, Xi Zhang

Introduction

Graphical models are powerful tools for capturing complex data dependencies, but quantifying the uncertainty of their predictions is often slow or mathematically flawed. This paper introduces LinUProp, a novel method that additively propagates uncertainty across graphs. LinUProp ensures linear scalability, guarantees convergence, and prevents the dangerous underestimation of uncertainty seen in prior methods. By linking this uncertainty to the generalized variance of prediction errors, LinUProp provides a fast, theoretically sound, and interpretable tool for risk-aware decision-making.

The Challenge of Uncertainty in Graphical Models

In graph-based machine learning, algorithms like Belief Propagation (BP) are frequently used to infer the hidden states of nodes (e.g., classifying a user's political leaning in a social network). However, BP typically only provides point estimates—it identifies the most likely label, but fails to indicate how confident the model is in that prediction.

Knowing this uncertainty is critical for downstream tasks like decision-making and active learning. Unfortunately, existing Uncertainty Quantification (UQ) methods face a difficult dilemma:

  1. Sampling-based methods (like Monte Carlo) are accurate but computationally prohibitive for large-scale graphs.
  2. Existing fast, closed-form methods (like NETCONF) rely on Bayesian updates that treat every neighbor as helpful evidence. Paradoxically, this means if a node connects to a new neighbor who has completely unknown or noisy information, the model's uncertainty actually decreases. This multiplicative aggregation dangerously underestimates true uncertainty.

The LinUProp Solution

To resolve the underestimation problem, the authors propose LinUProp (Linear Uncertainty Propagation).

Instead of standard multiplicative message passing, LinUProp linearizes the BP process and utilizes interval arithmetic. It represents the uncertainty of a node's belief as an interval width (defined by upper and lower bounds).

Crucially, LinUProp propagates these bounds additively. If a node connects to a highly uncertain neighbor, that neighbor's uncertainty is added to the node's own uncertainty. This prevents the model from becoming falsely confident.

Comparison of uncertainty propagation methods.

The authors derive both a closed-form mathematical solution for theoretical analysis and a highly efficient iterative algorithm for practical, large-scale application. Furthermore, unlike previous closed-form methods, LinUProp allows for edge-dependent compatibility matrices, accommodating different types of relationships between nodes.

Key Insights and Theoretical Grounding

  • Additive vs. Multiplicative Uncertainty: The core breakthrough is realizing that treating graph neighbors strictly as Bayesian observations forces uncertainty to shrink artificially. By switching to an additive, interval-based approach, uncertainty behaves intuitively—noisy neighbors add noise to your predictions.
  • Theoretical Grounding via Bias-Variance: The authors mathematically decompose the expected prediction error of the graphical model. They prove that the uncertainty computed by LinUProp directly corresponds to the generalized variance component of this error. This bridges a major gap between heuristic uncertainty metrics and statistical learning theory.
  • Inherent Interpretability: Because the propagation is linear and additive, users can trace exactly which nodes contributed to a specific target node's uncertainty. For example, one can mathematically determine that 40% of Node A's uncertainty stems from the fact that its 2-hop neighbor, Node C, is unlabeled.

Experimental Results

The authors evaluated LinUProp on a synthetic 4x4 Grid Graph (for ground-truth comparisons) as well as real-world datasets including Citation Networks (Cora, Citeseer, PubMed) and PolBlogs.

  • High Accuracy: LinUProp's uncertainty estimates strongly correlate with computationally expensive, ground-truth Monte Carlo simulations (achieving a Pearson Correlation Coefficient of 0.9084).
  • Speed & Scalability: The iterative algorithm converges rapidly—typically within 10 iterations across all tested real-world datasets—and scales linearly with the number of edges and nodes, making it highly practical for massive graphs.
Convergence and scalability of LinUProp.
  • Superior Active Learning: In an active learning setup (choosing which nodes to manually label next to improve the model fastest), strategies guided by LinUProp consistently achieved higher test accuracy with smaller labeling budgets compared to baselines. Existing methods often got stuck querying low-degree nodes because they falsely assumed high-degree nodes were already "certain." In contrast, LinUProp correctly identified high-degree nodes that were actually drowning in noisy, uncertain neighbor data.

Limitations and Future Work

Limitations: The mathematical guarantee for LinUProp's convergence depends on the spectral radius of the graph's dependency matrix being less than 1. In practical terms, if a massive graph has extremely strong global homophily or heterophily (meaning almost all edges have very extreme compatibility weights), the algorithm might fail to converge.

Future Work: The authors suggest exploring how humans interact with this interpretable uncertainty in real-world decision-making pipelines. They also plan to apply LinUProp to other domains that rely heavily on graphical models, such as Graph Neural Networks (GNNs) and Large Language Models (LLMs).

Summary updated

BibTeX
@inproceedings{guo2024linear,
  author = {Chenghua Guo and Han Yu and Jiaxin Liu and Chao Chen and Qi Li and Sihong Xie and Xi Zhang},
  title = {{Linear Uncertainty Quantification of Graphical Model Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=XOVks7JHQA},
}
Figure