Task-Adaptive Few-shot Node Classification

Song Wang, Kaize Ding, Chuxu Zhang, Chen Chen, Jundong Li
6/23/2022
cs.LG
gnn

Official code: SongW-SW/TENT (19 stars, Python, last commit 2022-11-08).

Abstract

Node classification is of great importance among various graph mining tasks. In practice, real-world graphs generally follow the long-tail distribution, where a large number of classes only consist of limited labeled nodes.

Show full abstract

Although Graph Neural Networks (GNNs) have achieved significant improvements in node classification, their performance decreases substantially in such a few-shot scenario. The main reason can be attributed to the vast generalization gap between meta-training and meta-test due to the task variance caused by different node/class distributions in meta-tasks (i.e., node-level and class-level variance). Therefore, to effectively alleviate the impact of task variance, we propose a task-adaptive node classification framework under the few-shot learning setting. Specifically, we first accumulate meta-knowledge across classes with abundant labeled nodes. Then we transfer such knowledge to the classes with limited labeled nodes via our proposed task-adaptive modules. In particular, to accommodate the different node/class distributions among meta-tasks, we propose three essential modules to perform \emph{node-level}, \emph{class-level}, and \emph{task-level} adaptations in each meta-task, respectively. In this way, our framework can conduct adaptations to different meta-tasks and thus advance the model generalization performance on meta-test tasks. Extensive experiments on four prevalent node classification datasets demonstrate the superiority of our framework over the state-of-the-art baselines. Our code is provided at https://github.com/SongW-SW/TENT.

View on arXivView PDF

Code Implementations(1)

SongW-SW/TENTOfficial100%
190PythonMay 31, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022taskadaptive,
  title  = {Task-Adaptive Few-shot Node Classification},
  author = {Song Wang and Kaize Ding and Chuxu Zhang and Chen Chen and Jundong Li},
  year   = {2022},
  eprint = {2206.11972},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.11972}
}

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/2206.11972.svg)](https://codeofpaper.com/paper/2206.11972)

Discussion