arXiv:2611.03274cs.LGNov 2026

Manuscript Offprint

arXiv:2611.03274

Strictly proper scoring rules for node selection tasks on graphs

Lorenz Hilfiker, Nathan Cincera Brack, Martin Sterchi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In node selection tasks, the goal is to identify a single unknown target node in a graph. We consider probabilistic supervised node selection, where the estimator outputs a probability distribution over the nodes of the graph and the ground-truth node is available for evaluation. Classical evaluation metrics for such tasks are either statistically ill-conceived or blind to the graph structure. To fill this gap, we introduce two strictly proper scoring rules that are explicitly graph-aware: the Resistance score, which is parameter-free, and the Diffusion score, which operates at an adjustable coarse-graining resolution. We show that the Diffusion score interpolates between the multi-category Brier score and a cluster-level weighted Brier score. The Resistance score generalises two classical scoring rules: the multi-category Brier score and the Ranked probability score. Applied to rooted trees, it also serves as the strictly proper version of the improper Hierarchical error distance used in hierarchical classification. In the same setting, we furthermore establish strict propriety of the Hierarchical cross-entropy family, a recently introduced separate class of hierarchy-aware scoring rules. Experiments on epidemic source detection and on ImageNet classification confirm that the proposed scores detect meaningful differences in estimation quality that classical metrics miss.

1 Introduction

Graph learning encompasses a range of tasks, from supervised problems such as graph classification, node classification, or link prediction to unsupervised problems such as community detection. In this paper, we focus on the supervised task of (single) node selection. Whereas node classification assigns class labels to nodes, potentially assigning the same label to multiple nodes, node selection consists of identifying a single node as the output.

Many real-world applications take this form: where did an epidemic or rumour start? Which node should we target to maximise influence? Which node has failed? In other words: node selection subsumes important graph learning problems such as source detection for spreading processes like epidemics or rumours (Shah & Zaman, 2011), optimisation problems such as single-seed influence maximisation (Kempe et al., 2003), or fault detection in communication networks (Ma et al., 2014). Moreover, any edge selection task can be recast as a node selection task on the corresponding line graph. Finally, an important special case is node selection on rooted trees, which naturally captures hierarchical classification (Silla & Freitas, 2011), where class labels are organised according to a hierarchical taxonomy. Applications range from computer vision (Deng et al., 2009) to natural language processing (Kosmopoulos et al., 2015) and bio-informatics (Radivojac et al., 2013).

Most state-of-the-art approaches to node selection tasks are probabilistic (e.g., Monte Carlo methods or graph neural networks). Rather than directly predicting a single node, these methods output a probability distribution over the entire set of nodes. This raises the question of how such probabilistic estimates should be evaluated against the ground truth.

Despite the prevalence of probabilistic node selection methods, there is no consensus on how to evaluate them. Most papers report rank-based metrics such as top-KK accuracy or the rank of the true node (e.g., Lokhov et al. (2014); Altarelli et al. (2014); Antulov-Fantulin et al. (2015); Paluch et al. (2018); Sha et al. (2021)). However, these metrics are unsatisfactory for at least two reasons: (a) they do not take into account the graph structure when assessing how closely an estimate matches the observed true node, and (b) they do not adequately penalise overconfident, yet incorrect, estimates. Existing alternatives such as the Error distance (Antulov-Fantulin et al., 2015; Jiang et al., 2017; Paluch et al., 2018) or the classical multi-category Brier score (Brier, 1950) address either (a) or (b), but neither of them resolves both points simultaneously.

In this paper, we close this gap by proposing evaluation metrics that are both graph-aware – rewarding estimates that place high probability near the true node in a graph sense – and strictly proper – so that the score is uniquely minimised when the estimated distribution matches the true one. We achieve this by bridging ideas from statistics, in particular the concept of kernel scores (Gneiting & Raftery, 2007), with ideas from graph learning (Smola & Kondor, 2003; Fouss et al., 2007) and network science (Devriendt et al., 2022; Villegas et al., 2023).

In the special case of hierarchical classification, hierarchy-aware evaluation metrics have received considerable attention (Silla & Freitas, 2011; Kosmopoulos et al., 2015; Zangari et al., 2024). Threshold-based set-overlap metrics such as Hierarchical precision, recall and F-score (Kiritchenko et al., 2005) and mode-based metrics such as Hierarchical error distance (Russakovsky et al., 2015) are widely used, but they are not proper scores. The only exception known to us is the concurrent and independent work of Urbani et al. (2024), who prove propriety (but not strict propriety) of a family of log-score-type scoring rules for node selection on rooted trees. We extend their result to strict propriety and provide a complementary Brier-type family of scoring rules applicable to general graphs.

Our main contributions are:

  • We provide the first systematic treatment of strictly proper scoring rules for node selection tasks on general graphs that reward estimates based on their proximity to the true node in the graph. We show that existing graph-aware metrics (Error distance, Hierarchical error distance and their variations) are improper.

  • We introduce two strictly proper, graph-aware scoring rules for probabilistic node selection: the Resistance score (parameter-free, based on effective resistance distance) and the Diffusion score (one-parameter family, based on the diffusion kernel).

  • We show that the Resistance score generalises the multi-category Brier score (recovered on the complete graph) and the Ranked probability score (recovered on the path graph), and that, specialised to rooted trees, it is the natural way to turn the improper Hierarchical error distance into a proper score.

The paper is structured as follows. Section 2 formally states the problem, Section 3 provides the necessary statistical background on proper scoring rules, and Section 4 discusses related work. In Section 5, we introduce the Resistance score and the Diffusion score. We discuss their properties, show how they relate to classical proper scoring rules, and illustrate their behaviour on a toy example. Section 5.6 discusses the Resistance score in the context of hierarchical classification, where it provides a strictly proper alternative to widely used but improper metrics such as Hierarchical error distance and distance@K. Efficient computation of our scores on large graphs is briefly discussed in Section 5.7. Section 6 illustrates the scores on a canonical source detection task. Section 7 presents an empirical evaluation in the standard hierarchical classification setting on ImageNet. We conclude with a discussion of extensions and limitations in Section 8.

References (67)