Fully-inductive Node Classification on Arbitrary Graphs

Jianan Zhao, Hesham Mostafa, Mikhail Galkin, Michael M. Bronstein, Zhaocheng Zhu +1 more
2/12/2026

No official code found. Best implementation: DeepGraphLearning/GraphAny (159 stars, MIT, last commit 2025-02-03).

Abstract

One fundamental challenge in graph machine learning is generalizing to new graphs. Many existing methods following the inductive setup can generalize to test graphs with new structures, but assuming the feature and label spaces remain the same as the training ones. This paper introduces a fully-inductive setup, where models should perform inference on arbitrary test graphs with new structures, feature and label spaces. We propose GraphAny as the first attempt at this challenging setup. GraphAny models inference on a new graph as an analytical solution to a LinearGNN, which can be naturally applied to graphs with any feature and label spaces. To further build a stronger model with learning capacity, we fuse multiple LinearGNN predictions with learned inductive attention scores. Specifically, the attention module is carefully parameterized as a function of the entropy-normalized distance features between pairs of LinearGNN predictions to ensure generalization to new graphs. Empirically, GraphAny trained on a single Wisconsin dataset with only 120 labeled nodes can generalize to 30 new graphs with an average accuracy of 67.26%, surpassing not only all inductive baselines, but also strong transductive methods trained separately on each of the 30 test graphs.

View on arXivView PDF

Code Implementations(1)

MIT

GraphAny: Fully-inductive Node Classification on Arbitrary Graphs

15917PythonJun 3, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhao2026fullyinductive,
  title  = {Fully-inductive Node Classification on Arbitrary Graphs},
  author = {Jianan Zhao and Hesham Mostafa and Mikhail Galkin and Michael M. Bronstein and Zhaocheng Zhu and Jian Tang},
  year   = {2026},
  eprint = {2405.20445},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.20445},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.20445.svg)](https://codeofpaper.com/paper/2405.20445)

Discussion