KGMP: Augmenting retrieval knowledge graph with multi-hop perceptron

Z Zhijie Yang (Key Laboratory of Colloid and Interface Chemistry, Ministry of Education, School of Chemistry and Chemical Engineering) L Liyuan Weng L Liang Zhang R Ruojia Tong J Jianyu Xie Z Zhuo Zeng (Department of Chemistry, College of Smart Materials and Future Energy, New Cornerstone Science Laboratory, State Key Laboratory of Molecular Engineering of Polymers, Shanghai Key Laboratory of Molecular Catalysis and Innovative Materials and iChem, Shanghai Wusong Laboratory of Materials Science) D Duanbing Chen

Abstract

The core challenge of Knowledge Base Question Answering (KBQA), as a bridge between natural language and structured knowledge, is to accurately map complex semantic queries into Graph Query Language (GQL). Compared with the traditional Text-to-SQL task, KBQA faces a dual challenge: the structural differences between GQL and SQL and the lack of high-order subgraph information in multi-hop inference of knowledge graphs. While existing approaches such as ChatKBQA have made progress, the limitation of subgraph scalability severely constrains multi-hop query performance. To this end, this study proposes Knowledge Graph Multi-hop Perceptron (KGMP) - a retrieval-generation framework fine-tuned based on open-source large language models, whose innovativeness is reflected in three aspects: 1. Dynamic Graph Traversal Mechanism: Through an iterative subgraph expansion strategy, KGMP effectively achieves dynamic traversal of problem oriented graphs with progressive reasoning. 2. Structured Interaction Protocol: Based on SparQL syntax, KGMP designs a lightweight interaction instruction set to build an efficient communication interface between LLM and knowledge graph. 3. Graph Structure Optimization Technique: Develop subgraph reordering algorithms and pruning strategies based on the reranker model to ensure that the subgraphs input to the LLM are both compact and semantically complete. By integrating KGMP as a retrieval module into the ChatKBQA framework and providing it with optimised multi-hop subgraph input, the experimental results show a performance improvement of 6.2% and 5.3% on the WebQSP and CWQ datasets, respectively. This study provides a new technical paradigm for deep collaboration between LLM and knowledge graph.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 10
Published October 06, 2025
Pages e0333037
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (7)

Z

Zhijie Yang

Key Laboratory of Colloid and Interface Chemistry, Ministry of Education, School of Chemistry and Chemical Engineering

L

Liyuan Weng

L

Liang Zhang

R

Ruojia Tong

J

Jianyu Xie

Z

Zhuo Zeng

Department of Chemistry, College of Smart Materials and Future Energy, New Cornerstone Science Laboratory, State Key Laboratory of Molecular Engineering of Polymers, Shanghai Key Laboratory of Molecular Catalysis and Innovative Materials and iChem, Shanghai Wusong Laboratory of Materials Science

D

Duanbing Chen