Large language models can better understand knowledge graphs than we thought

被引:0
作者
Dai, Xinbang [1 ]
Hua, Yuncheng [2 ]
Wu, Tongtong [3 ]
Sheng, Yang [4 ]
Ji, Qiu [4 ]
Qi, Guilin [1 ]
机构
[1] Southeast Univ, Nanjing, Jiangsu, Peoples R China
[2] Univ New South Wales, Sydney, NSW, Australia
[3] Monash Univ, Melbourne, Vic, Australia
[4] Nanjing Univ Posts & Telecommun, Nanjing, Jiangsu, Peoples R China
关键词
Knowledge graph; Large language model;
D O I
10.1016/j.knosys.2025.113060
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
When we integrate factual knowledge from knowledge graphs (KGs) into large language models (LLMs) to enhance their performance, the cost of injection through training increases with the scale of the models. Consequently, there is significant interest in developing prompt strategies that effectively incorporate KG information into LLMs. However, the community has not yet comprehensively understood how LLMs process and interpret KG information in different input formats and organizations within prompts, and researchers often rely on trial and error. To address this gap, we design extensive experiments to empirically study LLMs' comprehension of different KG prompts. At the literal level, we reveal LLMs' preferences for various input formats (from linearized triples to fluent natural language text). At the attention distribution level, we discuss the underlying mechanisms driving these preferences. We then investigate how the organization of structured knowledge impacts LLMs and evaluate LLMs' robustness in processing and utilizing KG information in practical scenarios. Our experiments show that (1) linearized triples are more effective than fluent NL text in helping LLMs understand KG information and answer fact-intensive questions; (2) Different LLMs exhibit varying preferences for different organizational formats of triples; (3) LLMs with larger scales are more susceptible to noisy, incomplete subgraphs.
引用
收藏
页数:10
相关论文
共 50 条
[21]   Utilizing structural metrics from knowledge graphs to enhance the robustness quantification of large language models [J].
Haque, Mohd Ariful ;
Kamal, Marufa ;
George, Roy ;
Gupta, Kishor Datta .
INTERNATIONAL JOURNAL OF DATA SCIENCE AND ANALYTICS, 2024,
[22]   Enhancing Clinical Trial Summarization: Leveraging Large Language Models and Knowledge Graphs for Entity Preservation [J].
Nahed, Pouyan ;
Kambar, Mina Esmail Zadeh Nojoo ;
Taghva, Kazem .
PROCEEDINGS OF NINTH INTERNATIONAL CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGY, ICICT 2024, VOL 7, 2024, 1003 :325-336
[23]   Leveraging Medical Knowledge Graphs and Large Language Models for Enhanced Mental Disorder Information Extraction [J].
Park, Chaelim ;
Lee, Hayoung ;
Jeong, Ok-ran .
FUTURE INTERNET, 2024, 16 (08)
[24]   Semantic-driven parametric 3D geographic scene modeling: Integrating knowledge graphs and large language models [J].
Dang, Pei ;
Zhu, Jun ;
Dang, Chao ;
Zhang, Heng .
ENVIRONMENTAL MODELLING & SOFTWARE, 2025, 188
[25]   MULTPAX: Keyphrase Extraction Using Language Models and Knowledge Graphs [J].
Zahera, Hamada M. ;
Vollmers, Daniel ;
Sherif, Mohamed Ahmed ;
Ngomo, Axel-Cyrille Ngonga .
SEMANTIC WEB - ISWC 2022, 2022, 13489 :303-318
[26]   A disambiguation method for potential ambiguities in Chinese based on knowledge graphs and large language model [J].
Zhang, Dan ;
Jia, Delong .
ALEXANDRIA ENGINEERING JOURNAL, 2025, 126 :293-302
[27]   Research on a traditional Chinese medicine case-based question-answering system integrating large language models and knowledge graphs [J].
Duan, Yuchen ;
Zhou, Qingqing ;
Li, Yu ;
Qin, Chi ;
Wang, Ziyang ;
Kan, Hongxing ;
Hu, Jili .
FRONTIERS IN MEDICINE, 2025, 11
[28]   Benchmarking Biomedical Relation Knowledge in Large Language Models [J].
Zhang, Fenghui ;
Yang, Kuo ;
Zhao, Chenqian ;
Li, Haixu ;
Dong, Xin ;
Tian, Haoyu ;
Zhou, Xuezhong .
BIOINFORMATICS RESEARCH AND APPLICATIONS, PT II, ISBRA 2024, 2024, 14955 :482-495
[29]   A survey of large language model-augmented knowledge graphs for advanced complex product design [J].
Liang, Xinxin ;
Wang, Zuoxu ;
Liu, Jihong .
JOURNAL OF MANUFACTURING SYSTEMS, 2025, 80 :883-901
[30]   Towards Long-Text Entity Resolution with Chain-of-Thought Knowledge Augmentation from Large Language Models [J].
Tang, Jiakai ;
Dou, Wenzhou ;
Shen, Derong ;
Nie, Tiezheng ;
Kou, Yue .
DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2024, PT 5, 2024, 14854 :322-336