Manuscript Offprint

arXiv:2610.22595

Diagnosing GNN Failure Modes with Layer-Wise Probe Entropy

Shanzi Bao, Mar Gonzàlez I Català, Pietro Liò

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

Abstract

Graph neural networks (GNNs) are typically evaluated only at their final layer, obscuring how task-relevant information evolves during message passing. We introduce a post-hoc diagnostic that freezes a trained GNN, fits an independent linear probe to each layer, and tracks probe accuracy alongside normalized predictive entropy. Across real and synthetic graph settings, layer-wise probe entropy distinguishes beneficial, neutral, and harmful smoothing, a capability not demonstrated by existing geometric measures. Moreover, by comparing shallow and deep models, we show that the onset of entropy degradation separates the two main GNN failure modes: structural mismatch under heterophily, which appears from the earliest layers even in shallow models, and excessive-depth oversmoothing, which emerges only as propagation depth increases. These results establish probe-entropy trajectories as a tool for analyzing information flow in GNNs and motivate future work on adaptive depth selection and early-exit mechanisms.

1 Introduction

Message-passing GNNs update node representations by aggregating information from neighbouring nodes [1, 2]. Across layers, task-relevant information may accumulate, remain stable, or degrade. Two distinct failure modes can cause this degradation. First, excessive propagation can oversmooth representations and erase discriminative information [3, 4, 5, 6]. Second, structural mismatch can arise under heterophily, where low-pass aggregation can mix incompatible label signals and become harmful from the first layers [7, 8, 9]. A drop in final-layer accuracy can reveal that a failure has occurred, but it cannot distinguish between these cases. This distinction is important because the two failures require different remedies: oversmoothing may be addressed by limiting propagation depth, whereas structural mismatch may require changing the aggregation operator.

Existing approaches to identifying the source of failure have largely focused on detecting oversmoothing through changes in representation geometry [6, 10, 11, 12]. These measures show that representations are becoming smoother, but changes in these smoothness measures alone do not establish whether smoothing improves, preserves, or degrades task performance. When smoothing is harmful, these measures alone also cannot determine whether the failure arises from excessive-depth oversmoothing or from aggregation that is harmful from the first layers under heterophily.

Recent work on sequential reasoning uses predictive entropy across intermediate steps to track how answer-relevant information evolves during computation [13, 14, 15]. We study whether tracking entropy across GNN layers can similarly reveal how task-relevant information evolves and distinguish the two failure modes through their different trajectories: heterophily can be harmful from the first layers even in shallow models, whereas oversmoothing emerges only at greater total model depth. Concretely, we introduce a post-hoc diagnostic that tracks probe accuracy and predictive entropy across GNN layers and shows which of the two failure modes is occurring in controlled settings.

Our contributions are:

S. Bao et al., Diagnosing GNN Failure Modes with Layer-Wise Probe Entropy (Extended Abstract). Presented at the Fifth Learning on Graphs Conference (LoG 2026), Boston, MA, USA, November 20 – 22, 2026.

  1. We introduce a layer-wise probe entropy diagnostic to track how usable label information evolves during message passing.

  2. We demonstrate that probe entropy trajectories distinguish beneficial, neutral, and harmful smoothing, whereas Dirichlet energy and MAD do not consistently track these predictive consequences.

  3. We show that failure onset in probe entropy trajectories across shallow and deep models helps distinguish structural mismatch from oversmoothing in controlled settings across architectures.

  4. We analyze the reliability of the diagnostic across graph regimes, showing that per-node entropy-confidence alignment weakens under heterophily.

References (26)