# Strictly proper scoring rules for node selection tasks on graphs

Graph-aware strictly proper scores rank node selection estimates better than classical metrics

Lorenz Hilfiker, Nathan Cincera Brack, Martin Sterchi · arXiv · 2026-11-2

- **Problem** Common metrics for node selection ignore graph structure or reward overconfident wrong estimates. Top-K accuracy and rank ignore the graph, and averaged Error distance is not a proper scoring rule.
- **Method** The Resistance score scores each estimate by its effective resistance distance from the true node. It uses the pseudoinverse of the graph Laplacian, so it is parameter-free and strictly proper on connected graphs.
- **Results** On ImageNet, the Resistance score ranked ten classifiers much like top-1 error, with a Spearman correlation of 0.99.

![Figure 4: Comparison of scores on the four source estimators (c)–(f) against the true distribution (b), averaged over realisationsi0∼q. Lower is better for all…](https://refivu.com/papers/cb113d1e-2e84-407e-84dd-e19551092f2a/figures/figure-80259f02b23a158478d6a4a1a6b386a4.png?thumb=512)

**Figure 4** : Comparison of scores on the four source estimators (c)–(f) against the true distribution (b), averaged over realisationsi0∼q. Lower is better for all scores. Colour represents performance normalised within each column (darkest: worst model). Theτ-Diffusion score uses the regularisation withµ= 0.8.

[Original paper](https://arxiv.org/abs/2611.03274v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lorenz Hilfiker, Nathan Cincera Brack, Martin Sterchi · Strictly proper scoring rules for node selection tasks on graphs · Original paper figure · Extracted the figure area from page 19 of the original PDF.

## Why common node-selection metrics fall short

Many node-selection models, such as Monte Carlo methods and graph neural networks, return a probability for every node rather than a single answer. Most papers still evaluate them with top-K accuracy or the rank of the true node, and these metrics don't use the graph structure. The authors point to two failures: these metrics ignore graph structure, and they don't adequately penalise overconfident but incorrect estimates.

Their proposed metrics aim to be graph-aware and strictly proper at once, so the score is uniquely minimised when the estimate matches the true distribution.

The Error distance and the classical multi-category Brier score each address only one of these two failures. The Brier score penalises mass on wrong classes and prefers spreading it evenly, but it treats all wrong classes alike and ignores the graph. The Error distance uses graph distance, but it reads only the most probable node, so it isn't a proper scoring rule.

The authors list the Error distance as graph-aware, improper and not strictly proper in their comparison table.

![Table 1: Evaluation metrics for node selection on general graphs](https://refivu.com/papers/cb113d1e-2e84-407e-84dd-e19551092f2a/figures/figure-2af62e5b50f56d108064bd4797a77db0.png?thumb=512)

**Table 1** : Evaluation metrics for node selection on general graphs.

[Original paper](https://arxiv.org/abs/2611.03274v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Averaging the Error distance over the full distribution doesn't repair this, since the averaged version is also not a proper scoring rule. The authors argue that this averaged score unduly rewards overconfident estimates. The Hierarchical error distance has the same problem on rooted trees, because it depends on the distribution only through its mode.

Karthik et al. (2021) show that distance@K can be improved without retraining by re-ranking nodes with conditional risk minimisation, so the metric can be gamed. A strictly proper scoring rule such as Resistance score can't be manipulated in that way, which motivates the next section.

## A proper score built on the graph's resistance distance

The core idea is to take a kernel from the graph itself and plug it into a kernel score, so that proximity on the graph becomes what the score measures. A kernel score is proper once its kernel is conditionally negative definite, so the design task reduces to finding such a kernel on the nodes. The graph Laplacian is a natural first candidate, but it only sees one-hop neighbours of the true node.

Replacing the Laplacian by its Moore-Penrose pseudoinverse L† yields the effective resistance distance between two nodes. The resistance distance can be written as ωjj′ = L†jj + L†j′j′ − 2L†jj′, which matches the electric resistance when each edge is a unit resistor. The Resistance score is Sres(p,i) = (p−e\_i)⊤L†(p−e\_i), which measures the distance between p and e\_i in the space induced by L†.

Because L† is positive definite, resistance distances are non-negative and vanish only between a node and itself. The score is proper on any graph and strictly proper when the graph is connected.

Written in expanded form, the Resistance score is the resistance distance of p from the true node minus the graph variance of p. The first term penalises probability mass by its resistance distance from the true node. On the complete graph, the Resistance score reduces to the multi-category Brier score, which is the first check that the construction recovers a classical rule.

## Recovering the Brier score and the RPS

On the complete graph every node is adjacent to every other, so all local neighbourhoods look identical. There the Resistance score equals the multi-category Brier score up to a factor of 1/N, written as S\_res(p,i) = (1/N) Br(p,i). The graph structure drops out, which is why the Brier score is the natural limit on K\_N. The one-hop Laplacian score S\_{+-L} is also equivalent to the Brier score on the complete graph, because its Laplacian reduces to NI minus 11 transposed.

The Ranked probability score is defined on cumulative probabilities, so it penalises mass far from the true category more than mass on a neighbouring one. On a path graph, the resistance distance between two nodes equals the shortest-path distance, because the path graph is a tree. For the path graph P\_N, the kernel is \|j-j'\|, so the Resistance score equals the RPS for N ordinal categories.

The authors state that this link between two widely used proper scoring rules is new in the literature.

Taken together, these two special cases show the Resistance score bridging the Brier score on K\_N and the RPS on P\_N. The score extends the generalised energy score of Gneiting and Raftery with beta equal to 1, with the Euclidean distance replaced by effective resistance. Figure 1 summarises these special cases, including the rooted tree case discussed in Section 5.6.

## The Diffusion score and what τ changes

The Diffusion score is the second rule, a one-parameter family built on the diffusion kernel. Its diffusion time τ \> 0 sets the spatial scale at which the score judges an estimate. Small τ evaluates at the level of single nodes, while large τ evaluates at the level of clusters.

The authors test this on a fixed ten-node toy graph with a designated true node and six estimates. Each estimate spreads equal mass over four nodes, and the top row includes the true node in its support. The Brier score separates the two rows but treats the three estimates within each row as equal. The Brier score can't tell apart estimates in a row, because within a row the spread away from the true node is fixed by the mass at the true node.

The Resistance score separates the rows and also orders the estimates within each row, placing those closer to the true node first. At τ = 0.1 the Diffusion score nearly matches the Brier score, since the scores within each row are nearly equal. At τ = 1 the graph-awareness increases, and the pattern starts to resemble the Resistance score.

At τ = 10 the score converges to a cluster-level Brier score that mainly separates the two main clusters. It favours estimates that put all their mass in the upper cluster, which contains the true node. The authors read this as coarse structure dominating the score, with finer structure as a secondary distinction.

## What the scores become on a taxonomy tree

On a rooted tree, the effective resistance distance equals the shortest-path distance, so the Resistance score turns into a taxonomy-aware score. The Hierarchical error distance takes the height of the lowest common ancestor of the mode and the true leaf. Because it depends on the distribution only through its mode, the Hierarchical error distance is not a proper scoring rule.

The Resistance score is the strictly proper alternative that keeps the tree distance but uses the whole distribution.

On a balanced tree, the authors rewrite the Resistance score purely in LCA heights. Written this way, it is exactly twice the kernel score with kernel k(i,j) = height(LCA(i,j)). The score replaces mode evaluation with a balanced average over the distribution, and that replacement is what makes it proper. Karthik et al. point out that distance@K can be improved by reranking classes by conditional risk minimisation, without retraining.

A strictly proper scoring rule such as the Resistance score can't be gamed in that way.

The hierarchical cross-entropy (HXE) of Bertinetto et al. is a hierarchy-aware training loss that generalises the log-score. Those authors did not present HXE as a proper scoring rule, and they did not use it as an evaluation metric. Urbani et al. generalised HXE and proved its propriety, and this paper extends that result to strict propriety.

The family sums weighted log-marginals along the ancestors of the true leaf, as S\_Urb(p, i) = -sum over j in Anc(i) minus the root of w\_j log P\_j(p). The family is strictly proper whenever the weights are balanced, so that the sum of weights along each leaf's ancestor path is the same constant C.

## ImageNet comparison of ten classifiers

The authors test whether graph-aware strictly proper scores separate classifiers that top-1 error and distance metrics treat alike. The WordNet subgraph has 1,860 nodes and 1,937 edges, because a small percentage of classes belong to multiple superclasses. The authors keep the longest path to the root for each leaf, which yields a tree of 1,816 nodes.

They evaluate ten pretrained classifiers on the full ImageNet-1k validation set of 50,000 images and save the softmax vectors. The models span architectural families, from modern CNNs and Vision Transformers to MobileNets and ShuffleNet-V2. For HXE they use α = 0.5, the value Bertinetto et al. (2020) report as best on ImageNet when used as a training loss.

The Resistance score ranking follows top-1 error closely, with a Spearman rank correlation of 0.99. The Brier score matches at 0.99 and log-loss at 0.94. Hierarchical error distance@1 agrees perfectly with top-1 error, so mode-based distance adds no new ranking information.

ResNet-50 ranks third by top-1 error and by Resistance score, yet it ranks last by distance@5. Its top-5 error sits 12 percentage points below models that are worse in top-1 error, which shows the mismatch. The authors attribute this to overconfidence, since ResNet-type models trained with cross-entropy concentrate mass on the top-1 prediction.

Proper scores weigh predictions by probability, so the small mass outside the top-1 class barely shifts them.

EfficientNet-B2 has a marginally lower top-1 error and distance@1 than ViT-S/16, yet all four proper scores favour ViT-S/16. On the tabby image, Swin-Tiny puts about 83% of its mass on cats, compared to 70% for ResNet-50. As a result, the hierarchy-aware scores prefer Swin-Tiny, while the classical metrics don't separate the two models. The authors note that classical proper scores alone can't detect this kind of hierarchical quality.

## Limits and open questions

The scores stop being a clean fit when the true distribution spreads over distant parts of the taxonomy. In that case the scores conflate what are effectively independent prediction problems, which the authors flag as a real limitation. For ImageNet, the authors expect the few ambiguous labels to average out, so the aggregate rankings remain trustworthy.

The source-detection example averages every score over the true distribution q, which already washes out many egregious artefacts.

Choosing between the two scores depends on the graph and on the notion of proximity that matters. On small and sufficiently sparse graphs, including trees, the Resistance score is the natural choice because it is parameter-free. The Diffusion score is the more interpretable alternative there, but it adds the diffusion time τ as a free parameter.

If proximity matters mainly at the cluster level, a suitably large τ makes the Diffusion score the score of choice.

The extension to weighted graphs is immediate, since all results carry over once the Laplacian is built from weighted degrees. Directed graphs are harder, because the Laplacian's pseudoinverse isn't symmetric and the resistance formula no longer gives a symmetric kernel. Symmetrising the Laplacian is one workaround, but it discards all directional information.

Young et al. (2016) offer a different generalisation, but the authors leave its suitability as a notion of proximity for future work.

The scores could also serve as training losses, since minimising their empirical average pushes the model distribution toward the true one. A Fenchel-Young regularisation could bypass that issue, but the authors leave a systematic study of training losses for future work.

## Paper info

- **Authors**: Lorenz Hilfiker, Nathan Cincera Brack, Martin Sterchi
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-2
- **Added**: 2026-11-4
- **Updated**: 2026-11-2
- **Version**: v1
- **arXiv**: 2611.03274
- **Category**: cs.LG · cs.SI · stat.ML
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.03274v1) · [PDF ↗](https://arxiv.org/pdf/2611.03274v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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.

## Quote from the paper

Lorenz Hilfiker, Nathan Cincera Brack, Martin Sterchi (2026). Strictly proper scoring rules for node selection tasks on graphs. arXiv:2611.03274v1. https://arxiv.org/abs/2611.03274v1

**BibTeX**

```
@misc{hilfiker2026strictly,
  title = {{Strictly proper scoring rules for node selection tasks on graphs}},
  author = {Lorenz Hilfiker and Nathan Cincera Brack and Martin Sterchi},
  year = {2026},
  eprint = {2611.03274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03274v1}
}
```

## Other paper commentary

- [Graph Attention Networks](https://refivu.com/en/papers/9453459f-8cee-4a2b-bdcf-07c59d5154f7-graph-attention-networks.md)
- [Semi-Supervised Classification with Graph Convolutional Networks](https://refivu.com/en/papers/89f4a475-b549-4284-b0c0-d55b805b7f3b-semi-supervised-classification-with-graph-convolutional.md)
- [Imputing Missing Near-Surface Air Temperature using Graph Attention Networks with Distance-Aware Edge Features](https://refivu.com/en/papers/a990cd34-f9c9-4818-bddb-a322b98bba63-imputing-missing-near-surface-air-temperature-using-graph.md)
- [Heterogeneous Graph Transformer](https://refivu.com/en/papers/f71bb06f-968c-4006-81b4-63b69f07a087-heterogeneous-graph-transformer.md)
- [Deep Learning on Graphs: A Survey](https://refivu.com/en/papers/2184aed4-7bc8-45a4-81a9-0ad60f8dc1c1-deep-learning-on-graphs-a-survey.md)
- [Graph Embedding Techniques, Applications, and Performance: A Survey](https://refivu.com/en/papers/eeed1384-bf87-452c-b3b1-9ecc6ce7d43b-graph-embedding-techniques-applications-and-performance-a.md)
- [Pretraining Data Scale Reverses the Muon-AdamW Fine-Tuning Gap](https://refivu.com/en/papers/4ef228e4-7e10-4165-b560-f6ab4114ad1d-pretraining-data-scale-reverses-the-muon-adamw-fine.md)
- [Harder Than the Task: From Technical to Organizational Difficulty in AI Benchmarking](https://refivu.com/en/papers/ca9acd88-040c-4fae-8522-7ce33b5205b0-harder-than-the-task-from-technical-to-organizational.md)
- [Forecasting How RLHF Responds to Reward-Model Edits Before Training](https://refivu.com/en/papers/0f5038d0-6a7f-4d8d-b0a7-bfed975369e2-forecasting-how-rlhf-responds-to-reward-model-edits.md)
- [CAREFUL-Bench: Effect-Aware, Judge-Free Evaluation of Multi-Turn LLM Function Calling](https://refivu.com/en/papers/cbbfe731-a802-499a-8450-75d699d54bcf-careful-bench-effect-aware-judge-free-evaluation-of.md)
- [A Fine-Grained Hierarchy and Benchmark for State Tracking in Language Models](https://refivu.com/en/papers/cd3daf60-866c-48b4-9114-bda9fdde8e0c-a-fine-grained-hierarchy-and-benchmark-for-state.md)
- [DR Pixel: Page-Native Deep Research with Vision-Language Models](https://refivu.com/en/papers/3854c522-c5fc-40bc-aca5-3fd7d0dee531-dr-pixel-page-native-deep-research-with-vision.md)

## Terms in this paper

- [ImageNet-1K](https://refivu.com/en/terms/d8d6444bd460-imagenet-1k)
- [Brier score](https://refivu.com/en/terms/5fd6d59d3a08-brier-score)
- [Laplacian](https://refivu.com/en/terms/0ae84e61bcfb-laplacian)
- [node selection](https://refivu.com/en/terms/105f71353ddc-node-selection)
- [proper scoring rule](https://refivu.com/en/terms/78afa27d3b02-proper-scoring-rule)
- [ranked probability score (RPS)](https://refivu.com/en/terms/57a115b32280-ranked-probability-score-rps)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/cb113d1e-2e84-407e-84dd-e19551092f2a-strictly-proper-scoring-rules-for-node-selection-tasks)
