Random-Set Graph Neural Networks
Abstract
Show a graph neural network a node from a class it has never seen, and it will confidently name one of the classes it knows. In safety-critical settings, where a node's neighborhood can be novel, conflicting, or rare in the training graph, this is a serious flaw. The culprit is the softmax head, which must spread all of its confidence over the known classes and so has no way to say "I don't know". We introduce *Random-Set Graph Neural Networks (RS-GNN)*, a drop-in replacement for the softmax head of any message-passing GNN. Instead of one probability per class, RS-GNN assigns belief to *sets* of classes, so it can express statements such as "this node is one of these two classes, but the graph does not tell me which". Each prediction thus becomes a whole set of plausible class distributions: its center gives the predicted label, and its width measures what the model does not know. To keep this tractable, RS-GNN reasons over a small, graph-aware family of class sets, chosen from classes that overlap in the learned embedding space. On nine node-classification benchmarks, both homophilic and heterophilic, RS-GNN matches or outperforms probabilistic, ensemble, and credal baselines at detecting nodes from unseen classes. On road-scene graphs built from ROAD and nuScenes, it substantially improves accuracy on nuScenes and, when moved to a new dataset, degrades more gracefully than a softmax head, which becomes fully overconfident. RS-GNN lets a graph model report not only what it predicts, but also how much it does not know.
BibTeX
@inproceedings{woodley2026random,
author = {Tommy Woodley and Matteo Tolloso and Davide Bacciu and Shireen Kudukkil Manchingal and Fabio Cuzzolin},
title = {{Random-Set Graph Neural Networks}},
booktitle = {Advances in Neural Information Processing Systems},
year = {2026},
url = {https://openreview.net/forum?id=z55e3q7BpN},
}Ask Althea to put this paper to the test.
Loading related content...