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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 74bcff3e-23e0-46cc-8a6c-f4d7341b3a36Cited by top-tier papers11
- Dual-level Mixup for Graph Few-shot Learning with Fewer TasksYonghao Liu, Mengyu Li, Fausto Giunchiglia, Lan Huang et al.WWW 2025 · 8 citations
- 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
- Unsupervised Episode Generation for Graph Meta-learningJihyeong Jung, Sangwoo Seo, Sungwon Kim, Chanyoung ParkICML 2024 · 4 citations
- BrainMAP: Learning Multiple Activation Pathways in Brain NetworksSong Wang, Zhenyu Lei, Zhen Tan, Jiaqi Ding et al.AAAI 2025 · 2 citations
- Advancing Graph Few-Shot Learning via In-Context LearningRenchu Guan, Yajun Wang, Chunli Guo, Bowen Cao et al.KDD 2026 · 1 citation
Builds on17
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
- Contrastive Multi-View Representation Learning on GraphsKaveh Hassani, Amir Hosein Khas AhmadiICML 2020 · 1,663 citations
Related papers
- Task-Equivariant Graph Few-shot LearningSungwon Kim, Junseok Lee, Namkyeong Lee, Wonjoong Kim et al.KDD 2023 · 9 citations
- Task-Adaptive Few-shot Node ClassificationSong Wang, Kaize Ding, Chuxu Zhang, Chen Chen et al.KDD 2022 · 40 citations
- 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
- Relative and Absolute Location Embedding for Few-Shot Node Classification on GraphZemin Liu, Yuan Fang, Chenghao Liu, Steven C. H. HoiAAAI 2021 · 103 citations
- Task Negative Sampling Enhanced Graph Few-shot LearningChenxu Wang, Jinfeng Chen, Junzhou Zhao, Pinghui WangKDD 2025
