stat.MLNov 23, 2026

A theory of inductive node-level generalization from a single large graph

Authors: Nicolas Keriven, Yann Viegas

Organizations: CNRS, IRISA, Rennes, France · Ecole Normale Supérieure

Abstract

In Graph Machine Learning (GML), the notion of generalization fundamentally varies depending on the task level and the properties of the dataset. For instance, graph-level tasks fit into the traditional ML framework of i.i.d. samples, with relatively small graphs. On the contrary, node-level tasks involve dependent nodes, often in a few large graphs. Existing studies often consider the transductive settings, where training and test data co-exist in the same graph, or, for inductive learning, try to recover some kind of probabilistic independence'', e.g. by still assuming a large number of independent graphs or subgraphs. In this work, we develop a novel framework to express the generalization capabilities of Graph ML algorithms for inductive node-level tasks when learning from a single large graph, taking inspiration from the literature on GNN transferability. In particular, we emphasize the similarities with classical ML by revisiting the excess risk decomposition with a new notion of transferable'' risk on large graphs. We apply this framework to Latent Position random graphs: we uncover new insights on the hardness of GML compared to traditional ML, and derive novel notions of concentration. Finally, we apply this framework to several models of GNNs, unifying several existing results on GNNs transferability and universality.

Figures & tables

Explore similar work

Mar 10, 2026

Transductive Generalization for GNNs via Optimal Transport

Analyzing the generalization of graph neural networks (GNNs) on node classification is challenging: message passing induces dependencies that break the i.i.d. assumption underlying standard inductive generalization theory. While distribution-free transductive theory resolves this dependency issue, existing classical bounds are either intractable or correlate poorly with empirical generalization. To fill this gap, we propose a transductive generalization bound based on optimal transport, connecting generalization to intra-class concentration and inter-class separation in the feature space. Empirically, our bound aligns strongly with the generalization gap. Building on this representation-based approach, we analyze how feature geometry evolves under repeated message passing. This explains the non-monotonic relationship between GNN depth and generalization, providing new insights into oversmoothing research. Practically, our bound serves as a geometry-aware regularizer that corrects the harmful behavior of message passing, yielding consistent performance improvements. The code is available at https://github.com/ml-postech/Transductive-OT-Gen-Bound.
Sep 28, 2026

The Universal Classifier for Graph Learning

While foundation models have revolutionized natural language processing and computer vision by leveraging universal vocabularies, Graph Machine Learning (GML) remains fractured due to the absence of a unified feature and structural representation across diverse domains. Existing works claiming to be Graph Foundation Models (GFMs) are typically restricted to node-level predictions or require fixed feature dimensions, failing to provide a truly task-agnostic backbone for the full spectrum of graph learning applications. In this paper, we introduce the Universal Classifier (UC), which supports arbitrary feature and class cardinalities, unifying node-, edge-, and graph-level objectives under a single similarity-based classification objective. The UC reformulates all node-, edge-, and graph-level prediction tasks as maximizing similarity in the latent space: by lifting heterogeneous features and labels into 3D latent tensors, the model learns transferable features independent of specific input schemas. This architecture allows a single pre-trained model to generalize to node classification, node regression, and link prediction across unseen graphs with varying feature semantics. Experiments show strong zero-shot transfer performance across node-, link-, and graph-level tasks.
May 25, 2026

Different Statistical Perspectives for Understanding Generalisation in Graph Neural Networks

Graph Neural Networks (GNN) are currently the most popular approach for learning and prediction on graph-structured data and are deployed in various fields, from social network analysis to drug discovery. However, there is limited mathematical understanding of the performance of GNNs. We discuss the various perspectives used to study statistical generalisation in GNNs. We identify three broad frameworks. The first approach, rooted in learning theory, relies on uniform convergence bounds and the complexity of the hypothesis class of specific GNN architectures. This approach also builds on the expressivity of GNNs, typically studied through the lens of graph isomorphism tests. The second principle is to simplify the neural architecture by analysing GNNs under the asymptotics of infinitely many parameters or infinite graph size. This approach approximates GNNs using Gaussian processes, neural tangent kernels or graphon neural network operators, which allow studying the generalisation or stability of trained GNNs. The third framework studies GNNs under random graph models, often the contextual stochastic block model, and derives non-asymptotic error rates using tools from high-dimensional statistics. We highlight some key theoretical results and discuss a few limitations and open research questions for each perspective.