KG-prompt: Interpretable knowledge graph prompt for pre-trained language models

计算机科学 人工智能 自然语言处理 图形 知识图 理论计算机科学
作者
Liyi Chen,Jie Liu,Yutai Duan,Runze Wang
出处
期刊:Knowledge Based Systems [Elsevier BV]
卷期号:311: 113118-113118 被引量:3
标识
DOI:10.1016/j.knosys.2025.113118
摘要

Knowledge graphs (KGs) can provide rich factual knowledge for language models , enhancing reasoning ability and interpretability . However, existing knowledge injection methods usually ignore the structured information in KGs. Using structured knowledge to enhance pre-trained language models (PLMs) still has a set of challenging issues, including resource consumption of knowledge retraining, heterogeneous information, and knowledge noise. To address these issues, we explore how to flexibly inject structured knowledge into frozen PLMs. Inspired by prompt learning, we propose a novel method K nowledge G raph Prompt (KG-Prompt), which for the first time encodes the KG as structured prompts to enhance the knowledge expression ability of PLMs. KG-Prompt consists of a compressed subgraph construction module and a KG prompt generation module. In the compressed subgraph construction module, we construct compressed subgraphs based on a path-weighting strategy to reduce knowledge noise. In the KG prompt generation module, we propose a multi-hop consistency optimization strategy to learn the representation of compressed subgraphs, and then generate KG prompts based on a knowledge mapper to solve the heterogeneous information problem. The KG prompts can be inserted into the input of PLMs expediently, which decouples from PLMs and the downstream model without knowledge retraining and reduces computational resources . Extensive experiments on three knowledge-driven natural language understanding tasks demonstrate that our approach effectively improves the knowledge reasoning ability of PLMs. Furthermore, we provide a detailed analysis of different KG prompts and discuss the interpretability and generalizability of the proposed method. • A novel interpretable knowledge injection method is proposed. • The knowledge graph is innovatively compressed and encoded as structured prompts. • Without knowledge retraining, the proposed method improves performance of models.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
tiamo完成签到,获得积分10
刚刚
1秒前
jtyjmn完成签到,获得积分10
1秒前
Jun发布了新的文献求助10
2秒前
2秒前
3秒前
包容无血发布了新的文献求助10
3秒前
3秒前
v0id应助LIU123456采纳,获得10
4秒前
4秒前
慈祥的山晴完成签到 ,获得积分10
4秒前
蔡能涛完成签到,获得积分10
5秒前
负责的书易完成签到,获得积分10
6秒前
香蕉觅云应助可爱安白采纳,获得10
6秒前
6秒前
WHY发布了新的文献求助10
9秒前
dz618发布了新的文献求助10
9秒前
kjysbw完成签到 ,获得积分10
9秒前
10秒前
秋风举报ccooico求助涉嫌违规
10秒前
完美的电源完成签到,获得积分10
11秒前
老实的从菡完成签到,获得积分10
12秒前
13秒前
13秒前
傍晚的风发布了新的文献求助10
13秒前
Yang完成签到,获得积分10
14秒前
14秒前
难过立辉完成签到 ,获得积分10
15秒前
15秒前
15秒前
Jory完成签到,获得积分10
15秒前
秋风举报不会飞的笨笨子求助涉嫌违规
16秒前
17秒前
17秒前
17秒前
秦梓椋发布了新的文献求助10
17秒前
17秒前
Nodi发布了新的文献求助30
18秒前
lijunliang发布了新的文献求助10
18秒前
FashionBoy应助junru采纳,获得30
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
A Case Study on Hotels as Noncongregate Emergency Living Accommodations for Returning Citizens 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7765116
求助须知:如何正确求助?哪些是违规求助? 9309477
关于积分的说明 20310890
捐赠科研通 7349894
什么是DOI,文献DOI怎么找? 3314723
关于科研通互助平台的介绍 2464118
邀请新用户注册赠送积分活动 2329177