arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.12052cs.CLcs.AIcs.IRcs.LG
收藏

UniGLM:训练一个统一语言模型用于文本属性图嵌入

UniGLM: Training One Unified Language Model for Text-Attributed Graph Embedding

New York University Shanghai(上海纽约大学);Bakar Computational Health Sciences Institute(贝克计算健康科学研究所);University of California San Francisco(加利福尼亚大学旧金山分校);University of Georgia(佐治亚大学)

Yi Fang, Dongzhe Fan, Sirui Ding, Ninghao Liu, Qiaoyu Tan

AI总结:

本文提出统一图语言模型UniGLM,通过自监督对比学习在多个不同领域和规模的文本属性图上联合训练,并引入自适应正样本选择和惰性对比模块,显著提升了图嵌入在域内外场景的泛化与迁移能力。

摘要:

文本属性图(TAGs)上的表示学习(其中节点由文本描述表示)对于文本和关系知识系统及推荐系统至关重要。目前,TAGs的最先进嵌入方法主要集中于使用结构感知训练信号微调语言模型(例如BERT)。虽然有效,但这些方法针对单个TAG定制,无法泛化到各种图场景。鉴于共享的文本空间,利用多个TAGs进行联合微调,从不同方面对齐文本和图结构将更有益。受此启发,我们引入了一种新颖的统一图语言模型(UniGLM)框架,这是第一个能很好地泛化到域内和跨域TAGs的图嵌入模型。具体而言,UniGLM使用自监督对比学习在具有不同领域和规模的多个TAGs上进行训练。UniGLM包含一种自适应正样本选择技术,用于识别结构相似的节点,以及一个惰性对比模块,该模块旨在通过最小化重复编码计算来加速训练。在9个基准TAGs上的广泛实证结果证明了UniGLM在泛化性(各种下游任务和骨干网络)和迁移学习(域内和域外场景)方面相对于领先嵌入基线的有效性。代码可在https://github.com/NYUSHCS/UniGLM获取。

英文摘要:

Representation learning on text-attributed graphs (TAGs), where nodes are represented by textual descriptions, is crucial for textual and relational knowledge systems and recommendation systems. Currently, state-of-the-art embedding methods for TAGs primarily focus on fine-tuning language models (e.g., BERT) using structure-aware training signals. While effective, these methods are tailored for individual TAG and cannot generalize across various graph scenarios. Given the shared textual space, leveraging multiple TAGs for joint fine-tuning, aligning text and graph structure from different aspects, would be more beneficial. Motivated by this, we introduce a novel Unified Graph Language Model (UniGLM) framework, the first graph embedding model that generalizes well to both in-domain and cross-domain TAGs. Specifically, UniGLM is trained over multiple TAGs with different domains and scales using self-supervised contrastive learning. UniGLM includes an adaptive positive sample selection technique for identifying structurally similar nodes and a lazy contrastive module that is devised to accelerate training by minimizing repetitive encoding calculations. Extensive empirical results across 9 benchmark TAGs demonstrate UniGLM's efficacy against leading embedding baselines in terms of generalization (various downstream tasks and backbones) and transfer learning (in and out of domain scenarios). The code is available at https://github.com/NYUSHCS/UniGLM.

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

↑