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

用于大型语言模型图推理的图线性化方法

Graph Linearization Methods for Reasoning on Graphs with Large Language Models

Ecole Polytechnique(巴黎高等理工学院);MBZUAI(马克斯·普朗克人工智能研究所);NTUA(希腊国家技术研究中心);University of Peloponnese(希腊皮洛斯大学)

Christos Xypolopoulos, Guokan Shang, Xiao Fei, Giannis Nikolentzos, Hadi Abdine, Iakovos Evdaimon, Michail Chatzianastasis, Giorgos Stamou, Michalis Vazirgiannis

AI总结:

本文提出基于图中心性和退化性并结合节点重标记技术的图线性化方法,将图转化为线性标记序列,有效提升了大型语言模型的图推理能力。

摘要:

大型语言模型已发展到能够处理文本之外的多种模态,如图像和音频,这促使我们探索如何有效地利用它们来完成图推理任务。因此,关键问题是如何将图转换为线性的标记序列,我们将这一过程称为“图线性化”,以便LLMs能够自然地处理图。我们认为,图应该被有意义地线性化,以反映自然语言文本的某些特性,如局部依赖性和全局对齐性,从而使基于数万亿文本标记训练的当代LLMs能更好地理解图。为此,我们基于图中心性和退化性开发了多种图线性化方法。这些方法通过节点重标记技术得到了进一步增强。实验结果表明,与随机线性化基线相比,我们的方法具有有效性。我们的工作引入了适合LLMs的新型图表示,有助于将图机器学习与使用统一Transformer模型的多模态处理趋势相整合。

英文摘要:

Large language models have evolved to process multiple modalities beyond text, such as images and audio, which motivates us to explore how to effectively leverage them for graph reasoning tasks. The key question, therefore, is how to transform graphs into linear sequences of tokens, a process we term "graph linearization", so that LLMs can handle graphs naturally. We consider that graphs should be linearized meaningfully to reflect certain properties of natural language text, such as local dependency and global alignment, in order to ease contemporary LLMs, trained on trillions of textual tokens, better understand graphs. To achieve this, we developed several graph linearization methods based on graph centrality and degeneracy. These methods are further enhanced using node relabeling techniques. The experimental results demonstrate the effectiveness of our methods compared to the random linearization baseline. Our work introduces novel graph representations suitable for LLMs, contributing to the potential integration of graph machine learning with the trend of multimodal processing using a unified transformer model.

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

↑