PDF(10936 KB)
融合大语言模型的台风场景下电网应急知识图谱构建方法
林雨辰, 张新伟, 张思航, 杨知, 谷纪亭, 孙秋洁, 钟茂华
清华大学学报(自然科学版) ›› 2026, Vol. 66 ›› Issue (3) : 519-529.
PDF(10936 KB)
PDF(10936 KB)
融合大语言模型的台风场景下电网应急知识图谱构建方法
A method for constructing an emergency knowledge graph for power grid systems under typhoon scenarios using large language models
为解决目前电网应急体系在应对台风灾害时, 存在过度依赖主观经验和知识整合能力较弱等问题, 该文提出一种融合大语言模型的台风场景下电网应急知识图谱构建方法, 并利用台风灾害历史数据和应急预案资料构建知识图谱, 以辅助台风场景下电网的应急决策。该文首先采用双向编码器表征法-双向长短期记忆深度学习模型, 从非结构化文本中抽取关键实体及其关系; 随后, 采用可视化技术提升模型输出结果的可解释性, 并结合判别式方法和大语言模型进行知识融合。研究结果表明:该文所提方法的知识融合准确率较传统方法提升10.11%;在知识图谱应用阶段, 知识融合的可靠性和丰富度等指标显著提升, 可生成融合历史案例和应急预案的辅助决策方案。该文融合知识图谱与大语言模型, 有效解决了知识碎片化问题, 研究结果可为电力系统在台风灾害下的应急管理提供参考。
Objective: Typhoons, characterized by sudden onset, extensive geographic impact, and considerable destructive power, pose recurring threats to the stability and safety of power grid systems, particularly in China's coastal regions. As extreme weather events become more frequent due to climate change, conventional emergency management approaches are inadequate. These methods often suffer from fragmented knowledge sources, inefficient information extraction, and limited support for intelligent decision-making. Hence, this article proposes an integrated technical framework that combines knowledge graphs with large language models (LLMs). This study aimed to improve risk perception, enhance decision-making accuracy, and bolster emergency response effectiveness in typhoon-triggered power grid incidents. Zhejiang Province, a coastal area frequently impacted by typhoons, was selected as the demonstration case for the framework. Methods: The framework of knowledge graph construction included the design of two graph types: one derived from accident reports and the other derived from emergency plans. The accident-based knowledge graph was structured according to the Triangular Framework for Public Security Science and Technology at the schema layer. It organized knowledge into three primary dimensions: emergency events, affected infrastructure, and corresponding emergency management strategies. Meanwhile, the emergency-plan-based knowledge graph was structured based on the electric power production life cycle, covering key stages such as power transmission, power transformation, power distribution, power utilization, and energy storage. Both graphs worked together to support emergency planning. The system employed a hybrid approach at the data processing layer that integrated BERT with a bidirectional long short-term memory network. This hybrid model performed named entity recognition and relationship extraction. The extracted entities and relationships were visualized to improve model interpretability, enabling domain experts to validate and understand the underlying information. An enhanced discriminative similarity algorithm was introduced in the knowledge fusion process. Initially, cosine similarity and Pearson correlation filtered out low-relevance entity pairs. High-similarity entities were then semantically validated using the LLM, ensuring accurate fusion and reducing erroneous entity alignments. Experimental results showed a 10.11% improvement in accuracy compared to conventional methods. The final knowledge graphs were stored in the Neo4j graph database, which supported interactive visualization and real-time query functionalities. The system enabled intelligent reasoning for handling real-world disaster scenarios in the application stage. Using the Cypher query language, this study conducted a fuzzy query based on disaster descriptions. Relevant information was retrieved from the knowledge graph as a structured knowledge base. The ECO-STAR prompting template was used to guide the model in generating targeted risk analyses and emergency recommendations. Results: A case study was conducted in Zhejiang Province to validate the proposed framework. The results showed that integrating knowledge graphs and LLMs improved semantic precision. The integration also enhanced the relevance of decision support outputs. In addition, it reduced hallucination phenomena that often occurred when general-purpose LLMs were applied in specialized domains. Conclusions: This study highlights the value of leveraging LLMs in constructing an emergency knowledge graph for power grids during typhoons. The proposed method offers a scalable, intelligent solution for managing power grid emergencies during typhoons and serves as a valuable reference for enhancing the disaster resilience of energy systems.
power grid / typhoon / knowledge graph / large language models
| 1 |
中华人民共和国应急管理部. 国家防灾减灾救灾委员会办公室应急管理部发布2024年前三季度全国自然灾害情况. (2024-10-22). https://www.mem.gov.cn/xw/yjglbgzdt/202410/t20241022_505737.shtml.
Ministry of Emergency Management of the People's Republic of China. The National Commission for Disaster Prevention, Reduction and Relief. The Ministry of Emergency Management releases information on nationalwide natural disasters for the first three quarters of 2024. (2024-10-22). https://www.mem.gov.cn/xw/yjglbgzdt/202410/t20241022_505737.shtml. (in Chinese)
|
| 2 |
中国气象局. 台风的定义. (2018-07-17). https://www.cma.gov.cn/2011xzt/kpbd/typhoon/2018050901/201807/t20180717_473579.html.
China Meteorological Administration. Definition of typhoon. (2018-07-17). https://www.cma.gov.cn/2011xzt/kpbd/typhoon/2018050901/201807/t20180717_473579.html. (in Chinese)
|
| 3 |
|
| 4 |
|
| 5 |
中华人民共和国自然资源部. 中国海洋灾害公报. (2024-04-15). https://www.mnr.gov.cn/sj/sjfw/hy/gbgg/zghyzhgb/.
Ministry of Natural Resources of the People's Republic of China. Bulletin of China marine disaster. (2024-04-15). https://www.mnr.gov.cn/sj/sjfw/hy/gbgg/zghyzhgb/. (in Chinese)
|
| 6 |
齐冬莲, 陈郁林, 朱益哲, 等. 非常规视角下电力系统抗毁性研究初探[J]. 电力系统自动化, 2025, 49 (16): 9- 21.
|
| 7 |
唐斯庆, 张弥, 李建设, 等. 海南电网"9·26"大面积停电事故的分析与总结[J]. 电力系统自动化, 2006, 30 (1): 1- 7.
|
| 8 |
江旭晖, 沈英汉, 李子健, 等. 社交知识图谱研究综述[J]. 计算机学报, 2023, 46 (2): 304- 330.
|
| 9 |
|
| 10 |
DEVLIN J, CHANG M W, LEE K, et al. BERT: Pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). Minneapolis, USA: Association for Computational Linguistics, 2019: 4171-4186.
|
| 11 |
张江石, 李泳暾, 吴静茹, 等. 煤矿事故原因智能分析方法研究与应用[J]. 清华大学学报(自然科学版), 2025, 65 (3): 555- 568.
|
| 12 |
尹学振, 赵慧, 赵俊保, 等. 多神经网络协作的军事领域命名实体识别[J]. 清华大学学报(自然科学版), 2020, 60 (8): 648- 655.
|
| 13 |
|
| 14 |
|
| 15 |
周义棋, 刘畅, 龙增, 等. 电网应急预案知识图谱构建方法与应用[J]. 中国安全生产科学技术, 2023, 19 (1): 5- 13.
|
| 16 |
朱海铭, 林广发, 张明锋, 等. 基于灾害风险普查知识库的台风灾害链知识图谱构建[J]. 灾害学, 2024, 39 (1): 209- 215.
|
| 17 |
王益鹏, 张雪英, 党玉龙, 等. 顾及时空过程的台风灾害事件知识图谱表示方法[J]. 地球信息科学学报, 2023, 25 (6): 1228- 1239.
|
| 18 |
ZHAO X, ZHOU K, LI J Y. A survey of large language models. (2025-03-11). https://doi.org/10.48550/arXiv.2303.18223.
|
| 19 |
ZHAO W X, ZHOU K, LI J Y, et al. A survey of large language models. (2025-03-31). https://arxiv.org/abs/2303.18223.
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
LIU C, CAI L Z, DALZELL G, et al. Large language model for extreme electricity price forecasting in the Australia electricity market[C]//Proceedings of the IECON 2024-50th Annual Conference of the IEEE Industrial Electronics Society. Chicago, USA: IEEE, 2024: 1-6.
|
| 25 |
|
| 26 |
ZHANG Z, GAO J, DHALIWAL R S, et al. VISAR: A human-AI argumentative writing assistant with visual programming and rapid draft prototyping[C]//Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology. San Francisco, USA: Association for Computing Machinery, 2023: 5.
|
| 27 |
周洁, 王东毅, 代沁泉, 等. 生成式AI对话中的提示词策略有效性探究[J]. 数据分析与知识发现, 2025, 9 (9): 49- 59.
|
| 28 |
TEO S. How I won Singapore's GPT-4 prompt engineering competition: A deep dive into the strategies I learned for harnessing the power of large language models (LLMs). (2023-12-29). https://towardsdatascience.com/how-i-won-singapores-gpt-4-prompt-engineering-competition-34c195a93d41/.
|
| 29 |
葛旭冉, 欧洋, 王博, 等. 大语言模型推理中的存储优化技术综述[J]. 计算机研究与发展, 2025, 62 (3): 545- 562.
|
| 30 |
|
| 31 |
|
| 32 |
SHARIR O, PELEG B, SHOHAM Y. The cost of training NLP models: A concise overview. (2020-04-19). https://doi.org/10.48550/arXiv.2004.08900.
|
| 33 |
范维澄, 刘奕, 翁文国. 公共安全科技的"三角形"框架与"4+1"方法学[J]. 科技导报, 2009, 27 (6): 3.
|
| 34 |
刘峤, 李杨, 段宏, 等. 知识图谱构建技术综述[J]. 计算机研究与发展, 2016, 53 (3): 582- 600.
|
| 35 |
薛莲, 姚新文, 郑启明, 等. 高铁列控车载设备故障知识图谱构建方法研究[J]. 铁道科学与工程学报, 2023, 20 (1): 34- 43.
|
| 36 |
黄承慧, 印鉴, 侯昉. 一种结合词项语义信息和TF-IDF方法的文本相似度量方法[J]. 计算机学报, 2011, 34 (5): 856- 864.
|
| 37 |
王红斌, 张卓, 赖华. 结合对比学习的新闻文本与评论相似度计算[J]. 小型微型计算机系统, 2023, 44 (12): 2671- 2677.
|
/
| 〈 |
|
〉 |