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

GraphTranslator:为开放式任务对齐图模型与大型语言模型

GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended Tasks

Alibaba Group Holding Limited(阿里巴巴集团控股有限公司);Peng Cheng Laboratory(鹏城实验室)

Mengmei Zhang, Mingwei Sun, Peng Wang, Shen Fan, Yanhu Mo, Xiaoxiao Xu, Hong Liu, Cheng Yang, Chuan Shi

AI总结:

本文提出GraphTranslator,通过Producer构建图—文本对齐数据并训练翻译器,将图模型节点表示映射为LLM token,以统一框架支持预定义任务与开放式图任务。

摘要:

像ChatGPT这样的大型语言模型(LLM)展现出强大的零样本与指令遵循能力,已推动多个领域发生革命性变革,尤其是在开放式任务方面。尽管已有众多强大的图模型(GM),但这一思路在图领域仍较少被探索;这些图模型受限于预定义形式的任务。虽然已有若干将LLM应用于图的方法被提出,但它们要么把LLM作为节点特征增强器,要么将其作为独立预测器,因而无法同时处理预定义任务和开放式任务。为打破这一困境,本文提出通过一个名为GraphTranslator的Translator(翻译器)连接预训练GM与LLM,旨在利用GM有效处理预定义任务,并借助LLM的扩展接口为GM提供各种开放式任务。为训练该Translator,本文提出一个Producer(生成器),能够沿节点信息、邻居信息和模型信息构建图—文本对齐数据。通过将节点表示翻译为token,GraphTranslator使LLM能够依据语言指令进行预测,从而为预定义任务和开放式任务提供统一视角。大量结果证明了所提GraphTranslator在零样本节点分类上的有效性。图问答实验揭示了GraphTranslator通过语言指令覆盖广泛开放式任务的潜力。代码位于:https://github.com/alibaba/GraphTranslator。

英文摘要:

Large language models (LLMs) like ChatGPT, exhibit powerful zero-shot and instruction-following capabilities, have catalyzed a revolutionary transformation across diverse fields, especially for open-ended tasks. While the idea is less explored in the graph domain, despite the availability of numerous powerful graph models (GMs), they are restricted to tasks in a pre-defined form. Although several methods applying LLMs to graphs have been proposed, they fail to simultaneously handle the pre-defined and open-ended tasks, with LLM as a node feature enhancer or as a standalone predictor. To break this dilemma, we propose to bridge the pretrained GM and LLM by a Translator, named GraphTranslator, aiming to leverage GM to handle the pre-defined tasks effectively and utilize the extended interface of LLMs to offer various open-ended tasks for GM. To train such Translator, we propose a Producer capable of constructing the graph-text alignment data along node information, neighbor information and model information. By translating node representation into tokens, GraphTranslator empowers an LLM to make predictions based on language instructions, providing a unified perspective for both pre-defined and open-ended tasks. Extensive results demonstrate the effectiveness of our proposed GraphTranslator on zero-shot node classification. The graph question answering experiments reveal our GraphTranslator potential across a broad spectrum of open-ended tasks through language instructions. Our code is available at: https://github.com/alibaba/GraphTranslator.

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

↑