Lune

KDD2023Top-tier venue

Contrastive Meta-Learning for Few-shot Node Classification

Song Wang, Zhen Tan, Huan Liu, Jundong Li

Abstract

Few-shot node classification, which aims to predict labels for nodes on graphs with only limited labeled nodes as references, is of great significance in real-world graph mining tasks. To tackle such a label shortage issue, existing works generally leverage the meta-learning framework, which utilizes a number of episodes to extract transferable knowledge from classes with abundant labeled nodes and generalizes the knowledge to other classes with limited labeled nodes. In essence, the primary aim of few-shot node classification is to learn node embeddings that are generalizable across different classes. To accomplish this, the GNN encoder must be able to distinguish node embeddings between different classes, while also aligning embeddings for nodes in the same class. Thus, in this work, we propose to consider both the intra-class and inter-class generalizability of the model. We create a novel contrastive meta-learning framework on graphs, named COSMIC, with two key designs. First, we propose to enhance the intra-class generalizability by involving a contrastive two-step optimization in each episode to explicitly align node embeddings in the same classes. Second, we strengthen the inter-class generalizability by generating hard node classes for classification via a novel similarity-sensitive mix-up strategy. Extensive experiments on prevalent few-shot node classification datasets verify the effectiveness of our framework and demonstrate its superiority over other state-of-the-art baselines.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Contrastive Multi-View Representation Learning on Graphs cites A Simple Framework for Contrastive Learning of Visual Representations
  • BrainMAP: Learning Multiple Activation Pathways in Brain Networks cites Graph Contrastive Learning with Augmentations
  • Advancing Graph Few-Shot Learning via In-Context Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Advancing Graph Few-Shot Learning via In-Context Learning cites Graph Few-Shot Learning via Adaptive Spectrum Experts and Cross-Set Distribution Calibration
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Graph Contrastive Learning with Augmentations cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Graph Contrastive Learning with Augmentations cites Contrastive Multi-View Representation Learning on Graphs
  • Graph Contrastive Learning with Augmentations cites A Simple Framework for Contrastive Learning of Visual Representations
  • Unsupervised Episode Generation for Graph Meta-learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Graph Few-Shot Learning via Adaptive Spectrum Experts and Cross-Set Distribution Calibration cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Graph Few-Shot Learning via Adaptive Spectrum Experts and Cross-Set Distribution Calibration cites Dual-level Mixup for Graph Few-shot Learning with Fewer Tasks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Dual-level Mixup for Graph Few-shot Learning with Fewer TasksYonghao Liu, Mengyu Li, Fausto Giunchiglia, Lan Huang et al.WWW 2025 · 8 citations
  2. Graph Few-Shot Learning via Adaptive Spectrum Experts and Cross-Set Distribution CalibrationYonghao Liu, Yajun Wang, Chunli Guo, Wei Pang et al.NeurIPS 2025 · 6 citations
  3. Unsupervised Episode Generation for Graph Meta-learningJihyeong Jung, Sangwoo Seo, Sungwon Kim, Chanyoung ParkICML 2024 · 4 citations
  4. BrainMAP: Learning Multiple Activation Pathways in Brain NetworksSong Wang, Zhenyu Lei, Zhen Tan, Jiaqi Ding et al.AAAI 2025 · 2 citations
  5. Advancing Graph Few-Shot Learning via In-Context LearningRenchu Guan, Yajun Wang, Chunli Guo, Bowen Cao et al.KDD 2026 · 1 citation

Builds on17

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  4. Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
  5. Contrastive Multi-View Representation Learning on GraphsKaveh Hassani, Amir Hosein Khas AhmadiICML 2020 · 1,663 citations

Related papers

  1. Task-Equivariant Graph Few-shot LearningSungwon Kim, Junseok Lee, Namkyeong Lee, Wonjoong Kim et al.KDD 2023 · 9 citations
  2. Graph Contrastive Learning Meets Graph Meta Learning: A Unified Method for Few-shot Node TasksHao Liu, Jiarui Feng, Lecheng Kong, Dacheng Tao et al.WWW 2024 · 14 citations
  3. Task-Adaptive Few-shot Node ClassificationSong Wang, Kaize Ding, Chuxu Zhang, Chen Chen et al.KDD 2022 · 40 citations
  4. Relative and Absolute Location Embedding for Few-Shot Node Classification on GraphZemin Liu, Yuan Fang, Chenghao Liu, Steven C. H. HoiAAAI 2021 · 103 citations
  5. Task Negative Sampling Enhanced Graph Few-shot LearningChenxu Wang, Jinfeng Chen, Junzhou Zhao, Pinghui WangKDD 2025
Dusk over the sea between two cliffs drawn in fine vertical lines