Strictly proper scoring rules for node selection tasks on graphs

Lorenz Hilfiker, Nathan Cincera Brack, Martin SterchiarXiv 2026

TL;DR

This paper introduces two new evaluation metrics—the Resistance score and the Diffusion score—designed specifically for probabilistic node selection tasks on graphs. These metrics are both "graph-aware," meaning they reward predictions close to the target in the network, and "strictly proper," ensuring they are only minimized when a model’s predicted distribution perfectly matches the ground truth.

What Problem Does This Paper Address?

In many graph learning tasks, the goal is to identify a single target node—think of finding the patient zero of an epidemic, the source of a rumor, or the correct leaf in a hierarchical classification tree (like ImageNet).

Modern models usually output a probability distribution over all nodes. However, evaluating these distributions is tricky:

  1. Graph-Blind Metrics: Standard tools like the Brier score or Log-loss treat all incorrect nodes equally. Confusing a "Golden Retriever" with a "Labrador" is penalized just as harshly as confusing it with an "Elephant," even though the former is a much "better" mistake.
  2. Improper Metrics: Metrics that do care about graph structure, like "Error Distance" (shortest path distance to the target), are often statistically "improper." An improper metric can be "gamed"—a model might achieve a better score by outputting a biased or overconfident distribution rather than its true best estimate.

The authors aim to bridge this gap by creating metrics that are both statistically sound and sensitive to the underlying graph topology.

Methods

The authors leverage the framework of kernel scores. By choosing specific kernels derived from the graph Laplacian ($L$), they ensure the resulting scoring rules are strictly proper.

  • The Resistance Score: This is a parameter-free metric based on effective resistance distance. It treats the graph like an electrical network where each edge is a resistor. It is particularly elegant because it acts as a "bridge" between two famous metrics: it simplifies to the Brier score on a complete graph and to the Ranked Probability Score (RPS) on a simple path graph.
  • The Diffusion Score: This is a one-parameter family based on the heat kernel ($e^{-\frac{\tau}{2}L}$). The parameter $\tau$ (diffusion time) allows researchers to adjust the "resolution" of the evaluation. At $\tau=0$, it behaves like the Brier score; as $\tau$ increases, it begins to reward models for getting the right "cluster" or "community" even if they miss the exact node.

To make these scores practical for large graphs, the authors utilize efficient Laplacian solvers and Krylov subspace methods, avoiding the need to compute expensive matrix inverses or exponentials directly.

Datasets

The paper validates these scores across two distinct domains:

  • Epidemic Source Detection: Using the classic Zachary’s Karate Club network, the authors simulate disease outbreaks and evaluate how well different estimators can identify the starting node.
  • Hierarchical Classification: They apply the metrics to ImageNet-1k, treating the WordNet taxonomy as a tree graph. They evaluate ten popular pre-trained architectures (e.g., ResNet, ViT, ConvNeXt) to see how their "hierarchical quality" differs.

Key Insights and Ideas

  • Propriety is Paramount: The authors prove that widely used metrics like "Hierarchical Error Distance" are improper. This means using them for model selection or as loss functions could lead to sub-optimal, overconfident models.
  • The Unifying Power of Resistance: The Resistance score provides a unified view of scoring. As shown in the paper's conceptual diagram, it naturally specializes based on the graph's topology:
The Resistance score specializes to Brier score on complete graphs, RPS on path graphs, and hierarchy-aware scores on trees.
  • Tuning the Scale: The Diffusion score’s $\tau$ parameter is a powerful tool. It allows a practitioner to decide whether they care about "pinpoint accuracy" or "getting the general neighborhood right," providing a principled way to evaluate coarse-grained predictions.
  • Strict Propriety for HXE: The authors also provide a formal proof for the strict propriety of the Hierarchical Cross-Entropy (HXE) family, a recently popular loss function, solidifying its theoretical foundation.

Key Results

  • Detecting Overconfidence: In the source detection experiments, the new scores successfully penalized overconfident models that "looked good" under traditional rank-based metrics but were actually poorly calibrated.
  • ImageNet Nuances: On ImageNet, the Resistance score generally aligned with top-1 accuracy but revealed interesting anomalies. For instance, ResNet-50 performed poorly on distance-based metrics despite high accuracy. This is because standard cross-entropy training makes ResNets systematically overconfident; when they miss, they miss "wildly" across the taxonomy, which the Resistance score correctly identifies and penalizes.
  • Efficiency: The authors demonstrate that these graph-aware scores can be computed in nearly linear time relative to the number of edges, making them viable for large-scale real-world networks.

Limitations and Future Work

  • Large/Dense Graphs: On very large, non-sparse graphs, effective resistance distance can sometimes lose its "local" discriminative power (converging to a function of node degrees). While the authors show the score might still be useful, further study is needed for extremely dense networks.
  • Directed Graphs: The current formulations rely on the symmetric Laplacian of undirected graphs. Extending these to directed graphs (like citation networks or the web) requires handling non-symmetric kernels, which is mathematically more complex.
  • Multi-Node Selection: The paper focuses on identifying a single target node. Many real-world problems involve finding a set of nodes (e.g., multiple sources of an outbreak), which would require distributions over the power set of nodes—a significant jump in complexity.

Summary updated

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.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ImageNet-1KResistance scoreResistance score1.011split: val · mandatory-leaf-node-prediction-mlp · backbone=ConvNeXt-Tiny
Source quote
L1434: 1.011
BibTeX
@misc{hilfiker2026strictly,
  author = {Lorenz Hilfiker and Nathan Cincera Brack and Martin Sterchi},
  title = {{Strictly proper scoring rules for node selection tasks on graphs}},
  year = {2026},
  eprint = {2611.03274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03274},
}
Figure