arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.15427cs.CLcs.AIcs.LG
收藏

图神经提示与大型语言模型

Graph Neural Prompting with Large Language Models

University of Notre Dame(圣母大学);Amazon(亚马逊)

Yijun Tian, Huan Song, Zichen Wang, Haozhu Wang, Ziqing Hu, Fang Wang, Nitesh V. Chawla, Panpan Xu

AI总结:

提出图神经提示(GNP),一种即插即用方法,通过知识图谱增强预训练大型语言模型,在常识和生物医学推理任务上表现优越。

摘要:

大型语言模型(LLMs)在各种语言建模任务中展现出了显著的泛化能力和卓越性能。然而,它们在精确捕获和返回接地知识方面仍存在固有局限性。尽管已有工作探索利用知识图谱(KGs)通过联合训练和定制模型架构来增强语言建模,但将其应用于LLMs因参数数量庞大和计算成本高昂而存在问题。因此,如何利用接地知识(如检索增强生成)来增强预训练LLMs仍是一个开放问题。在本工作中,我们提出了图神经提示(GNP),一种新颖的即插即用方法,以帮助预训练LLMs从KGs中学习有益知识。GNP包含多种设计,包括标准图神经网络编码器、跨模态池化模块、领域投影器以及自监督链接预测目标。在多个数据集上的广泛实验表明,GNP在不同LLM规模和设置下的常识推理和生物医学推理任务上均表现出优越性。代码可在https://github.com/meettyj/GNP获取。

英文摘要:

Large language models (LLMs) have shown remarkable generalization capability with exceptional performance in various language modeling tasks. However, they still exhibit inherent limitations in precisely capturing and returning grounded knowledge. While existing work has explored utilizing knowledge graphs (KGs) to enhance language modeling via joint training and customized model architectures, applying this to LLMs is problematic owing to their large number of parameters and high computational cost. Therefore, how to enhance pre-trained LLMs using grounded knowledge, e.g., retrieval-augmented generation, remains an open question. In this work, we propose Graph Neural Prompting (GNP), a novel plug-and-play method to assist pre-trained LLMs in learning beneficial knowledge from KGs. GNP encompasses various designs, including a standard graph neural network encoder, a cross-modality pooling module, a domain projector, and a self-supervised link prediction objective. Extensive experiments on multiple datasets demonstrate the superiority of GNP on both commonsense and biomedical reasoning tasks across different LLM sizes and settings. Code is available at https://github.com/meettyj/GNP.

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

↑