Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (11): 3489-3495.DOI: 10.11772/j.issn.1001-9081.2025091113

• Artificial intelligence • Previous Articles    

Chain-of-thought driven multi-hop graph reasoning for knowledge question answering service

Heqing LIANG1,2(), Chen LIU1,2, Zhuofeng ZHAO1,2, Hongmin CAI3   

  1. 1.School of Artificial Intelligence and Computer Science,North China University of Technology,Beijing 100144,China
    2.Beijing Key Laboratory on Integration and Analysis of Large-scale Stream Data (North China University of Technology),Beijing 100144,China
    3.School of Future Technology,South China University of Technology,Guangzhou Guangdong 510641,China
  • Received:2025-09-23 Revised:2025-10-29 Accepted:2025-11-07 Online:2025-11-18 Published:2026-11-10
  • Contact: Heqing LIANG
  • About author:LIU Chen, born in 1980, Ph. D., associate research fellow. His research interests include large language model, knowledge graph.
    ZHAO Zhuofeng, born in 1977, Ph. D., research fellow. His research interests include big data, large language model, knowledge graph.
    CAI Hongmin, born in 1979, Ph. D., professor. His research interests include medical image analysis and understanding, bioinformatics analysis, pattern recognition, data mining.
  • Supported by:
    This work is partially supported by Introduction of Leading Talents (Teams) in Innovation and Entrepreneurship Project of Shijiazhuang(10202501)

基于思维链驱动的多跳图推理知识问答服务

梁贺青1,2(), 刘晨1,2, 赵卓峰1,2, 蔡宏民3   

  1. 1.北方工业大学 人工智能与计算机学院,北京 100144
    2.大规模数据流集成与分析技术北京市重点实验室(北方工业大学),北京 100144
    3.华南理工大学 未来技术学院,广州 510641
  • 通讯作者: 梁贺青
  • 作者简介:刘晨(1980—),男,山东莱芜人,副研究员,博士,CCF会员,主要研究方向:大模型、知识图谱
    赵卓峰(1977—),男,山东济南人,研究员,博士,CCF会员,主要研究方向:大数据、大模型、知识图谱
    蔡宏民(1979—),男,广东广州人,教授,博士,CCF会员,主要研究方向:医学图像分析与理解、生物信息分析、模式识别、数据挖掘。
  • 基金资助:
    石家庄市引进创新创业领军人才(团队)项目(10202501)

Abstract:

To address the problems of insufficient answer accuracy and limited multi-hop reasoning capabilities of Large Language Models (LLMs) in knowledge-intensive question-answering tasks, a Chain-of-Thought (CoT)-driven Multi-Hop graph reasoning question-answering service (CoT-MHop) was proposed. First, complex questions were decomposed into logically dependent sub-question sequences through the automated question decomposition technology of CoT. Then, a template-guided multi-hop reasoning algorithm was employed to extract high-confidence reasoning paths from the Knowledge Graph (KG). Finally, hierarchical prompt engineering was applied to integrate reasoning information for LLM answer generation. Experimental results show that CoT-MHop achieves accuracies of 93.9%, 84.7%, and 62.3% on the PowerQA (a self-built power equipment dataset), WebQSP (WebQuestionsSP), and CWQ (ComplexWebQuestions) benchmark datasets, respectively, outperforming the mainstream baseline method, Retrieval-Augmented Generation (RAG). The CoT-MHop can efficiently adapt to domain-specific knowledge-intensive tasks and provides a scalable solution for complex knowledge reasoning.

Key words: knowledge question answering service, multi-hop reasoning, chain-of-thought, Large Language Model (LLM), knowledge graph

摘要:

针对大语言模型(LLM)在知识密集型问答任务中存在答案准确性不足以及复杂多跳推理能力有限等问题,提出一种基于思维链(CoT)驱动的多跳图推理知识问答服务(CoT-MHop)。首先,利用CoT自动化问题分解技术将复杂问题拆解为逻辑依赖的子问题序列;其次,采用模板引导的多跳推理算法从知识图谱(KG)中提取高置信度的推理路径;最后,通过层次化提示工程整合推理信息,引导LLM生成准确答案。实验结果表明,CoT-MHop在PowerQA(自建电力设备数据集)、WebQSP (WebQuestionsSP)与CWQ (ComplexWebQuestions) 3个知识密集型问答基准数据集上的准确率分别达到93.9%、84.7%和62.3%,显著优于主流基线方法检索增强生成(RAG)。CoT-MHop能高效适配领域知识密集型任务,并为复杂知识推理提供可扩展的解决方案。

关键词: 知识问答服务, 多跳推理, 思维链, 大语言模型, 知识图谱

CLC Number: