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

利用解释:用于增强文本属性图表示学习的 LLM-to-LM 解释器

Harnessing Explanations: LLM-to-LM Interpreter for Enhanced Text-Attributed Graph Representation Learning

National University of Singapore(新加坡国立大学);Loyola Marymount University(洛约拉马利蒙特大学);Element, Inc.(Element公司);New York University(纽约大学);Meta AI

Xiaoxin He, Xavier Bresson, Thomas Laurent, Adam Perold, Yann LeCun, Bryan Hooi

AI总结:

本研究提出LLM-to-LM解释器,将大语言模型零样本分类的决策解释转化为特征以增强图神经网络性能,在多个文本属性图数据集上达最优且训练速度提升2.88倍。

摘要:

文本属性图(TAGs)上的表示学习近年来已成为关键研究问题。TAG 的典型例子是论文引用图,其中每篇论文的文本作为节点属性。早期图神经网络(GNN)流水线通过将文本属性转换为浅层或手工特征(如跳字模型或词袋特征)来处理这些属性。近期研究致力于用语言模型(LMs)增强这些流水线,但这类方法通常需要复杂设计和大量计算资源。随着GPT、Llama2等强大大语言模型(LLMs)的出现,这类模型展现出推理和运用通用知识的能力,将LLMs的文本建模能力与GNN的结构学习能力相结合的技术需求日益增长。因此,本研究聚焦于利用LLMs捕获文本信息作为特征,以提升GNN在下游任务上的性能。核心创新点在于将解释作为特征:我们提示LLM执行零样本分类,要求其为决策过程提供文本解释,并设计了LLM-to-LM解释器,将这些解释转换为可供下游GNN使用的高信息量特征。实验表明,本方法在成熟的TAG数据集(包括Cora、PubMed、ogbn-arxiv)以及我们新引入的tape-arxiv23数据集上均取得了最优结果。此外,本方法显著加快了训练速度,在ogbn-arxiv数据集上,相比性能最接近的基线实现了2.88倍的提升。最后,我们认为所提方法的通用性不止于TAG领域,还有望增强其他涉及图-文本数据的任务。我们的代码和数据集可在以下链接获取:https://github.com/XiaoxinHe/TAPE。

英文摘要:

Representation learning on text-attributed graphs (TAGs) has become a critical research problem in recent years. A typical example of a TAG is a paper citation graph, where the text of each paper serves as node attributes. Initial graph neural network (GNN) pipelines handled these text attributes by transforming them into shallow or hand-crafted features, such as skip-gram or bag-of-words features. Recent efforts have focused on enhancing these pipelines with language models (LMs), which typically demand intricate designs and substantial computational resources. With the advent of powerful large language models (LLMs) such as GPT or Llama2, which demonstrate an ability to reason and to utilize general knowledge, there is a growing need for techniques which combine the textual modelling abilities of LLMs with the structural learning capabilities of GNNs. Hence, in this work, we focus on leveraging LLMs to capture textual information as features, which can be used to boost GNN performance on downstream tasks. A key innovation is our use of explanations as features: we prompt an LLM to perform zero-shot classification, request textual explanations for its decision-making process, and design an LLM-to-LM interpreter to translate these explanations into informative features for downstream GNNs. Our experiments demonstrate that our method achieves state-of-the-art results on well-established TAG datasets, including Cora, PubMed, ogbn-arxiv, as well as our newly introduced dataset, tape-arxiv23. Furthermore, our method significantly speeds up training, achieving a 2.88 times improvement over the closest baseline on ogbn-arxiv. Lastly, we believe the versatility of the proposed method extends beyond TAGs and holds the potential to enhance other tasks involving graph-text data. Our codes and datasets are available at: https://github.com/XiaoxinHe/TAPE.

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

↑