Uncategorized

[2309.15427] Graph Neural Prompting with Large Language Models



Download a PDF of the paper titled Graph Neural Prompting with Large Language Models, by Yijun Tian and 7 other authors

Download PDF
HTML (experimental)

Abstract: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 this https URL.

Submission history

From: Yijun Tian [view email]
[v1]
Wed, 27 Sep 2023 06:33:29 UTC (1,717 KB)
[v2]
Thu, 28 Dec 2023 21:14:01 UTC (1,718 KB)



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *