E-WL: Sampling-Free Uncertain Graph Embeddings
cs.LG
Submitted: 2026-12-02
Updated: 2026-12-02
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Edges in many real-world graphs carry existence probabilities, and evaluating structural queries over such uncertain graphs is #P-hard under Possible World Semantics (PWS).
Terminology
Abstract
Edges in many real-world graphs carry existence probabilities, and evaluating structural queries over such uncertain graphs is #P-hard under Possible World Semantics (PWS). We ask whether a single fixed-length vector can serve as a whole-graph surrogate for learning over uncertain graph collections, and present Sketch-EWL, a closed-form, training-free, and inductive embedding that requires no possible-world enumeration. Its core, Expected-WL (E-WL), augments the Weisfeiler--Lehman test with the closed-form mean and variance of neighborhood label counts in linear time. We prove these are the exact first two PWS moments of the label counts with node labels fixed across possible worlds, that the variance channel strictly refines the mean-only scheme, and that topology-only embeddings are provably blind to uncertainty. A deterministic count-sketch then compresses the E-WL tokens into a fixed-length, training-free vector, whose guarantees carry end-to-end. Empirically, Sketch-EWL attains ARI 0.97-1.00 on uncertainty-driven clustering where Graph2Vec is at chance, runs three orders of magnitude faster than sampling 100 possible worlds while achieving nearly double the ARI, attains the highest mean accuracy on all four real-world brain-connectivity datasets (up to 84.8% accuracy and 0.941 AUC) and, across 137 real graphs as large as 106M edges or 59M nodes, runs at a 1.72x median slowdown over standard WL. The same E-WL features can further augment message-passing GNNs, yielding accuracy gains in some settings.
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels