| 注册
首页|期刊导航|水利学报|基于意图识别的知识图谱增强大语言模型问答方法

基于意图识别的知识图谱增强大语言模型问答方法

张栋梁 马刚 周伟 王旭东 张义 王小毛

水利学报2026,Vol.57Issue(2):280-292,305,14.
水利学报2026,Vol.57Issue(2):280-292,305,14.DOI:10.3724/j.slxb.20250256

基于意图识别的知识图谱增强大语言模型问答方法

Knowledge graph-augmented large language model question answering based on intent recognition:A case study of flood defense and rescue

张栋梁 1马刚 2周伟 2王旭东 3张义 4王小毛5

作者信息

  • 1. 武汉大学 水工程科学研究院,湖北 武汉 430072||武汉大学 水资源工程与调度全国重点实验室,湖北 武汉 430072
  • 2. 武汉大学 水工程科学研究院,湖北 武汉 430072||武汉大学 水资源工程与调度全国重点实验室,湖北 武汉 430072||武汉大学 水工岩石力学教育部重点实验室,湖北 武汉 430072
  • 3. 武汉大学 水资源工程与调度全国重点实验室,湖北 武汉 430072
  • 4. 河南城建学院,河南 平顶山 467036
  • 5. 武汉大学 水工程科学研究院,湖北 武汉 430072||武汉大学 水资源工程与调度全国重点实验室,湖北 武汉 430072||长江设计集团有限公司,湖北 武汉 430010
  • 折叠

摘要

Abstract

When enhancing the application of large language model(LLM)in flood defense and rescue with water conservancy knowledge graphs,intent recognition of user queries faces challenges such as limited corpora,an abun-dance of specialized terminology,and difficulties in semantic understanding.Existing methods perform poorly in low-resource intent recognition scenarios.This study proposes a multi-model ensemble method based on a voting strategy to accurately identify question intent and extract knowledge from knowledge graphs under low-resource conditions,leading to the development of a question-answering system for flood defense and rescue.Firstly,based on domain entity recognition and text semantic representation,three individual intent recognition models were constructed using rule-based methods,machine learning,and LLMs.Secondly,the Grey Wolf Optimization algorithm was used to assign weights to the individual models based on their performance,and a voting strategy was used to construct an intent recognition ensemble model.Finally,the ensemble model was subsequently employed to query the flood defense and rescue knowledge graph,and in combination with an LLM,a question-answering system was developed to facilitate efficient interaction between natural language queries and the knowledge graph.Experimental results show that the ensemble model achieves an average F1 score of 0.912 in five-fold cross-validation in low-resource intent recognition scenarios,markedly outperforming deep learning models such as BERT.The developed system enables accurate and efficient retrieval and reuse of domain knowledge,providing a new pathway for the transforma-tion and utilization of water conservancy knowledge and the advancement of smart water management.

关键词

防汛抢险/意图识别/知识问答/投票策略/大语言模型/知识图谱

Key words

flood defense and rescue/intent recognition/knowledge-based question answering/voting strategy/large language model/knowledge graph

分类

建筑与水利

引用本文复制引用

张栋梁,马刚,周伟,王旭东,张义,王小毛..基于意图识别的知识图谱增强大语言模型问答方法[J].水利学报,2026,57(2):280-292,305,14.

基金项目

国家重点研发计划项目(2022YFC3005505) (2022YFC3005505)

国家自然科学基金项目(52322907,52179141,U23B20149) (52322907,52179141,U23B20149)

水利学报

0559-9350

访问量0
|
下载量0
段落导航相关论文