Abstract
Uncertainty Sampling is an Active Learning strategy that aims to improve the data efficiency of machine learning models by iteratively acquiring labels of data points with the highest uncertainty. While it has proven effective for independent data its applicability to graphs remains under-explored. We propose the first extensive study of Uncertainty Sampling for node classification: (1) We benchmark Uncertainty Sampling beyond predictive uncertainty and highlight a significant performance gap to other Active Learning strategies. (2) We develop ground-truth Bayesian uncertainty estimates in terms of the data generating process and prove their effectiveness in guiding Uncertainty Sampling toward optimal queries. We confirm our results on synthetic data and design an approximate approach that consistently outperforms other uncertainty estimators on real datasets. (3) Based on this analysis, we relate pitfalls in modeling uncertainty to existing methods. Our analysis enables and informs the development of principled uncertainty estimation on graphs.
The "Total Uncertainty" Trap in Graph Active Learning
Active Learning (AL) focuses on selecting the most informative data points for labeling to minimize training effort. In standard machine learning tasks with independent data, "Uncertainty Sampling"—picking points where the model is least confident—is a highly effective heuristic. However, when applied to Graph Neural Networks (GNNs) for node classification, this strategy often performs worse than simple random sampling.
The core issue lies in the nature of uncertainty on graphs. Nodes are interconnected, meaning the uncertainty of one node is tied to its neighbors. Most existing methods target "total uncertainty," which conflates two distinct types:
- Aleatoric Uncertainty: Inherent noise in the data (e.g., a node sitting exactly on the boundary between two classes).
- Epistemic Uncertainty: Uncertainty stemming from a lack of data (e.g., a node in an unexplored region of the graph).
As illustrated above, querying nodes with high aleatoric uncertainty (like node 'a') is often a waste of budget. Labeling a noisy node doesn't help the model generalize to other parts of the graph. In contrast, targeting epistemic uncertainty (node 'b') allows the model to learn the underlying structure more efficiently.
Methodology: Benchmarking and Theory
The authors address this problem through a comprehensive study:
1. Extensive Benchmarking
They evaluated state-of-the-art uncertainty estimators, including MC-Dropout, Ensembles, and Graph Posterior Networks (GPN). The results confirmed a consistent failure: most existing methods struggle to beat random baselines because they cannot effectively isolate epistemic uncertainty.
2. Theoretical Ground-Truth
Using Contextual Stochastic Block Models (CSBM), the researchers derived exact mathematical definitions for uncertainty types. They proved that for a Bayesian classifier, querying nodes with the highest epistemic uncertainty is the theoretically optimal strategy. Crucially, they found that a principled estimator must consider both existing edges and the absence of edges (non-edges) to fully understand the graph's generative process.
3. Practical Approximations
To bridge the gap between theory and practice, they introduced two algorithms:
- Multiple Pseudo-Labels (MP): Estimates noise by observing model behavior across various "fake" label assignments.
- Expected Single Pseudo-Label (ESP): A robust, expectation-based version of MP that proved highly effective and computationally efficient.
Key Results and Insights
The study's findings highlight a significant performance gap between different uncertainty types. While aleatoric and total uncertainty strategies often plateau or underperform, epistemic uncertainty sampling consistently drives higher accuracy with fewer labels.
On real-world datasets like CoraML, the proposed ESP approximation achieved an average AUC of ~71.5%, vastly outperforming standard Ensembles (~63.5%). This confirms that disentangling uncertainty is not just a theoretical requirement but a practical necessity for graph-based Active Learning.
Conclusion
This research demonstrates that "Total Uncertainty" is a trap for graph active learning. By isolating epistemic uncertainty, we can finally achieve the data efficiency gains that Active Learning promises. While computational costs for these advanced estimators remain a challenge for massive graphs, this work provides the theoretical foundation needed to develop the next generation of principled, efficient uncertainty estimators for networked data.
Summary updated