ZHANG Pengyang, SHENG Long, WANG Wei, et al. Construction of a mine accident knowledge graph based on Large Language Models[J]. Journal of Mine Automation,2025,51(2):76-83, 105. DOI: 10.13272/j.issn.1671-251x.2024080031
Citation: ZHANG Pengyang, SHENG Long, WANG Wei, et al. Construction of a mine accident knowledge graph based on Large Language Models[J]. Journal of Mine Automation,2025,51(2):76-83, 105. DOI: 10.13272/j.issn.1671-251x.2024080031

Construction of a mine accident knowledge graph based on Large Language Models

More Information
  • Received Date: August 13, 2024
  • Revised Date: February 27, 2025
  • Available Online: February 27, 2025
  • Current methods for constructing knowledge graphs in the field of mining require a large amount of manually labeled high-quality supervised data during the pre-training stage, resulting in high labor costs and low efficiency. Large Language Models (LLMs) can significantly improve the quality and efficiency of information extraction with only a small amount of manually labeled high-quality data. However, the prompt-based approach in LLMs suffers from catastrophic forgetting. To address this issue, graph-structured information was embedded into the prompt template and a Graph-Structured Prompt was proposed. By integrating this prompt into the LLM, high-quality construction of a mine accident knowledge graph based on the LLM was achieved. First, publicly available mine accident reports were collected from the Coal Mine Safety Production Network and preprocessed through formatting corrections and redundant information removal. Next, the LLM was utilized to extract knowledge embedded in the accident reports and K-means clustering was used to classify entities and relationships, thereby completing the construction of the mine accident ontology. Then, a small amount of data were labeled based on the ontology, which was used for LLM training and fine-tuning. Finally, the LLM embedded with the Graph-Structured Prompt was employed for information extraction, instantiating entity-relation triples to construct the mine accident knowledge graph. Experimental results showed that LLMs outperformed the Universal Information Extraction (UIE) model in entity and relationship extraction tasks. Moreover, the LLM embedded with the Graph-Structured Prompt achieved higher precision, recall, and F1 scores compared to those without it.

  • [1]
    JI Shaoxiong,PAN Shirui,CAMBRIA E,et al. A survey on knowledge graphs:representation,acquisition,and applications[J]. IEEE Transactions on Neural Networks and Learning Systems,2022,33(2):494-514. DOI: 10.1109/TNNLS.2021.3070843
    [2]
    王国法,任怀伟,赵国瑞,等. 智能化煤矿数据模型及复杂巨系统耦合技术体系[J]. 煤炭学报,2022,47(1):61-74.

    WANG Guofa,REN Huaiwei,ZHAO Guorui,et al. Digital model and giant system coupling technology system of smart coal mine[J]. Journal of China Coal Society,2022,47(1):61-74.
    [3]
    郭晓黎,王宇,刘瑞祥. 面向煤矿安全事件本体模型研究与应用[J]. 中国煤炭,2014,40(12):113-116.

    GUO Xiaoli,WANG Yu,LIU Ruixiang. Research and application of event ontology model of coal mine accidents[J]. China Coal,2014,40(12):113-116.
    [4]
    潘理虎,张佳宇,张英俊,等. 煤矿领域知识图谱构建[J]. 计算机应用与软件,2019,36(8):47-54,59. DOI: 10.3969/j.issn.1000-386x.2019.08.009

    PAN Lihu,ZHANG Jiayu,ZHANG Yingjun,et al. Construction of knowledge graph in coal mine domain[J]. Computer Applications and Software,2019,36(8):47-54,59. DOI: 10.3969/j.issn.1000-386x.2019.08.009
    [5]
    李蓓,王鹏,杨政,等. 基于多层次语义约束的煤矿灾害事件本体模型构建[J]. 陕西煤炭,2024,43(4):146-149.

    LI Bei,WANG Peng,YANG Zheng,et al. Disaster event ontology model building of coal mine based on multi-level semantic constraints[J]. Shaanxi Coal,2024,43(4):146-149.
    [6]
    曹现刚,张梦园,雷卓,等. 煤矿装备维护知识图谱构建及应用[J]. 工矿自动化,2021,47(3):41-45.

    CAO Xiangang,ZHANG Mengyuan,LEI Zhuo,et al. Construction and application of knowledge graph for coal mine equipment maintenance[J]. Industry and Mine Automation,2021,47(3):41-45.
    [7]
    王忠强,宋建鑫,余数三,等. 基于依存句法分析的智慧矿山知识图谱构建方法[J]. 矿业研究与开发,2023,43(10):232-240.

    WANG Zhongqiang,SONG Jianxin,YU Shusan,et al. A method of constructing knowledge graph of intelligent mines based on dependency syntax analysis[J]. Mining Research and Development,2023,43(10):232-240.
    [8]
    韩一搏,董立红,叶鸥. 基于联合编码的煤矿综采设备知识图谱构建[J]. 工矿自动化,2024,50(4):84-93.

    HAN Yibo,DONG Lihong,YE Ou. Construction of knowledge graph for fully mechanized coal mining equipment based on joint coding[J]. Journal of Mine Automation,2024,50(4):84-93.
    [9]
    ZHONG Lingfeng,WU Jia,LI Qian,et al. A comprehensive survey on automatic knowledge graph construction[J]. ACM Computing Surveys,2023,56(4):1-62.
    [10]
    DAGDELEN J,DUNN A,LEE S,et al. Structured information extraction from scientific text with large language models[J]. Nature Communications,2024,15(1). DOI: 10.1038/s41467-024-45563-x.
    [11]
    HU Yan,CHEN Qingyu,DU Jingcheng,et al. Improving large language models for clinical named entity recognition via prompt engineering[J]. Journal of the American Medical Informatics Association,2024,31(9):1812-1820. DOI: 10.1093/jamia/ocad259
    [12]
    REMADI A,EL HAGE K,HOBEIKA Y,et al. To prompt or not to prompt:navigating the use of large language models for integrating and modeling heterogeneous data[J]. Data & Knowledge Engineering,2024,152. DOI: 10.1016/J.DATAK.2024.102313.
    [13]
    AGRAWAL M,HEGSELMANN S,LANG H,et al. Large language models are few-shot clinical information extractors[EB/OL]. [2024-07-25]. https://arxiv.org/abs/2205.12689v2.
    [14]
    WADHWA S,AMIR S,WALLACE B C. Revisiting relation extraction in the era of large language models[EB/OL]. [2024-07-25]. https://doi.org/10.48550/arXiv.2305.05003.
    [15]
    冯钧,畅阳红,陆佳民,等. 基于大语言模型的水工程调度知识图谱的构建与应用[J]. 计算机科学与探索,2024,18(6):1637-1647. DOI: 10.3778/j.issn.1673-9418.2311098

    FENG Jun,CHANG Yanghong,LU Jiamin,et al. Construction and application of knowledge graph for water engineering scheduling based on large language model[J]. Journal of Frontiers of Computer Science and Technology,2024,18(6):1637-1647. DOI: 10.3778/j.issn.1673-9418.2311098
    [16]
    WANG Jiaqi,SHI Enze,YU Sigang,et al. Prompt engineering for healthcare:methodologies and applications[EB/OL]. [2024-07-25]. https://arxiv.org/abs/2304.14670?context=cs.
    [17]
    TONEVA M,SORDONI A,DES COMBES R T,et al. An empirical study of example forgetting during deep neural network learning[EB/OL]. [2024-07-25]. https://arxiv.org/abs/1812.05159.
    [18]
    LI Lei,JIN Li,ZHANG Zequn,et al. Graph convolution over multiple latent context-aware graph structures for event detection[J]. IEEE Access,2020,8:171435-171446. DOI: 10.1109/ACCESS.2020.3024872
    [19]
    ZHANG Qianjin,WANG Ronggui,YANG Juan,et al. Structural context-based knowledge graph embedding for link prediction[J]. Neurocomputing,2022,470:109-120. DOI: 10.1016/j.neucom.2021.10.088
    [20]
    张吉祥,张祥森,武长旭,等. 知识图谱构建技术综述[J]. 计算机工程,2022,48(3):23-37.

    ZHANG Jixiang,ZHANG Xiangsen,WU Changxu,et al. Survey of knowledge graph construction techniques[J]. Computer Engineering,2022,48(3):23-37.
    [21]
    LU Yaojie,LIU Qing,DAI Dai,et al. Unified structure generation for universal information extraction[C]. The 60th Annual Meeting of the Association for Computational Linguistics,Dublin,2022:5755-5772.
  • Related Articles

    [1]ZHANG Xuhui, LIU Yanhui, YANG Wenjuan, ZHANG Chao, DU Yuyang, YANG Junhao, YANG Wenyu. Research on a digital twin driven virtual debugging method for roadway automatic forming cutting[J]. Journal of Mine Automation, 2024, 50(7): 1-11, 31. DOI: 10.13272/j.issn.1671-251x.18186
    [2]XING Zhen. Research progress on digital twin technology for intelligent mines[J]. Journal of Mine Automation, 2024, 50(3): 22-34, 41. DOI: 10.13272/j.issn.1671-251x.2024010079
    [3]XING Zhen. Global dynamic collaborative management and control of diversified business in coal mines driven by digital twins[J]. Journal of Mine Automation, 2023, 49(7): 60-66, 82. DOI: 10.13272/j.issn.1671-251x.2023060003
    [4]CUI Yao, LI Tianyue, YE Zhuang, LIU Junwei. Digital twin system architecture and key technology of following process for fully mechanized mining[J]. Journal of Mine Automation, 2023, 49(2): 56-62, 76. DOI: 10.13272/j.issn.1671-251x.18055
    [5]ZHAO Jianwen, MENG Xuhui. Research on the application of digital twin in coal mine power grid[J]. Journal of Mine Automation, 2023, 49(2): 38-46. DOI: 10.13272/j.issn.1671-251x.2022040019
    [6]XING Zhen, HAN An, CHEN Xiaojing, CHEN Haijian, SHEN Yi. Research on intelligent mine disaster digital twin based on industrial Internet[J]. Journal of Mine Automation, 2023, 49(2): 23-30, 55. DOI: 10.13272/j.issn.1671-251x.2022120050
    [7]GE Shirong, WANG Shibo, GUAN Zenglun, WANG Xuesong, AN Wenlong, LYU Yuanbo, CHEN Shuhang. Digital twin: meeting the technical challenges of intelligent fully mechanized working face[J]. Journal of Mine Automation, 2022, 48(7): 1-12. DOI: 10.13272/j.issn.1671-251x.17959
    [8]XUE Xusheng, REN Zhongfu, MAO Qinghua, ZHANG Xuhui, MA Hongwei, WANG Yue. Research on deviation correction control of coal mine roadheader based on digital twin[J]. Journal of Mine Automation, 2022, 48(1): 26-32. DOI: 10.13272/j.issn.1671-251x.2021100006
    [9]ZHANG Chao, ZHANG Xuhui, ZHANG Kaixin, XIE Nan, ZHOU Chuang. Digital twin driven remote automatic cutting control technology of roadheader[J]. Journal of Mine Automation, 2020, 46(9): 15-20. DOI: 10.13272/j.issn.1671-251x.17640
    [10]ZHANG Fan, LI Chuang, LI Hao, LIU Yi. Research on digital twin technology for smart mine and new engineering discipline[J]. Journal of Mine Automation, 2020, 46(5): 15-20. DOI: 10.13272/j.issn.1671-251x.2020040042
  • Cited by

    Periodical cited type(6)

    1. 金贵阳, 陈罡, 竺银军, 干开荣, 陈敏. 基于工业互联网的冲压设备运维管理平台建设. 机电工程技术. 2025(14)
    2. 尹建辉. 基于工业互联网架构的煤矿瓦斯智能抽采管控系统设计. 工矿自动化. 2024(02): 28-34 . 本站查看
    3. 贺胤杰,李晨鑫,魏春贤. 基于边界隔离与系统防护的矿井网络安全系统研究. 工矿自动化. 2024(03): 14-21 . 本站查看
    4. 王建刚. 煤矿井下互联网全流量回溯智能分析系统研究. 物联网技术. 2024(09): 131-138 .
    5. 赵子巍,覃美满,寇向宇,魏星,董培林,史键波. 矿区可视化应急指挥管理系统设计及关键技术研究. 采矿技术. 2024(05): 255-260 .
    6. 赵子瑜,毕林. 矿边智能:智能矿山边缘侧建设新趋势. 黄金科学技术. 2023(06): 964-977 .

    Other cited types(10)

Catalog

    ZHAO Jijun

    1. On this Site
    2. On Google Scholar
    3. On PubMed

    Article Metrics

    Article views (209) PDF downloads (80) Cited by(16)
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return