《计算机应用》唯一官方网站

• •    下一篇

面向下游任务需求的领域自动模式归纳与知识图谱构建方法

杨懿1,袁得嵛1,2,黄赞1,苗博1,孙基玮1   

  1. 1.中国人民公安大学 信息网络安全学院 2. 安全防范与风险评估公安部重点实验室
  • 收稿日期:2026-04-01 修回日期:2026-08-04 发布日期:2026-10-12 出版日期:2026-10-12
  • 通讯作者: 袁得嵛
  • 作者简介:杨懿(2001—),男,安徽安庆人,硕士研究生,主要研究方向:大模型、知识图谱;袁得嵛(1986—),男,河北承德人,副教授,博士,主要研究方向:网络安全、社交网络分析;黄赞(2004—),山东枣庄人,男,硕士研究生,主要研究方向:视觉大模型安全;苗博(2002—),男,河北衡水人,硕士研究生,主要研究方向:大模型安全;孙基玮(2002—),男,山东济南人,硕士研究生,主要研究方向:知识图谱。
  • 基金资助:
    公安部技术研究计划项目(2025JSYJC07)

Domain automatic schema induction and knowledge graph construction method tailored to downstream task requirements

YANG Yi1, YUAN Deyu1,2, HUANG Zan1, MIAO Bo1, SUN Jiwei1   

  1. 1. School of Information Network Security, People’s Public Security University of China 2. Key Laboratory of Security Technology and Risk Assessment, Ministry of Public Security
  • Received:2026-04-01 Revised:2026-08-04 Online:2026-10-12 Published:2026-10-12
  • About author:YANG Yi, born in 2001, M. S. candidate. His research interests include large models, knowledge graph. YUAN Deyu, born in 1986, Ph. D., associate professor. His research interests include network security, social network analysis. HUANG Zan, born in 2004, M. S. candidate. His research interests include vision large model security. MIAO Bo, born in 2002, M. S. candidate. His research interests include large model security. SUN Jiwei, born in 2002, M. S. candidate. His research interests include knowledge graph.
  • Supported by:
    Technical Research Program of the Ministry of Public Security (2025JSYJC07)

摘要: 构建领域专有知识图谱(DKG)有助于组织各个专业领域内的大量非结构化知识,更好服务于下游任务。现有知识图谱构建(KGC)方法一方面忽略适配下游任务的需求,造成节点冗余;另一方面,方法依赖专家标注的领域知识模式集作为约束,增加了人工成本。针对以上问题,提出了一种端到端的DKG构建框架。框架在不需要人工模式集输入的情况下,将知识图谱构建任务分解为模式归纳与知识抽取两个部分,遵循推理-行动-反思的大模型(LLM)推理范式,同步进行模式集优化与模式约束下的知识抽取。框架最终输出符合任务需求的知识图谱三元组与可复用于同类任务的模式集。在警务、医疗两个领域数据集上的实验结果表明,在无需人工预定义精确模式集的前提下,本文方法的Jaccard、召回率和 F1分数等指标优于多数基线方法,并取得接近人工模式约束方法的表现,验证了方法在低成本构建领域知识图谱的有效性。

关键词: 领域知识图谱, 信息抽取, 知识图谱构建, 模式约束, 提示工程

Abstract: Domain-specific Knowledge Graph (DKG) organize unstructured professional knowledge to enhance downstream tasks. However, existing construction methods often neglect task-specific requirements, leading to redundancy, and rely on costly expert-annotated schemas. To address this, an end-to-end DKG construction framework that eliminates manual schema input was proposed. By decomposing the process into schema induction and knowledge extraction, the framework leverages the LLM "Reasoning-Action-Reflection" paradigm to synchronize schema optimization with constrained extraction. This approach yields task-aligned triples and reusable schemas. Experimental results on datasets from the police and medical fields demonstrate that, without the need for manually predefined precise schema, the proposed method outperforms most baseline methods in terms of Jaccard, recall, and F1 scores, achieving performance close to that of methods constrained by manual schema. This proves the effectiveness of the method in constructing domain knowledge graphs at a low cost.

Key words: Domain-specific Knowledge Graph (DKG), information extraction, Knowledge Graph Construction (KGC), schema constraint, prompt engineering

中图分类号: