arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24410cs.AI
收藏

通过上下文学习推进图少样本学习

Advancing Graph Few-Shot Learning via In-Context Learning

College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);College of Software, Jilin University(吉林大学软件学院);Department of Computer Science and Technology, Yanbian University(延边大学计算机科学与技术系);Department of Information Engineering and Computer Science, University of Trento(特伦托大学信息工程与计算机科学系);School of Mathematical and Computer Sciences, Heriot-Watt University(赫瑞斯泰大学数学与计算机科学学院)

Renchu Guan, Yajun Wang, Chunli Guo, Bowen Cao, Fausto Giunchiglia, Wei Pang, Yonghao Liu, Xiaoyue Feng

AI总结:

提出VISION模型,将图少样本学习重构为免微调的序列推理问题,利用无监督任务生成器从无标签数据中构建伪任务,通过上下文感知网络融合局部拓扑和全局任务依赖,实现高效推理。

摘要:

图少样本学习旨在仅用少量标注样本对来自新类别的节点进行分类,是图学习中广泛研究的问题。然而,现有方法常面临两个关键限制。首先,主流的图少样本学习范式依赖于监督任务,未能利用图中大量的无标签节点。其次,许多方法在推理时需要复杂的任务适应或微调,限制了其效率和适用性。受大语言模型强大的上下文学习能力启发,我们提出了一种名为VISION的新模型,通过上下文学习推进图少样本学习,以应对这些挑战。我们的模型将图少样本学习重构为免微调的序列推理问题。其核心是一个上下文感知网络,该网络使用角色嵌入初始化节点,并采用双上下文融合模块协同整合局部拓扑结构和全局任务级依赖关系。这使得我们的模型能够在单次前向传播中,根据支持集上下文动态地为查询集生成类别感知表示。为了有效训练我们的模型,我们引入了一个无监督任务生成器,该生成器创建结构自适应特征,并从大量无标签数据中构建多样的伪任务。我们的方法将无监督元学习与图上下文学习统一起来,实现了高效推理。在多个基准数据集上的大量实验证明了我们模型的优越性。我们的公开代码可在以下网址找到。

英文摘要:

Graph few-shot learning, which aims to classify nodes from novel classes with only a few labeled examples, is a widely studied problem in graph learning. However, existing methods often face two key limitations. First, the predominant graph few-shot learning paradigm relies on supervised tasks, failing to leverage the vast number of unlabeled nodes in the graph. Second, many approaches require complex task adaptation or fine-tuning during inference, limiting their efficiency and applicability. Inspired by the powerful in-context learning capabilities of large language models, we propose a novel model named VISION for adVancIng graph few-Shot learning via In-cOntext LearNing to address these challenges. Our model reframes graph few-shot learning as a fine-tuning-free sequence reasoning problem. At its core is a context-aware network that initializes nodes with role embeddings and employs a dual-context fusion module to synergistically integrate local topological structures and global task-level dependencies. This allows our model to dynamically generate class-aware representations for the query set conditioned on the support set context in a single forward pass. To effectively train our model, we introduce an unsupervised task generator that creates structure-adaptive features and constructs diverse pseudo-tasks from abundant unlabeled data. Our method unifies unsupervised meta-learning with graph in-context learning, achieving efficient inference. Extensive experiments on multiple benchmark datasets demonstrate the superiority of our model. Our public code can be found

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑